Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_SALESORDER_CHANGE

Former Member
0 Likes
558

Hi Gurus,

Scenario :

We are using BAPI_SALESORDER_CHANGE to change the price of an existing Sales Order based on the new price determined through BAPI_SALEORDER_SIMULATE.

Error Encountered :

  • BAPI is returning that specific condition type(UTXJ) cannot be processed manually.

  • When i debug the BAPI to find out the reason, it went into a Function Module called <b>PRICING_CHECK</b>. which is returning an error message <b>"CONDITION UTXJ CANNOT BE PROCESSED MANUALLY"</b>

  • Because of this error the new price is not getting changed in the sale order.

  • This error is occuring for 1 in 20 sale order which is changed using BAPI_SALESORDER_CHANGE.

Help Required :

  • Can you gurus please tell me under what circumstances this error message would come?

Hi Gurus,

Scenario :

We are using BAPI_SALESORDER_CHANGE to change the price of an existing Sales Order based on the new price determined through BAPI_SALEORDER_SIMULATE.

Error Encountered :

  • BAPI is returning that specific condition type(UTXJ) cannot be processed manually.

  • When i debug the BAPI to find out the reason, it went into a Function Module called <b>PRICING_CHECK</b>. which is returning an error message <b>"CONDITION UTXJ CANNOT BE PROCESSED MANUALLY"</b>

  • Because of this error the new price is not getting changed in the sale order.

  • This error is occuring for 1 in 20 sale order which is changed using BAPI_SALESORDER_CHANGE.

Help Required :

  • Can you gurus please tell me under what circumstances this error message would come?

2 REPLIES 2
Read only

Former Member
0 Likes
474

hi ,

This is linked to Pricing Configuration .

Each Sales Order is linked with a Pricing Procedure ( in VBAK-KALSM) .

In V/08 Transaction code , you can see the details of the procedure

The pricing is controlled through the condition types .

The Condition Type has been configured in this procedure such that it cannot be manually added which is being attempted by you through the BAPI .

In other words , the condition type should be determined from condition record table only .

If u find the tick under Man column for the condition type , then it is a manual conditon type else not

Thanks

Read only

Former Member
0 Likes
474

Hey thnks for ur suggestion.. i checked the condition type.

The acual setting is Not Process Manually..

The BAPI is not giving error for other sales order which is also having this condition type. But only for few sales order it is giving this error.