Application Development and Automation 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: 
Read only

BAPI_CONTRACT_CREATEFROMDATA

Former Member
0 Likes
565

Hi,

I'm trying to create a contract using this BAPI but i want to create a back-dated contract, meaning the dates i pass to CONTRACT_DATA_IN's CON_ST_DAT and CON_EN_DAT are all past dates. but i can't seem to successfully create one because of this error: "The determined activity date must be later than the system date." Does this have something to do with configuration?

Thanks!

2 REPLIES 2
Read only

Former Member
0 Likes
483

Hello,

Have you tried creating contract with past date manually?

If it is possible then you might have to play around with your parameters to the BAPI.

But if manually also system does not allow past date contract, then you need to talk to functional team.

Regards,

Vishal

Read only

uwe_schieferstein
Active Contributor
0 Likes
483

Hello Winnie

Try to create a back-dated contract using the dialog transaction. If you cannot do this in the dialog the BAPI should not allow this either.

However, you may try, again in dialog, to first create the contract with current dates and then try to back-date it. Perhaps the system allows this. In this case you have 2 steps to create your back-dated contract:

(1) Using the CREATE BAPI

(2) Modifing the existing contract using the CHANGE BAPI

Regards

Uwe