on 2007 Nov 02 7:46 PM
I want to upload po using FM BBP_PD_PO_CREATE. But not able to understand how to pass the GUID and P_GUID values in various structures.
Please explain.
THanks,
AP
Hi,
You can pass the Guid like below:
c_guid(32) type c value '00000000000000000000010000000000'.
-
move: c_guid to i_header_wa-guid.
Pass the necessary value to the header structure and pass the value into FM.
Hope this will help you to understand more.
Regards,
Senn.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Did you created any PO using that "bapi_poec_create"..? Don't forgot to add a commit work in your program.
You will have to develop your own XML mapping to create a PO in SRM.
You can use BAPI_POEC_CREATE (read SE37 documentation about GUIDs).
This one also uses internal functions BBP_PD_PO_CREATE, UPDATE & SAVE.
You don't have to take care of GUIDs. This function will generate them for you. You can pass the PO number as PO header GUID, and PO items as PO item GUIDs. This will make the links as well.
<u>See related link -></u>
Hope this will answer your query.
Regards
- Atul
try to use BAPI BAPI_POEC_CREATE.
Do a where used for this FM in SE37 transaction and see how SAP has used to create a PO in SRM system.
I hope ,this will help.
regards,nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.