cancel
Showing results for 
Search instead for 
Did you mean: 

Tax condition is not automatically calculated in BAPI_QUOTATION_CREATFROMDATA2

badan
Explorer
0 Kudos

Dear Fellows,

I'm facing with problem.

When I create Quotation using VA21, just enter Sold-to-party, Ship-to-party, PO number, Item, Material, Quantity. Then go the subtab Condition, the enter the value for Condition type: "Price". The Tax is calculated (Condition Type "Output Tax" has been found).

However, when I use BAPI_QUOTATION_CREATEFROMDATA2, Quotation is successfully created, but the Tax is missing (value is 0) due to missing Condition Type "Output Tax". I checked the Pricing Analysis and the message is " Condition records exist but has not been set"

Did someones face the same problem? Please help!

The code for populate COND was

ITM_NUMBER = LS_COND-ITM_NO

COND_TYPE = GW_TYPE "Price

COND_VALUE = LS_COND-VAL

CURRENCY = LS_COND-CUR

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

badan
Explorer
0 Kudos

This one is solved. For those who might face the problem in future, here is the solution

We need to set Set country and Transpzone in Partneraddresses Parameter which is selected from KNA1 join ADRC with condition KNA1-KUNNR = Ship-to-party

Answers (0)