Professional Documents
Culture Documents
Wrong Price Update Issue
Wrong Price Update Issue
? Zero prices updated on invoiced sales orders which were came from CRM. Why it was happened? Requirement is like below 1) Update the product hierarchy values on open and invoiced (Closed) sales order item level. 2) Update the new pricing procedure for only open sales orders. NOT for closed or invoiced. For this created one time custom program ZUVO2494. As per logic in program ZUVO2494, Passing all the open sales orders with below parameters to BAPI BAPI BAPI_SALESORDER_CHANGE EXPORTING Sales order Number Order_header_inx Logic_switch TABLES Return Order_item_in Order_item_inx
Here Logic_switch has structure with below fields and populated with below values PRICING ATP_WRKMOD SCHEDULING NOSTRUCTURE COND_HANDL = B -> to carry out the new pricing
= X -> this will not create a new entry but update the existing one
As per the point B, Invoiced CRM orders got updated with NULL. Proposed solutions : ??????????????