‎2008 Aug 07 3:30 PM
Hi Experts,
I have primary dynpro '100' with more that one subscreens. One of them is subscreen '200'... When the user press the ENTER button system start the PAI on dynpro '100', but as the first what I need to make is dispaly some information on subrcreen '200'...
I know, that in PAI on dynpro '200' I must
<screen_element> = value
AND on next show of dynpro '200' (start PBO on 200) the <screen_element> will have the value
BUT !!!
My process in PAI on dynpro '100' (main = primary dynpro) will still continue and create popup window and on popup window it will wait for interaction...
How can I show or SET the value to the <screen_element> on dynpro 200 before show the popup window???
Thank a lot
‎2008 Aug 08 6:30 AM
Hi,
Write a new module after CALL SUBSCREEN AREA ... statement in PBO of 100.
In this new module call the popup.
This could be also done using a flag (declared in program's TOP include).
Set the flag once you move data to relevant fields in subscreen (PBO).
Call popup when the flag is set and clear it immediately.
Regards,
Wajid Hussain P.
‎2008 Aug 08 8:16 AM
Hi,
It will be a problem because the PAI call the very complicate function module witch will call a popup window but the calling the popup is not standard calling. It is called by customization and all customization exist in internal table and for every subscreens exist very special customization. (I modify the SAP standard program for transaction CIC0 in CRM). I'm using a special service for work with incoming calling...
Now, I try to use the function 'DYNP_UPDATE_FIELDS'... I hope that it will be work correct...
Best regards
Martin
‎2008 Aug 08 10:27 AM
Hi,
Has the FM been of any help?
It should work when the popup is called after triggering the PBO of subscreen.
Also, I believe, any customizations that you do, can be assigned to the same transport request.
Regards,
Wajid Hussain P.