‎2012 Mar 08 6:29 AM
Hi Experts,
I am using fucntion module BAPI_PR_CREATE for creating purchase requisition. here PR number is created but not showing while go and check in ME53N.
then I tested to create manually using ME51N then next number is craeted then it is showing details PR.
But while creating PR using FM is not showing in ME53N
please can suggest the solution.
Regards,
BBC
‎2012 Mar 08 6:52 AM
Hi,
You have to call BAPI_TRANSACTION_COMMIT after the BAPI_PR_CREATE.
You have execute the entire program, Like if you check once the BAPI_PR_CREATE is executed it will not show the PR in ME53N.
So execute the program completely and check in ME53N or EBAN table.
Regards
Rajesh V
‎2012 Mar 08 6:42 AM
hi,
what is exactly your issue here:
- no PR is being generated ? --> Did you commit the changes?
- or PR number is not appearing automatically in ME53n?
Regards,
Dev.
‎2012 Mar 08 6:52 AM
Hi,
You have to call BAPI_TRANSACTION_COMMIT after the BAPI_PR_CREATE.
You have execute the entire program, Like if you check once the BAPI_PR_CREATE is executed it will not show the PR in ME53N.
So execute the program completely and check in ME53N or EBAN table.
Regards
Rajesh V
‎2012 Mar 08 8:41 AM
Hi,
First read the function module document and make sure the mandatory fields that has to pass.(Those details will be in that document) or check where used list and check the existing bapi.
After the call of PR BAPI CALL BAPI_TRANSACTION_COMMIT
THEN CALL BAPI_TRANSACTION_ROLLBACK.
Thanks,
Pradeep.
‎2012 Mar 08 9:18 AM
‎2012 Mar 08 9:18 AM