|Home • Trainings • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us|
Parking a Document in FI using BAPI
By P.Karthikeyan, Kaar Technologies
In FI Module, Sometimes we need to park a document instead of
Posting. Through BDC, direct input method we can do this. But in this post, I am
explaining the Parking using BAPI.
There is no Direct BAPI for parking the FI Document. So using
the Document posting BAPI, ‘BAPI_ACC_GL_POSTING_POST’ we can achieve this
Header-username = sy-uname.
accountgl-itemno_acc = '1'.
loc_cnt = 1.
currencyamount-itemno_acc = ‘1’.
currencyamount-itemno_acc = ‘2’.
extension1-field1 = 'BAPI-PARK'.
CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
Implement Customer Exit (CMOD) ACBAPI01, with Include Program
ZXACCU15 of Component EXIT_SAPLACC4_001.
READ TABLE extension INDEX 1.
IF sy-subrc = 0 AND extension-field1 = 'BAPI-PARK'. ( to
confirm for our parking, because it should not work for all the BAPI posting by
MOVE 2 TO
t_acchd-status_new. " Park Document
To check the parked Document, go to table BKPF and we can
check the Document status as ‘V’.
We can check the parked document in FBV0.
One more important thing after implementing all the above
steps, if you are trying to post a parked document which is created by the above
process, you may be getting some error. We have to follow steps of the
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM
©2006-2007 SAPTechnical.COM. All rights reserved.
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG.
Graphic Design by Round the Bend Wizards