‎2008 Aug 29 11:23 AM
HI,
i have designed a screen using "screen exit" in Plant Maintenance for Notification,
in that i have an extra screen to give detail description for the "activity" done in the notification,
my requirement is for single activity my screen "yy analysis" is working,.but when im giving selecting
second activity in the same notification and clicking on my screen its not working, wat ever 1st activity we r giving its working for only one activity.
here i have to use Loop Statement or any anything else you people suggest me please, how to correct it.
Thanks,
Rajesh
‎2008 Aug 29 11:46 AM
‎2008 Aug 29 11:51 AM
for this im using screen exit "SAPLXQQM"
AND USEREXITS as 1)EXIT_SAPLCOIH_009
2)EXIT_SAPLCOIH_019
3)EXIT_SAPMIWO0_020
4)exit_sapmiwo0_008
manly my requirment works in userexit EXIT_SAPMIWO0_020
Edited by: rajesh kumar kandagatla on Aug 29, 2008 4:21 PM
‎2008 Aug 29 12:34 PM
I am not sure how you are doing this. I will give some idea on how to do this.
You have to use enhancement QQMA0001 (check this in SMOD and create project in CMOD)
First design your own custom screen in SE51 named SAPLXQQM and screen number 0100 (as mentioned in the enhancement)
When designing your screen you can use the values from structure VIQMEL for any reference.
Use the EXIT_SAPMIWO0_008 to transfer data to your subscreen.
Use the EXIT_SAPMIWO0_009 to transfer back any data to main program from your subscreen.
Then finaly use the exit EXIT_SAPMIWO0_020 to store your custom screen values into any custom tables if needed.
Hope this helps.
Franc
‎2008 Aug 29 2:51 PM
Thank you for reply
i have done all the things before you said sir,
but i want get the activity which i select activities tab and should display in my screen
‎2008 Aug 29 5:35 PM
select single * from qmma into viqmma
where qmnum = viqmel-QMNUM and kzloesch = ''.
&----
loop at t_tc.
select single kurztext from qpct into text_i_4
where katalogart = 'A'
and codegruppe = viqmma-mngrp
and code = viqmma-mncod
and sprache = sy-langu.
here is my code where exactly my requirement working for single activity,
when i select second activity in activities tab its showing the first activity only
‎2008 Aug 29 5:41 PM
Hello Rajesh,
Please check in debug are the values for viqmel-QMNUM changing?
I think since viqmel-QMNUM is not changing, you will be getting same result.
thnx..
ags.
‎2008 Aug 29 6:47 PM
yes its not changing
i want the that only it should change
can u help me out