How to create new Vendor via BAPI

Question: Dear Friends,

I would like to know that can I create a new vendor (Tcode: FK01) via "BAPI" from others lagacy system (such as Excel)?. I have found the function module "BAPI_VENDOR_CREATE" , but I think it does not suite for my case.

Because when I test run, the input screen have only "RFC target sys.". I don't know what does it mean and it does not has any import parameter such as "vendor name", "surname" and "address".

Thanks very much for your help.

SeMs

Answer:
Check out the Function Module 'VENDOR_MAINTAIN_XK01'.Should work for Creation/Updation of vendors . There does not seem to be any standard BAPI FOR VENDORS .

Answer:
Hello,

BAPI_VENDOR_CREATE is used for creation of new vendors.

In test run of that function module you have all fileds that you are looking for.
Use specification for BAPI_VENDOR_CREATE in SAP R/3 system under transaction BAPI or ifr.sap.com. Search for BAPI_VENDOR_CREATE and you will find fields which you need to fill.

HTH

Gordan

Answer:
Dear Gordan,

I have found "BAPI_VENDOR_CREATE" already. But in the "Import Tab" of this BAPI does not provide any parameters, so I don't know that how can I import data to create the new vendor.

And when I test run this BAPI , it display only "RFC target sys." for input data, so I don't know what does it mean. Please advise.

Thanks very much for your help.

SeMs

Answer:
I'm also confused by this BAPI.

In examining the documentation for the function module
of the same name, I don't see that it receives any data
items. It simply returns 2 vendor numbers and a return code?

There's something fundamental that I do not understand here.
I would expect a program that will create a record to accept
a parameter (structure) that contains the data to be placed on
that record. No?

Can someone please explain this to me? Thanks!

Shaun
_________________
Don't you find it odd that all the members of the Association for Computing Machinery are human?

Answer:
This BAPI is calling transaction 'XK01' for on-line creation of Vendor.
Copyright ?2007 - 2008 www.jt77.com