08-04-2009 12:00 PM
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
08-04-2009 12:04 PM
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
08-04-2009 12:04 PM
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
08-04-2009 12:17 PM
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
08-04-2009 1:10 PM
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