Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error msg in user exit

Former Member
0 Likes
872

Hi all,

how to set the particular field in customer tab to be open/available for input after error msg is being triggered

7 REPLIES 7
Read only

Former Member
0 Likes
849

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

Read only

Former Member
0 Likes
849

> 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

Read only

0 Likes
849

hi Akriti,

in MODULE MODIFY, what's the syntax code to put in?

Read only

0 Likes
849

Hi ester,

Inside the Module "Modify", you can add any field validations or checks.

Regards

Read only

0 Likes
849

the screen is also asking to be put in PBO .. is there any other way to trigger the screen modification?

Read only

0 Likes
849

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.

Read only

Former Member
0 Likes
849

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.