Help Valus in Module Pool Programming
how to give help values in module pool programming may thease code help you how to give help Value in module pool programming
TYPES: BEGIN OF ty_value,
ebeln TYPE ebeln,
cntnr TYPE zcntnr,
END OF ty_value.
DATA: lt_value TYPE STANDARD TABLE OF ty_value,
lw_value TYPE ty_value.
SELECT ebeln cntnr INTO TABLE lt_value FROM rktable.
* WHERE ebeln = rm08m-ebeln.
SORT lt_value BY ebeln cntnr.
DELETE ADJACENT DUPLICATES FROM lt_value COMPARING ebeln cntnr.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ZCNTNR'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'BKPF-ZCNTNR'
value_org = 'S'
TABLES
value_tab = lt_value
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
Comments
Post a Comment