此博客为原创博客,都是个人工作经历所得,转载请注明出处

试着利用BAPI 寻找F-59创建凭证的函数

功能块代码 F-59
开发类 FIBP
事务说明 支付请求

事物:FBP1
Screen 0
BKPF-BLART = AB
________________________________________
从程序:SAPMF05A

Package: FIBP


回答一、
hi,

TCODES BAPI where you can find all the BAPIs existing

Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this

1) Find out the package of the transaction.

Start Va01 go to system --> status.

Double click on transaction

Package is VA

Open this package in SE80

Open business engineering-->Business object types

Find the BO which sounds the most appropriate

I would suggest BUS2032 Sales Order

Double click.

Open methods.

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

, Createfromdat2

Position the cursor in it and click the program button

Scroll down to find the bapi used in this method

With this way you can also find out programs and FM's

2. Start va01 go to system-->status

Double click transaction VA01

Double click on package

Read the application component. (this is SD-SLS Sales)

Then open the transaction BAPI

Sales and distribution>Sales>sales order

createfromdat2

http://www.sap-img.com/abap/how-to-find-bapi-for-particular-transaction-in-sap.htm

regards

prasanth

 

回答二、

Hi,

BAPI is the t-code, in this t-code we will find all modules bapi's function modules and business objects,

SWO1 is the t-code we will display the bapi.

SW02 is the t-code we will create the bapi.

Thanks & Regards,

Murali

posted @ 2017-04-23 21:33  Rainystuday  阅读(414)  评论(0编辑  收藏  举报