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

how to use BAPI?

Former Member
0 Likes
369

Hi there!

This is my first time to use BAPI, therefore I have a lot of questions.

I perform an upload_data subroutine to upload my excel file and use FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' to convert the excel data to an internal table.

Analyst required me to create a selection screen with 3 parameters: company code, posting date and one for upload file (path).

And suggested me to use few FM of BAPI such as

BAPI_ACC_DOCUMENT_CHECK

BAPI_ACC_DOCUMENT_POST and

BAPI_TRANSACTION_COMMIT.

But I have no idea how to apply them, such as what should i export to those FM. I couldn't find more information on those FM, can anybody explain those usage so that I have clear idea on it? and why selection screen need to enter the company code & posting date? Is it the company code is used to match with the company code in my excel file? But what about the posting date?

It might sound silly, but hope that someone could help me.

Thanks a lot!

1 REPLY 1
Read only

Former Member
0 Likes
348

Each is pretty well documented, so the first thing to do is to check each BAPI's documentation.

Rob