Purchase requistion No is genrating two times
Hello Experts..
When I am making third party PR to procure the material fro that I assigned an External Activity to WBS and then assign it to Material component ..to avoid generation of PR two times (one in External Activitiy and another is in Materal component) ..I have set the.Res/Purch Req. "NEVER" at activity and in componenet I have set "From Release"...Now my question is that-------I want to set this Indicator Permanently "NEVER" at Activity ........how can I do this ...........
Please Reply ASAP..this is very urgent
Thanks in Advance
Regards
SMITH
There is no problem as such but there is incorrect usage of external activity as per my opinion. To continue with your solution you may have to manaully set 'Never' in ext act or have to do it programatically (as I dont see any standard setting for that). This will lead to unnecessary development/programming. Further if you choose to do it manually and in case the user forgets then unnecessary/nonrequired PRs will get generated. They may get converted to POs by user mistakes.
Regards
Similar Messages
-
I purchased Illustrator for one month but when trying to run the application, it asks me to "renew the subscription". I tryed to reload illustrator two times and reloaded CreativeCloud but still it doesn't work. What else can I try? I need AI immediately for work
Sign in, activation, or connection errors | CS5.5 and later
Mylenium -
I want both of the computers to have their own independent time capsule.
want both of the computers to have their own independent time capsule.
I assume that you are asking about using the Time Capsules for Time Machine backups here, correct?
If yes, both MBAs will be able to select the specific Time Capsule that they will use for backups, so "point" MBA1 to Time Capsule 1 and MBA2 to Time Capsule 2.
Since you will have plenty of available backup space if you use two Time Capsules, you might want to consider having each MBA back up to both Time Capsule 1 and Time Capsule 2.
This way, if one Time Capsule fails, you will still have a complete set of backups for both MBAs. -
Planned order and Purchase requistion both is generating in MRP
Dear All,
At the time of MRP explosion for Finished material, system is generating Planned order and purchase requistion, both, for detailed material, (e.g. the BOM is a single level BOM). Whereas, I want to generate Purchase requistion for all. I am not getting that for which logic it generating Planned order as well as purchase requisition.
Pl. explain.
Thanks,
Prasun.Hi Prasun
The procurement proposal indicator dependes on the procurement type assigned in material master. If you assign prod Type F it will automatically generate PR. If the procurement type is E or X the system will generate plan order .
This configured in Plan order type LA means it should be for in house production E.
There are two ways of solving this. If you want always PR for FERT. Assign Proc type F in material master MRP view. It will always generate PR for that particular material.
Or
You can run MRP with planning mode 3 create PR in front screen.
Regards
J . Saravan -
Sales order released from Credit block, but Purchase Requistion not created
Hi,
In third party sales scenario based on Scheduline Line category configuration purchase requistion creates when the order is created. If order is blocked for credit check then purchase requistion will not be created until order released from credit.
Here my scenario is
I have two users like A and B. When A releases the order from credit block by using transaction VKM1, Sales order releasing from credit and creating Purchase requistion. But, if the order is released by B, Sales order is getting released from credit but purchase requstion is not getting created.
There is no issue from security side, we activated trace and analysed everything it is not security issue.
Thanks and Regards
Alokam Chandra SekharHi Lakshmi,
Thanks for reply. I followed your instructions, pls find my observations below.
1. Can you check the below settings:
What is the Credit status in the header status tab page of the sales order for the B's sales order?
Is it "Not approved or releasedu201D If it is not approved, you might have released the sales order in VKM3, but you might not have saved it.
Reply: We are releasing order through VKM1 and after releasing the order the status is showing as "Released".
2. Did you use the same material for B's Sales order? If it a different material check the Item category and Schedule line category whether these are same with A's sales order.
Reply: Both the orders has same information, like material Item category and scheduline category
3. Check in the Schedule line tab page --> Procurement button whether you have maintain vendor, Source determination and Info record.
Source list has been verified through ME03 transaction and vendor data maintained correctly.
I really appreciate your time and efforts on this.. looking forward some more suggestions...
Thanks and Regards
Alokam Chandra Sekhar -
Regarding Valuation tab in the Purchase requistion
Sapgurus,
i would like to omit the valuation tab in the Purchase requistion(ME51N) so that i dont want to display any value of the material while creating the document.
Please i need solution from your side.
Thanking you
Praveerhiding the field may be a solution if you always create requisitions with material masters, but in general you can create PRs without material master. In that case the user has to specify the price, which is not possible if the field is hidden. In other words, if you want to work with release strategy at any time in future, then you just cannot, as you you dont have a price for PRs that have no material number.
-
Sale invoice pick same serial number in two time
Dear All,
issue is when i m genrate a sale invoice of particuler trator material t100001 with the serial number AM1005 dated 11-3-2008 .
and after 11-3-2008 again dated 12-3-2008 when i create new sale invoice of particuler trator material number t100001 then system again show me same AM1005 serial number which one i m already used in pervius sale invoice date 11-3-2008
how it can poosible if once a sale invoice genrate with paticuler serial number so why the again genrate sale invoice same serail number
why the sale invoice pick same serial number in two time ?
kindlly tell me how can i resolve this problem ?
regards
PritpalHi
trying giving serial numbers at the time of Delivery.
It will solve your problem
Regards
KRSNA -
Purchase requistion data source
Hi All,
I got one requirement extracting data from purchase requistion to build the report with fields lead time analysis for set of PR.
Lead time analysis for PRs converted to RFQ and from RFQ to PO.
Source list maintained for the material and plant combination for set of PRs.
MPN data for the material and plant combination for set of PRs.
please tell me the datasource where i can get the fields.
Thanks,
AnnamAHello ,
There is NO Standard Data Source to Extract PR data.
You need to create a Generic Data Source on EBAN Table.
Amol K. -
Purchase Requistion,Purchase Enquiry, Sales Enquiry,Capacity Planning & Sch
Hi All,
I am working in SAP business One for quiet long time as Functional Consultant and i am very much aware with its design. And Now SAP is bringing SAP HANA also for Mid Size Company or you can say in SAP Business One.
BUT ...............
In any industry vertical there is always requirement of Purchase Requistion (Department Wise) , Purchase Enquiry and sales enquiry is Must to buy or sell the Item.
Why dont SAP is providing three different FORMS like sales Quotation , (Sales Enquiry) , Purchase Quotation (Purchase Enquiry) and Material Indent or Purchase Requisition (Dept. Wise) This i am spcifically asking just because the requestor doesn't knnow the Suppliers Name.
And This functionality is in SAP ECC .
This will reduce ADD ON
MRP is enhanced so beautifully in Latest Version but only Capacity Planning & Sceduling is Missing.
Capacity Planing and Sceduling if possible then I think Maximum Industry accross the World will consider SAP Business One
I hope by this forum i am Just Pointing this. So that we can get in near future
If anyone gets any clue on this please let me know.
Please Join hands if this feature what i discussed is really required .
Thanks & Regards
Ashish GupteHello Friend,
I am very much agree with your suggestion
But every one know that ECC is not for SMB sector so it is full flesh ERP compare SAP Business one and may be these form will part of SAP business one road map.
Because SAP has added some rich process for MRP but after get suggestion from form and these link form http://forums.sdn.sap.com/forum.jspa?forumID=265&start=0
and these given above link also is a good place for your question
Thanks
Manvendra Singh Niranjan -
Purchase Requistion release procedure
Hi,
Purchase requistion header level approval procedure activated. We required two level of approvals procedure based on total PR value range. Eventhrough i have maintained relase strategy its pulls always single stragey.
Do the needful.
Regards
MohanDear,
Have a look at:
http://www.scribd.com/doc/548510/SAP-Release-Strategy
Regards,
Syed Hussain. -
In Purchase Requistion how many maximum line items - for a single material can we post at a time ?
Have not counted...
How many do you want ?
I guess you can do few hundred .. -
hi friends,
Please can anyone post the code for purchase requistion me51.
Points will be rewarded for the code given.
rreport ZSUM_BDC_ME51 no standard page heading line-size 255.
*include bdcrecx1.
data: bdc_DATA like bdcdata occurs 0 with header line,
mess_tab like bdcmsgcoll occurs 0 with header line.
DATA: BEGIN OF ITAB OCCURS 0 ,
WERKS LIKE T001W-WERKS,
BNFPO LIKE EBAN-BNFPO,
MATNR LIKE MARA-MATNR,
MENGE LIKE EBAN-MENGE,
END OF ITAB.
*parameters: dataset(132) lower case.
DO NOT CHANGE - the generated data section - DO NOT CHANGE
If it is nessesary to change the data section use the rules:
1.) Each definition of a field exists of two lines
2.) The first line shows exactly the comment
'* data element: ' followed with the data element
which describes the field.
If you don't have a data element use the
comment without a data element name
3.) The second line shows the fieldname of the
structure, the fieldname must consist of
a fieldname and optional the character '_' and
three numbers and the field length in brackets
4.) Each field must be type C.
Generated data section with specific formatting - DO NOT CHANGE
*data: begin of record,
data element: BBSRT
BSART_001(004),
data element: LPEIN
LPEIN_002(001),
data element: EWERK
WERKS_003(004),
data element: EKGRP
EKGRP_004(003),
data element: AUFEB
BNFPO_005(005),
data element: MATNR
MATNR_01_006(018),
data element: BAMNG
MENGE_01_007(017),
data element: TXZ01
TXZ01_008(040),
data element: BAMNG
MENGE_009(017),
data element: EEIND
EEIND_010(010),
data element: LPEIN
LPEIN_011(001),
data element: EKGRP
EKGRP_012(003),
data element: BADAT
BADAT_013(010),
data element: FRGDT
FRGDT_014(010),
data element: BAPRE
PREIS_015(014),
data element: WAERS
WAERS_016(005),
data element: EPEIN
PEINH_017(005),
data element: REPOS
REPOS_018(001),
data element: AUFEB
BNFPO_019(005),
data element: MATNR
MATNR_02_020(018),
data element: BAMNG
MENGE_02_021(017),
data element: TXZ01
TXZ01_022(040),
data element: BAMNG
MENGE_023(017),
data element: EEIND
EEIND_024(010),
data element: LPEIN
LPEIN_025(001),
data element: EKGRP
EKGRP_026(003),
data element: BADAT
BADAT_027(010),
data element: FRGDT
FRGDT_028(010),
data element: BAPRE
PREIS_029(014),
data element: WAERS
WAERS_030(005),
data element: EPEIN
PEINH_031(005),
data element: REPOS
REPOS_032(001),
data element: AUFEB
BNFPO_033(005),
end of record.
End generated data section ***
*start-of-selection.
CALL FUNCTION 'UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = 'C:\p01.txt'
FILETYPE = 'BIN'
ITEM = ' '
FILEMASK_MASK = ' '
FILEMASK_TEXT = ' '
FILETYPE_NO_CHANGE = ' '
FILEMASK_ALL = ' '
FILETYPE_NO_SHOW = ' '
LINE_EXIT = ' '
USER_FORM = ' '
USER_PROG = ' '
SILENT = 'S'
IMPORTING
FILESIZE =
CANCEL =
ACT_FILENAME =
ACT_FILETYPE =
TABLES
data_tab = itab
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at itab.
perform bdc_dynpro using 'SAPMM06B' '0100'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-BSART'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'EBAN-BSART'
'NB'.
perform bdc_field using 'RM06B-LPEIN'
'T'.
perform bdc_field using 'EBAN-WERKS'
ITAB-WERKS.
perform bdc_dynpro using 'SAPMM06B' '0106'.
perform bdc_field using 'BDC_CURSOR'
'RM06B-EKGRP'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RM06B-BNFPO'
ITAB-BNFPO.
perform bdc_dynpro using 'SAPMM06B' '0106'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'EBAN-MATNR(01)'
ITAB-MATNR.
perform bdc_field using 'EBAN-MENGE(01)'
ITAB-MENGE.
perform bdc_dynpro using 'SAPMM06B' '0102'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
*perform bdc_field using 'RM06B-EEIND'
record-EEIND_010.
*perform bdc_field using 'RM06B-LPEIN'
record-LPEIN_011.
*perform bdc_field using 'EBAN-EKGRP'
record-EKGRP_012.
*perform bdc_field using 'EBAN-BADAT'
record-BADAT_013.
*perform bdc_field using 'EBAN-FRGDT'
record-FRGDT_014.
*perform bdc_field using 'EBAN-PREIS'
record-PREIS_015.
*perform bdc_field using 'EBAN-WAERS'
record-WAERS_016.
*perform bdc_field using 'EBAN-PEINH'
record-PEINH_017.
*perform bdc_field using 'EBAN-REPOS'
record-REPOS_018.
perform bdc_dynpro using 'SAPMM06B' '0106'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE(02)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
*perform bdc_field using 'RM06B-BNFPO'
record-BNFPO_019.
*perform bdc_field using 'EBAN-MATNR(02)'
record-MATNR_02_020.
*perform bdc_field using 'EBAN-MENGE(02)'
record-MENGE_02_021.
perform bdc_dynpro using 'SAPMM06B' '0102'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
*perform bdc_field using 'EBAN-MENGE'
ITAB-MENGE_023.
*perform bdc_field using 'RM06B-EEIND'
record-EEIND_024.
*perform bdc_field using 'RM06B-LPEIN'
record-LPEIN_025.
*perform bdc_field using 'EBAN-EKGRP'
record-EKGRP_026.
*perform bdc_field using 'EBAN-BADAT'
record-BADAT_027.
*perform bdc_field using 'EBAN-FRGDT'
record-FRGDT_028.
*perform bdc_field using 'EBAN-PREIS'
record-PREIS_029.
*perform bdc_field using 'EBAN-WAERS'
record-WAERS_030.
*perform bdc_field using 'EBAN-PEINH'
record-PEINH_031.
*perform bdc_field using 'EBAN-REPOS'
record-REPOS_032.
perform bdc_field using 'EBAN-TXZ01'
'BEARING 2"X2"'.
perform bdc_field using 'EBAN-MENGE'
'65'.
perform bdc_field using 'RM06B-EEIND'
'2005/01/03'.
perform bdc_field using 'RM06B-LPEIN'
'D'.
perform bdc_field using 'EBAN-EKGRP'
'M11'.
perform bdc_field using 'EBAN-BADAT'
'2005/01/03'.
perform bdc_field using 'EBAN-FRGDT'
'2005/01/03'.
perform bdc_field using 'EBAN-PREIS'
' 1,120.00'.
perform bdc_field using 'EBAN-WAERS'
'EUR'.
perform bdc_field using 'EBAN-PEINH'
'1'.
perform bdc_field using 'EBAN-REPOS'
'X'.
perform bdc_dynpro using 'SAPMM06B' '0102'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'EBAN-TXZ01'
'DRILLING PIPE 10"'.
perform bdc_field using 'EBAN-MENGE'
'75'.
perform bdc_field using 'RM06B-EEIND'
'2005/01/03'.
perform bdc_field using 'RM06B-LPEIN'
'D'.
perform bdc_field using 'EBAN-EKGRP'
'M11'.
perform bdc_field using 'EBAN-BADAT'
'2005/01/03'.
perform bdc_field using 'EBAN-FRGDT'
'2005/01/03'.
perform bdc_field using 'EBAN-PREIS'
' 0.53'.
perform bdc_field using 'EBAN-WAERS'
'EUR'.
perform bdc_field using 'EBAN-PEINH'
'1'.
perform bdc_field using 'EBAN-REPOS'
'X'.
perform bdc_dynpro using 'SAPMM06B' '0106'.
perform bdc_field using 'BDC_CURSOR'
'RM06B-BNFPO'
perform bdc_field using 'BDC_OKCODE'
'=BU'.
*perform bdc_field using 'RM06B-BNFPO'
CALL TRANSACTION 'ME51' USING BDC_DATA MODE 'A'.
endLOOP.
*perform close_group.
*perform close_dataset using dataset.
*& Form bdc_field
text
-->P_0166 text
-->P_0167 text
form bdc_field using FNAM FVAL.
CLEAR BDC_DATA.
BDC_DATA-FNAM = FNAM.
BDC_DATA-FVAL = FVAL.
APPEND BDC_DATA.
ENDFORM.
*endform. " bdc_field
*& Form bdc_dynpro
text
-->P_0076 text
-->P_0077 text
form bdc_dynpro using PROGRAM DYNPRO.
CLEAR BDC_DATA.
BDC_DATA-PROGRAM = PROGRAM.
BDC_DATA-DYNPRO = DYNPRO.
BDC_DATA-DYNBEGIN = 'X'.
APPEND BDC_DATA.
ENDFORM.
*endform.
I hope it should help you -
data: bdc_DATA like bdcdata occurs 0 with header line,
mess_tab like bdcmsgcoll occurs 0 with header line.
DATA: BEGIN OF ITAB OCCURS 0 ,
tcnt TYPE i, "Table Counter
WERKS LIKE T001W-WERKS,
BNFPO LIKE EBAN-BNFPO,
MATNR LIKE MARA-MATNR,
MENGE LIKE EBAN-MENGE,
END OF ITAB.
*parameters: dataset(132) lower case.
DO NOT CHANGE - the generated data section - DO NOT CHANGE
If it is nessesary to change the data section use the rules:
1.) Each definition of a field exists of two lines
2.) The first line shows exactly the comment
'* data element: ' followed with the data element
which describes the field.
If you don't have a data element use the
comment without a data element name
3.) The second line shows the fieldname of the
structure, the fieldname must consist of
a fieldname and optional the character '_' and
three numbers and the field length in brackets
4.) Each field must be type C.
Generated data section with specific formatting - DO NOT CHANGE
*data: begin of record,
data element: BBSRT
BSART_001(004),
data element: LPEIN
LPEIN_002(001),
data element: EWERK
WERKS_003(004),
data element: EKGRP
EKGRP_004(003),
data element: AUFEB
BNFPO_005(005),
data element: MATNR
MATNR_01_006(018),
data element: BAMNG
MENGE_01_007(017),
data element: TXZ01
TXZ01_008(040),
data element: BAMNG
MENGE_009(017),
data element: EEIND
EEIND_010(010),
data element: LPEIN
LPEIN_011(001),
data element: EKGRP
EKGRP_012(003),
data element: BADAT
BADAT_013(010),
data element: FRGDT
FRGDT_014(010),
data element: BAPRE
PREIS_015(014),
data element: WAERS
WAERS_016(005),
data element: EPEIN
PEINH_017(005),
data element: REPOS
REPOS_018(001),
data element: AUFEB
BNFPO_019(005),
data element: MATNR
MATNR_02_020(018),
data element: BAMNG
MENGE_02_021(017),
data element: TXZ01
TXZ01_022(040),
data element: BAMNG
MENGE_023(017),
data element: EEIND
EEIND_024(010),
data element: LPEIN
LPEIN_025(001),
data element: EKGRP
EKGRP_026(003),
data element: BADAT
BADAT_027(010),
data element: FRGDT
FRGDT_028(010),
data element: BAPRE
PREIS_029(014),
data element: WAERS
WAERS_030(005),
data element: EPEIN
PEINH_031(005),
data element: REPOS
REPOS_032(001),
data element: AUFEB
BNFPO_033(005),
end of record.
End generated data section ***
*start-of-selection.
PERFORM upload_data.
loop at itab.
perform bdc_dynpro using 'SAPMM06B' '0100'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-BSART'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'EBAN-BSART'
'NB'.
perform bdc_field using 'RM06B-LPEIN'
'T'.
perform bdc_field using 'EBAN-WERKS'
ITAB-WERKS.
perform bdc_dynpro using 'SAPMM06B' '0106'.
perform bdc_field using 'BDC_CURSOR'
'RM06B-EKGRP'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RM06B-BNFPO'
ITAB-BNFPO.
perform bdc_dynpro using 'SAPMM06B' '0106'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE(01)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'EBAN-MATNR(01)'
ITAB-MATNR.
perform bdc_field using 'EBAN-MENGE(01)'
ITAB-MENGE.
perform bdc_dynpro using 'SAPMM06B' '0102'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
*perform bdc_field using 'RM06B-EEIND'
record-EEIND_010.
*perform bdc_field using 'RM06B-LPEIN'
record-LPEIN_011.
*perform bdc_field using 'EBAN-EKGRP'
record-EKGRP_012.
*perform bdc_field using 'EBAN-BADAT'
record-BADAT_013.
*perform bdc_field using 'EBAN-FRGDT'
record-FRGDT_014.
*perform bdc_field using 'EBAN-PREIS'
record-PREIS_015.
*perform bdc_field using 'EBAN-WAERS'
record-WAERS_016.
*perform bdc_field using 'EBAN-PEINH'
record-PEINH_017.
*perform bdc_field using 'EBAN-REPOS'
record-REPOS_018.
perform bdc_dynpro using 'SAPMM06B' '0106'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE(02)'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
*perform bdc_field using 'RM06B-BNFPO'
record-BNFPO_019.
*perform bdc_field using 'EBAN-MATNR(02)'
record-MATNR_02_020.
*perform bdc_field using 'EBAN-MENGE(02)'
record-MENGE_02_021.
perform bdc_dynpro using 'SAPMM06B' '0102'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
*perform bdc_field using 'EBAN-MENGE'
ITAB-MENGE_023.
*perform bdc_field using 'RM06B-EEIND'
record-EEIND_024.
*perform bdc_field using 'RM06B-LPEIN'
record-LPEIN_025.
*perform bdc_field using 'EBAN-EKGRP'
record-EKGRP_026.
*perform bdc_field using 'EBAN-BADAT'
record-BADAT_027.
*perform bdc_field using 'EBAN-FRGDT'
record-FRGDT_028.
*perform bdc_field using 'EBAN-PREIS'
record-PREIS_029.
*perform bdc_field using 'EBAN-WAERS'
record-WAERS_030.
*perform bdc_field using 'EBAN-PEINH'
record-PEINH_031.
*perform bdc_field using 'EBAN-REPOS'
record-REPOS_032.
perform bdc_field using 'EBAN-TXZ01'
'BEARING 2"X2"'.
perform bdc_field using 'EBAN-MENGE'
'65'.
perform bdc_field using 'RM06B-EEIND'
'2005/01/03'.
perform bdc_field using 'RM06B-LPEIN'
'D'.
perform bdc_field using 'EBAN-EKGRP'
'M11'.
perform bdc_field using 'EBAN-BADAT'
'2005/01/03'.
perform bdc_field using 'EBAN-FRGDT'
'2005/01/03'.
perform bdc_field using 'EBAN-PREIS'
' 1,120.00'.
perform bdc_field using 'EBAN-WAERS'
'EUR'.
perform bdc_field using 'EBAN-PEINH'
'1'.
perform bdc_field using 'EBAN-REPOS'
'X'.
perform bdc_dynpro using 'SAPMM06B' '0102'.
perform bdc_field using 'BDC_CURSOR'
'EBAN-MENGE'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'EBAN-TXZ01'
'DRILLING PIPE 10"'.
perform bdc_field using 'EBAN-MENGE'
'75'.
perform bdc_field using 'RM06B-EEIND'
'2005/01/03'.
perform bdc_field using 'RM06B-LPEIN'
'D'.
perform bdc_field using 'EBAN-EKGRP'
'M11'.
perform bdc_field using 'EBAN-BADAT'
'2005/01/03'.
perform bdc_field using 'EBAN-FRGDT'
'2005/01/03'.
perform bdc_field using 'EBAN-PREIS'
' 0.53'.
perform bdc_field using 'EBAN-WAERS'
'EUR'.
perform bdc_field using 'EBAN-PEINH'
'1'.
perform bdc_field using 'EBAN-REPOS'
'X'.
perform bdc_dynpro using 'SAPMM06B' '0106'.
perform bdc_field using 'BDC_CURSOR'
'RM06B-BNFPO'
perform bdc_field using 'BDC_OKCODE'
'=BU'.
*perform bdc_field using 'RM06B-BNFPO'
CALL TRANSACTION 'ME51' USING BDC_DATA MODE 'A'.
endLOOP.
FORM upload_data.
*local variable declaration
DATA : lv_index TYPE i,
l_count TYPE i.
*local constants declaration
CONSTANTS:
lc_start_col TYPE i VALUE '1' ,
lc_start_row TYPE i VALUE '2' ,
lc_end_col TYPE i VALUE '256' ,
lc_end_row TYPE i VALUE '65536'.
*local field symbol declaration
FIELD-SYMBOLS : <lf_s>.
*loacal internal table declaration
DATA : li_intern TYPE kcde_cells OCCURS 0 WITH HEADER LINE.
*refresh internal table for each loop
CLEAR: li_intern,
l_count .
REFRESH li_intern.
to upload the data in excel on the presentation server this function
module converts the data from excel file into an internal table
containing row no col no and value
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = 'Give file location here'
i_begin_col = lc_start_col
i_begin_row = lc_start_row
i_end_col = lc_end_col
i_end_row = lc_end_row
TABLES
intern = li_intern
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2.
checking for data in internal table
CHECK NOT li_intern[] IS INITIAL.
sorting internal table
SORT li_intern BY row col.
collecting data into an internal table
LOOP AT li_intern.
MOVE: li_intern-col TO lv_index.
lv_index = lv_index + 1.
ASSIGN COMPONENT lv_index OF STRUCTURE itab TO <lf_s>.
MOVE : li_intern-value TO <lf_s>.
AT END OF row.
l_count = l_count + 1.
itab = l_count.
APPEND itab.
ENDAT. " at end of row
ENDLOOP. " loop at li_intern
if it useful please award points -
I loaded a disk yesterday, It took me 2 hours, the disk in uncompleted and
I-Tunes charge me two times the price (I have to pay the dubbel for noting).
What can I do ?
I can surely desinstal I-Tunes
YvesYves from Brussels (BE) wrote:
I loaded a disk yesterday
Do you mean you purchased an Album from the iTunes Store?
Or you RIP'd a CD you own? -
Form is printing two times from MRRL, output type ERS
Hi,
I have copied the standard script MR_PRINT to custom script and done changes in the script to print the invoice form using MRRL transaction (for output type = ERS). Now I am facing two issues. Please help.
1) The form is printing two times on ise my custom form and one is the standard form.Checked the configuration output type ERS is assigned to my custom form only.
2)The form is printing a new invoice document for every line item of a Purchase order. Suppose if a PO has two lines item. MRRL is printing the form 4 times. That is custom form for each line item and standard form for each line item. How to fix the issue.
Are these the technical issues or configuration isssues. I have done changes to only my custom script layout.
Regards,
SudhaPlease reply. If any one has any idea???
-
Purchasing requistion dates are not reflecting in R/3
Hi All,
material created in R/3,here purchase requistion generated in R/3 & APO.
Then in APO,after Rescheduling in detailed scheduling planning board new purchase requistion delievery date is not
reflecting in R/3.
Kindly revert back ASAP.
Regards,
Venkat.
Edited by: venkat1215 on Jul 23, 2010 11:05 AM
Edited by: venkat1215 on Jul 23, 2010 11:30 AMVenkat,
You didn't answer my question.
As a general rule of thumb, APO is much fussier about changing and synchronizing orders that were created in R/3. If you have a choice, you should always create purchase reqs in APO (although cross-creation is supported, and can be made to work nicely if you are diligent).
When you change an order in APO, and then publish the change to R/3, it is possible that the settings in R/3 will cause an issue with 'booking' the change. One way to test this is to manually make the same change, but directly in R/3. There should be no warnings or errors.
Another thing to look at are the Application logs on both sides (SLG1) for possible failures that may give a clue. Restrict to date and time interval where you know the proper update did not take place.
Rgds,
DB49
Maybe you are looking for
-
Hi, Recently, I'm not able to connecting any External Hard Drive via FW800 Port. That means, no matter how I try to connect to different external hard drive and change to others FW Cables, It still not showing on my desktop. But, Drive is showing on
-
Please, I like to know if someone has some information how will SAP treat the change currency in Venezuela at the beginning of 2008. Any information will be very good. Thanks
-
Hi, Does anyone have good idea how to implement holiday_flag in time dimension? I wondered if I added "holiday_flag" attribute, however, our universe is global and holiday date is different between each countries. Some ideas has come up as below, but
-
Hi, I've created onl LTS for my fact table. there i 've give where condition in content. but it is not firing. when i check my log file. that where condition is not firing on my report, I'm not awre of this, Can any one help me out on this
-
I have tried everthing