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

issue while Finding the BAPI

former_member498821
Participant
0 Likes
561

Hi All ,

as per the requirement i need to delete the invoice list instead of T-Code(VF26) i need to use BAPI .so can you any one knows bapi name for invoice list cancellation . can you any one let me know the BAPI and Function module   name for it .

  

Thanks

Venkat .

3 REPLIES 3
Read only

Former Member
0 Likes
510

Hi Venkat,

Check this,

http://scn.sap.com/thread/195654

Thanks,

Pradeep.

Read only

Former Member
0 Likes
510

Hi Venkata,

Please find below the method of finding a BAPI / Function modules related to a transaction code.

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 

Regards,

Arun

Read only

Former Member
0 Likes
510

Hello,

You can try the following BAPI_BILLINGDOC_CANCEL1

Best regards

Javi