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

new screen

Former Member
0 Likes
750

hi,

i have created a new screen and added a block in the buttom of the screen. i want to output a text from an internal table at that block..how can i do that?

Does anybody knows?

please help....

thank you..

regards,

mae

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
731

Hi

Mae

just wht u need to do is u will have some name for tht displaying block naa

so in the PBO of the screen

write one module and in that

write as

loop at it_tab based on where condition.

display_name = it_tab-field(desired)

endloop.

automatically the desired value will be displayed

plzz reward if usefull..

for any further quiries my mailid [email protected]

plzz dont forget to reward.

hi,

i have created a new screen and added a block in the buttom of the screen. i want to output a text from an internal table at that block..how can i do that?

Does anybody knows?

please help....

thank you..

regards,

mae

5 REPLIES 5
Read only

Former Member
0 Likes
732

Hi

Mae

just wht u need to do is u will have some name for tht displaying block naa

so in the PBO of the screen

write one module and in that

write as

loop at it_tab based on where condition.

display_name = it_tab-field(desired)

endloop.

automatically the desired value will be displayed

plzz reward if usefull..

for any further quiries my mailid [email protected]

plzz dont forget to reward.

Read only

0 Likes
731

hi,

can you give me an sample code for this please....

thank you..

mae

Read only

Former Member
0 Likes
731

U Click Dictionary / Program Fields. Enter ur internal table name there. Select ur field to be displayed and place on to ur block. Apply Input/Output properties to that Field.

In PBO u assign the values to that.

Awrd Points if useful

Bhupal

Read only

Former Member
0 Likes
731

Hi,

in the PAI of the screen.

case sy-ucomm/ok_code.

when (button_function_code)

loop at the internal table.

move the data to the output fields (created in the screen layout in the block).

endloop..

endcase.

Read only

Former Member
0 Likes
731

In the screen add

an text area(to display only) or

input filed(short text in editable mode) or

a sap text editor(if you want a long text in editable mode)

and at PAI add the desired text from internal table to screen element