Skip to Content

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

BAPI_SALESORDER_CREATEFROMDAT2 contract start date

Hi Experts.

We are successfully using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order.

Only problem is that the contract start and end date do not get updated.

We are passing that in ORDER_HEADER_in-CT_VALID_F and ORDER_HEADER_IN-CT_VALID_T.

After debugging, I found that there is one more table SALES_CONTRACT_IN in SD_SALESDOCUMENT_CREATE. Updating the values in that table works.

But the problem is this table is not available in BAPI_SALESORDER_CREATEFROMDAT2. How to update Contract start and end dates from this FM ?

I could not find anything in the search of this forums. So I guess this is not an issue and I am doing something wrong. Can someone suggest to me please?

Thanks in adv.

Aishi

Tags:
Former Member

Helpful Answer

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