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_PRICES_CONDITIONS date split

Former Member
0 Likes
701

Hello,

I'm using the BAPI BAPI_PRICES_CONDITIONS and have a question regarding Conditions Termination.

Example:

One Condition with periode 01/01/2005 -> 31/12/9999 already exist. Is the BAPI able to handle a new Condition with the same Variable Key and a new Periode 01/01/2007 -> 31/12/9999?

For my opinion should happen following:

Cond. 1. 01/01/2005 -> 31/12/2006 (Update - Termination)

Cond. 2. 01/01/2007 -> 31/12/9999 (Insert)

I got always an error during the process. Maybe the BAPI is not able to do this and I have to check the periodes by myself before runing the BAPI?

Thank you very much in advance for your ideas.

Kind regards

Shankar S

1 REPLY 1
Read only

Former Member
0 Likes
424

Hi Shankar,

I am not sure of doing this through program... It is done manually, first you need to change condition validity period and mark it for deletion flag....& then insert a new validity period....

Did u try this FM for delimiting the period "SD_CD_TIMEVAKEAKT_TO_XKONDAT"

If the hint is useful… Say thanks by reward….

Regards,

Prabhu Rajesh