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!