Application Development 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: 

RV_CONDITION_COPY does not allow to expire record

himanshu_gupta13
Employee
Employee
0 Kudos

Hi Gururs,

We are looking for a way to expire condition record but standard Function Module RV_CONDITION_COPY / ZOI_RV_CONDITION_COPY does not allow to expire pricing condition records by changing VALID TO date because VALID TO date is part of primary key.

Example,

VALID FROM     VALID TO

01/01/2016          31/12/9999

Need to expire it with yesterday date:

VALID FROM     VALID TO

01/01/2016          11/09/2016

But, system does not changing the valid to date. I tried in both A and B Maintenance mode, but could not got success. Before posting this question, I already searched a lot on SCN, but could not find any thing relevant.

I also tried with RV_CONDITION_MAINTENANCE but also failed in it.

May be I am missing some thing in parameters, please do copy paste code.

Condition table entry:-

V    ZCRR    1000    10    100000356    4000000853    12/31/9999    09/02/2016    0007992393

Bold words are primary key of A925 condition table

Thank You!! in advance.

Many Thanks / Himanshu Gupta

1 REPLY 1

himanshu_gupta13
Employee
Employee
0 Kudos

Any Idea on this....