on 10-20-2011 8:51 AM
Hi Guys,
i have a question regarding the use of FM CRM_ORDER_MAINTAIN in the WebUI.
Many customers manipulate data with the FM CRM_ORDER_MAINTAIN even in WebUI.
From my understanding:
If BOL is loaded and I change data with CRM_ORDER_MAINTAIN -> the BOL will not be updated automatically.
So the changed data doesn't show up in WebUI.
In this case I have to force a reload of the BOL with CL_CRM_BOL_ENTITY->RELOAD( ).
Am I right?
Can anybody explain the behaviour of such changes in detail?
br
Jürgen
Edited by: juergen71 on Oct 20, 2011 9:51 AM
Edited by: juergen71 on Oct 20, 2011 9:54 AM
closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you please elborate your requirement? in what situation you are calling the FM CRM_ORDER_MAINTAIN in webui.
In web ui you can modify the data in BOL entities with the BOL object methods itself, you need not call any fm.
Usually we use crm_order_maintain in GUI side so that we access order related data from Bol objects loaded in memory or from database.
Thanks,
Rajini A.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I found this solution in a customer system. I would never use the function module in WebUI.
From my point of view, the solution have to be redesigned at all.
answered.
br
Jürgen
Edited by: juergen71 on Dec 12, 2011 11:20 AM
Edited by: juergen71 on Dec 12, 2011 11:20 AM
Edited by: juergen71 on Dec 12, 2011 11:21 AM
The bol entity does not refresh automatically in case you have updated the database buffer with crm_order_maintain or similar kind of FM. But there are some scenarios which refreshes entities automatically.
1. In case bol_core->modify is called by standard code during roundtrip
2. the method get_related_entity is called for ur entity after the modification and it will return the current updated data .
3. u use the method CL_CRM_BOL_ENTITY->REREAD after modification, but this can cause performance issue in case called mutilple times.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.