Skip to Content
Former Member
Jun 07, 2009 at 12:17 AM

Unable to update Pricing Conidtion value for a manual Tax Condition


Hi Experts,

I am using SD_SALESDOCUMENT_CREATE function module to create Sales orders and which is working fine.

I am able to update all other conditions except manual tax conditions.

The manual tax condition defaults gets 10% discount of base price.

If you go to VA01 create a sales order and enter the Tax condition by default it gets 10% and later if you double click on that conditions it will allow you to change the condition value.

I tried passing value during the sales order create time.. but the condition value is not geting changed.

I tried passing empty condition during sales order create and later change the condition value using SD_SALESDOCUMENT_CHANGE, but still it is re-determining the 10% discount on the base price using my program.

I need this condition type as % basis and I need to update the condition value which is in input file.

Here is the one which I am passing to conditions during Sales order create process.

if gt_sales_conditions_in-cond_type = 'ZXTA' .

gt_sales_conditions_in-calctypcon = 'A'.

gt_sales_conditions_in-Condcntrl = 'E' or gt_sales_conditions_in-Condcntrl = 'C'.

gt_sales_conditions_in-cond_value = gv_value.


gt_sales_conditions_inx-itm_number = wa_sales_condition_data-posnr.

gt_sales_conditions_inx-cond_value = 'X'.

gt_sales_conditions_inx-updateflag = 'U'.

I looked in SDN forms and I have tried passing values LOGIC_SWITCH-pricing = 'E' and also LOGIC_SWITCH-cond_handl = 'X' . But still I am having the problem.

Please help me in resolving the issue.

Thanks in advance