Skip to Content
Technical Articles
Author's profile photo sowrya masarapu

Condition record update using inbound Idoc -COND_A

Hi All

I was trying from a quite while working with the inbound idoc with message type COND_A to update the condition record for a condition table .

But i found that the material and plant values were not getting updated in the condition record even if the idoc is getting posted successfully .

Let us have a look on this in detail .

Case 1:

MATNR and WERKS not updating in condition record for a condition table

Idoc with out entering VAKEY field in segment E1KOMG

Var.key is not entered with any value ,and rest of the fields were entered with its required values such as MATNR , cond type , usage , cond table and country code and KBETR field – which is the duty rate value .

Idoc posted succesfully .

But still when we check the cond record for condition table below we can see that the material and plant werent updated .

(I have used the same material code for testing succesful case , but in general this wont get updated in record).

This is because filed VAKEY is not populated with any value , which is a combination of Country code+plant +material = ALAND+WERKS+MATNR .

Once this is entered a value with above combination , then the condition records will get updated through idocs .:)



Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Sameera Senaratne
      Sameera Senaratne

      @sowrya masarapu This resolve same issue as it is. But i used VAKEY value as below.

      7600RTSCAG3225 (SalesOrg. + + plant + material) (7600 + RT + SCAG + 3225)  .

      Anyway table get updated ( for me it's A071 Table ). Once condition value changed, new condition record document no created .we can see that previous condition doc number removed from table.

      Thanks for the thread.

      Author's profile photo sowrya masarapu
      sowrya masarapu
      Blog Post Author

      Sameera Senaratne Thanku

      Author's profile photo Arun Rajoriya
      Arun Rajoriya
      @Sameera Senarathna
      Thank you so much as per given reference I have used VARKEY as  Sales Org. + Sold to party +  Division + Material  + Shipping Conditions    and worked for me.
      Author's profile photo JANANI DURAIRAJ


      I am new to SD module. I googled and got overall understanding about SD sales pricing conditions.

      Got the IDOC type as COND_A04.

      Can you please tell me what are the main fields to be passed in each structure to check for any condition table.