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

RV_CONDITION_COPY with Scales in Change Maintanance Mode 'B'

$
0
0

Hi Experts,

 

I reviewed all the posts/blogs regarding FM RV_CONDITION_COPY, but I did not find the answer to question in the title. Here are my successes so far:

 

  1. create condition record without scales,
  2. change condition record without scales,
  3. create condition record with scales.

 

In my opinion there is bug in form  copy_delete_scale include MV13AF0C. This from is invoked to set update flags on scales but does not call MODIFY in the LOOP so changes are not visible later on.

 

Do you know any SAP Note which addresses this bug or did you manage to find any workaround or maybe it is not a bug and I am doing something wrong?

 

Please find my RV_CONDITION_COPY call code below. If you have any questions I will be happy to answer.

 

CALL FUNCTION 'RV_CONDITION_COPY'
EXPORTING
application             
= st_cond_rec-kappl
condition_table         
= tp_tab
condition_type          
= st_cond_rec-kschl
enqueue                 
= 'X'
i_komk                  
= st_komk
i_komp                  
= st_komp
key_fields              
= st_komg
maintain_mode           
= 'B'
keep_old_records        
= 'X'
no_authority_check      
= 'X'
overlap_confirmed       
= 'X'
used_by_idoc            
= ' '
IMPORTING
new_record              
= tp_nr
TABLES
copy_records            
= ta_komv
copy_staffel            
= ta_condscale
EXCEPTIONS
enqueue_on_record       
= 01
invalid_application     
= 02
invalid_condition_number
= 03
invalid_condition_type  
= 04
no_authority_ekorg      
= 05
no_authority_kschl      
= 06
no_authority_vkorg      
= 07
no_selection            
= 08
table_not_valid         
= 09.


Viewing all articles
Browse latest Browse all 8768

Trending Articles



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