2006 Jan 25 8:32 AM
Hi,
I have implemented the BADI CRM_ORDER_STATUS. This BADI is being called when status of any business transaction (Opportunity) is changed. At the change of status I am updating few fields in the transaction (Opportunity) using this BADI. But the changes are not reflected on the Opportunity screen immediately. A user action (pressing enter or changing the tab) is required to update the fields. Can someone tell me how do I refresh the screen or update those fields both in SAP GUI and PCUI.
Hi,
I have implemented the BADI CRM_ORDER_STATUS. This BADI is being called when status of any business transaction (Opportunity) is changed. At the change of status I am updating few fields in the transaction (Opportunity) using this BADI. But the changes are not reflected on the Opportunity screen immediately. A user action (pressing enter or changing the tab) is required to update the fields. Can someone tell me how do I refresh the screen or update those fields both in SAP GUI and PCUI.
2006 Jan 26 9:36 AM
Hi!
Maybe I have a solution at least for SAP GUI.
In classical dynpros the screen is refreshed only at PBO (the process before output event). User actions enforce a PAI (process after input) event. PBO is processed automatically afterwards.
By means of the control framework you can simulate this by program. Just use
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING new_code = dummy_okcode.
Take care that 'dummy_okcode' is not used in the program to avoid side effects. (In my program I set an okcode with a non-printable sign, e.g. ASCII-Code 0).
Best regards, Manfred
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |