‎2006 Mar 21 9:02 PM
Hi,
My requirement is to be create well using standard BAPI
'BAPI_WELLID_CREATE'. T-code is O3U_Wl1.
When I am calling this bapi into my program it's not creating entries in O3U_Wl3.
Can anyone please help me out?
Thank-You,
Sony
‎2006 Mar 21 9:06 PM
Are u using COMMIT WORK after BAPI call.
Call function module BAPI_TRANSACTION_COMMIT to commit changes.
Message was edited by: Ashish Gundawar
‎2006 Mar 21 9:06 PM
Are u using COMMIT WORK after BAPI call.
Call function module BAPI_TRANSACTION_COMMIT to commit changes.
Message was edited by: Ashish Gundawar
‎2006 Mar 21 9:09 PM
Yes...I am calling that too....But when I try to execute that BAPI call in se37 but its saying Well is saved... when I goto T-code O3U_Wl3 but I can't see that entry....
‎2006 Mar 21 9:24 PM
‎2006 Mar 21 9:25 PM
I am not able to see this bapi in my system but just to add a note here -
Check in BAPI Code if there is something like this at the end of fm.
IF lf_commit_requested NE ' '.
COMMIT WORK.
ENDIF.
If it is present, keep a break point at IF statement. Set IF_COMMIT_REQUESTED in debug to 'X'. And see. This will save data.
You may have to try this explicitlye in custom program. Some BAPIs save data only when they are used in a custom program. So create a custom program, pass parameter values, call bapi and use COMMIT WORK. This should help you out. It is strange but it has worked for me.
Message was edited by: Ashish Gundawar
‎2006 Mar 21 9:41 PM
‎2006 Mar 21 9:42 PM
‎2006 Mar 21 10:20 PM
‎2006 Mar 21 10:33 PM
I am not sure as i have never opened any thread. But when you close thread, it should ask you to rate responses and based upon helpful, solved answer all these comments, points will get awarded. Hope this helps.