2012 Dec 06 6:54 PM
Hi ,
I need help while posting the FI document during PGI. The requirement is to add line items in FI documents.
Tried with couple of things:
1) BAPI_ACC_GL_POSTING_POST
2) BAPI_ACC_DOCUMENT_POST
3) OPEN_FI_PERFORM_00001120_P
4) EXIT_SAPLFMR4_002
5) BADI : AC_DOCUMENT
All helped in changing not adding extra lines.
Any help is much appreciated.
Regards
2012 Dec 06 7:32 PM
Hello,
BAPI_ACC_DOCUMENT_POST will resolve your purpose.
If you want to check for errors before posting use BAPI_ACC_DOCUMENT_CHECK. Its almost like test run for the other BAPI.
But there is no provision to pass Posting Key and Special G/L indicator to this FM. Inorder to do that use BTE.
Make a z-fm of the process RWBAPI01 and pass the values.
Hope it helps!!!!
Rgrds,
Sravan
2012 Dec 06 7:32 PM
Hello,
BAPI_ACC_DOCUMENT_POST will resolve your purpose.
If you want to check for errors before posting use BAPI_ACC_DOCUMENT_CHECK. Its almost like test run for the other BAPI.
But there is no provision to pass Posting Key and Special G/L indicator to this FM. Inorder to do that use BTE.
Make a z-fm of the process RWBAPI01 and pass the values.
Hope it helps!!!!
Rgrds,
Sravan
2012 Dec 12 8:10 AM
Hi,
BAPI_ACC_DOCUMENT_POST is for posting additional documents.
The issue gets resolved by using EXIT EXIT_SAPLFMR4_002 and writing appropriate code to fetch values .
Thanks for taking time and responsing.
Shefali