2011 Oct 28 9:44 AM
Hi,
We have the following scenario: In transaction IW52 (Notification modification) we have created a new follow-up function, with this new function we want to create a new notification with some data from the current notification.
The activity of the new follow-up function executes a Z function module. Everythings works fine except that when the function module is finished and the new notification is created it shows the IW52 transaction with all fields blank.
We have tried to do it with the functions mdules from IQS0 group function and with business object BUS2080, both options had the same result.
With the debuging we have found that when the follow-up action is called from standard code in SAPLIQS0 - LIQS0F75 - FUNKTION_ACTIONBOX_F75 the viqmel is null when follow-up action is ended:
CALL FUNCTION l_funktion-baustein
EXPORTING
i_viqmel = viqmel
i_customizing = l_funktion
TABLES
ti_iviqmfe = l_iviqmfe
ti_iviqmur = l_iviqmur
ti_iviqmsm = l_iviqmsm
ti_iviqmma = l_iviqmma
ti_ihpa = l_ihpa2_tab
EXCEPTIONS
action_stopped = 1.
Thanks.
Edited by: Sistemes Emaya on Oct 28, 2011 10:46 AM
Hi,
We have the following scenario: In transaction IW52 (Notification modification) we have created a new follow-up function, with this new function we want to create a new notification with some data from the current notification.
The activity of the new follow-up function executes a Z function module. Everythings works fine except that when the function module is finished and the new notification is created it shows the IW52 transaction with all fields blank.
We have tried to do it with the functions mdules from IQS0 group function and with business object BUS2080, both options had the same result.
With the debuging we have found that when the follow-up action is called from standard code in SAPLIQS0 - LIQS0F75 - FUNKTION_ACTIONBOX_F75 the viqmel is null when follow-up action is ended:
CALL FUNCTION l_funktion-baustein
EXPORTING
i_viqmel = viqmel
i_customizing = l_funktion
TABLES
ti_iviqmfe = l_iviqmfe
ti_iviqmur = l_iviqmur
ti_iviqmsm = l_iviqmsm
ti_iviqmma = l_iviqmma
ti_ihpa = l_ihpa2_tab
EXCEPTIONS
action_stopped = 1.
Thanks.
Edited by: Sistemes Emaya on Oct 28, 2011 10:46 AM
2011 Oct 28 9:41 PM
Hi,
In this case follow below steps mentioned below.
Action box in IW52 trigger your Z Function module so use below steps may it will help you.
Inside your Z Function module-
1 ) Get notification number from Parameter id using command "GET PARAMETER ID XXXXXXX" .
2 ) Fetch relevant records from database on behalf of notification number which you get in step 1.
3 ) Use records in your Z Function module to create another notification as per your requirement.
Thanks,
Vijay
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |