cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC to FIle - If delivery block is present order should not be picked

Former Member
0 Kudos

HI Experts

Mine is IDOC to File scenario using ORDERS05.

For the Delivery Block LIFSK we have a condition that if Delivery Block field is present that order should not be picked up by the interface .

please suggest me for mapping..

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

better to handle this type of requirement in ECC side,push IDoc only Delivery when Delivery Block field is not present present.

it is good design.

Regards,

Raj

madhusudana_reddy2
Contributor
0 Kudos

Hi Usha,

As this is IDoc to File interface, you will not have any sender IDoc channel in your interface.

Sender SAP System will push the ORDERS05 Idoc to SAP PI Server so you need check the condition mapping whether LIFSK is existed or not in ORDERS05. For this you use EXISTS, if LIFSK exists then create target structure to create the target file otherwise it will not create the target structure so that the target file will not get create.

Note: use multimapping for this requirement to put the target message occurance as 0..unbounded.

thanks,

madhu