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

Data hidden by Screen Modifications

Former Member
0 Likes
1,432

Hi All

I am modifying TCode PA30. Some fields & 2 table controls are added in new screen.

When displaying the data, only the data of the fields are getting displayed but data of table control in not displayed.

Instead a message in Status Bar is showing "Data hidden by Screen Modifications".

Any suggestions.?

Regards.

10 REPLIES 10
Read only

Former Member
0 Likes
1,180

Hai nikhil,

Can you please mention the BADI or exit that you used for modification, that would be quiet useful.

Warm Regards,

Suvendu

Read only

0 Likes
1,180

Hi Suvendu

I have created new Infotype using TCode PM01.

It automatically creates a default screen. After that I have added some fields & table controls.

Regards.

Read only

Former Member
0 Likes
1,180

Hi

The data is not getting populated in table control.

Is the code correct?


  LOOP AT   T_ARBZT
       WITH CONTROL TARB
       CURSOR TARB-CURRENT_LINE.
     MODULE TARB_get_lines.
  ENDLOOP.

MODULE TARB_GET_LINES OUTPUT.
  DESCRIBE TABLE T_ARBZT  LINES g_tarb_lines.
ENDMODULE.

Read only

0 Likes
1,180

Hi Nikhil.

Small change to your code

LOOP AT T_ARBZT

WITH CONTROL TARB

CURSOR TARB-CURRENT_LINE.

MODULE TARB_get_lines.

ENDLOOP.

MODULE TARB_GET_LINES OUTPUT.

DESCRIBE TABLE T_ARBZT LINES g_tarb_lines.

Move-corresponding T_ARBZT to <table control table parameter>

ENDMODULE.

-


your table control must be having parameter

ex. MARA-matnr, MARA-ernam, MARA-erdat

then pass

Move-corresponding T_ARBZT to MARA.

-


This will surely solve your problem.

Cheers,

Suvendu

Read only

0 Likes
1,180

Thanks for reply Suvendu.

Actually my table control parameters are T_ARBZT-BEGDA, T_ARBZT-ENDDA etc....

In that case, what should I write?

Read only

0 Likes
1,180

LOOP AT T_ARBZT

WITH CONTROL TARB

CURSOR TARB-CURRENT_LINE.

MODULE TARB_get_lines.

ENDLOOP.

MODULE TARB_GET_LINES OUTPUT.

DESCRIBE TABLE T_ARBZT LINES g_tarb_lines.

Move T_ARBZT to T_ARBZT.

ENDMODULE.

OR

-


MODULE TARB_GET_LINES OUTPUT.

READ TABLE T_ARBZT INDEX tarb-current_line.

ENDMODULE.

-


try this incase if doesn't work then please revert back.

The problem is what I think the screen variable is carring nothing to the table control and therefore nothing is getting printed.

Best Regards,

Suvendu

Edited by: Suvendu Swain on May 22, 2009 11:41 AM

Read only

0 Likes
1,180

Dear Suvendu

I have tried these also, but again data is not coming in the table control.

When I'm checking IT, data is populating perfectly.

Read only

0 Likes
1,180

Any Suggestions.?

Read only

0 Likes
1,180

Just change your screen name to ARBZT and declare the same in TOP include

and try this code. I think the program is not able to make out with similar kind of names.


LOOP AT T_ARBZT
WITH CONTROL TARB
CURSOR TARB-CURRENT_LINE.
MODULE TARB_get_lines.
ENDLOOP.

MODULE TARB_GET_LINES OUTPUT.
Move T_ARBZT to ARBZT.
ENDMODULE.

OR
MODULE TARB_GET_LINES OUTPUT.
READ TABLE T_ARBZT INDEX tarb-current_line.

ENDMODULE.

Hope this works out.

Best of luck.

Suvendu

Read only

Former Member
0 Likes
1,180

hi

try this

SE51

PBO

module_screen_0800.

module_display_screen.---> this module for screen modifications

whether to display in enable or disable mode.

PAI

module_user_command_0800.

module read_data.

se38

module_screen_0800.

loop at screen.

do screen modifications here

endloop.

endmodule.

module read_data.

read itab with key tablecontrol-currentline

if sy-subrc = 0.

move-corresponding itab to itab1.

endif.

endmodule.

Regards