cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory fields to create vendor and PO

Former Member
0 Kudos

Hi all,

I am migrating data from legacy system to ECC and to SRM. I found mandatory fields in ECC and I am not sure what are the mandatory fields for SRM. I need for Vendor creation(Foreign vendors also) and open PO. Please reply.

Regards,

Balaji

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

<b>Use the function module BBP_VENDOR_GET_NON_BAPI to create a vendor directly in SRM.</b>

<u>Function module - BBP_VENDOR_GET_NON_BAPI</u>

<u>Program</u> - <b>BBP_VENDOR_GET_DATA</b>

<u>BAPI</u> - <b>META_BUSINESS_PARTNER_CREATE</b>

<u>Also look at Function module - BBP_UPDATE_ATTRIBUTES.</u>

<b><u>Did you created any PO using that "bapi_poec_create"..? Don't forgot to add a commit work in your program.</u></b>

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>Please go through this as well -></u>

<u>Hope this will definitely help. Do let me know.</u>

Regards

- Atul

laurent_touillaud
Contributor
0 Kudos

Hi Balaji,

I would suggest you to look in transaction se37 for following bapi :

BAPI_BUPA_CREATE_FROM_DATA (partner creation)

BAPI_POEC_CREATE (purchase order creation)

You can find mandatory values in tab import.

Best regards,

Laurent.

Reward points if helpfull,