cancel
Showing results for 
Search instead for 
Did you mean: 

Online Vendor Create

prathamesh_gandhi
Participant
0 Kudos

Hi All,

I want to create vendor master data from web. I am searching for a BAPI. is there any bapi that I can use?? bapi should be the RFC as i am calling it from webdynpro component.

Or suggest me any other way to fulfill the requirement.

Thanks In Advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member199125
Active Contributor
0 Kudos

Hi..

to create a vendor master( for XK01) , we have BAPI say BAPI_VENDOR_CREATE

create a small form( webdynpro ) with input fields which are required to create a bapi, once you get the values pass those to bapi , internally it will create record.

For your knowledge

Actual procedure to find BAPI..

Open XK01 go to system --> status.

Double click on transaction

Package is FBK

Open this package in SE80 OR SE84

Open business engineering-->Business object types

Find the Busines Object which sounds the most appropriate

Example: LFA1

Double click at the Business Object

Open the methods.

Find the released method with from data or something similar in the name

, Create*

example: Vendor.Create

Position the cursor in it and click the program button (tab ABAP/4)

Scroll down to find the bapi used in this method

Example: BAPI_VENDOR_CREATE

MEthods/BAPI

Vendor.Create = BAPI_VENDOR_CREATE

Vendor.GetInternalNumber = BAPI_VENDOR_GETINTNUMBER

Vendor.Display = BAPI_VENDOR_DISPLAY

Vendor.Delete = BAPI_VENDOR_DELETE

Vendor.Edit = BAPI_VENDOR_EDIT

Vendor.ExistenceCheck = BAPI_VENDOR_EXISTENCECHECK

Vendor.ChangePassword = BAPI_VENDOR_CHANGEPASSWORD

Vendor.CheckPassword = BAPI_VENDOR_CHECKPASSWORD

Vendor.CreatePassword = BAPI_VENDOR_CREATEPASSWORD

Vendor.DeletePassword = BAPI_VENDOR_DELETEPASSWORD

Vendor.GetPassword = BAPI_VENDOR_GETPASSWORD

Vendor.InitPassword = BAPI_VENDOR_INITPASSWORT

Vendor.GetDetail = BAPI_VENDOR_GETDETAIL

Vendor.Find = BAPI_VENDOR_FIND

Vendor.SaveCharValueReplicas =BAPI_VENDOR_SAVECHARVALREPLICA

Vendor.ReleasePurchBlock = VENDOR_PURCHASING_DEBLOCK

Vendor.GetOrgLevelDescription = VENDOR_WF_PURCH_DEBLOCK_TEXT

Hope it helps,

REGARDS

Srinivas

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

There is a transaction code - BAPI - which has a library of all available BAPIs. There is an alphabetical and hierarchical listing of BAPIs which makes them relatively easy to find.

prathamesh_gandhi
Participant
0 Kudos

Hi All,

can anyone let me know how to user the bapi "BAPI_VENDOR_CREATE"?? i.e how to pass the parameter to it.

Thanks In Advance.

Former Member
0 Kudos

You can use a SERVICE CALL process where you call a particular FM/Class here you can call the BAPI where parameters are listed under the respective importing/exporting/changing so that automatic nodes are created and you can design the layout once the nodes/attributes are created.

Refer to SERVICE CALL for more information as there are many articles on the same.

You can also achieve it other way, try to create the respective nodes/attributes that a FM is expecting instead of using a SERVICE CALL..based on some button you can pass these values to that BAPI internally.