cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_PD_PO_CREATE

Former Member
0 Kudos
170

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Atul-

I have to modify the program which is using BBP_PD_PO_CREATE. So I want to understand hot GUID is working in the function module.

Thanks,

AP

former_member195032
Active Contributor
0 Kudos

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