‎2007 May 17 4:28 PM
Hi,
In Pricing Condition, Cond_Value is in Decimal when I am passing it to Conditionx Table as 'X'.It is giving Short Dump.Kindly tell me, what value should I pass?
conditions-cond_value = i_output-cond_value.(Value at which Item is Sold)
conditionsx-cond_value = 'X'.
conditions-cond_unit = i_output-cond_unt.(Unit of Measure in which it is sold)
conditionsx-cond_unit = 'X'.
Regards,
Priyanka.
‎2007 May 17 4:44 PM
‎2007 May 17 4:46 PM
I hope you have declared the condition strucure as BAPICOND. If so do the following,
Move the decimal condition value to BAPICOND-COND_VALUE and condition type to BAPICOND-COND_TYPE before calling the BAPI. And also ensure that the structure matches.
‎2007 May 19 11:43 AM
Hi,
I have checked everything. It is not giving short dump now but it is also not creating Sales Order. If I omit the Condition parameter, it is working fine but when I include it, it gives me Error Message
Condition is missing in pricing procedure A V ZZRVA2
Kindly tell me what is the solution for it.
Regards,
Priyanka.
‎2007 May 19 1:21 PM
Can you create sales order using these data in manually.
i think there could be some configuration problem.
‎2007 May 19 2:05 PM
Manually Sales Order is created.The only problem is in Conditons and ConditionsX parameter.
Actually, at every line-item, user wants to sell the material not on the basis of Price that comes directly from Material Master, but user changes it at each line-item.
While creating it manually, we double click on the line-item, and it takes to another screen where we click the Condition tab.At that place, we can change the value.
I am not sure, for this, whether I need to call another BAPI for change in Sales Order.
Regards,
Priyanka.
‎2007 May 19 2:19 PM
Do you pas below data ?
tbl_bapicondx-itm_number = '000010'.
tbl_bapicondx-cond_type = condition type.
tbl_bapicondx-update_flag = 'U'.
tbl_bapicondx-cond_value = 'X'.
append tbl_bapicondx.
Please confirm ?
‎2007 May 19 3:54 PM
‎2007 May 19 4:21 PM
Hi Priyanka,
Please close thread and make it as answer
Thanks
Seshu