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: 

Similar bapi to SD_CUSTOMER_MAINTAIN_ALL

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member212005
Active Contributor
0 Kudos

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.

7 REPLIES 7

raymond_giuseppi
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

former_member212005
Active Contributor
0 Kudos

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.

0 Kudos

That's the right answer. Thank you.

Regards,

gm

Former Member
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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