on 12-30-2013 11:39 AM
Hello All,
We have a requirement to have a pop up message when a user executes the transaction /sapapo/tl1 and /sapapo/tl3. We frequently get issues where the user by mistake clicks "All Products" radio instead of "Mass Selection" inside the transaction.
We tried to look at greying the "All Products" radio button but was unable to find any solution. Has anybody done this before? If yes, can you share the solution?
Alternatively, if greying out the "All Products" radio button is not feasible, we would like a pop up message in the below two scenarios.
Scenario 1
Step1: Tcode /n/sapapo/tl1
Step2: Click on Create or Change button. This should result in a pop up message with a text “Pls do not click All Products radio button”
Scenario 2
Step1: Tcode /n/sapapo/tl3
Step2: Click on Change button. This should result in a pop up message with a text “Pls do not click All Products radio button”
Can anybody let us know if the above pop up messages are feasible and what is the solution for the same?
many thanks in advance,
Ehsan Ahmed
Hi Ehsan.
A possibility could be to create an implementation of BAdI /SAPAPO/MD_CHK_AUTH, Method LAST_AUTHORITY_CHECK and raise the popup there. An example of coding could be:
IF ( SY-TCODE = '/SAPAPO/SCC_TL1' OR SY-TCODE = '/SAPAPO/TL1'
OR SY-TCODE = '/SAPAPO/SCC_TL3' OR SY-TCODE = '/SAPAPO/TL3' )
AND ( SY-UCOMM = 'CHANGE' OR ( SY-UCOMM = 'TOGGLE' AND I_ACTVT = '02' ) ).
CALL FUNCTION 'POPUP_WITH_WARNING'
EXPORTING
Textline1 = 'All Products Warning'
Textline2 = 'Do not set the flag All Products!'
titel = 'Warning'.
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 |
---|---|
9 | |
4 | |
3 | |
2 | |
2 | |
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.