Application Development and Automation 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: 
Read only

BAPI VENDOR CREATE

Former Member
0 Likes
7,955

HI,

GIVE SAMPLE PROGRAMS REGARDING BAPI FOR PRACTICE.

HOW TO CREATE VENDOR USING BAPI_VENDOR_CREATE?

GIVE ME EXAMPLE PROGRAM.

UDAY

5 REPLIES 5
Read only

Former Member
0 Likes
5,955

Go to transaction 'SE37', pick a BAPI and click on where used list icon, you will get a list of programs where this BAPI is used. These are the sample programs, just go through then and start using them in your Z/Y programs.

Reward points if useful.

Thanks,

Anita

Read only

Former Member
0 Likes
5,955

Check the link for Sample BAPI Program:

http://www.saptechnical.com/SampleSpecs/AutoVendorDebitPosting/AVDP.htm

Reward if useful.

Read only

0 Likes
5,955

You need not create any test report for that.

You can do test run using BAPI itself.

Run 'BAPI_VENDOR_CREATE' function module.

Enter RFC target sys: your target system.

Bapi will call transaction XK01.Which is transaction for create vendor.

Enter all mandatory filed. you will get output of BAPI saying

eg.

VENDORNO 21900

VENDOR 21900

RETURN IF2 249Vendor 0000021900 was created

Edited by: Shruti Shah on Feb 6, 2008 8:01 AM

Read only

0 Likes
4,040

Link is not Working.

 

Read only

Former Member
0 Likes
5,955

hi...

If you want to see how bapi creates vendor through "BAPI_VENDOR_CREATE".

If you want develope test program then it will be a good practice to try on.

Else you can go to SE37 and enter "BAPI_VENDOR_CREATE" and then execute....then you can pass required data in the structures...and then execute again...if input data is correct then Vendor will create else it will give return errors for wrong input...

Try and see....it will help you....

Regards,

Sagun Desai...