Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Create with reference using BAPI_SALESDOCU_CREATEFROMDATA

Hi,

I have been trying to use BAPI_SALESDOCU_CREATEFROMDATA to create with reference. I am trying to use the fields REF_DOC and REF_DOC_CA in structure ORDER_HEADER_IN

but the created order is not copying any data from the referenced order. Aaprt from the ref order I am passing the sales area data and sold to customer. Am i missing something or is create with reference not supported?

Regards,

Hari.

Tags:
replied

Hi,

This bapi will work when you try to copy invoice to the credit memo request..pass the billing document number in salesdocument parameter and pass the sales document type(CMR type) in documenttype.

Thanks

Naren

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question