on 2021 Aug 30 11:32 AM
Hello Everyone ,
I am creating new condition records using "RV_CONDITION_COPY" and it is working fine for all of the fields except material description . I passed the Material description in MT06E structure in the importing parameter but some how it is not taking the same. Could someone please help.
CALL FUNCTION 'RV_CONDITION_COPY'
EXPORTING
application = 'V'
condition_table = '510'
condition_type = lc_zret
date_from = sy-datum
date_to = '99991231'
enqueue = 'X'
i_komk = komk
i_komp = komp
key_fields = ls_komg
maintain_mode = 'A'
no_authority_check = 'X'
no_field_check = 'X'
selection_date = sy-datum
keep_old_records = 'X'
material_m = wa_mt06e
overlap_confirmed = 'X'
no_db_update = ' '
IMPORTING
e_komk = komk
e_komp = komp
TABLES
copy_records = lt_komv
EXCEPTIONS
enqueue_on_record = 1
invalid_application = 2
invalid_condition_number = 3
invalid_condition_type = 4
no_authority_ekorg = 5
no_authority_kschl = 6
no_authority_vkorg = 7
no_selection = 8
table_not_valid = 9
no_material_for_settlement = 10
no_unit_for_period_cond = 11
no_unit_reference_magnitude = 12
invalid_condition_table = 13
OTHERS = 14.
IF sy-subrc EQ 0.
CALL FUNCTION 'RV_CONDITION_SAVE'.
COMMIT WORK.
CALL FUNCTION 'RV_CONDITION_RESET'.
COMMIT WORK.
ENDIF.
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.