11-03-2015 1:22 PM
Hi,
I created a Sales order through BAPI,ZFNN is my condition type which i entred price through BAPI.
Only problem is that condition type appears twice in Sales Order.But the value did not come twice.
I wanted the condition type to sit on the condition type it self,rather than adding one more condition type.
The major problem is possibility that i can change the price of condition type through BAPI.
Please find the below screen shot.I have made change of price through BAPI_SALESORDER_CHANGE.
Because of this it creates a big impact to my Net Value and Tax.It should be 100000,upon which ZVAT is to be calculated,becuse of reverse pricing mechanism it should be 5213.Then the net value should 94787.My question why should a separate condition line item is created (added) in sales order,when there is a change in price. Because of this i am getting the error.
11-03-2015 8:02 PM
Hi Thambi,
It is likely due to not filling out all of the required fields to change a condition record value. See the screenshot below from the BAPICONDX table which has all of the key fields highlighted - if you miss one of these and give only ITM_NUMBER & COND_TYPE for instance the system will automatically create a new condition record with whichever value you have passed:
It is also important to note you have to include all of the key fields for the BAPICOND table as well.
Regards,
Ryan Crosby
11-03-2015 2:09 PM
11-03-2015 8:02 PM
Hi Thambi,
It is likely due to not filling out all of the required fields to change a condition record value. See the screenshot below from the BAPICONDX table which has all of the key fields highlighted - if you miss one of these and give only ITM_NUMBER & COND_TYPE for instance the system will automatically create a new condition record with whichever value you have passed:
It is also important to note you have to include all of the key fields for the BAPICOND table as well.
Regards,
Ryan Crosby
11-04-2015 5:58 AM
I have done as suggested by you even then ,i am getting two condition line items.Please find the below screen shots.
11-04-2015 7:51 AM
Hi,
Are you passing anything in the LOGIC_SWITCH parameter of the BAPI. check with the possible values in the this parameter for PRICING.
I think it should be 'G', But check with your team of functional guys.
Hope this helps.
11-04-2015 9:02 AM
11-04-2015 10:21 AM
Hi Thambi,
You have matched the value '00' in 'COND_COUNT' to the matching key field in 'KONV'? I suspect the system would have '01' by default and you would need to use that to avoid duplication.
Regards,
Ryan Crosby
11-04-2015 11:25 AM
No it is working fine for me.
I made change in my pricing procedure.For the condition type ZFNN i entered Count as 01.
ORDER_CONDITIONS_INX,ORDER_CONDITIONS_IN changes were made to it.Please find the screen shot.I am closing the thread