on 2010 Oct 26 11:59 AM
Dear Experts,
Can some one give me the logic (Code to be written inside the include) to filter catalogs, in the user-exit QQMA0015.
Regards
Jogeswara Rao
Request clarification before answering.
Hi,
You can use this exit to specify a specific code group(or filter down existing values) to be displayed when you use F4 .
If I_VIQMEL-qmart = 'M1'. " Notification type
IF I_VIQMEL-qmgrp = 'POLE'. "Header Notification code (Problem code)
CASE I_EBENE. " Filter for type of Code
WHEN 'OT'. " Item
E_CODEGRUPPE = 'UP'.
when 'SM'. "Task
E_CODEGRUPPE = 'UP'.
when 'MA'."Activity
E_CODEGRUPPE = 'UT'.
ENDCASE.
ENDIF.
ENDIF.
Regards
Narasimhan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Narasimhan,
I have tested your code and working well. i.e. When I put some value in the 'D' catalog field, as per the code the other catalogs are filtered. This is exactly what the 'Catalog Profile' does.
My requirement starts when I select a code in 'B' catalog. On doing so, my expectation is the other catalogs (C, 5, 2, A) should be filtered as per the code.
For ex. initially i tried the follwoing code which was syntactically correct but not working. (This helps in understanding my requirement)
If t_viqmfe-otgrp = 'ACWE05' and t_viqmfe-oteil = '0001'.
E_CODEGRUPPE = 'ACWE12'.
ENDIF.
Request you for further help.
Regards
Jogeswara Rao
Edited by: K Jogeswara Rao on Oct 27, 2010 11:18 AM
My aim is that only. (F4 help restriction only)
The code suggested by you, uses a 'IF' condition on QMGRP (D catalog).
But in my requirement the 'IF' condition is to be used on 'B' catalog (OTGRP)
I request the syntax accordingly.
When I select a Code in 'B' catlog (say Code Group 'ACWE05' and Code '0001'), the Code Groups for C, 5, 2, & A should be restricted to 'ACWE12'
Regards
Jogeswara Rao
User | Count |
---|---|
97 | |
8 | |
7 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.