Skip to Content
0
Former Member
Jun 15, 2012 at 09:46 AM

RV_CONDITION_COPY not updating valid from and valid to fields in VK12

600 Views

Hey all,

I am using RV_CONDITION_COPY to update the pre-pack header material with the pricing values.

The amount is getting updated, but the fields Valid-from and Valid-to are not getting updated with the given values in the FM.

Could anyone please suggest what needs to be done?

CALL FUNCTION 'RV_CONDITION_COPY'

EXPORTING

application = 'V'

condition_table = '501'

condition_type = 'ZWSL'

date_from = sy-datum

date_to = '99991231'

enqueue = 'X'

i_komk = komk

i_komp = komp

key_fields = lwa_komg

maintain_mode = 'B'

no_authority_check = 'X'

keep_old_records = 'X'

overlap_confirmed = 'X'

no_db_update = space

IMPORTING

e_komk = komk

e_komp = komp

new_record = new_rec

e_datab = e_datab

e_datbi = e_datbi

e_prdat = e_prdat

TABLES

copy_records = lt_komv.

Any help would be appreciated!

Thanks in advance.

Veena