cancel
Showing results for 
Search instead for 
Did you mean: 

xml to B1 scnario

Former Member
0 Kudos
79

Hi all,

i am going to data pushing xml to B1 scnario. This is my xml

i was given root tag - sko:AK_Order  it's not working  after i was given AK_Order that's also not working. again i was trying to Orderinfo also but that's also not working .

The above all scenario going to filter Now how i will give Root tag name  and also i am trying to Filename also its not working. please any one help me out of this issue.

<?xml version="1.0" encoding="UTF-8"?>

<sk:AK_Order xmlns:ns0="http://sap.com/XSDLibrary">

   <Orderinfo>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello narain,

look at this example:

my File:


<?xml version='1.0' encoding="UTF-8"?>

<ROOT_DELJIT_D96A>

     <RECORD>

         ...

         ...

     </RECORD>

</ROOT_DELJIT_D96A>

my Configuration:

I hope it will help you.

Best Regards

Ronny

Former Member
0 Kudos

Thanks for your replies. your scenario  you don't have namesapce  but my scenario different. my xml structure look like this.

<?xml version="1.0" encoding="UTF-8"?>

<sk:AK_Order xmlns:ns0="http://sap.com/XSDLibrary">

   <Orderinfo>

your scenario working only on below structure

<?xml version="1.0" encoding="UTF-8"?>

   <Orderinfo>

bastian_schaefer
Active Contributor
0 Kudos

Hi,

please define your namespace(s) in the scenario inbound definition and make sure to handover a valid XML as inbound file:

Please reactivate the scenario after the change in the inbound definitions.

The example above is handling following webservice inbound file, it's the same namespace definition logic for File Inbound:

Best regards

Bastian

P.S.: second namespace "soapenv" does not need to be defined explicitly as it's already included into B1if namespaces defaults.

Answers (0)