10-16-2008 6:28 AM
Hi Experts
I need help on standard screen modification.i added one filed to standard screen of vl02 and same filed added in LIKP table.when i enter some value in added field and when i am coming out of tcode its not giving pop up to confirm for save . but remaining fields other than added by me its giving pop up. i debugged the program but i am unable to understand the processing. please help me in this if anybody faced this probelm previously.
10-16-2008 6:43 AM
10-16-2008 6:56 AM
click on pbo module and write this logic
----
***INCLUDE ZXOIGO01 .
----
&----
*& Module STATUS_2100 OUTPUT
&----
text
----
MODULE status_2100 OUTPUT.
IF w_trtyp = 'A'. "Display
LOOP AT SCREEN. "To make the fields disable in display mode.
screen-input = 0.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
ENDMODULE. " STATUS_2100 OUTPUT
PROCESS AFTER INPUT.
----
To check if there is any changes made to any of the below
fields.
----
CHAIN.
FIELD: oigv-zzmenge1,
oigv-zzmenge2,
oigv-zzmenge3,
oigv-zzmenge4,
oigv-zzmenge5,
oigv-zzmenge6,
oigv-zzmenge7,
oigv-zzmenge8,
oigv-zzmenge9,
oigv-zzmenge10,
rb_cfbt1,
rb_m31.
MODULE set_change_flag ON CHAIN-REQUEST.
ENDCHAIN.
*inside the module set_change_flag
*mention this
MODULE set_change_flag INPUT.
w_changed = 'X'.
ENDMODULE.