05-19-2015 6:29 AM
Dear all,
I have created an additional TAB "Addnl Data" using Enhancement "SRVEUSCR" Subscreen "0399"
In this subscreen I added some fields which I had added in the Include table "CI_ESSRDB"
it works as shown below.
The fields shown above is as named below.
Field1 --> ESSR-zfld1
******* Requirement **********
1) On opening an entry Sheet the Field-1 should get initialized with "100" if the value ESSR-ZFLD1 is initial
else it should capture the data stored in ESSR-ZFLD1.
2) On pressing SAVE button "100" must get updated in ESSR table.
******** Problem I am facing is **********
1) How to get the fields modified with data and update ESSR table.
2) How to display data in these Fields "Field1" from ESSR table
-------------------------------------------------------------------------------------------------------
Please assist me to solve this issue, I tried Function exit EXIT_SAPLMLSR_020 and EXIT_SAPLMLSR_021
but could not reach to a solution.
Thanks
05-19-2015 6:47 AM
Hi ,
Please try code in exit
EXIT_SAPLMLSR_020
move i_essr-zfld1 to zfld1 (Screen field name).
move i_essr-zfld2 to zfld2.
move i_essr-zfld3 to zfld3.
move i_essr-zfld4 to zfld4.
EXIT_SAPLMLSR_021
move zfld1 to e_essrdb-zfld1.
move zfld2 to e_essrdb-zfld2.
move zfld3 to e_essrdb-zfld3.
move zfld4 to e_essrdb-zfld4.
Regards,
Nilesh
05-19-2015 6:47 AM
Hi ,
Please try code in exit
EXIT_SAPLMLSR_020
move i_essr-zfld1 to zfld1 (Screen field name).
move i_essr-zfld2 to zfld2.
move i_essr-zfld3 to zfld3.
move i_essr-zfld4 to zfld4.
EXIT_SAPLMLSR_021
move zfld1 to e_essrdb-zfld1.
move zfld2 to e_essrdb-zfld2.
move zfld3 to e_essrdb-zfld3.
move zfld4 to e_essrdb-zfld4.
Regards,
Nilesh
05-22-2015 9:50 AM
How to modify the Screen Display mode of the Field "zfld1" on pressing the Display/Change button.
I tried
loop at screen.
..
..
Endloop.
on the PBO of the screen 399 but it is not working.
Please suggest what to do...?
Thanks in advance