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

Requirment in module pool .

Former Member
0 Likes
613

Hi Experts,

I have a requirement whereas if we change the table/structure ( by adding new fields or deleting) in se11 the changes should automatically trigger in the screen which is using those tables/structure.

Is there any programming/logic involved , any suggestions appreciated.

Thanks in Advance ,

Kumar.

Hi Experts,

I have a requirement whereas if we change the table/structure ( by adding new fields or deleting) in se11 the changes should automatically trigger in the screen which is using those tables/structure.

Is there any programming/logic involved , any suggestions appreciated.

Thanks in Advance ,

Kumar.

4 REPLIES 4
Read only

Former Member
0 Likes
597

you have to regenate the table mentainance generator again ..ie delete the existing table mainatainane and create again

Read only

0 Likes
597

HI ,

But how will the changes be updated in the screen without any programming logic .

I would make my requirment more clear.

i have a module pool program where i am using a table with few fileds .

in the layout editior i have designed the table with those fields .

Now in future if i add new fields to the same table .

Is there any possibility to trigger the changes in table, in the screen also.

Thanks.

Kumar

Read only

Former Member
0 Likes
597

Hi,

Check with the following code.

SELECTION-SCREEN BEGIN OF SCREEN 300 AS SUBSCREEN.

PARAMETERS : p_bukrs TYPE ekko-bukrs OBLIGATORY DEFAULT '1000'.

SELECT-OPTIONS : s_ebeln FOR ekko-ebeln ,

s_ebelp FOR ekpo-ebelp .

SELECTION-SCREEN END OF SCREEN 300 .

START-OF-SELECTION .

CALL SCREEN 100 .

MODULE status_0100 OUTPUT.

SET PF-STATUS 'ZPF01' .

SET TITLEBAR 'ZTITLE01' .

ENDMODULE. " status_0100 OUTPUT

MODULE user_command_0100 INPUT.

IF sy-ucomm = 'BACK' OR sy-ucomm = 'EXIT' .

LEAVE TO SCREEN 0 .

ENDIF.

ENDMODULE. " user_command_0100 INPUT

Thanks,

Neelima.

Read only

0 Likes
597

HI ,

But how will the changes be updated in the screen without any programming logic .

I would make my requirment more clear.

i have a module pool program where i am using a table with few fileds .

in the layout editior i have designed the table with those fields .

Now in future if i add new fields to the same table .

Is there any possibility to trigger the changes in table, in the screen also.

Thanks.

Kumar