Skip to Content

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

Issue with Sales Order creation using BAPI - BAPI_SALESDOCU_CREATEFROMDATA1


Good Day!

We are trying to created multiple Sales orders by using custom program. We have use BAPI - BAPI_SALESDOCU_CREATEFROMDATA1 for this program.

For this SO pricing procedure has two condition types. One is PR00 and second one is MWST. PR00 will be passed through BAPI manually.

When program executed first SO created with both condition types and there is no issue. When it coming to the 2nd, some how the MWST condition type removed and the order created. When we go to Analysis, system giving the error message 'Condition record exists, but has not been set'

with the below description

This message tells you that the condition record exists, but has not been set in the document. If pricing was carried out again for the document item, then the condition would be set.

There are different reasons for this:

  1. The condition was deleted manually in the item condition screen.
  2. The condition record was created later. Please note that order processing and pricing have buffer mechanisms. This means that a newly added condition record might only be found after order processing has been left completely and then started again.

Any one can help me on this



Former Member
Not what you were looking for? View more on this topic or Ask a question