Skip to Content
author's profile photo Former Member
Former Member

How to get required tags and name spaces in the output File?


I am doing IDOC to File sceanrio and I am able to get the file but the problem is that I am unable to get the required tag names. Out put file is having ns0 ns1 and so on..



and so on..

Source structure is IDOC

Target structure is External Defination imported with references.

How can I get the output file with the exact namespaces and tags as imported through External Definations.

Thanks in Advace.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Apr 07, 2009 at 08:17 AM

    Hi Rajeev,

    I think you are looking at the structure of the target and not the data.

    In your test tab of the message mapping, give some input values and Run your Message mapping.

    Then in the target side, press the SRC button, to see the actual XML Payload of the target file.

    See if you still get the name spaces in your target payload.


    Ravi kanth Talagana

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      Before using this module payload is as follow:

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





      how can I get use of this module to get abc and def instead of ns0 and ns1 ?????

      Any one can input there idea why the following XMLAnonymizerBean is not working:

      Adaptor Configuration:

      XMLAnonymizerBean XMLAnonymizerBean 0

      after this module standard SAP callsap adaptor is called 1

      anonymizer.acceptNamespaces -

      Name abc def -


      still I am getting the same output as before, I mean there is no effect at all by using this module. I didnt got any error message and I see in Message monitoring this module got called and executed successfully.



  • author's profile photo Former Member
    Former Member
    Posted on Apr 07, 2009 at 03:01 PM

    Thanks for your views 😉 Its really helped to solve the problem.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI! Rajeev,

      I have gone through this forum and we having 100% same to same requirement here in my project.

      We want this at the top of the Output Payload..

      <?xml version="1.0" encoding="UTF-8" ?> 
      - <SyncMaterialDefinition xmlns="" xmlns:xsd="" xmlns:bml="" xmlns:sit="" xmlns:xsi="" xmlns:oag="">
      - <oag:ApplicationArea>

      and also isome part of payload nstead of ns0: and ns1:

      we want it as below for some part of same output payload

      - <oag:Sender>
        <oag:ReferenceId /> 

      - <bml:MaterialDefinitionProperty>
      - <bml:Value>
        <bml:Any /> 

      Check the above code how we want but we are getting in normal way .

      Could you please review this and guide me in detailed way how to do in a step by step manner if possible by taking my above payload condition.


      Amar Srinivas Eli

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.