cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_CONDITION_CONTRACT_CREATE issue

smallick69
Explorer
0 Kudos
781

Hello All,

I am trying to create a Condition Contract using BAPI_CONDITION_CONTRACT_CREATE and am passing the values as mentioned in the screenshot. When I am passing the values to the structure HEADDATAIN, CONDITIONKEYDATAIN the condition contract gets created.

The condition contract will be created based on the input file received.

When I am passing value to the structure CONDITIONITEMDATAIN I am getting the error as shown below.

I am not sure what I am missing out. We are using a custom condition table 906 which is as follows:

Please can someone help by letting me know what I am missing.

Thanks and Regards

Saurav Mallick

conditionitemdatain.png

conditionitemdatainx.png

conditionkeydatain.png

headatainx.jpeg

headatain.jpeg

View Entire Topic
Lakshmipathi
SAP Champion
SAP Champion
0 Kudos

Did you try creating manually ? Did you face the same issue during manual creation ? By the way, the table 906 shows the combination of Customer Hierarchy and Product Hierarchy whereas, none of your screen shots shows this value. Also, in one of your screen shots, the validity period is in the past as shown below

smallick69
Explorer
0 Kudos

I created it manually and the Condition Contract got created successfully.

I tried creating by changing the input parameters but still the same result.

Please help .

Thanks and Regards.

Saurav Mallick

screenshot-2023-04-19-214905.png

screenshot-2023-04-19-215032-2.png