Skip to Content
Jun 13, 2017 at 09:00 AM

Issue in mutl-mapping IDOC to File scenerio


Hi Experts,

we have a requirement in which Idocs would be collected within ecc say 4 at a time and would be pushed to PI. this idoc contains a field "payementrunid" based on which I have to make files. say suppose out of 4 idoc received, paymentid is 12,11,12,13 than 2 files should be made with paymentid id 12,11 and 13.

till now, I have made ed of idoc (to covert idoc to unbounded) and used in MM

2. in MM and OM, occurrence in idoc in signature tab is 1 and for file its 0..unbounded.

3. When I have triggered single idoc I am getting an error:

Mapping failed to execute: MappingException: Unexpected error while parsing the multi-structure document, NullPointerException: while trying to invoke the method of a null object loaded from local variable 'writer' Transmitting the message to endpoint using connection IDoc_AAE_http:// failed, due to: Unexpected error while parsing the multi-structure document
6/13/2017 1:57:24.637 PM Information The asynchronous message was successfully scheduled to be delivered at Tue Jun 13 14:02:24 IST 2017

while checking in I can see Mapping is successfully executed.

can anyone help me where I am being struck??




mm.png (85.4 kB)
om.png (91.4 kB)
openmessage.png (174.6 kB)