Suppress XML Structure view

Hi,
      May  I know the SuppressedWidgetID to hide the XML structure view?
IsStructureViewShowing=kFalse;
I need to hide XML Structure view.
Kindly advise me.
Regards
Senthil Kumar V

Ok lets start from basics
go to CN41 and enter a project with std PS info profile 000000000000001
if you click o the DB profile you will have basic setting 000000000000001 etc
this gives us the project structure
Now in transaction OPUR create a view for PC hierarchy
Z00000000001 - whatever description
select PS hier type 2 - Profit Ctr via set
I think you have done this
In this configuration there is a group name - you need to enter the profit centre hierarchy group name from your system
this group must exist in your system check using transaction KCH3 to display group - if this is not entered correctly you will get the exact error you have got - I have been able to replicate in my system
Now run CN41 change DB profile project view from 00000000001 to Z0000000001

Similar Messages

  • Hiding XML elements in the structure view – scripting influence to the structure view?

    Hi
    Is there a way to hide specific XML elements (really the elements and not the attributes) in the structure view?
    I am asking this question to know if it is possible to influence the structure view by scripting.
    Many elements are indeed used as a kind of help for constructions which have nothing to do with the actual contents especially in the case of tables.
    You inflate the the structure view unnecessarily and the author will lose track of the real contents. It would be nice if there was a possibility to hide those help construction elements.
    Thank you for any hints.
    Regards
    Apollo102

    Hello Apollo,
    There is a way to hide elements from the Structure View (one such method is offered by the free AXCM plug-in). What happens when you use AXCM (or other methods to hide elements) is that the elements get wrapped into hidden content. This might make the structure view less complex for your authors, but has a number of disadvantages and dangers.
    1. The structure is normally invalidated, as the helper elements are usually required.
    2. Accidentally deleting hidden content may make the invalidation permanent and render your documents useless.
    It is NOT good practice to hide elements from authors in the structure view. Instead, you should either teach authors about the structure, or let them work in the Author View while adding sufficiently clear formatting to show them the underlying structure. In some cases, it might be better to create an authoring structure which is automatically transformed into the required full structure using an XSLT or other processing step. I have created a couple of such environments and they work fine. It just depends on the difference between the structure required for further processing and the structure that would be optimal for your authors (which in turn depends on the level at which your authors are experienced in working with structured content).
    I hope this helps you solve your problem without having to tweak the structure view.
    Kind regards
    Jang

  • How to select the node in structure view from selected xml page item

    Hi All,
    I have imported the xml file. Now drag and dropped the root node in the documentt.Now i select a item from it.When i select an item, i need the node in the structure view to get selected.
    In Indesign we have an menu option "Select in structure".
    How to go about it?
    Regards
    Sakthi

    Hi All,
    I have imported the xml file. Now drag and dropped the root node in the documentt.Now i select a item from it.When i select an item, i need the node in the structure view to get selected.
    In Indesign we have an menu option "Select in structure".
    How to go about it?
    Regards
    Sakthi

  • Apply XSLT  while importing the xml to the selected node in structure view

    Hi All,
    I would like to apply XSLT while importing the xml file to the selected node in the structure view.
    How to go about it?
    Thanks
    Sakthi

    Hi All,
       Got the solution,
                    UIDRef documentUIDRef = ::GetUIDRef(activeContext->GetContextDocument());
                InterfacePtr<IDocument> document(documentUIDRef, UseDefaultIID());
                InterfacePtr<IXMLImportOptionsPool> prefsPool( document->GetDocWorkSpace(), UseDefaultIID() );
                InterfacePtr<IK2ServiceRegistry> serviceRegistry(gSession, UseDefaultIID());
                InterfacePtr<IK2ServiceProvider> serviceProvider(serviceRegistry->QueryServiceProviderByClassID(kXMLImportMatchMakerSignal Service,     kXMLThrowAwayUnmatchedRightMatchMakerServiceBoss));
                InterfacePtr<IXMLImportPreferences> prefs(serviceProvider, IID_IXMLIMPORTPREFERENCES);
                XMLImportPreferencesInitializer initializer(prefs, prefsPool);
                bool16 prefBool = prefs->GetNthPrefAsBool(0);
                prefs->SetNthPref(0, kTrue);
    The above code set the import option "Delete elements, frames, and content that do not match imported XML"
    Thanks
    Sakthi

  • Special characters in XML structure when prepared using String

    Hi,
       I am preparing an XML structure using 'String'. I print the prepared XML structure in the server log. Issue is that I am seeing extra characters([[ and ]]) that I am not printing.
    Please let me know how to get rid of those.
    Code Excerpt
            String xmlHeader = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>";
            String lsb_xmlcon = xmlHeader;
            logger.info("ReqXMLString Process  1  --->" + lsb_xmlcon);
            lsb_xmlcon = lsb_xmlcon +("\n");
            logger.info("ReqXMLString Process  1.1  --->" + lsb_xmlcon);
            lsb_xmlcon = lsb_xmlcon +("<REQUEST>");
            lsb_xmlcon = lsb_xmlcon +("\n");
            logger.info("ReqXMLString Process  1.2  --->" + lsb_xmlcon);
    Log
    ReqXMLString Process  1  ---><?xml version="1.0" encoding="utf-8" ?>
    ReqXMLString Process  1.1  ---><?xml version="1.0" encoding="utf-8" ?>[[
    ReqXMLString Process  1.2  ---><?xml version="1.0" encoding="utf-8" ?>[[
    <REQUEST>
    Thanks,
    Message was edited by: 996913
    This issue is observed only while running the code in server, not from Jdev.
    When we append the additional tags without new line character, "\n", there are no extra characters being added. Also, in other case also. where we used "Marshaller" to prepare the XML, we have seen this issue.
    After we set the below property to false, we got rid of the extra characters.
                            jaxbMarshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, false);
    Apparently the insertion of new line when the code runs on server(Weblogic 10.3.6.0) is creating the issue.
    Please let me know if anyone has come across a similar scenario.
    Thanks,

    I am building this XML in a servlet so ,right, DOM does process XML (even though a valid HTML file can be loaded into a DOM object) but if you build XML using DOM then write the XML out using PrintWriter and Transformer objects this will cause the XML to print out in your browser. If you view source on this XML you will see that the DOM object has translated all special characters to there &xxxx; equivalent. For a example: when the string (I know "cool" java) gets loaded into a attribute using the DOM object then wrote back out it looks like (I know &xxx;cool&xxx; java) if you view the source in your browser. This is what it should do, but the DOM object is not change the � to the "&xxxxx;". This servlet is acting as a gateway between a Java API and a windows asp. The asp will call the servlet expecting to get XML back and load it directly into a DOM object. When the windows DOM object gets the xml that I am returning in this servlet is throws a exception "invalid character" because the � was not translated to &xxxx; like the other characters were. According to the book HTML 4 in 24 hours (and other references) the eacute; or #233; are how you say "�" in HTML or XML. How do you say it?

  • Urgenttt problem with structure view !!!!

    JDeveloper was fine with me
    but from yesterday the structure view cannot contain any folder of my application
    there is no structure view and when iam click on it from View menu
    it appear but emplty ,
    also i can't see my project , and when iam click open file button
    my project contain many use cases and sequence diagram
    and when iam go for the path for it :
    E:\Jdevstudio10131\jdev\mywork\HIS application\Project1\model\project1\SequenceDiagram1.oxd_seq
    appear xml files
    like this :
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?Oracle-JDeveloper Diagram = '1.1.2'?>
    <?Oracle-JDeveloper Artifact = '1.1'?>
    <?Oracle-JDeveloper DBDiagram = '1.1'?>
    <?Oracle-JDeveloper JCMDiagram = '1.0'?>
    <diagram
    xmlns="http://xmlns.oracle.com/jdeveloper/modeler/diagram">
    <!--This is redundant information provided by the diagrammer for the structure pane-->
    <structure
    xmlns="">
    <shape
    name="10 calls 20 set information">
    <elemRef
    name=""
    value="740e23f9-
    please urgent it is graduate project , help me
    how can i appear my application with its sub folders and see the use cases and sequences with visual view not with those xml files !!

    Sounds like something in your JDeveloper installation got messed up.
    Backup your project.
    Install JDeveloper into a new directory - and try opening your project in the new installation.

  • Generating Dynamic UI from XML structure

    Hi All,
    I have a requirement in which I need to select an entry in the first view and based on this, the second view would come come. But there are 30 different values that can be selected and each of them will have a different set of UI elements in the second screen. So if I go for normal static UI creation, then I need to create 30 odd views which is something we do not want.
    The second option is to dynamically generate the UI elements in wdDoModify() method. But for 30 different conditions to check all the time will lead to performance issue.
    So we are thinking if there is a way for webdynpro to dynamically read an XML structure that defines attributes and generates a layout for us dynamically.
    Please provide your inputs on this. Also kindly suggest any other better ways for the solution.
    Thanks and Regards,
    Sayan Ghosh

    Hello!
    I think you should go with second one. But I don't know any "ready to use" solutions, so you have to
    - Create your own XML structure, something like
    <section type="yourCondition">
    <input name="somePropertyName" type="text"/>
    <!-- and so on -->
    </section>
    - Parse this XML into Java Model (on application startup for example)
    - On user selection choose requred UI Model from memory and pass it to view
    - In wdDoModify() build UI(elements, context attributes, mappings etc.) according to this model
    It will be rather complicated for huge UI, but possible.
    Thanks, Mikhail

  • How can I get the XML structure from a flat structure?

    Hi all,
    in my XI SP 12 I use a JMS adapter to read information using the WebSphereMQ transport protocol.
    The structure that I receive have this format:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value>
    <NumberRecordType_B><NumberRecordType_c>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    the problem is that in this structure each line is not separated by a carriage return or a comma, I have all the information in a single line:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value><NumberRecordType_B><NumberRecordType_c><Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>...<Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value><Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>...<Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    and the customer don't want to insert a line separator.
    Then, the question is:
    How can I get the XML structure from this structure?
    If possible, I don't want to develop new Module and add it in the JMS Module Sequence.
    PS I have already read the article "How to Use the Content Conversion Module with the XI 3 J2EE JMS Adapter.pdf" and it doesn't seem to help me.
    Best Regards,
    Paolo

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • One Communication Channel for two XML-Structure

    Hi to all!
    i'm Newbee in XI.
    i register one Communication Channel to recieve two different XML-Structure and when i sent second structure there was a Mapping error, because XI waiting for first XML-Structure.
    I'd like to ask if there are any additional condition that i must tune up to make it possible or just it's impossible?

    Hi,
    Please refer below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/121b053d-0401-0010-539f-f9295efb7bad
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3a913f71-0601-0010-7a83-dfd3208a9a0b
    how to find the URL of deployed Web services?
    Creating .NET Web service
    http://www.15seconds.com/issue/010430.htm
    Also refer SOAP Framework to generate the common wsdl for both the messages with single SOAP CC
    http://help.sap.com/saphelp_nw04s/helpdata/en/bb/ddb33d2ae46b3be10000000a114084/frameset.htm
    Thanks
    swarup

  • How to use For-Each Structure with Multiple node XML structure

    Hi,
      How to use for-each (BPEL 2.0) construct for Multinode XML structure.
    Here is the easy case: I have list of suppliers specified by supplier
    <supplierList>
    <supplier>1</supplier>
    <supplier>2</supplier>
    <supplier>3</supplier>
    </supplierList>
    Now there is a web service http://hostname/getsupplierdetails/wsdl which accepts one supplier at a time.
    like
    <supplier>1</supplier>
    reponse object is
    <message> notfound/found </message>
    But how can I use for each of XML node to call this service and collect the result like
    <supplierList1>
         <Suppinfo>
            <supplier>1</supplier>
            <message> not found</message>
    </suppinfo>
        <suppinfo>
            <supplier>1</supplier>
            <message> not found</message>
    </suppinfo>
    </supplierlist1>
    Thanks

    For looping you use foreach loop and , loop for the number of occurences and when constructing response, adding a new element you have to use bpelx:append.  Good sample at Enterprise Integration: Oracle SOA Suite 11g: Populating a list or an array in BPEL without using XSLT.

  • Attribute "action" missing or wrong XML structure

    Does anyone know what's the problem of below XML format ?   I want to triggle a stored procedure in AS/400 from SAPXI after receiving records.  But the message "No 'action' attribute found in XML document (attribute "action" missing or wrong XML structure)" is found
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_t1 xmlns:ns0="http://cxx.xxx.hk/zxxxpxx/jdbc">
       <storedProcedurename>
          <action>EXECUTE</action>
          <table>LIBRARY.PROCNAME</table>
          <TRNX_TYPE IsInput="true" TYPE="CHAR">content 1</TRNX_TYPE>
          <TRNX_NO IsInput="true" TYPE="CHAR">content 2</TRNX_NO>
       </storedProcedurename>
    </ns0:MT_t1>

    Dear all,
    Thanks for your help and now I can submit a stored procedure via SAP XI by using below XML format.  I try to define two output parameters at the end of this XML. How to get the return value ? Should I define a response message type ? and what is the XML format ?
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_SYN_t1 xmlns:ns0="http://xxx.xxu.hk/zxxxpgs/jdbc">
       <update>
          <storedProcedurename action="EXECUTE">
             <table>LIBRARY.PANSYTEST</table>
             <TRNX_TYPE IsInput="TRUE" TYPE="CHAR">4</TRNX_TYPE>
             <TRNX_NO IsInput="TRUE" TYPE="CHAR">2</TRNX_NO>
             <ACTIN IsInput="TRUE" TYPE="CHAR">23</ACTIN>
             <RCRT_DATM IsInput="TRUE" TYPE="CHAR">3</RCRT_DATM>
             <RCRT_USER IsInput="TRUE" TYPE="CHAR">8</RCRT_USER>
             <STUD_ID IsInput="TRUE" TYPE="CHAR">8</STUD_ID>
             <AWD_SEQ IsInput="TRUE" TYPE="CHAR">6899</AWD_SEQ>
             <AW_PSDATE IsInput="TRUE" TYPE="CHAR">89</AW_PSDATE>
             <AW_PEDATE IsInput="TRUE" TYPE="CHAR">99</AW_PEDATE>
             <OUT_TRNX_TYPE IsOutput="TRUE" TYPE="CHAR">4</OUT_TRNX_TYPE>
             <OUT_TRNX_NO IsOutput="TRUE" TYPE="CHAR">2</OUT_TRNX_NO>
          </storedProcedurename>
       </update>
    </ns0:MT_SYN_t1>

  • Mapping an XML structure into one field

    Make use of XSLT mapping (available on SDN...just search with CDATA...i think there is a new feature in PI7.1 (Copy XMl to subtree....something like that).
    Regards,
    Abhishek.

    Hi,
    Chk this:
    /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
    Re: Conversion of source XML structure to single string using PI 7.1
    Thanks
    Amit

  • XSLT Mapping to convert u201C.CSVu201D file into XML Structure.

    Hi All,
    I wanted to know can we use XSLT Mapping to convert u201C.CSVu201D file into XML Structure.
    I am communicating between two XI Systems. First XI system is going to give u201C.CSVu201D file as main document. I need to post IDOC Corresponding to this. So what I want to do is read this u201C.CSVu201D file (Main document in payload) and first convet it into XML and then use second mapping which will convert XML to IDOC.
    I know this is possible with JAVA Mapping but just wanted to confirm can we do this with XSLT mapping as well?
    Regards,
    Gouri

    Hi Amit,
    I know this way it shd work as i am able see other XSLT files. But this particular file is not visible.
    I am copying following code only in sample.xslt file.
    <xsl:stylesheet
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:fn="fn"
      xmlns:xs="http://www.w3.org/2001/XMLSchema"
      version="2.0" exclude-result-prefixes="xs fn">
    <xsl:output indent="yes" encoding="US-ASCII" />
    <xsl:param name="pathToCSV" select="'file:///c:/csv.csv'" />
    <xsl:function name="fn:getTokens" as="xs:string+">
        <xsl:param name="str" as="xs:string" />
        <xsl:analyze-string select="concat($str, ',')" regex='(("["]*")+|[,]*),'>
            <xsl:matching-substring>
            <xsl:sequence select='replace(regex-group(1), "^""|""$|("")""", "$1")' />
            </xsl:matching-substring>
        </xsl:analyze-string>
    </xsl:function>
    <xsl:template match="/" name="main">
        <xsl:choose>
        <xsl:when test="unparsed-text-available($pathToCSV)">
            <xsl:variable name="csv" select="unparsed-text($pathToCSV)" />
            <xsl:variable name="lines" select="tokenize($csv, ' ')" as="xs:string+" />
            <xsl:variable name="elemNames" select="fn:getTokens($lines[1])" as="xs:string+" />
            <root>
            <xsl:for-each select="$lines[position() &gt; 1]">
                <row>
                <xsl:variable name="lineItems" select="fn:getTokens(.)" as="xs:string+" />
                <xsl:for-each select="$elemNames">
                    <xsl:variable name="pos" select="position()" />
                    <elem name="{.}">
                    <xsl:value-of select="$lineItems[$pos]" />
                    </elem>
                </xsl:for-each>
                </row>
            </xsl:for-each>
            </root>
        </xsl:when>
        <xsl:otherwise>
            <xsl:text>Cannot locate : </xsl:text><xsl:value-of select="$pathToCSV" />
        </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    </xsl:stylesheet>
    Is this correct?
    -Gouri

  • Download XML structure to Application server

    Hi all.
    I am generating an XML structure based on some data that I select from HR e-Recruiting, and I need to save the generated XML file on the application server, not the presentation server (local computer). Most of the code I have found on SDN (contributed by Robert Eijpe) and I must admit that I do not understand everything the code does.
    I have attached the source code and the resulting XML structure:
    REPORT  zhr_test2_tk.
    TYPE-POOLS: ixml.
    TYPES: BEGIN OF xml_line,
            data(256) TYPE x,
           END OF xml_line.
    DATA: l_ixml            TYPE REF TO if_ixml,
          l_streamfactory   TYPE REF TO if_ixml_stream_factory,
          l_ostream         TYPE REF TO if_ixml_ostream,
          l_renderer        TYPE REF TO if_ixml_renderer,
          l_document        TYPE REF TO if_ixml_document.
    DATA: l_element_position TYPE REF TO if_ixml_element,
          l_element_title    TYPE REF TO if_ixml_element,
    *        l_element_flight  TYPE REF TO if_ixml_element,
    *        l_element_from    TYPE REF TO if_ixml_element,
    *        l_element_to      TYPE REF TO if_ixml_element,
            l_element_dummy   TYPE REF TO if_ixml_element,
             l_value           TYPE string.
    DATA: l_xml_table       TYPE TABLE OF xml_line,
          l_xml_size        TYPE i,
          l_rc              TYPE i.
    DATA: lt_erec TYPE TABLE OF hrp5126,
          l_erec TYPE hrp5126.
    DATA: date(10),
          time(4),
          filepath TYPE string.
    CONSTANTS: filedir TYPE string VALUE 'C:tmp',
               filename TYPE string VALUE 'ZHR_test'.
    START-OF-SELECTION.
    * fill internal table
      SELECT * FROM hrp5126 INTO TABLE lt_erec.
    * Start filling xml DOM object from internal table lt_erec.
      LOOP AT lt_erec INTO l_erec.
    *Create the root node 'position'
        IF sy-tabix EQ 1.
    *     create an ixml factory
          l_ixml = cl_ixml=>create( ).
    *     create Document Object Model
          l_document = l_ixml->create_document( ).
    *    Fill root node with value 'position'
          l_element_position = l_document->create_simple_element(
                         name   = 'position'
                         parent = l_document ).
        ENDIF.
        IF sy-tabix GT 1.
    *     create element jobtitle as child of position
          l_value = l_erec-jobtitle.
          l_element_title = l_document->create_simple_element(
                             name   = 'job_title'
                             parent = l_element_position
                             value  = l_value ).
          l_value = l_erec-empl_start_date.
          l_element_dummy = l_document->create_simple_element(
                             name   = 'StartDate'
                             parent = l_element_title
                             value  = l_value ).
          l_value = l_erec-empl_end_date.
          l_element_dummy = l_document->create_simple_element(
                             name   = 'EndDate'
                             parent = l_element_title
                             value  = l_value ).
        ENDIF.
      ENDLOOP.
      IF sy-subrc NE 0.
        WRITE: 'No data in table hrp5125'.
      ENDIF.
    * create a stream factory
      l_streamfactory = l_ixml->create_stream_factory( ).
    * connect internal XML table to streamfactory
      l_ostream = l_streamfactory->create_ostream_itable(
                      table = l_xml_table ).
    * render the document
      l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                            document = l_document ).
      l_rc = l_renderer->render( ).
    * Get time and date
      WRITE sy-uzeit+2(2) TO time+2(2).
      WRITE sy-uzeit+0(2) TO time+0(2).
      WRITE sy-datum+4(2) TO date+0(2).
      WRITE sy-datum+6(2) TO date+2(2).
      WRITE sy-datum+0(4) TO date+4(4).
    *Build filename with date and time reference
    CONCATENATE filedir filename date time '.xml' INTO filepath.
    <i>* This is the code I hope to modify in order to save the xml structure on the application server, with a specified filepath.</i>
    <b>  OPEN DATASET filepath FOR OUTPUT IN BINARY MODE.
      LOOP AT lt_erec into l_erec.
        TRANSFER  l_erec TO filepath.
      ENDLOOP.
      CLOSE DATASET filepath.</b>
    * save XML document
      l_xml_size = l_ostream->get_num_written_raw( ).
    *This is the code for download to local computer
    *  CALL METHOD cl_gui_frontend_services=>gui_download
    *    EXPORTING
    *      bin_filesize            = l_xml_size
    *      filename                = filepath
    *      filetype                = 'BIN'
    *    CHANGING
    *      data_tab                = l_xml_table
    *    EXCEPTIONS
    *      file_write_error        = 1
    *      no_batch                = 2
    *      gui_refuse_filetransfer = 3
    *      invalid_type            = 4
    *      no_authority            = 5
    *      unknown_error           = 6
    *      header_not_allowed      = 7
    *      separator_not_allowed   = 8
    *      filesize_not_allowed    = 9
    *      header_too_long         = 10
    *      dp_error_create         = 11
    *      dp_error_send           = 12
    *      dp_error_write          = 13
    *      unknown_dp_error        = 14
    *      access_denied           = 15
    *      dp_out_of_memory        = 16
    *      disk_full               = 17
    *      dp_timeout              = 18
    *      file_not_found          = 19
    *      dataprovider_exception  = 20
    *      control_flush_error     = 21
    *      OTHERS                  = 22.
    *  IF sy-subrc <> 0.
    *    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    <b>XML result:</b>
    <?xml version="1.0" ?>
    <position>
       <job_title>Test Process Template</job_title>
       <job_title>jjjj</job_title>
       <job_title>Test Job Req. 20092005</job_title>
       <job_title>Created 22.09</job_title>
       <job_title>title 07.12</job_title>
       <job_title>Test fra portal</job_title>
       <job_title>Test med 100328</job_title>
       <job_title>Test restricted recruiter</job_title>
       <job_title>Test restricted recruiter</job_title>
       <job_title>Workshop requisition job title</job_title>
    </position>
    Any help is greatly appreciated.
    Best Regards,
    Thomas Kjelsrud

    Hi Guillaume,
    The thing is that the code I presented to you is incorrect. I am asking the question of how to download / save an XML (not an internal table) to the application server. Using the gui_download will not satisfy me need, as it only downloads to the presentation server (local machine that I run my SAP session on), when I need it to download to the application server. The Open Dataset and Transfer statements are (as far as I know) only used for downloading internal tables to the application server.
    So I guess my question should be like this instead:
    "How can I save the XML structure that is created in the above program to the file system in the application server?"
    It is a bit hard to explain this, so please ask me more questions if required.
    Thank you for helping.
    Best regards,
    Thomas

  • How create an xml structure in a pdf form

    Hi genius guys,
    some one can help me to create a correct xml structure (root, subroot1, subroot2, etc etc) in a pdf form and not only the single tag?
    Example: I give a pdf with form to be filled and after I extract xml data. Now I have this:
    <?xml version="1.0" encoding="UTF-8"?>
    <fields xmlns:xfdf="http://ns.adobe.com/xfdf-transition/"
    ><A1classe
    >1995</A1classe
    ><A1cognome
    >Fanna</A1cognome
    ><A1nome
    >Tonino</A1nome
    ><Annodifondazione xfdf:original="Anno di fondazione"
    >1965</Annodifondazione
    ><C1classe
    >1976</C1classe
    ><C1cognome
    >Di Gennaro</C1cognome
    ><C1nome
    >Antonio</C1nome
    ><Campionato
    >ECCELLENZA</Campionato
    ><Campodigioco
    >Comunale di Villabartolomea</Campodigioco
    ><Colorisociali
    >Giallo Rosso</Colorisociali
    ><D1classe
    >1984</D1classe
    ><D1cognome
    >Fontolan</D1cognome
    ><D1nome
    >Beppe</D1nome
    ><Girone
    >A</Girone
    ><P1classe
    >1980</P1classe
    ><P1cognome
    >Zoff</P1cognome
    ><P1nome
    >Dino</P1nome
    ><P2classe
    >1974</P2classe
    ><P2cognome
    >Garella</P2cognome
    ><P2nome
    >Claudio</P2nome
    ><S1cognome
    >Baudo</S1cognome
    ><S1mansione
    >Presidente</S1mansione
    ><S1nome
    >Pippo</S1nome
    ><S2cognome
    >Togni</S2cognome
    ><S2mansione
    >Vice Presidente</S2mansione
    ><S2nome
    >Darix</S2nome
    ><Sede
    >Via Pisacane,8 - Villabartolomea</Sede
    ><Squadra
    >VILLABARTOLOMEA</Squadra
    ><T1cognome
    >Dallara</T1cognome
    ><T1mansione
    >Allenatore</T1mansione
    ><T1nome
    >Toni</T1nome
    ><T2cognome
    >Silvan</T2cognome
    ><T2mansione
    >Magazziniere</T2mansione
    ><T2nome
    >Mago</T2nome
    ></fields
    >
    and I need this:
    <?xml version="1.0" encoding="UTF-8"?>
    <root xmlns:xfdf="http://ns.adobe.com/xfdf-transition/"
    ><attaccanti>
    <A1classe
    >1995</A1classe
    ><A1cognome
    >Fanna</A1cognome
    ><A1nome
    >Tonino</A1nome
    >
    </attaccanti>
    <Annodifondazione xfdf:original="Anno di fondazione"
    >1965</Annodifondazione
    >
    <centrocampisti>
    <C1classe
    >1976</C1classe
    ><C1cognome
    >Di Gennaro</C1cognome
    ><C1nome
    >Antonio</C1nome>
    </centrocampisti>
    <Campionato
    >ECCELLENZA</Campionato
    ><Campodigioco
    >Comunale di Villabartolomea</Campodigioco
    ><Colorisociali
    >Giallo Rosso</Colorisociali
    >
    <difensori>
    <D1classe
    >1984</D1classe
    ><D1cognome
    >Fontolan</D1cognome
    ><D1nome
    >Beppe</D1nome
    ></difensori>
    <Girone
    >A</Girone
    ><portieri>
    <P1classe
    >1980</P1classe
    ><P1cognome
    >Zoff</P1cognome
    ><P1nome
    >Dino</P1nome
    ><P2classe
    >1974</P2classe
    ><P2cognome
    >Garella</P2cognome
    ><P2nome
    >Claudio</P2nome
    ></portieri>
    <societa>
    <S1cognome
    >Baudo</S1cognome
    ><S1mansione
    >Presidente</S1mansione
    ><S1nome
    >Pippo</S1nome
    ><S2cognome
    >Togni</S2cognome
    ><S2mansione
    >Vice Presidente</S2mansione
    ><S2nome
    >Darix</S2nome
    ></societa>
    <Sede
    >Via Pisacane,8 - Villabartolomea</Sede
    ><Squadra
    >VILLABARTOLOMEA</Squadra
    ><tecnici>
    <T1cognome
    >Dallara</T1cognome
    ><T1mansione
    >Allenatore</T1mansione
    ><T1nome
    >Toni</T1nome
    ><T2cognome
    >Silvan</T2cognome
    ><T2mansione
    >Magazziniere</T2mansione
    ><T2nome
    >Mago</T2nome
    >
    </tecnici></root
    >
    Thanx, Paolo

    I solve the trouble using "." to separate the tagname and create the correct structure for xml.
    example:
    team.player.1name
    team.player.1surname
    team.player.1rol
    team.player.2name
    team.player.2surname
    team.player.2role
    this give me:
    <team>
         <player>
              <1name>XXXX</1name>
              <1surname>YYY</1surname>
              <1role>forward</1role>
         </player>
    <player>
              <2name>XXXX</2name>
              <2surname>YYY</2surname>
              <2role>forward</2role>
         </player>
    </team>

Maybe you are looking for