06-05-2013 4:15 PM
Hi,
i can't find bapi similar to SD_CUSTOMER_MAINTAIN_ALL but which creates vendors not customers. Is there any bapi which creates vendor the same way?
Thanks in advance.
Regards,
gm
06-06-2013 11:22 AM
Check out the below link:
http://scn.sap.com/docs/DOC-42312
If BAPI is what you are looking for then you can wrap the codes in attached link to a custom BAPI.
06-06-2013 7:58 AM
No BAPI similar to BAPI_CUSTOMER_CREATEFROMDATA or BAPI_CUSTOMER_CREATEFROMDATA1 exists yet, but you could look a method cmd_ei_api=>maintain_bapi.
Regards,
Raymond
06-06-2013 11:11 AM
For Vendor I am sorry to state and shocked to that there is no such FM available....
bapi_vendor_create calls transaction xk01. so its only possible to create a vendor in dialog.
You can create a BDC specific to your system and call it in an FM.
BR
06-06-2013 11:22 AM
Check out the below link:
http://scn.sap.com/docs/DOC-42312
If BAPI is what you are looking for then you can wrap the codes in attached link to a custom BAPI.
06-07-2013 8:27 AM
06-06-2013 11:42 AM
First of all, thank you for your replies.
: I want bapi to create vendor's data not customer's, but there is similar class for vendor (look at Vineesh Varghese reply) vmd_ei_api=>maintain_bapi.
:I know that bdc is the way to solve this problem, but i really dont want to use this, because recordings of xd01 and xk01 (xk01 not as strange like xd01) behaves very strange espesially when you create customer/vendor for first time in current session in background mode.
: I knew that sap contains this class, but i couldn't execute this method to achieve my goal, but i couldn't find any example of this method. Thank you. I'll give feedback if it will be working.
best regards,
gm
06-06-2013 12:27 PM
Read more carefully my answer, I already mentionned those class and method
No BAPI similar to BAPI_CUSTOMER_CREATEFROMDATA or BAPI_CUSTOMER_CREATEFROMDATA1 exists yet, but you could look a method cmd_ei_api=>maintain_bapi.
Regards,
Raymond
06-06-2013 11:55 AM
Hi,
As there is no standard BAPI available for vendor master. However turnaround is possible, SAP has given some standard program for Vendor master.
I would suggest you to use Direct Input method in LSMW:
Object: - 0040 Vendor master
Method: - 0001 Standard
Program Name: - RFBIKR00
I believe it will solve your problem of Vendor master.
On the lighter side if you only want to use BAPI then propose it to SAP.
Thanks,
Anurag