‎2006 Sep 20 12:30 PM
Hi Friends
I have to enable or disable (a user can enter value or not) Input/Output field at runtime in the PAI block who can i do this.
Regards
Pulkit Agrawal
‎2006 Sep 20 12:31 PM
Refer this Link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm
Regards,
ravi
‎2006 Sep 20 12:31 PM
Refer this Link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm
Regards,
ravi
‎2006 Sep 20 12:40 PM
Hi Ravi Kanth Talagana
Can we use it in our PAI module
Loop at screen.
Endloop.
Regards
Pulkit Agrawal
‎2006 Sep 20 12:39 PM
Hi
Check out this program. In this program all dynamic modifications related to screen are there.
DEMO_DYNPRO_MODIFY_SCREEN
Regards
Haritha
‎2006 Sep 20 12:41 PM
If condition eq <Some condition>.
loop at screen.
if screen-name = 'XYZ'.
screen-input = '0'.
endif.
modify screen.
endloop.
else.
loop at screen.
if screen-name = 'XYZ'.
screen-input = '1'.
endif.
modify screen.
endloop.
endif.
‎2006 Sep 20 12:41 PM
hi,
Set a flag in the PAI event, after the user enters any value....subsequently in the PBO,
if flag = 'X'.
if screen-name = 'XXXXX'
loop at screen.
........
......
endloop.
Reward if helpful
‎2006 Sep 20 12:55 PM
Hi,
use below logic
chain.
field itab-matnr
module validate.
endchain.
module validate.
if itab-matnr is initial.
mesage e000...
endif.
input filed will be disabled when value is initial.
Regards
Amole
‎2006 Sep 20 12:56 PM
hi,
You have to do screenmodifications in PBO only.
In reports, we do selection screen modifications in at selection-screen output, similarly in dialog programming, we do in PBO.
You can set a flag variable in PAI.
Based on the flag variable, do screen modifications in PBO.
Regards,
Sailaja.
‎2006 Sep 20 2:26 PM
Hello,
In the PAI event,
LOOP AT SCREEN.
IF SCREEN-NAME EQ 'XXX'.
SCREEN-INPUT = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Regs,
Venkat Ramanan N