‎2008 Mar 13 7:57 AM
Hello, i need to create the delimiting dates functionality, which will trigger proper warning message and will handle overlapping time periods.
Can anyone help me on this?
I've already enabled and coded the two Standard Modules in the Custom table's Screen Logic:-
PROCESS BEFORE OUTPUT.
MODULE liste_initialisieren.
LOOP AT extract WITH CONTROL
tctrl_zxxm_pc CURSOR nextline.
MODULE liste_show_liste.
MODULE liste_deactivate.
ENDLOOP.
*
PROCESS AFTER INPUT.
MODULE liste_exit_command AT EXIT-COMMAND.
MODULE liste_before_loop.
LOOP AT extract.
MODULE liste_init_workarea.
CHAIN.
FIELD zxxm_pc-zz_tdate .
FIELD zxxm_pc-z_poc .
FIELD zxxm_pc-zz_fdate .
FIELD zxxm_pc-zz_pc .
MODULE set_update_flag ON CHAIN-REQUEST.
ENDCHAIN.
"INSERTED AJMAL.D 13/03/2008
CHAIN.
FIELD zxxm_pc-zz_fdate .
FIELD zxxm_pc-zz_tdate .
MODULE temp_delimitation ON CHAIN-REQUEST.
ENDCHAIN.
"END
FIELD vim_marked MODULE liste_mark_checkbox.
CHAIN.
FIELD zxxm_pc-zz_tdate .
FIELD zxxm_pc-z_poc .
FIELD zxxm_pc-zz_fdate .
MODULE liste_update_liste.
ENDCHAIN.
ENDLOOP.
MODULE liste_after_loop.
But its giving me dump. Are there any other coding of configurations to make?
‎2008 Mar 13 11:50 AM
Hello,
Plz do not write code in the PBO/PAI of a TMG.
You will lose all the code, once the TMG is regenerated.
It's safe to handle a TMG through events, since the code exist in a separate include.
Once the TMG is regenerated all you have to do is reattach the Subroutine.
Regards,
Remi