Help required for using BAPI_ACC_DOCUMENT_POST
I have a requirement wherein I have to create CO-PA document using 'BAPI_ACC_DOCUMENT_POST' and the created CO-PA document should be visible in FB03.
For this I am passing the item number, characteristic names and characteristic values to 'criteria' in the BAPI interface.
I am passing the characteristics -
ARTNR, FKART, VTWEG and KNDNR (in column FIELDNAME) and their values (in column CHARACTER). I am unable to create the CO-PA document. Which other characteristics do I need to pass? I tried many combinations of characteristics but was still unsuccessful.
Your help will be appreciated.
Thanks in advance.