2017 Jul 11 1:54 PM
Hi All,
BAPI_PO_CREATE1 not creating PO in LOOP, creating PO succefully for the first loop iteration but not creating after that. Along with PO, SES and Invoice also generating .
Hi All,
BAPI_PO_CREATE1 not creating PO in LOOP, creating PO succefully for the first loop iteration but not creating after that. Along with PO, SES and Invoice also generating .
2017 Jul 11 2:06 PM
BAPI_PO_CREATE1 not creating PO in LOOP creating PO succefully for the first loop iteration but not creating after that - Since you are calling function module and passing the data to that, don't you think you need to check your program logic to read the data in loop
Along with PO, SES and Invoice also generating - What is your business expectation, how is the system configured, Talk to your Functional consultant
2017 Jul 11 2:35 PM
in first iteration and debug mode or with enough wait statements its working , not working in direct execution, no issue with config.
2017 Jul 12 1:02 PM
Try introducing a wait statement then 🙂
2017 Jul 11 2:40 PM
Bapis require commit works - BAPI_TRANSACTION_COMMIT
2017 Jul 11 3:46 PM
Commit there, issue during 2nd PO creation in loop, cleared all variables.
2017 Jul 11 3:58 PM
Can you confirm parameter WAIT is filled with 'X' when you call FUNCTION BAPI_TRANSACTION_COMMIT?
2017 Jul 12 7:13 AM
yes, Wait = 'X' already there.
Error: SE026, this happening in 2nd PO creation onwards in loop.
2017 Jul 12 9:19 AM
And the text for SE026? Have you check for any long text?
2017 Jul 11 4:13 PM
This BAPI is full of BADI, enhancement points and user-exits. You should check that there is no specific codes making trouble.
For example in SE38 check for ZXMEWU10 and ZXMEWU11 existence
In SE18, for enhancement point ES_SAPL2012, look in "implementations" tab for Z* and Y* implementations.
2017 Jul 12 9:22 AM
search using coogle: you are not populating your transfer structure properly. Further info is available if you google Sap se026
2017 Jul 12 9:22 AM
search using google: you are not populating your transfer structure properly. Further info is available if you google Sap se026
2017 Jul 12 9:49 AM
Can you post your piece of code which is written inside the loop. We may try to give you a better solution.
thanks,
Priyanka.