Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SO creation ref to Invoice

0 Kudos

Hi,

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?

Thanks,

Raj

1 REPLY 1

Lakshmipathi
Active Contributor
0 Kudos

Check with your Functional Consultant who can solve this.  There is a field "Reference Mandatory" in the said document type where you set Billing document as mandatory.  By doing so, just if you refer the parent billing document, all data would be copied to target document

G. Lakshmipathi