cancel
Showing results for 
Search instead for 
Did you mean: 

Illegal to have multiple roots (start tag in epilog?) in SAP CPI

yashsap1
Participant
0 Kudos

Hi, all i need to update servicecall status from sap fsm on premise, for that i am fetching all fields from sapon premise system and splitting it and through get request and getting updated status but while gathering two payload i am getting two root it causes error to pass to post request request back to on pre mise system how two remove root and maintain single root <d> please help

Accepted Solutions (0)

Answers (1)

Answers (1)

Ryan-Crosby
Active Contributor

Two roots are illegal syntax for XML, so you must wrap that in a higher level tag if you want to proceed with merged payloads.

Regards,

Ryan Crosby

yashsap1
Participant
0 Kudos

hey,I am new to cpi ,can u please tell how to wrap that in higher level tag , or any blog related to it please share.

Ryan-Crosby
Active Contributor
0 Kudos

yashsap1 the following example wraps in a tag named root with a simple content modifier.