hi atul,
i'm using process_header .. in that i'm getting condition value ..
according to patricular condition value i want to make that custom field mandatory ..
but in loop at screen
screen name is not trigerring inside the "process_header"
sample code :
if sy-tcode = 'ME21N' OR SY-TCODE = 'ME22N'.
* BREAK SSSMM.
DATA : l_item TYPE purchase_order_items.
DATA : l_single TYPE purchase_order_item.
DATA : l_item_cond TYPE mmpur_tkomv.
CALL METHOD im_header->get_items
RECEIVING
re_items = l_item.
LOOP AT l_item INTO l_single.
CALL METHOD l_single-item->get_conditions
IMPORTING
ex_conditions = l_item_cond.
ENDLOOP.
ENDIF.
if l_item_cond-kwert > 15000000.
LOOP AT SCREEN.
IF SCREEN-NAME = 'EKKO_CI-ZARIBA'.-------> this part not trigerring
SCREEN-INPUT = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
endif.