cancel
Showing results for 
Search instead for 
Did you mean: 

No root element found error in SAP IDoc Write

Sahil
Contributor

Hi,

I am trying to write to SAP iDOC but getting “No ROOT attribute found in the input document.”
output is getting generated with XSLT and I just need to map output XML to SAP idoc write.
parent pipeline is running in cloud and SAP idoc write is running on groudplex.
Pipeline parameter is given as
image

Child pipeline:-
image

mapper source/target
image

How do I correctly map it. Appreciate any help!

2 REPLIES 2

Sahil
Contributor

Hi @Supratim , Any suggestions!

Supratim
Contributor III

@Sahil I am not sure why you pass Root element, here root element refers root of your idoc. I guess it’s Control-Record. You can consider Idoc as a xml. When you generate XML, you should have one parent/root element, similar for idoc you should populate all mandatory fields of idoc (expand Control-Record not sure that is your root or not) and keep whole element under root.

Check all mandatory fields (denoted *) for idoc populate ,removing root from mapper and try.