Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Delimiting Dates Functionality in Z table

Former Member
0 Likes
378

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:-

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?

1 REPLY 1
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
330

We can't see what code is inside your MODULEs, so the fragment you posted is not helping. Also you did not say what kind of error or dump you are getting.

Also make sure that zz_fdate and zz_tdate refer to the proper date type in dictionary.