‎2006 Sep 13 9:22 AM
Hi all,
how to set the particular field in customer tab to be open/available for input after error msg is being triggered
‎2006 Sep 13 9:25 AM
after calling/Raising the ERROR message u cannt goto that field thru user exits .
try to make use of BADI to do so.
Regards
prabhu
‎2006 Sep 13 9:43 AM
> Hi all,
> how to set the particular field in customer tab to be
> open/available for input after error msg is being
> triggered
Hi,
To avoid this problem, put all the related fields in the tab inside a chain..endchain statement At pAI event of your screen program.
e.g.
-
PROCESS AFTER INPUT.
LOOP AT ITAB.
CHAIN.
FIELD MAKT-MATNR.
FIELD MAKT-MAKTX.
FIELD MAKT-MAKTG.
MODULE MODIFY ON CHAIN-REQUEST.
ENDCHAIN.
ENDLOOP.
-
Regards
‎2006 Sep 13 9:56 AM
hi Akriti,
in MODULE MODIFY, what's the syntax code to put in?
‎2006 Sep 13 11:19 AM
Hi ester,
Inside the Module "Modify", you can add any field validations or checks.
Regards
‎2006 Sep 14 3:10 AM
the screen is also asking to be put in PBO .. is there any other way to trigger the screen modification?
‎2006 Sep 14 3:26 AM
I found my own solution.
Before the program triggers the error msg, i put this code:
LOOP AT SCREEN.
IF screen-name = 'EBAN-ZZAFNAM'.
screen-input = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
and the field is open.
‎2006 Sep 13 11:23 AM
Hi ester,
1. I dont think we can control this behaviour.
2. BCOS
3. The user-exit is called by the main program.
4. If it is called within CHAIN-ENDCHAIN,
(by the standard program),
then only those fields will be open for input.
regards,
amit m.