cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic ORDRSP idoc creation problem for customer order

Former Member
0 Kudos

Requirement;

When client received order from customer through EDI, while creating order it has to check is there any difference in the order quantity and confirmed quantity. If any difference reason code should set up automatically at line item level (I configured reason code as "Quantity short" and it's not big deal to get this in user exit). After inbound EDI order process, order response should invoke only one time that too first time (Not all the time for all orders) when there are line items exist with "Quantity short".

First I'm trying to kick out ORDRSP Idoc from manually created order. While creating order which has confirmed quantity less than order quantity I setup item level reason code as "Quantity Short".

I created condition table with conditions Sales org, Order type, Sold to party(from KOMKBV1) and item level reason code (from KOMPBV1). I maintained condition record, partner profile. But Idoc is not generating automatically after I created order manually with reason code at line item level.

Can any one help me on this.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

>

> Requirement;

>

> When client received order from customer through EDI, while creating order it has to check is there any difference in the order quantity and confirmed quantity. If any difference reason code should set up automatically at line item level (I configured reason code as "Quantity short" and it's not big deal to get this in user exit). After inbound EDI order process, order response should invoke only one time that too first time (Not all the time for all orders) when there are line items exist with "Quantity short".

>

> First I'm trying to kick out ORDRSP Idoc from manually created order. While creating order which has confirmed quantity less than order quantity I setup item level reason code as "Quantity Short".

>

> I created condition table with conditions Sales org, Order type, Sold to party(from KOMKBV1) and item level reason code (from KOMPBV1). I maintained condition record, partner profile. But Idoc is not generating automatically after I created order manually with reason code at line item level.

>

> Can any one help me on this.

>

> Thanks in advance.

There are two things here

1) the Output not getting generated

2) Output is triggered but IDOC isnot generated.

I feel the Output must not have triggered. this may be because generally the response IDOCs are riggered from the Header level and in the communication struture ( or in the condition record ) you have inserted a field from the Item level, so when the system is trying to trigger the output , the field value may be blank, you can check this in the determination analsysis and you may find an yellow icon in the field agains item reason code. you may have to modify the user exist to pass the correct value to this field.

an alternative way is to trigger the output manually and see if the idoc is geenrated or not.

If the output is triggered and the idoc is not generated. again look in the Processing log. there must be some error description why the IDOC is not triggered. Let us know the description of the error codes so that we can give an idea of where could you have gone wrong.

Thanks,