cancel
Showing results for 
Search instead for 
Did you mean: 

Positioning cursor in storage location under components tab in IW32 from a custom BADI execution.

former_member563268
Participant
0 Kudos
292

Hello,

I have implemented the BADI IWO1_ORDER_BADI in order to validate if Storage location has been entered in components tab under IW32 for certain orders. So incases where storage location is not entered, i have a requirement to throw a popup message based on YES/NO, need to put the cursor back in screen. I could achieve this using SET SCREEN 3000 and LEAVE SCREEN. But I would need to put the cursor in Storage location field under components tab in IW32 where the value as to be entered. I tried with SET CURSOR FIELD 'RESBD-LGORT' LINE 1. But this doesnt work. Is there any better means to achieve this. Request your input.

Regards,

Accepted Solutions (0)

Answers (2)

Answers (2)

shareeq_hussain
Active Participant
0 Kudos

You may try Field Selection qq.png

peter_atkin
Active Contributor
0 Kudos

Have a look at the following user-exits via transaction SMOD:

CNEX0027 Plant, storage location for component

PPCO0023 Checks Changes to Order Components

IWO10009 Checks at order SAVE event

.

PeteA

former_member563268
Participant
0 Kudos

Hello Pete, Thanks for the note. But the mentioned BADI works. I am just concerned about placing the cursor on that particular selection screen field. I found a similar question too, but with no answers.

https://answers.sap.com/questions/641635/badi-setting-focus-in-specific-tab-after-message.html

Regards,J