| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Parking a Document in FI using BAPIBy 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
easily.
Header-username = sy-uname. accountgl-itemno_acc = '1'. loc_cnt = 1. currencyamount-itemno_acc = ‘1’. CLEAR currencyamount.
currencyamount-itemno_acc = ‘2’.
CLEAR currencyamount.
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
the standards.) MOVE 2 TO
t_acchd-status_new. " Park Document Endif. 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 Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
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 |
||