To all Professionals,
I have to override the item price (condition Z001) during the order creation automatically.
I could change the price automaticly from my ABAP coding.
But now i have the following problem:
The price (condition Z001) has been changed (see screenshot), but the price on the main screen still
remains the old one.
This is the Main Screen of the Sales Order. The Price from the Second Item is still 19,99. On the next Screen shot you can see the detail from the second item.
The Pricedetails from the second Item. You can see that the Price is changed form 19,99 to 29,99.
Only by pressing the recalculate Button (Preis neu berechnen) the changed price is taken on the main screen.
Main screen after pressing the recalculate button.
I have already found out by press of the button recalculate the method "RUN_UPDATE" in class CL_CRMCMP_P_PRCITEMCONDEO_IMPL s triggered.
My question: How can I trigger this update or any other method after i have changed the price. I desperately
need help because I'm still relatively new in Programming and also in the CRM environment.
Many thanks for your help
FYI:
At the point where I want tostart theupdateI have theBolentityBtadmin_hfordisposal
Importing Parameter
IO_BTADMIN_H TYPE REF TO CL_CRM_BOL_ENTITY.
DATA: lo_item_ent TYPE REF TO cl_crm_bol_entity.
lo_item_ent ?= io_btadmin_h->get_related_entity( 'BTHeaderItemsExt' ).