2009 Sep 15 9:42 AM
Hi,
I have created a screen with 5 fields as an enhancement for tcode Iw31. I have a requirement in which if first field is filled then rest of the fields be made mandatory which i have done by looping at screen-required = 1.
Test case : I enter a value in the first field , hit enter which would make the rest of the 4 fields mandatory.
now on the screen in tcode iw31 if i select and delete the contents of the first field then i need to make the rest of the 4 fields un mandatory i.e looping on screen-required = 0. when i make the rest of the fields un-mandatory .... the 4 screen fields have a '?' in the fields.
This is PAI as it doesnt go to PBO of the screen.
PROCESS AFTER INPUT.
FIELD : coci_aufk-zz_lcnumber.
MODULE initial_field. -
> If first field is initial then make rest of the fields unmandatory
CHAIN.
FIELD : coci_aufk-zz_lcnumber ,
coci_aufk-zz_lctakendate,
coci_aufk-zz_lctakentime,
coci_aufk-zz_lcretdate,
coci_aufk-zz_lcrettime .
MODULE check_field. -
> if first field is not initial then make the rest of the fields mandatory
ENDCHAIN. " CHAIN
I have tried clearing of the fields......moving spaces in the fields......
I dont have table control or step-loop in the screen .
Thank you.
Viquar Iqbal
2009 Sep 15 12:31 PM
Hi,
The screen field attributes should be modified in the PBO section of the flow logic.
"This is PAI as it doesnt go to PBO of the screen." . Why is it not going to the PBO? Check the reason for this.
regards
Nitesh