Conversion Tool in batch mode

During a migration project from BO 6.5 to BO XI r2 SP3, the process of conversion to WID is decomposed in many steps (due project reason)
In folder <install dir>\BusinessObjects Enterprise 11.5\win32_x86\scripts there is a batch file called migbatch.bat.
With this file is possible to call conversion tool in batch mode.
One parameter is a XML file, but I can't found a description how to build it. I think it contains REP list.
Do anyone know the XML structure?

OK I'm still not clear on whether or not this is supported but I did find an old adapt where they attempted to add this functionality. Does this help?
2> Create a xml input file which contains the File names to be converted using the RCT UI mode.
3> Now run the batchmode in the command line using the following syntax.
Go to C:\Program Files\BusinessObjects\BusinessObJects Enterprise115\win_32x86\scripts.
Syntax usage:
Usage:
-h[ost]: cms name (by default hostname is used)
-a[uthentication]: secEnterprise(default), secLDAP, secWinAD, secWindowsNT
-u[ser] : user name
-p[assword]: user password(optional)
-x[ml]: xml file
-l[og]: log file
-t[race]: yes, no(default)
4> Check the log files after conversion (chk the log entry for the "Not Converted" reports)

Similar Messages

  • Migration to CC&B: location of Conversion tool batches

    Hello,
    We are at the beginning of the process to migrate data into CC&B using ODI and CC&B Conversion Tool.
    We are on a DB 11gR2, using CC&B 2.3.1.
    After installing CC&B conversion tools, we are not able to find on the server the validation batches (for instance "VAL-PER" for validating persons)
    Qa) Is it normal ? If not, do you think our install is wrong ?
    Qb) Do we have to manually create the standard batches (VAL-PER.properties, calling CIPVPERB) ?
    I hope that my explanation is clear, and that someone will be able to answer.
    Thanks in advance,
    Olivier

    Hi Danbaker,
    you can find a lot of information in this blog: http://blogs.oracle.com/theshortenspot/
    In MDM 2.0.1 Oracle introduced new set of services for data synchronisation. You can find a description of these service
    in the MDM_Configuration_Guide in Chapter 15.
    I don't know if there are special tools available to migrate form legacy systems to MDM.
    From my point of view you have to create a set of XIA Inbound services to create all the necessary master data in you system.
    Advantage of this solution is, that you can also use this services to synchronize you system later in production mode.

  • Upgrade from ICM 6 to 7 (TR) -- Domain conversion tool / UMT

    Hi, we are currently upgrading from 6 to 7.0 and subsequently to 7.5 (TR, new hardware, new domain, new instance).  So far we've staged our W2k3 domain and all the other soon to be ICM servers.
    I'm currently trying to migrate the domain users and it tells me that I need to use the Domain Conversion Tool to go migrate the domain users from 6 to 7. (Staging guide chpter 4)
    I can't find any documentation on the Domain Conversion Tool, when I run the executable I can see the different triggers (below) but that's it.
    I've done an export and gotten a file but what next?
    Do I do a convert now?
    is the convert going to change my production database?
    I'm also reading that the Domain Conversion Tool was replaced by the UMT (for 7.0 to 7.+).
    Or should I now use the UMT and point it to my export file?
    Im afraid to run the convert and and messing up my Rogger sideA database?
    Has anybody use this tool?
    any tips and or documentation is appreciated.  Thanks
    D:\ciscoutils\domainCnvTool>domcvt
    The syntax of this command is:
    DomCvt.exe /DB:dbname /F:filename /M:mode [/OD:old domain name]
              [/ND:new domain name][/P:password]
       /DB:dbname           Specifies the database name to operate on (e.g. cust1_sideA)
       /F:filename          Specifies the full path of the file to import or export to
       /M:mode              Indicates export mode or convert mode
                             E  Export mode
                             C  Convert mode
    The following switches are only needed in Convert Mode:
       /OD:old domain name  Specifies the old domain name to convert from in NetBIOS form (e.g. MyDomain)
       /ND:new domain name  Specifies the new domain name to convert to in NetBIOS form (e.g. MyDomain) or DNS form (e.g. MyDomain.mycompany.com)
       /P:password          Specifies the default password to be set for all the users in the new domain
    Use quotation marks when there are spaces in the file name or password

    Hi,
    From the 7.x(y) Staging Guide: 
    Common Steps Required before Migrating any ICM ComponentOn the Domain Controllers:
    Confirm that Domain Controllers have been upgraded from NT Domain to Windows 2000Active DirectoryOn the CallRouter Server:
     \RouterA\Router\CurrentVersion\Configuration\Global\DBMaintenance.
    Note:
    If moving a CICM with SideA and SideB disable the Configuration changes on bothsides.
    On the Logger server: 
    Copy the Domain Conversion Tool (DomCvt.exe) from the ICM 5.0(0) or ICM 6.0(0) Third-PartyTools CD as applicable (Domain Conversion Utility folder) onto the Logger server.
    Export the ICM user list using the DomCvt tool using the following command:
    domcvt /DB:<instancename>_sideA /F:c:\DomConvert\userlist.txt /M:E.
    And then lower down in the guide:
    On the Logger server:
    Step 18
    Run the Domain Conversion Tool to convert the ICM users exported earlier, using the followingcommand:
    domcvt /DB: <instance_name>_sideA /F:c:\DomConvert\userlist.txt /M:C /OD:<old_domain_netbios_name> /ND: <new_domain_netbios_name>Note: You can use the /p option to create a global password. If you do not use the /p option,the password is reset to null.
    I'm looking to run this myself shortly. The only caveat with this info is that its extracted from the section related to ICM5 and migration from multiple to single forest ... so possibly not the correct info. However, there's not much documentation on this as you've seen!
    Jed

  • Allow Bridge to work in Batch mode

    Whenever you go into a new photo directory, Bridge has to go through a laborious process of building the thumbnails and creating the huge file "droppings" called Adobe Bridge Cache.bc and .bct (note, these "droppings" stay around taking up space, so assuming they're important, why not let them be created in batch mode?
    In other words, why not be able to point Bridge at a directory called "Photos" or something, and tell it to go find the files in every folder/subfolder, create the "droppings" and not make people wait so long to get into a new directory the first time. I would much rather tell Bridge to go to work and come back an hour later and find out that I can now go from one directory to another without paying the penalty real time.
    Seems logical to me.
    Is there anything that can be done about the size of the "droppings" Bridge leaves behind? I'm looking at one that's 20MB right now, and I've seen them much larger on my system. I sure don't want to have to back them up in every directory unless absolutely necessary.
    Thanks for the consideration.

    Have you tried Tools > Cache > Build Cache for SubFolders?
    You can point it to your collection and let it go build it's 'droppings'.
    Since you didn't find this feature - is there a way we can make this more accessible to more users?
    Another approach is to have background indexing process that runs independent of Bridge and watches specific folders. Personally I am not a big fan of background apps - but maybe this feature would be user controlled: run always, run only when Bridge is running, run manually.
    Gunar

  • 6506 sup1a-ge2 to sup720 ios (native) config conversion tool

    I am migrating from a sup 1a(hybrid mode) to a sup720 and in a class in December I heard that there was a conversion tool for the cat config to the ios config. If this is true - can you please let me know what it is and where can I get it?
    thanks

    Hi there,
    It's online, you'll need a CCO-login and the link is here:
    http://www.cisco.com/cgi-bin/Support/CatCfgConversion/catcfg_xlat.pl
    Remember to check this link to understand the difference between CatOS and IOS commands:
    http://www.cisco.com/en/US/products/hw/switches/ps700/products_tech_note09186a008010e9d5.shtml
    Did it help?

  • Problem when execute report Conversion Tool XI 3.0 on a client

    Hi everyone,
    When I use Report Conversion Tool on a client (not on Webi Server Windows 2003) I have an error (a red cross appears) before the conversion.
    I believe that RCT can not open the document to migrate.
    All it's OK when I use RCT since the Webi Server.
    Any help will be appreciated.
    Thanks

    Hi,
    Thank you for your prompt response.
    I have install all the client tool (even SDK, Query Web Service) except Assitant migration source de données, Gestionnaires Vues d'entreprise et Gestionnaire de traduction.
    I think I have a problem of rights on my Windows 2003 Server because in the log of conversion (C:Documents and SettingsUtilisateurLocal SettingsTempconversionUSER146731693logsD30860242.xml)
    the following lines are written :
    Note that I do the conversion with the Administrator login.

  • Report Conversion Tool - problem with logging in table OBJ_G_MIGRATION

    Hello Community-Members,
    since several days I am searching different BO-Communities for a solution, but I didn't find any threats about my problem.
    I am new to BO XI R3.1 and I want to convert deski-reports with the report conversion tool.
    I tried it directly on the server-machine and all is ok (report is converted inclusive the logging in the audit-table OBJ_G_MIGRATION).
    When I try it on my client-machine, the conversion is made successfully, but there is no result in the audit-table.
    On the client-machine, I use the same connection like on the server machine and on both machines, I am logged on (in the report conversion tool) with the "Administrator"-user.
    Has anyone an idea? Could it be a problem of user-rights in the Oracle-DB?
    kind regards
    Guenny

    Hello Denis,
    thank you for your reply.
    From my client machine I can successfully test the connection to the Audit-DB. With non BO-Tools like "SQL Tools1.4.1" I can also connect to that DB.
    After your reply I have tested once again and I have found something else strange.
    If I convert a deski-report, and the conversion-status is "not converted", the Audit-DB is written (for example: error-text = "document cannot be read" / workaround = "remove protection password if set").
    But when I convert the same report together with an other report, which will result in "partially converted", nothing is written to the Audit-DB (same effect as when I convert only reports with status "partially convertet").
    regards
    Guenny

  • Report Conversion Tool  error

    Hi exports
    iam using software 3.1
    Iam facing below issue ,while  converting deski to webi reports
    Note : All my servers are up ..
    Is i need to enable any options in servers
    Thanks,
    Raghunath

    Hi Raghu,
        Try this idea: run it on server. Other user suggest the Windows version as the reason. if does not run, reinstall the Tool, maybe something is corrupted.
    Report Conversion Tool gives Error: Failed on Webintelligence Server
    Regards

  • Report conversion tool on BO XI 3.0 doesn't work ?

    Hi,
    When I use "Report conversion tool" on BO XI 3.0, it doen't work : The conversion stop immediatly and the report is 0% converted
    The audit connexion is OK
    The Report Conversion Tool Audit Universe is OK
    The same thing works on BO XI 3.1
    Is it a bug in BO XI 3.0 ?
    There is a fix ?
    Can somebody help please ?
    Thanks.

    Hello again,
    I put LANG=english in Report Conversion Tool, and I got these messages
    Failed: BusinessObjects or Desktop Intelligence error
    Not Converted : Document1 cannot be read
    And in :\Documents and Settings\administrateur\Local Settings\Temp\conversion\USER146731693\logs,
    there is a file D10817575.xml containing these informations :
    <?xml version="1.0" encoding="UTF-8"?>
    <MigrationLogFile LogDate=""><Document><Name>Document1</Name><LogEntries><LogEntry><Severity Id="420002">Error</Severity><Cause Id="100010">BusinessObjects document or Desktop Intelligence document cannot be opened</Cause><Source Id="420010">FC</Source><XMLSegment Id="100015">DC</XMLSegment><XMLPath></XMLPath><Type Id="100024">Error on BusinessObjects or Desktop Intelligence process</Type><SubType Id="101003">BusinessObjects or Desktop Intelligence process</SubType><Result Id="100350">.wid document could not be created</Result><ErrorText Id="100338">Document cannot be read</ErrorText><Keyword Id="100288">BusinessObjects or Desktop Intelligence error</Keyword><Focus></Focus><WorkAround Id="100504">Remove protection password if set</WorkAround></LogEntry>
    </LogEntries><MigrationStatus>Not Converted</MigrationStatus></Document></MigrationLogFile>
    I am logged with Administrator account, why I can't read the document Desktop Intelligence ?
    Can some body help me ?
    Thanks.

  • Download created XML File in batch mode // Parse XML file into single lines

    Hello!
    I upload a CSV file and based on that CSV file I create an XML "object". First I uploaded and downloaded it via gui frontendclass, but as it has to be run in a batch in the night I need to upload and download the data via OPEN DATASET.
    The import and transformation of the CSV file works fine, also the transfer into an itab with the same structure as a CSV line is ok. I also create the XML file, which could be downloaded easily with gui-download but it is not permittet.
    Import of data: I scan the folder and get the filenames into a itab, I loop over that itab and read the single files like this:
         OPEN DATASET ls_convert_batch FOR INPUT IN TEXT MODE ENCODING DEFAULT.
          CLEAR tab.
          IF sy-subrc = 0.
            DO.
              READ DATASET ls_convert_batch INTO line.
              IF sy-subrc <> 0.
                EXIT.
              ELSE.
                CLEAR tmptab.
                SPLIT line AT ';' INTO  tmptab-product
                                        tmptab-contract
                                        tmptab-extagent.
                APPEND tmptab TO tab.
              ENDIF.
            ENDDO.
          ENDIF.
    The XML file has a strucutre like
    <file>
    - <file formant_no="1.1" format_date="02.10.2003">
      <status>V</status>
      <number>001001025</numbner>
      <name>Schmeisser,Christof</name>
    - <details>
    -    <detail>
             <contract>00000003494</contract>
             <name>Schmeisser, Christof</name>
             <invoice_no>000000003840</invoice_no>
             <due_date>20100601</due_date>
             <amount>140,00</amount>
         </detail>
    -    <detail>
             <contract>00000003495</contract>
             <name>Schmeisser, Christof</name>
             <invoice_no>000000003841</invoice_no>
             <due_date>20100601</due_date>
             <amount>130,00</amount>
         </detail>
    - </details>
    <elements>2</elements>
    <amount_overall>270</amount_overall>
    </file>
    At the moment I download it like this:
    CALL METHOD cl_gui_frontend_services=>gui_download
            EXPORTING
              bin_filesize = l_xml_size
              filename     = filename
              filetype     = 'BIN'
    *        CONFIRM_OVERWRITE = '0'
            CHANGING
              data_tab     = l_xml_table
            EXCEPTIONS
              OTHERS       = 24.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSEIF sy-subrc = 0.
            lv_create_counter = lv_create_counter + 1.
          ENDIF.
    But I need to download it via OPEN TRANSFER CLOSE Dataset as it has to run in batch mode.
    Anyone has an idea? I am really desperate here. One idea would be to parse the single lines into a string and then create the XML file line by line as text and save it with ending XML, should work. But I don't know how!
    Thank you very much in advance,
    kind regards from Tallinn, Estonia,
    Christof!
    Edited by: Christof Schmeisser on Nov 25, 2010 7:51 PM
    I edited the heading, would be too general and missleading!

    Tipos Pools
    TYPE-POOLS: ixml.
    CLASS cl_ixml DEFINITION LOAD.
    TYPES: BEGIN OF xml_node_type,
             node   TYPE char50,
             vlnode TYPE string,
           END OF xml_node_type,
           BEGIN OF xml_line_type,
             data(256) TYPE x,
           END OF xml_line_type.
    Tabelas Internas
    DATA: ti_xml_node        TYPE TABLE OF xml_node_type.
    Variáveis TYPE REF
    *Type REF para utilizar no XML
    DATA: ixml_type             TYPE REF TO if_ixml,
          streamfactory_type    TYPE REF TO if_ixml_stream_factory,
          ostream_type          TYPE REF TO if_ixml_ostream,
          istream_type          TYPE REF TO if_ixml_istream,
          parser_type           TYPE REF TO if_ixml_parser,
          renderer_type         TYPE REF TO if_ixml_renderer,
          document_type         TYPE REF TO if_ixml_document,
          encoding_type         TYPE REF TO if_ixml_encoding,
          node_type             TYPE REF TO if_ixml_node,
          element_dtrans_type   TYPE REF TO if_ixml_element,
          element_xml_in_type   TYPE REF TO if_ixml_element,
          element_roteiros_type TYPE REF TO if_ixml_element,
          element_roteiro_type  TYPE REF TO if_ixml_element,
          element_vias_type     TYPE REF TO if_ixml_element,
          element_via_type      TYPE REF TO if_ixml_element,
          element_dummy_type    TYPE REF TO if_ixml_element,
          gw_xml_node           TYPE TABLE OF xml_node_type,
          gw_xml_node_ret       TYPE TABLE OF xml_node_type,
          gw_xml_node_err       TYPE TABLE OF xml_node_type,
          gw_xml_node_xml       TYPE TABLE OF xml_node_type,
          gw_xml_table          TYPE TABLE OF xml_line_type,
          gw_xml_table2         TYPE TABLE OF xml_line_type,
          gs_xml_node           TYPE xml_node_type,  "WA para leitura do xml
          gs_xml_node_ret       TYPE xml_node_type,  "WA para leitura do xml retorno
          gs_xml_node_err       TYPE xml_node_type,  "WA para leitura do xml erro
          gs_xml_node_xml       TYPE xml_node_type,  "WA para leitura do xml info sucesso
          gs_xml_table2         TYPE xml_line_type.  "WA para importar xml
    Variáveis do Programa
    DATA: l_value              TYPE string,
          l_rc                 TYPE i,
          l_xml_size           TYPE i,
          cod_cartaorepom      TYPE char20 VALUE '123456789',
          v_caminho_exp        TYPE string VALUE 'C:TEMP',
          v_salvaarquivo       TYPE string,
          v_nomearquivo        TYPE string,
          w_nodetext           TYPE string,
          v_roteiros           TYPE string,
          v_roteiro            TYPE string,
          v_roteiro_codigo     TYPE string,
          v_percurso_codigo    TYPE string,
          v_percurso_descricao TYPE string,
          v_cidade_origem      TYPE string,
          v_estado_origem      TYPE string,
          v_cidade_destino     TYPE string,
          v_estado_destino     TYPE string,
          v_transporte_tipo    TYPE string,
          v_cartao_taxa        TYPE string,
          v_cobra_taxa         TYPE string.
    Constants
    CONSTANTS: cc_39         TYPE string VALUE '39', " Numero 39.
               cc_dt_trans   TYPE string VALUE 'data_transfer'," document_type(name)
               cc_metodo_cod TYPE string VALUE 'metodo_codigo'," document_type(name)
               cc_xml_in     TYPE string VALUE 'xml_in'," document_type(name)
               cc_ct_tx_ativ TYPE string VALUE 'cartao_taxa_ativacao'," document_type(name)
               cc_cartao     TYPE string VALUE 'cartao', " Parâmetro Perform.
               cc_xml        TYPE string VALUE '.XML'," extenção
               cc_bin        TYPE char10 VALUE 'BIN'." filetype
    START-OF-SELECTION.
      PERFORM yf_inicia_criacao_xml USING cc_39.
      element_roteiro_type  = document_type->create_simple_element(
                     name   = cc_ct_tx_ativ
                     parent = element_xml_in_type  ).
      PERFORM yf_dummy_roteiro USING cod_cartaorepom cc_cartao.
      PERFORM yf_finaliza_xml.
      PERFORM yf_exporta_xml USING v_caminho_exp.
      PERFORM yf_convert_xml_to_itab TABLES gw_xml_node_ret
                                      USING v_salvaarquivo.
    END-OF-SELECTION.
    *&      Form  yf_inicia_criacao_xml
          text
         -->VALUE(P_0783)  text
    FORM yf_inicia_criacao_xml USING value(p_0783).
      DATA: s_encoding_type TYPE string VALUE 'ISO-8859-1'.
    Cria o ixml factory
      ixml_type = cl_ixml=>create( ).
    *Cria o objeto com modelo
      document_type = ixml_type->create_document( ).
    *Cria o cabeçalho encoding="iso-8859-1"
      encoding_type = ixml_type->create_encoding( byte_order = 0
                        character_set = s_encoding_type ).
    *Cria o root "DATA_TRANSFER"
      element_dtrans_type = document_type->create_simple_element(
                    name  = cc_dt_trans
                  parent  = document_type ).
    *Cria o node "METODO_CODIGO" e preenche com um valor passado no L_VALUE
      l_value = p_0783.
      CONDENSE l_value.
      element_dummy_type = document_type->create_simple_element(
                    name = cc_metodo_cod
                   value = l_value
                  parent = element_dtrans_type ).
    *Cria o node "XML_IN"
      element_xml_in_type   = document_type->create_simple_element(
                  name   = cc_xml_in
                  parent = element_dtrans_type  ).
    ENDFORM.                    " yf_inicia_criacao_xml
    *&      Form  yf_dummy_roteiro
          text
         -->VALUE(P_0996)  text
         -->VALUE(P_0997)  text
    FORM yf_dummy_roteiro USING value(p_0996)
                                value(p_0997).
      l_value  = p_0996.
      CONDENSE l_value.
      element_dummy_type = document_type->create_simple_element(
                    name = p_0997
                   value = l_value
                  parent = element_roteiro_type ).
    ENDFORM.                    " yf_dummy_roteiro
    *&      Form  yf_finaliza_xml
          text
    FORM yf_finaliza_xml.
    *Cria o stream factory
      streamfactory_type = ixml_type->create_stream_factory( ).
    *Conecta a internal table de XML com o stream factory
      ostream_type = streamfactory_type->create_ostream_itable( table = gw_xml_table  ).
      CALL METHOD ostream_type->set_encoding
        EXPORTING
          encoding = encoding_type.
    *Rendering the document
      renderer_type = ixml_type->create_renderer( ostream  = ostream_type
                                            document = document_type ).
      l_rc = renderer_type->render( ).
    *Salva o documento XML
      l_xml_size = ostream_type->get_num_written_raw( ).
    ENDFORM.                    " yf_finaliza_xml
    *&      Form  yf_exporta_xml
          text
         -->VALUE(P_0783)  text
    FORM yf_exporta_xml USING value(p_0783).
      CONCATENATE cod_cartaorepom
                  sy-datum
                  sy-uzeit
                  cc_xml
             INTO v_nomearquivo.
      CONCATENATE p_0783
                  v_nomearquivo
             INTO v_salvaarquivo.
      TRANSLATE v_nomearquivo TO UPPER CASE.
    *Exporta o XML
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          bin_filesize = l_xml_size
          filename     = v_salvaarquivo
          filetype     = cc_bin
        CHANGING
          data_tab     = gw_xml_table
        EXCEPTIONS
          OTHERS       = 24.
      IF sy-subrc = 0.
       PERFORM yf_sapgui_progress_indicator USING cc_msg_xml_ok.
      ELSE.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " yf_exporta_xml
    *&      Form  yf_convert_xml_to_itab
          text
         -->P_GW_XML_NODE_RET  text
         -->P_FILENAME         text
    FORM yf_convert_xml_to_itab  TABLES p_gw_xml_node_ret LIKE gw_xml_node
                                USING  p_filename.
      DATA l_count.
      ixml_type = cl_ixml=>create( ).
    Now Create Stream Factory
      streamfactory_type = ixml_type->create_stream_factory( ).
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename   = p_filename
          filetype   = cc_bin
        IMPORTING
          filelength = l_xml_size
        CHANGING
          data_tab   = gw_xml_table2
        EXCEPTIONS
          OTHERS     = 19.
      IF sy-subrc = 0.
        istream_type = streamfactory_type->create_istream_itable( table = gw_xml_table2
                                                            size  = l_xml_size ).
        document_type = ixml_type->create_document( ).
        parser_type = ixml_type->create_parser( stream_factory = streamfactory_type
                                         istream         = istream_type
                                         document        = document_type ).
        IF parser_type->parse( ) NE 0.
          IF parser_type->num_errors( ) NE 0.
            l_count = parser_type->num_errors( ).
          ENDIF.
        ENDIF.
        CALL METHOD istream_type->close( ).
        CLEAR istream_type.
        node_type = document_type.
        PERFORM yf_get_data USING node_type.
        p_gw_xml_node_ret[] = gw_xml_node[].
        CLEAR gw_xml_node[].
      ENDIF.
    ENDFORM.                    " yf_convert_xml_to_itab
    *&      Form  yf_get_data
          text
         -->VALUE(X_NODE)  text
    FORM yf_get_data    USING value(x_node) TYPE REF TO if_ixml_node.
      DATA: indent      TYPE i.
      DATA: ptext       TYPE REF TO if_ixml_text.
      DATA: string      TYPE string.
      DATA: temp_string(100).
      CASE x_node->get_type( ).
        WHEN if_ixml_node=>co_node_element.
          string = x_node->get_name( ).
          w_nodetext = string.
          CLEAR string.
          string = x_node->get_value( ).
          IF NOT w_nodetext IS INITIAL OR
             NOT string IS INITIAL.
            gs_xml_node-node   = w_nodetext.
            gs_xml_node-vlnode = string.
            IF NOT gs_xml_node-vlnode IS INITIAL.
              APPEND gs_xml_node TO gw_xml_node.
              CLEAR  gs_xml_node.
            ENDIF.
          ENDIF.
      ENDCASE.
    Get the next child
      x_node = x_node->get_first_child( ).
    Recurse
      WHILE NOT x_node IS INITIAL.
        PERFORM yf_get_data USING x_node.
        x_node = x_node->get_next( ).
      ENDWHILE.
    ENDFORM.                    "yf_get_data

  • Does SAP Provide any standard conversion program for Batch Managment activa

    Hi,
    An idea if SAP Provides any standard program to conversion of non batch managed material to batch managed material in a productive SAP Environment and close open documents,
    It would be great help if somebody can reply to these queries.
    Thanks in advance
    Regards
    Bijaya Pradhan

    Hi
    Use the same Driver program RIPROV00 which is used as Script driver program to fire the output from smartforms also
    Only thing is little bit you have to modify the program such that it triggers the smartform instead of Script.
    I think there is no smartform driver program for this IW21.
    see some standard SF driver program like RLE_DELNOTE and
    modify it and use it.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Help needed in consuming BTQueryAUI query in batch mode

    Hi Friends,
    I am trying to consume BTQueryAUI in a custom function module. I have a requirement where in when i receive a external ref nbr, i need to update the status of crm service request to completed. We have already built logic to store the external nbr info in AET field on Service request and enhance inbox search to take give the results accordingly. now when i try to consume the query service with standard query parameters in batch mode..its not working..
    REPORT  ZTEST_CSOCRM.
    DATA : ob_oref           TYPE REF TO zcl_im_z_badi_inbox_search,
      C_ITEM_1O                TYPE CRMT_AUI_MAP_ITEM_TYPE VALUE 'ONEORDER',
       l_param1o_tab   TYPE crmt_name_value_pair_tab,
       is_name         type standard table of CRMT_NAME_VALUE_PAIR,
       wa_name         like line of is_name,
          l_sort_1o_tab   TYPE crmtt_aui_sorting,
           lv_result_1o  TYPE REF TO cl_crm_bol_entity_col.
    data QUERY_1O type ref to CL_CRM_BOL_QUERY_SERVICE.
    CONSTANTS:
      abap_true      TYPE abap_bool VALUE 'X',
      abap_false     TYPE abap_bool VALUE ' '.
    data: c_BTQueryAUI          TYPE crmt_ext_obj_name
                                        VALUE 'BTQueryAUI',
           c_query1o              TYPE crmt_ext_obj_name VALUE  'BTQueryAUI',
          ob_query                    TYPE REF TO
                                        cl_crm_bol_query_service,
    ob_result                   TYPE REF TO if_bol_bo_col,
    ob_core                     TYPE REF TO cl_crm_bol_core,
             lr_aui_dq        TYPE REF TO cl_crm_aui_advquery_service,
             lr_aui           type ref to cl_crm_aui_query_service.
    wa_name-name = 'ASSIGNEDTYPE'.
    wa_name-value = '0000'.
    append wa_name to is_name.
    wa_name-name = 'DATETYPE'.
    wa_name-value = '0001'.
    append wa_name to is_name.
    wa_name-name = 'MAINCATEGORY'.
    wa_name-value = 'ZBGW'.
    append wa_name to is_name.
    wa_name-name = 'SORTEDBY'.
    wa_name-value = '0000'.
    append wa_name to is_name.
    wa_name-name = 'SORTEDBY2'.
    wa_name-value = '0000'.
    append wa_name to is_name.
    wa_name-name = 'TIMEPERIOD'.
    wa_name-value = '0000'.
    append wa_name to is_name.
    wa_name-name = 'ZZFLD000006'.
    wa_name-value = '0000012345'.
    append wa_name to is_name.
    wa_name-name = 'DESCRIPTON'.
    wa_name-value = '*test*'.
    append wa_name to is_name.
    l_param1o_tab = IS_NAME.
    ob_core = cl_crm_bol_core=>get_instance( ).
            ob_core->start_up( 'ALL' ).
    TRY.
          query_1o  = cl_crm_bol_query_service=>get_instance( c_query1o ).
        CATCH: cx_crm_unsupported_object.
      ENDTRY.
    query_1o->set_query_parameters( EXPORTING it_parameters = l_param1o_tab
                                                  iv_convert    = abap_false  ).
    lv_result_1o ?= query_1o->get_query_result( ).
            ob_query = cl_crm_bol_query_service=>get_instance( c_BTQueryAUI ).
      ob_query->set_query_parameters( EXPORTING it_parameters = l_param1o_tab
                                                  iv_convert    = abap_false  ).
      lv_result_1o ?= ob_query->get_query_result( ).

    Tried obtaining the output using SQL and the result is as follows:
    SQL> WITH T AS
      2  (
      3  SELECT 1 COL1 FROM DUAL
      4  UNION
      5  SELECT 2 COL1 FROM DUAL
      6  UNION
      7  SELECT 3 COL1 FROM DUAL
      8  UNION
      9  SELECT 4 COL1 FROM DUAL
    10  UNION
    11  SELECT 5 COL1 FROM DUAL
    12  UNION
    13  SELECT 8 COL1 FROM DUAL
    14  UNION
    15  SELECT 9 COL1 FROM DUAL
    16  UNION
    17  SELECT 10 COL1 FROM DUAL
    18  UNION
    19  SELECT 13 COL1 FROM DUAL
    20  UNION
    21  SELECT 14 COL1 FROM DUAL
    22  UNION
    23  SELECT 15 COL1 FROM DUAL
    24  UNION
    25  SELECT 16 COL1 FROM DUAL
    26  UNION
    27  SELECT 23 COL1 FROM DUAL
    28  UNION
    29  SELECT 24 COL1 FROM DUAL
    30  )
    31  SELECT OUTPUT FROM
    32  (
    33  SELECT DECODE(COL3,NULL,COL1, COL2)  || '-' || LEAD(DECODE(COL3,NULL,COL3, COL1)) OVER (ORDER BY DECODE(COL3,NULL,COL1, COL2)) OUTPUT  FROM
    34  (
    35  SELECT COL1, LEAD(COL1) OVER (ORDER BY COL1) COL2, LAG(COL1) OVER (ORDER BY COL1) COL3 FROM T
    36  )
    37  WHERE
    38  (COL2 - COL1 > 1 OR COL2 IS NULL OR COL3 IS NULL)
    39  )
    40  WHERE OUTPUT != '-';
    OUTPUT                                                                         
    1-5                                                                            
    8-10                                                                           
    13-16                                                                          
    23-24

  • How to Upload a file in a Batch Mode ?

    Hi, I want to upload a Comma separated value File via RFC to a BW system.
    The scenario is the following: From a Portal server i call the BAPI using JC0/JCA.
    The problem is that GUI_UPLOAD does not support a BATCH job. At least i get a error when calling the BAPI: Exception condition "NO_BATCH" raised. 
    How do i upload a file in a Batch Mode ?
    Thanks,
    Kai

    Hi Kai,
    Sorry for the delay. The delay was in trying to get to talk to the Basis team.
    Here is how we have it.
    On the message server of every instance, there will be a SAP admin id that is '<SID>ADM' or 'SAPSERVER<SID>' where SID is the system ID. We use the '<SID>ADM' user id.
    On the external NT fileserver, there has to be a user id created on the NT box with the same SAP admin id and this id on the NT box should have access rights do Read/Write.
    All of these have to be in the same domain (or different domains that have trust access to each other).
    So, there is basis,network and security groups involved.
    Once these are in place, we can have file access to the external fileserver box.
    We use logical filenames at our place (Transaction FILE).
    This makes all the file transfer locations well organized and manageable.
    Hope that answers your question regarding this.
    Regards,
    -Ramesh

  • Getting a COM error when calling MenuItemExecute in batch mode

    I support an internal document management system for our corporate contracts. Among other applications, I have one that runs nightly in batch mode to store new invoices and connect them via bookmarks to their corresponding “parent” contract files. The original program was created in 2005 with Acrobat 7 (later updated to Acrobat 8) and it worked well for several years. However, a few months ago I upgraded the system to Acrobat 9 and since then the program has not run consistently.
    The “program” actually consists of a VB application and two plug-ins. The VB application does as much work as it can with IAC and the JSO bridge, but because the files are (owner) password protected one plug-in automatically applies the necessary password using AVDocDidOpen when the VB application opens the AVDoc. The VB application then also calls the other plug-in using MenuItemExecute. The second plug-in is used to create the bookmarks between the two files by grabbing info off bookmark strings and creating the necessary actions. It also applies the password to the files.
    Here is brief outline form is how this is all structured:
    pdDocParent.Open
             pdDocInvoice.Open
                     avDocParent.Open (This triggers the first plug-in to apply the password)
                             Create bookmark strings in both files using JSO bridge
                                    MenuItemExecute (To create the bookmark action in the parent)
                                    pdDocParent.Save
                            avDocParent.Close
                            avDocInvoice.Open (This triggers the first plug-in to apply the password)
                                    MenuItemExecute (To create the bookmark action in the invoice)
                                    pdDocInvoice.Save
                            avDocInvoice.Close
                    pdDocInvoice.Close
            pdDocParent.Close
    Since the upgrade, I’m getting a COM error [The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))] on a non-consistent basis when the application tries to call MenuItemExecute. When I say “non-consistent” I mean that some days the program will process several hundred files just fine. Other days it won’t process any. Then some days it will not process the first, oh, four files but will process the next 300. Usually it runs fine when started interactively, but even then the error sometimes occurs.
    I recompiled both plug-ins and the VB app using the Acrobat 9 SDK (headers for the plug-in and the Acrobat type library for the VB app) but that didn’t make any difference. I added code to check if the MenuItem is available and it is in all cases.
    After reviewing this more, I got to thinking that perhaps a race condition was the culprit—that a string hadn’t been completely written before the second plug-in tried to create an action for it. So I added some half-second pauses along the way, but that doesn’t seem to have helped, either.
    At this point the only thing I can think of is to rewrite the application as a pure plug-in. But it’s a long and involved application and if I can get the current app to work I’d prefer to do that. I tested it with Acrobat 10.1 and encountered similar problems.
    As I said, it’s been working fine up until Acrobat 9. Does anyone know of anything that might have changed with Acrobat 9 that I haven’t considered? Is there anything else I might check? Thanks.

    Leonard,
    I'd be interested in hearing why you think that because others at Adobe have told me it's OK. Acrobat is only being called by one user at a time and we've paid for a full license.
    Thanks,
    Dick

  • Bridge CC Tools - Photoshop - Batch does not work in Photoshop CC 2014.

    in Bridge CC Tools - Photoshop - Batch does not work in Photoshop CC 2014. At first I didn't even see the option but I reinstalled Photoshop CC and now I see the menu option but when I try it there is a message that I need to use Photoshop CC. So I open Photoshop CC and the same thing happens? I can't seem to make it work.

    Kitty,
    Your screen shot is in the virus scanning queue, where it can linger for minutes, hours, days or weeks.
    If you use the camera icon in the reply editor's formatting bar, you can embed your image in your post, where it will be viewable instantly.
    then:
    As for your issue, make sure all applicable scripts are checked in Bridge preferences:

