on 2021 Dec 13 3:23 PM
Hello,
in EWM, transaction /SCWM/TU, I was asked to assess how to enhance the 'Search for Delivs' button in 'Free Deliveries' tab, and the same for 'Search for HUs' in the 'Free HUs' tab.
That is, I'd like to add a new field to the selection screen called by the 'search' button and implement the lookup.
Both buttons call dynpro 9900 in /SCWM/SAPLUI_TU, but that's that: I can't find any way to change the behaviour, except adding the new field as a repair. But even if I do, I can't seem to understand where the actual logic for lookup is located. Any advice?
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi giuseppevetrano,
Please try the below options -
1. Create a new selection screen by copying 9900 and add your new field to the new screen.
2. Enhance the function module /SCWM/POPUP_OPEN_WHR to call your new selection screen instead of the standard selection screen. After this, you will see your new selection screen parameter for user input.
3. After calling the new selection screen, just below that populate the values and selection parameter name in ET_SELECTION in the same function module.
Example code to update the selection parameter:-
IF P_ZZTRACK IS NOT INITIAL.
CLEAR: ls_selection.
ls_selection-fieldname = 'ZZTRACK'.
ls_selection-sign = 'I'.
ls_selection-option = 'EQ'.
ls_selection-low = P_ZZTRACK.
APPEND ls_selection TO et_selection.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.