0% found this document useful (0 votes)
439 views2 pages

RV_CONDITION_COPY Usage Guide

The document provides steps to copy condition records in a condition table using the RV_CONDITION_COPY function. It lists the input parameters passed to the function including application, condition table, condition type, date from, date to, enqueue flag, and key fields. It also describes copying the records to another table, specifying the table values and fields to copy. Finally, it includes calls to commit the transaction, reset the condition, and commit again to handle duplicate prices while copying condition records.

Uploaded by

vijayjeo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
439 views2 pages

RV_CONDITION_COPY Usage Guide

The document provides steps to copy condition records in a condition table using the RV_CONDITION_COPY function. It lists the input parameters passed to the function including application, condition table, condition type, date from, date to, enqueue flag, and key fields. It also describes copying the records to another table, specifying the table values and fields to copy. Finally, it includes calls to commit the transaction, reset the condition, and commit again to handle duplicate prices while copying condition records.

Uploaded by

vijayjeo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
  • Function Details
  • Handling Duplicate Price Creation

Call function “RV_CONDITION_COPY”

Application – V (Constant)

Condition table – 966 (Constant)

Condition Type – 1051 (Constant)

Date From - Valid From date obtained from previous step

Date to – Valid From date obtained from previous step

Enqueue – X (Constant)

I_KOMK

Supplier - Obtained from previous step

Customer - Obtained from previous step

I_KOMP

MATNR- Obtained from previous step

Key fields

Supplier - Obtained from previous step

Customer - Obtained from previous step

MATNR- Obtained from previous step

Maintain Mode - A (Constant)

No Field Check – X (Constant)

Keep old records – X (Constant)

Tables

Copy_ records

MANDT – 100 (Constant)

KAPPL – V (Constant)

KSCHL - 1051 (Constant)

KRECH – C (Constant)

KBETR (Obtained from previous step)

WAERS – (Obtained from previous step)

KOPOS - 01
Call function “RV_CONDITION_SAVE”

CALL Function “ Bapi_transaction_commit”

Call Function “RV_CONDITION_RESET”

CALL Function “ Bapi_transaction_commit”

How to handle duplicate price


creation while using
RV_CONDITION_COPY

[Link]

Call function “RV_CONDITION_COPY” 
 
 
Application – V  (Constant) 
 
Condition table – 966 (Constant)  
 
Condition Type –
Call function “RV_CONDITION_SAVE” 
CALL Function “ Bapi_transaction_commit” 
Call Function “RV_CONDITION_RESET” 
CALL Fun

You might also like