Maybe you are looking for

  • MM-PURCHASE & INVENTORY

    <Moderator Message: Please search the forums and/or the online help for this type of information. You will find a lot of stuff related to this. Come back with specific questions.> Hi frnds, Can anybody send me MM-Purchase and MM-Inventory dataflows.

  • Music player control buttons not working in locked screen as well as not from the bottom control panel

    Music control like Play, Pause, Fwd etc not working from the bottom swipe up control screen, also not while the phone is locked. Please suggest

  • HELP! New Itunes version doesnt open

    Hello, I am operating windows 8.1 and have recently installed itunes 11.1.4.62. And now everytime I try to open itunes I get the following message: "The procedure entry point ?videoTracks@QTMovie@@QBE?AV?$Vector@V?$RefPtr@VQTT rack@@@***@@$0A@VCrashO

  • Safari PDF disable option?

    I'm using a fairly old mac (G4 466Mhz) and it takes waaaay too long to have pdf's open in the browser. Is there a way to disable this pdf viewing in Safari? I know about option clicking files to start downloading them instead, but you don't always ha

  • Mot de passe / password

    Bonjour, lorsque j'essai de me connecter à mon compte formscentral, voici le message qui apparait : Pour protéger la sécurité et l'intégrité de votre compte, nous avons réinitialisé votre mot de passe. Veuillez chercher dans votre boîte de réception