‎2007 Aug 28 1:47 AM
hi,
i use parameter accountpayable in BAPI_ACC_DOCUMENT_POST to generate vendor credit item, and the posting key of the item in generated document is 21: Credit memo, now i need the posting key to be 22:Reverse invoice, how could i do it ?? i find through the main program of the bapi for 'bschl' and for '22', but no useful result, seems like it cann't fulfill what i need.
thank you !
‎2007 Aug 28 2:45 AM
any idea ? or is there another bapi for document post in which posting key can be input as parameter ??
‎2007 Aug 28 3:00 AM
Hi Zhang,
Please look at the SAP sample (demo) program ACC_BAPI_TEST_DOCUMENT. It's pretty easily written for customers so if you debug through it you'll be able to understand how to achieve the various functionalities in regards to bapi_acc_doc.
Hope this helps.
Don't forget to reward points.
Cheers,
Sougata.