Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_VENDOR_CREATE

Former Member
0 Kudos

Now then,

I have searched high and low for any information on the BAPI - BAPI_VENDOR_CREATE.

It seems that this BAPI only calls the transaction XK01. I need to be able to create vendor master

data from say an uploaded excel spreadsheet.

I could use the BDC method but as you know this is a very time consuming way.

I have also searched via SE37 for any existing FM's and can only find a very limited few which

again call XK01.

There must be a definitive answer as to why there is no bapi to create a vendor from scratch

i.e. just like you would use a bapi to create a purchase order.

If it cant be done then it can't be done. But there must be a reason as why there is no FM or

BAPI to create a vendor.

Hope this makes sense

Andy

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Well am not sure of the reason as to why such a BAPI is not available which can create vendors directly in offline mode, but you can try the following FM's through which it can be achieved.

VENDOR_INSERT: To insert the vendor in vendor master

NUMBER_GET_NEXT : To get the Address number based on the account group for vendor.

ADDR_SAVE _INTERN: To update the address based on the address number found above.

BAPI_BANK_CREATE To update the bank details.

Regards,

Vik

3 REPLIES 3

Former Member
0 Kudos

Hi,

Well am not sure of the reason as to why such a BAPI is not available which can create vendors directly in offline mode, but you can try the following FM's through which it can be achieved.

VENDOR_INSERT: To insert the vendor in vendor master

NUMBER_GET_NEXT : To get the Address number based on the account group for vendor.

ADDR_SAVE _INTERN: To update the address based on the address number found above.

BAPI_BANK_CREATE To update the bank details.

Regards,

Vik

Former Member
0 Kudos

Hi,

Any BAPI also creating master data internally may be it will takes the Tcode that is why it may be time taking.

but to create a vendor BAPI_VENDOR_CREATE only using.

regards,

Ganesh

former_member555112
Active Contributor
0 Kudos

HI,

Upload the vendor master via LSMW.

Make use of idoc method and use the message type CREMAS.

or use the FM IDOC_INPUT_CREDITOR in your program.

Regards,

Ankur Parab