Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Refresh data on dynpro in PAI process

Former Member
0 Likes
669

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

3 REPLIES 3
Read only

former_member200872
Active Participant
0 Likes
530

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.

Read only

0 Likes
530

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

Read only

0 Likes
530

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.