2006 Nov 02 10:49 AM
Hi all!,
If the case is like there are several controls (e.g. text boxes) witch are controlled by several buttons.
Which will behave (active/deactive) according to corrsponding buttons i press.
How can i do? how can i handle loop in pbo?
what wud be the flow logic sequence?
thanks in advance.
Hi all!,
If the case is like there are several controls (e.g. text boxes) witch are controlled by several buttons.
Which will behave (active/deactive) according to corrsponding buttons i press.
How can i do? how can i handle loop in pbo?
what wud be the flow logic sequence?
thanks in advance.
2006 Nov 02 10:52 AM
You need to use the following in the PBO.
Loop at screen.
if screen-name eq 'Name of you field'.
screen-input = 0.
modify screen.
endif.
Endloop.
There are many other options that can be done, you will need to take a look at the structure of 'SCREEN' when in debug mode.
2006 Nov 02 10:57 AM
if ok_code = 'button1'.
loop at screen.
IF screen-group2 = 'PRK' OR screen-group2 = 'NPK'.
for display mode, give '1' for input enabled
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
endloop.
endif.
Message was edited by: Anupama Reddy
2006 Nov 02 11:03 AM
hi,
Try teh code.
loop at screen.
if screen-name = "abc".
screen-input = 0.
modify screen.
elseif...
screen-input = 0.
modify screen.
elseif...
screen-input = 0.
modify screen.
endif.
endloop.Regards,
Richa
2006 Nov 02 11:56 AM
hi
good
loop in pbo->
PROCESS BEFORE OUTPUT.
MODULE status_0100.
LOOP WITH CONTROL flights.
MODULE fill_table_control.
ENDLOOP.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
LOOP WITH CONTROL flights.
MODULE read_table_control.
ENDLOOP.
MODULE user_command_0100.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac4435c111d1829f0000e829fbfe/content.htm
thanks
mrutyun^
2006 Nov 02 11:57 AM
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |