SO creation ref to Invoice
I would like to create Credit/Debit Memo with reference to Billing document and I would like to use BAPI.
But I may not pass all the details to BAPI, e.g. Material no, PO no and other details. Those details needs to take from referenced Invoice (just like manual creation via VA01, we just needs to provide Bill. Doc number and save).
I tried using of different BAPI's, if I provide all details then it is creating Credit/Debit memo, but if I don't pass mandatory fields e.g. Material, it is giving below error.
No item category available (Table T184 ZCRQ TEXT ).
Any one have any idea? Do I better got with BDC?