2010 Dec 09 10:32 AM
Hi,
I am trying to Remove Billing Block at header level in sales order using BAPI 'BAPI_SALESORDER_CHANGE' but it is refreshing the pricing at item level.I am able to successfully remove billing block.
My Requierment is to skip this refresh of pricing on Remove Billing Block.
Please provide feasible solution.
2010 Dec 09 12:52 PM
Hi,
Just pass the below in header structure
MOVE: 'U' TO wa_order_header_inx-updateflag,
'X' TO wa_order_header_inx-bill_block,
space TO wa_order_header_in-bill_block.
And then further in BAPI_SALESORDER_CHANGE,
pass the values
order_header_in = wa_order_header_in
order_header_inx = wa_order_header_inx
2010 Dec 09 1:05 PM
2010 Dec 09 3:47 PM
I don't understand why it's an issue, but that doesn't typically happen if you simply remove the billing block on an order. You must have one of the new pricing exits forcing it to happen. Have you debugged or traced the code? What is the condition triggering PRICING_COMPLETE to be called?