2007 Dec 28 7:43 AM
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
2007 Dec 28 9:51 AM
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.
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
2007 Dec 28 9:51 AM
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.
2007 Dec 28 9:56 AM
hi,
can you give me an sample code for this please....
thank you..
mae
2007 Dec 28 9:51 AM
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
2007 Dec 28 9:53 AM
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.
2007 Dec 28 9:55 AM
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
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |