Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

RV_CONDITION COPY

$
0
0

Gurus,

Our requirement is to load the file cost and alternate cost (few other different costs) of product as COPA Condition records using KE41

 

We are using FM RV_CONDITION_COPY to insert/update records, however we also have a delete situation. When these condition records are deleted in the legacy system, they send us all the current and future costs of that product. So we have to delete ALL the current and future costs of that product.

 

For this I am reading the condition table (AXXX) to get all the condition records numbers, read the condition records information from KONP and populate the COPY_RECORDS  table of the FM RV_CONDITION_COPY.

 

I am also passing

MAINTAIN_MODE  = 'B'

COPY_RECORDS-LOEVM_KO = 'X'

COPY_RECORDS-UPDKZ = 'D'.

 

It however doesn't delete the record from AXXX or KONP.

Please advise if this is the right FM to delete the condition records and how to achieve the desired functionality.

 

 

Many Thanks.


Viewing all articles
Browse latest Browse all 8768

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>