Condition record update using inbound Idoc -COND_A
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 .
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 .:)
@sowrya masarapu This resolve same issue as it is. But i used VAKEY value as below.
7600RTSCAG3225 (SalesOrg. + Dis.channel + 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.
Sameera Senaratne Thanku
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.