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: 

Create many condition records at the same RV_CONDITION_COPY call

adrian_mejido
Contributor
0 Kudos

Hi,

I would like to create many condition records for the same article/werks in an unique call of the fm RV_CONDITION_COPY. These conditions have diferent date ranges and kbetr values.

How I could achieve this?

Thanks for your time

1 ACCEPTED SOLUTION

JL23
Active Contributor

Why discussing problems with an unreleased function module?

Read OSS note 2462651 - Unreleased Function Modules RV_CONDITION_COPY, RV_CONDITION_SAVE, RV_CONDITION_RESET

7 REPLIES 7

Jelena
Active Contributor
0 Kudos

What exactly is a technical challenge? And what have you tried so far?

adrian_mejido
Contributor
0 Kudos

Hi Jelena,

I don't understand your reply....As I explained in the question, I would like to know if is possible to create for example two price conditions with different date ranges(DATAB/DATBI) of the same article/werks combination at the same time in an unique call of the fm RV_CONDITION_COPY.

In the FM there is a parameter COPY_RECORDS in which you can fill more than one price condition, but it doesn't have fields to fill DATAB/DATBI. Instead of that, I think that this date information is taken from the DATE_FROM and DATE_TO parameters and because of that I can create only one range.

Best Regards.

SimoneMilesi
Active Contributor

So you have answered yourself to your question 🙂

You can check the code and see where date_from and Date_to are used, but, again, you answered yourself the question 🙂

JL23
Active Contributor

Why discussing problems with an unreleased function module?

Read OSS note 2462651 - Unreleased Function Modules RV_CONDITION_COPY, RV_CONDITION_SAVE, RV_CONDITION_RESET

SimoneMilesi
Active Contributor

Because unreleased FMs are often the only solutions Mommy SAP gave to older release to solve things 🙂
It's NOT AT ALL a good practice to use them, i totally agree with this, but i use the same FMs in more than one report.

0 Kudos

This note help me to focus the solution in another way.

Thanks.

adrian_mejido
Contributor
0 Kudos

For people who don't think that I don't research, I achieve this using COND_A idocs.

Best Regards