on 02-06-2012 12:40 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.