Ampersand ('&')  dumps XI Mapping. JDBC to BIW

Hi.
I send data from a JDBC Connection to XI and map it there to BIW. In Mapping I run on a ParserException: Invalid char #0x16. Reason for the Exception is an ampersand is in the XML File.
Reading Data via JDBC, it would be a lot of effort to replace all possible read ampersands in every single item of all XML Files. Is there a better and more elegant way to catch this Exception or replace the ampersands or make ampersand a valid character? 
Best regards.
Jens

Hi ,
Like suggested by moorthy, one option would be to have a Java mapping,in which  you will do a search and replace over the InputStream and construct the IutputStream.
Now, pass this output stream as the inout to your Graphical Mapping and you will be able to overcome this particular error.
So, basically your Interface Mapping will have have 2 mapping progrms. One, Java for search and replace and the other the grahical that wil take the putput of the java mapping as its input.
Regards,
Bhavesh

Similar Messages

  • Mapping JDBC lookup: Passing values to multiple fields at target

    Hi all
    i my scenario  i am using mapping JDBC lookup ,and it is working sucessfully.
    but i need to select 4 fields from lookups select query and passing it to 3 different target field at target MT.
    if i use Global container object methods,than only 1 field i can store inglobal container variable..
    and return it 1 the target fields...
    BUT how do i pass 4 fields ,result of the select query to 4 different fields at target MT..
    query :"
    Select BPNO,emp,BENR,bacepack from Ztable where BPNO='"+BPNO[0]+"'";
    Regards
    AjayP

    Hi,
    I have to fetch 3 values and populate it to the 3 fields in the target. The UDF am using is as attached. This UDF is for fetching one value. Kindly tell me about the changes I will have to make to fetch 3 values instead of 1 value.
    String Query = " ";
    Channel channel = null;
    DataBaseAccessor accessor = null;               
    DataBaseResult resultSet = null;                
    // Query to retrieve the PROP value for the particular source value passed.
    Query ="Select PROP from TANKS where ID='" + ID[0] + "' ";
    try{
    //Determine a channel, as created in the Configuration
    channel = LookupService.getChannel("<Business Service>","<Communication Channel>");
    //Get a system accessor for the channel. As the call is being made to an DB, an DatabaseAccessor is obtained.
    accessor = LookupService.getDataBaseAccessor(channel);
    //Execute Query and get the values in resultset
    resultSet = accessor.execute(Query);
    for(Iterator rows = resultSet.getRows();rows.hasNext();){
    Map rowMap = (Map)rows.next();                      
    result.addValue((String)rowMap.get("PROP"));       
    catch(Exception ex){
    result.addValue(ex.getMessage());
    finally{
    try{
    if (accessor!=null) accessor.close();
    catch(Exception e){
    result.addValue(e.getMessage());

  • Getting Dump while Mapping data source.

    Hi Expert,
    Am getting below DUMP while trying to map data source in SEGW transaction.
    Could you please suggest what could be possible cause for this?
    Category               ABAP Programming Error
    Runtime Errors         SYNTAX_ERROR
    ABAP Program           CL_SADL_GW_UI_ALV_SADL_MAPPINGCP
    Application Component  BC-ESI-ESF-GW
    Date and Time          28.07.2014 18:30:59
    Short Text
         Syntax error in program "CL_SADL_GW_UI_ALV_SADL_MAPPINGCP        ".
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "CL_SADL_GW_UI_PLUG============CP" had to be
          terminated because it has
         come across a statement that unfortunately cannot be executed.
         In include "CL_SADL_GW_UI_ALV_SADL_MAPPINGCM005     ", in line 14 of program
          "CL_SADL_GW_UI_ALV_SADL_MAPPINGCP        ", the following syntax errors
         have occurred:
    Thanks & Regards,
    Girdhari

    Thanks Jasmin for the reply.
    Yes.. Am following the E2E guide.
    I tried by opening another external window by executing ok-code osegw but still getting same dump.
    Below is the complete dump info.
    Category               ABAP Programming Error
    Runtime Errors         SYNTAX_ERROR
    ABAP Program           CL_SADL_GW_UI_ALV_SADL_MAPPINGCP
    Application Component  BC-ESI-ESF-GW
    Date and Time          29.07.2014 15:44:03
    |Short Text                                                                                        |
    |    Syntax error in program "CL_SADL_GW_UI_ALV_SADL_MAPPINGCP        ".                           |
    |What happened?                                                                                    |
    |    Error in the ABAP Application Program                                                         |
    |                                                                                                  |
    |    The current ABAP program "CL_SADL_GW_UI_PLUG============CP" had to be                         |
    |     terminated because it has                                                                    |
    |    come across a statement that unfortunately cannot be executed.                                |
    |    In include "CL_SADL_GW_UI_ALV_SADL_MAPPINGCM005     ", in line 14 of program                  |
    |     "CL_SADL_GW_UI_ALV_SADL_MAPPINGCP        ", the following syntax errors                      |
    |    have occurred:                                                                                |
    |    "CS_TABLE_LAYOUT" is not type-compatible with formal parameter "CS_TAB                        |
    |    LE_LAYOUT".                                                                                   |
    |                                                                                                  |
    |                                                                                                  |
    |                                                                                                  |
    |    Author and last person to change the include are:                                             |
    |    Author         SAP                                                                            |
    |    Last changed by "SAP         "                                                                |
    |Error analysis                                                                                    |
    |    The following syntax error has occurred in program                                            |
    |     CL_SADL_GW_UI_ALV_SADL_MAPPINGCP        :                                                    |
    |    "CS_TABLE_LAYOUT" is not type-compatible with formal parameter "CS_TAB                        |
    |    LE_LAYOUT".                                                                                   |
    |                                                                                                  |
    |    " "                                                                                           |
    |Trigger Location of Runtime Error                                                                 |
    |    Program                                 CL_SADL_GW_UI_PLUG============CP                      |
    |    Include                                 CL_SADL_GW_UI_PLUG============CM002                   |
    |    Row                                     11                                                    |
    |    Module Type                             (METHOD)                                              |
    |    Module Name                             /IWBEP/IF_SBUI_PLUGIN~CREATE_VIEW                     |
    |Source Code Extract                                                                               |
    |Line |SourceCde                                                                                   |
    |    1|  METHOD /iwbep/if_sbui_plugin~create_view.                                                 |
    |    2|    CASE iv_name.                                                                           |
    |    3|      WHEN if_sadl_gw_ui_c=>gc_dialog-mapping_container. " custom container for the ALV Grid|
    |    4|        CREATE OBJECT ro_view TYPE cl_sadl_gw_ui_map_ds_sadl_c                              |
    |    5|          EXPORTING                                                                         |
    |    6|            io_controller = io_controller                                                   |
    |    7|            iv_plugin     = if_sadl_gw_ui_c=>gc_ui_plugin                                   |
    |    8|            iv_name       = iv_name.                                                        |
    |    9|                                                                                            |
    |   10|      WHEN if_sadl_gw_ui_c=>gc_dialog-entity_set_prop_map_alv_grid. " ALV GRID mapping table|
    |>>>>>|        CREATE OBJECT ro_view TYPE cl_sadl_gw_ui_alv_sadl_mapping                           |
    |   12|          EXPORTING                                                                         |
    |   13|            io_controller = io_controller                                                   |
    |   14|            iv_plugin     = if_sadl_gw_ui_c=>gc_ui_plugin                                   |
    |   15|            iv_name       = iv_name.                                                        |
    |   16|                                                                                            |
    |   17|      WHEN if_sadl_gw_ui_c=>gc_dialog-entity_set_assoc_map_alv_grid. " ALV GRID mapping tabl|
    |   18|        CREATE OBJECT ro_view TYPE cl_sadl_gw_ui_alv_map_assoc                              |
    |   19|          EXPORTING                                                                         |
    |   20|            io_controller = io_controller                                                   |
    |   21|            iv_plugin     = if_sadl_gw_ui_c=>gc_ui_plugin                                   |
    |   22|            iv_name       = iv_name.                                                        |
    |   23|                                                                                            |
    |   24|      WHEN if_sadl_gw_ui_c=>gc_dialog-data_source_tree. " SADL entity ALV tree              |
    |   25|        CREATE OBJECT ro_view TYPE cl_sadl_gw_ui_tree_ds_sadl_c                             |
    |   26|          EXPORTING                                                                         |
    |   27|            io_controller = io_controller                                                   |
    |   28|            iv_plugin     = if_sadl_gw_ui_c=>gc_ui_plugin                                   |
    |   29|            iv_name       = iv_name.                                                        |
    |   30|    ENDCASE.                                                                                |
    |Active Calls/Events                                                                               |
    |No.   Ty.          Program                             Include                             Line   |
    |      Name                                                                                        |
    |   23 METHOD       CL_SADL_GW_UI_PLUG============CP    CL_SADL_GW_UI_PLUG============CM002    11  |
    |      CL_SADL_GW_UI_PLUG=>/IWBEP/IF_SBUI_PLUGIN~CREATE_VIEW                                       |
    |   22 METHOD       /IWBEP/CL_SBUI_SETUP==========CP    /IWBEP/CL_SBUI_SETUP==========CM00E     7  |
    |      /IWBEP/CL_SBUI_SETUP=>/IWBEP/IF_SBUI_SETUP_FACTORY~CREATE_COMPONENT_VIEW                    |
    |   21 METHOD       /IWBEP/CL_SBUI_VIEW_COMPOSITE=CP    /IWBEP/CL_SBUI_VIEW_COMPOSITE=CM004     6  |
    |      /IWBEP/CL_SBUI_VIEW_COMPOSITE=>CREATE_COMPONENT_VIEW                                        |
    |   20 METHOD       CL_SADL_GW_UI_MAP_DS_SADL_C===CP    CL_SADL_GW_UI_MAP_DS_SADL_C===CM00B     2  |
    |      CL_SADL_GW_UI_MAP_DS_SADL_C=>_ADD_COMPONENT_VIEW                                            |
    |   19 METHOD       CL_SADL_GW_UI_MAP_DS_SADL_C===CP    CL_SADL_GW_UI_MAP_DS_SADL_C===CM008    11  |
    |      CL_SADL_GW_UI_MAP_DS_SADL_C=>DO_SETUP_INSTANCE                                              |
    |   18 METHOD       /IWBEP/CL_SBUI_VIEW===========CP    /IWBEP/CL_SBUI_VIEW===========CM003    58  |
    |      /IWBEP/CL_SBUI_VIEW=>/IWBEP/IF_SBUI_COMMAND_HANDLER~EXECUTE_COMMAND                         |
    |   17 METHOD       /IWBEP/CL_SBUI_SETUP==========CP    /IWBEP/CL_SBUI_SETUP==========CM00E    12  |
    |      /IWBEP/CL_SBUI_SETUP=>/IWBEP/IF_SBUI_SETUP_FACTORY~CREATE_COMPONENT_VIEW                    |
    |   16 METHOD       /IWBEP/CL_SBUI_SETUP==========CP    /IWBEP/CL_SBUI_SETUP==========CM00I    17  |
    |      /IWBEP/CL_SBUI_SETUP=>CREATE_FRAMESET_EDITOR                                                |
    |   15 METHOD       /IWBEP/CL_SBUI_SETUP==========CP    /IWBEP/CL_SBUI_SETUP==========CM00G    59  |
    |      /IWBEP/CL_SBUI_SETUP=>/IWBEP/IF_SBUI_SETUP_FACTORY~CREATE_ELEMENT_EDITOR                    |
    |   14 METHOD       /IWBEP/CL_SBUI_CONTROLLER=====CP    /IWBEP/CL_SBUI_CONTROLLER=====CM015    22  |
    |      /IWBEP/CL_SBUI_CONTROLLER=>GET_ASSIGNED_EDIT_TOOL                                           |
    |   13 METHOD       /IWBEP/CL_SBUI_CONTROLLER=====CP    /IWBEP/CL_SBUI_CONTROLLER=====CM00A    33  |
    |      /IWBEP/CL_SBUI_CONTROLLER=>/IWBEP/IF_SBUI_CONTROLLER~ON_NAVIGATION_REQUESTED                |
    |   12 METHOD       /IWBEP/CL_SBUI_DP_CMD_CREA_MA=CP    /IWBEP/CL_SBUI_DP_CMD_CREA_MA=CM001    53  |
    |      /IWBEP/CL_SBUI_DP_CMD_CREA_MA=>DO_EXECUTE_COMMAND                                           |
    |   11 METHOD       /IWBEP/CL_SBUI_COMMAND========CP    /IWBEP/CL_SBUI_COMMAND========CM002     4  |
    |      /IWBEP/CL_SBUI_COMMAND=>/IWBEP/IF_SBUI_COMMAND_HANDLER~EXECUTE_COMMAND                      |
    |   10 METHOD       /IWBEP/CL_SBUI_CONTROLLER=====CP    /IWBEP/CL_SBUI_CONTROLLER=====CM00E     9  |
    |      /IWBEP/CL_SBUI_CONTROLLER=>HANDLE_COMMAND_OF_PLUGIN                                         |
    |    9 METHOD       /IWBEP/CL_SBUI_CONTROLLER=====CP    /IWBEP/CL_SBUI_CONTROLLER=====CM00Y    97  |
    |      /IWBEP/CL_SBUI_CONTROLLER=>HANDLE_COMMAND                                                   |
    |    8 METHOD       /IWBEP/CL_SBUI_CONTROLLER=====CP    /IWBEP/CL_SBUI_CONTROLLER=====CM00C   138  |
    |      /IWBEP/CL_SBUI_CONTROLLER=>/IWBEP/IF_SBUI_CONTROLLER~ON_COMMAND_REQUESTED                   |
    |    7 METHOD       /IWBEP/CL_SBUI_SCREEN=========CP    /IWBEP/CL_SBUI_SCREEN=========CM001    18  |
    |      /IWBEP/CL_SBUI_SCREEN=>ON_PAI_COMMAND                                                       |
    |    6 MODULE (PAI) /IWBEP/SAPLFG_SBUI_SB_MAIN          /IWBEP/LFG_SBUI_SB_MAINI01             14  |
    |      PAI_0100_COMMAND                                                                            |
    |    5 METHOD       /IWBEP/SAPLFG_SBUI_SB_MAIN          /IWBEP/LFG_SBUI_SB_MAINCI1             34  |
    |      LCL_SCREEN_0100=>DO_CALL_SCREEN                                                             |
    |    4 METHOD       /IWBEP/CL_SBUI_SCREEN=========CP    /IWBEP/CL_SBUI_SCREEN=========CM003    17  |
    |      /IWBEP/CL_SBUI_SCREEN=>START_SCREEN                                                         |
    |    3 METHOD       /IWBEP/CL_SBUI_CONTROLLER=====CP    /IWBEP/CL_SBUI_CONTROLLER=====CM00U    50  |
    |      /IWBEP/CL_SBUI_CONTROLLER=>START_SCREEN                                                     |
    |    2 METHOD       /IWBEP/CL_SBUI_CONTROLLER=====CP    /IWBEP/CL_SBUI_CONTROLLER=====CM004    33  |
    |      /IWBEP/CL_SBUI_CONTROLLER=>/IWBEP/IF_SBUI_SERVICE_BUILDER~START                             |
    |    1 EVENT        /IWBEP/R_SBUI_SERVICE_BUILDER       /IWBEP/R_SBUI_SERVICE_BUILDER          19  |
    |      START-OF-SELECTION                                                                          |
    Thanks,
    Girdhari

  • Message Mapping - JDBC to IDoc

    Hi,
    I trying to map the resultset from a JDBC adapter (sender) to Inbound IDoc into SAP. I have problems with message mapping and after reading through a number of threads, I followed the following steps:
    1. Download the IDoc definition as XSD.
    2. Change occurrence of node IDOC to 1..unbounded.
    3. Upload changed XSD as external definition and
    4. use the external definition in the mapping.
    After importing the external XSD definition the IDOC node turned red. How do I map this node, now that it is  unbounded?
    Example from Message mapping:
    MT_ETA_RMX................ZSDETA01
    ..EtaNode........................IDOC     (unbounded =  RED)
    ....CARID.................................BEGIN
    ...............................................EDI_DC40
    ...............................................Z1RETA
    .................................................SEGMENT
    .................................................CARID
    Thanks,
    Henk

    Hendrik,
    whichever data record is occuring multiple on your sender JDBC message should be mapped to IDoc segment. It really depends on your JDBC message structure.
    If EtaNode is occuring multiple times, and if based on EtaNode an IDoc has to be created, map that to IDOC and if per every CARID one idoc needs to be created, then use CreateIf and exists node functions to IDoc.
    regards
    SKM

  • Multi-Mapping - JDBC receiver -  Multiple stored procedure - How to sequence?

    Hi Folks,
    We have 7.1 .Done multi-mapping , single source mapped to 5 different stored procedures.
    The challenge we are facing here is , these stored procedure is not working sequentially .
    i.,e  for e.g., 2nd Stored Procedure should start only when first Stores procedure completely finished its turn.
    But third procedure getting completed before1 st stored procedure completes .
    Highly appreciate if any views on this ? How to sequence and make sure second will start only when first SP complete  ?
    -- Shiva

    Hi ,
    Thanks for your reply. all stored procedures are asynchronous one.
    If we go for ccBPM , do we need to put wait step ?
    - Here we dont know how much time each procedure takes to complete. Requirement is another procedure has to start only when the previous one completes.
    --Shiva

  • Ampersand ('&')  in  XML - Mapping error

    My Scenario is File to File. XI ( we are PI7.0) receives XML File and I'm splitting ( transorming ) into multiple files in Mapping. Scenario is failing because data contains '&' ( for example K&K Company ). Even XMLFox or XMLSpy gives error saying & is illegal character. Do I have to use encoding 8859-1 instead of utf-8 ? Does that solves my problem ?. Or Do I have to setup or change JDK ?
    Can someone help me what I have to do to fix this error?

    Stephan,
    actually this input message consists of multiple files wrapped with XML tags genearated around each record. XI splits these file into multiple single files.
    To Be exact it will be like this
    <Files>
    <File1>
      <File1Rec>K&K Company</File1Rec1>
      <File1Rec>abcd&abcd</File1Rec>
    </File1>
    <File2>
       <File2Rec>itsnot fair</File2Rec>
    </File2>
    <File3>
      <File3Rec>its fair</File3Rec>
    </File3>
    <File4>
    </File4>
    All 4 files above are 0...unbounded
    We are doing this since we donot want to deliver one before the other as they will processed together in dest system as they are related to each other. This is the reason I'm not doing content conversion on the Inbound side as this message comes with XML tags wrapped around.
    XI uses BPM to split into 4 files.
    Content conversion on the outbound side and finally each file will be in csv format.
    In Short they donot want to do convert & to "& amp ;" simply because they dont know what xml is.
    So I need to figure out within XI itself to tackle this issue. Thx
    </Files>

  • Mapping JDBC and SQL types

    Hi, I've got the following problem - I write program that communicates with PostgreSQL-Server. Everything is ok, but the database has been designed not in the best way and there's no way to change it now. Furthermore they have stored procedures that contain specific data types. And I've got the problems with these stored procedures. Look the procedure has a header:
    send2db(macaddr, int8, float4, timestamp)
    The problem is that I haven't found any compatible JDBC-type for macaddr. And it's not the worst - I don't know how to send arrays. I know that server accepts all these types simply like Strings in the form (for example for _timestamp):
    '{"2005-4-15 15:3:4","2005-4-15 15:3:8","2005-4-15 15:3:28"}'
    But if I send these Stings, I get the error from the server.
    For Java I have the following code:
      CallableStatement cstmn = db.prepareCall("{?=call send2db(?,?,?,?)}");
          cstmn.registerOutParameter(1, Types.INTEGER);
          cstmn.setString(2,macaddr);
          cstmn.setInt(3,verytemp);
          cstmn.setString(4,tvalues_array);
          cstmn.setString(5,date_array);
          cstmn.execute();
          result = cstmn.getInt(1);

    Since java extracts away the platform dependence it is less important what platform you work on.
    In theory an application (web or not) should work with out modification on a solaris machine a windows pc or even a mac. That is not to say that you would want to run your web server off a mac g4 though. Use the best machine for the job. It is not the machine but all the software that goes with it that matters more.
    The database is also much less of a problem because you interact with it through JDBC rather then directly. Hence, in theory (again), you should be able to switch the database and not change any code. This means the choice of SQLServer over Oracle over MySQL is less of an issue again. Databases are not as well extracted as the machine and often you have to change code to switch database but if you understand this from the start even that will mean only minor changes.

  • Message Mapping JDBC Doubt

    Hello everybody,
    I hve a doubt abot this SQL_Query can be possible
    - <CCONTABLE action="SQL_QUERY">
      <TABLE>CCONTABLE</TABLE>
      <access>SELECT C.CUENTA_CONTABLE,C.INDICADOR_IVA,C.CVE_POSFINAN,C.APLICA_IVA FROM CCONTABLE C WHERE '0000107536' BETWEEN C.CLIENTE_INI AND C.CLIENTE_FIN AND c.CLAVE_CARGOCRED = '$CLAVE_CARGOCRED$' AND nvl('32011',4043) BETWEEN C.PRODUCTO_INI AND C.PRODUCTO_FIN AND C.IVA = '$IVA$AND '05-NOV-2008' BETWEEN C.FINIV AND C.FFINV</access>
    - <key1>
      <CLAVE_CARGOCRED>990</CLAVE_CARGOCRED>
      <IVA>15.00</IVA>
      </key1>
    - <key1>
      <CLAVE_CARGOCRED>701</CLAVE_CARGOCRED>
      <IVA>15.00</IVA>
      </key1>
    - <key1>
      <CLAVE_CARGOCRED>600</CLAVE_CARGOCRED>
      <IVA>15.00</IVA>
      </key1>
    - <key1>
      <CLAVE_CARGOCRED>704</CLAVE_CARGOCRED>
      <IVA>15.00</IVA>
      </key1>
    - <key1>
      <CLAVE_CARGOCRED>712</CLAVE_CARGOCRED>
      <IVA>15.00</IVA>
      </key1>
    - <key1>
      <CLAVE_CARGOCRED>890</CLAVE_CARGOCRED>
      <IVA>15.00</IVA>
      </key1>
      </CCONTABLE>
    as you can see I need many keys, now is this possible?, thanks in advance for your suggestions.
    Regards,
    Julio Cesar

    >   <access>SELECT C.CUENTA_CONTABLE,C.INDICADOR_IVA,C.CVE_POSFINAN,C.APLICA_IVA FROM CCONTABLE C WHERE '0000107536' BETWEEN C.CLIENTE_INI AND C.CLIENTE_FIN AND c.CLAVE_CARGOCRED = '$CLAVE_CARGOCRED$' AND nvl('32011',4043) BETWEEN C.PRODUCTO_INI AND C.PRODUCTO_FIN AND C.IVA = '$IVA$ AND '05-NOV-2008' BETWEEN C.FINIV AND C.FFINV</access>
    You keys are incorrect.. It should be
    <key>
            <CLAVE_CARGOCRED>Value</CLAVE_CARGOCRED>
            <IVA>05-AUG-2008</IVA>       
    </key>
    Give the space between '$IVA' and the AND in the query

  • Mapping JDBC: row to IDoc with two hierarchy

    Hi, well i am getting data from database in following structure:
    +-  of type "P" for ART.
    Can somebody help me?!
    br

    Hi Carsten,
    I 'll suggest you to not bring complex Application logic in XI better use Application logic on other side like once data reaches to R3 use a RFC/BAPI where you can easily handle such type of issues as you can harness ABAP knowledge in a better fashion.. and more over it will be easy to maintain also..
    Regards,

  • Encoding Technique converting in XSLT Mapping.

    Hi,
    I have a scenarion File->XI->File. the incoming file has the encoding technique UTF-8. i have to convert it to ISO-8859-1. i'm using an XSLT mapping to do that after which my java mapping gets executed. when i tested this mapping with the source file in the Design, it works fine, but when i execute the whole scenario end to end,it is throwing some exception with Unsupported Charecter. the code of the XSLT looks as given under:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <xsl:output encoding="ISO-8859-1"/>
         <xsl:template match="/">
              <xsl:copy-of select="*"/>
         </xsl:template>
    </xsl:stylesheet>
    Can any one tell me how to resolve this.
    Any help wud b gr8ly appreciated.
    Thnx in Advance
    Anil

    HI Anil,
    Check these links, it might help you.
    Ampersand ('&')  dumps XI Mapping. JDBC to BIW
    /people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    /people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
    Best regards
    Mahesh.M

  • Proxy to JDBC- Array mapping

    Hi,
    In my scenario Proxy to JDBC - synchronous call.
    In the receiver side using JDBC adapter a stored procedure is invoked and that returns some values say... IndentNumber,EmployeeNumber and ResumeNumbers (Which is array type.), Status(which is again array) -- ResumeNumbers may have multiple resume numbers and status has status flag corresponding to each resume.
    How do I go about this in XI mapping.
    Please guide me on this.
    Regards,
    chem
    Edited by: Chemmanz on Mar 15, 2008 3:39 PM

    Hi,
    For this you need to make the occurance of the proxy structure as 1...unbounded.
    If the fields have to mapped then make the Unbouded occurance and map it as it is.
    OR for mulitple records....
    For e.g.
    Your JDBC side structure will be as
    <root>
    <StatementName5>
    <storedProcedureName action=” EXECUTE”>
        <table>realStoredProcedureeName</table>
    <param1 [isInput=”true”] [isOutput=true] type=SQLDatatype>IndentNumber</param1>
    </storedProcedureName > 
      </StatementName5>
    </root>
    Here make the occurance of IndentNumber as Unbounded so you will get whole array.
    Now On Proxy side make the related structure and try to map the any one internal field i.e. array to root node
    i.e. if proxy structure is
    <root>
    <IndentNumber></IndentNumber>
    </root>
    Then map JDBC response field IndentNumber -
    > Root
    This will create the multiple records for proxy.
    Then all fields map as one to one mapping
    IndentNumber (JDBC)->splitByValue>IndentNumber (Proxy)
    Thnaks
    Swarup

  • How to use JDBC Lookup in PI 7.1 ?

    Hi,
    Please advise how to use JDBC lookup in message mapping PI 7.1 ? any reference link / document  ?
    I have followed this step below :
    1. Create the external definition for the database table.
    2. Use the external definition (table) in message mapping JDBC Lookup.
    But the target still "Yellow colour" meanint the mapping hasnot completed yet ? why ? and when i double click the JDBC lookup
    there some error message
    "No suitable parameter found; define new parameter of type 'Channel' first"
    Please advise.
    Thank You and Best Regards
    Fernand

    Hi Fernand,
    JDBC Lookup can be done in PI 7.1 using below mentioned steps :
    1) Create a communication channel between PI and the database to connect to database.
    2) Import the table data as External Definition.
    3) In message mapping where this lookup is to be used select JDBC Lookup under Conversions and map
    4) Double Click on JDBC Lookup
    5) Select parameter and a database table (imported as the external definition). All the elements of the table will appear in the middle column. Select and move the input parameters to the left side column and the output parameters to the right side column. Click OK. 
    6) Under message mapping go to signature tab and define the parameter as channel and category as JDBC Adapter Type. 
    7) Under Operation mapping define the parameter & associate it with parameter defined in Message Mapping.
    Thanks
    Amit

  • Synch RFC--BPM --Sync JDBC

    Hi All,
    I am doing a schenario where in im using BPM.
    Synch RFC from XI box will trigger the interface, then i will make a synch call to sql server & synch call(RFC) to R/3.
    Can anyone please letme know the steps required in BPM.
    Do i need synch-async bridge?
    And also lemme know if i can map a ASyncronous Message Interface to a Syncronous Message Interface.
    Can i Map source as Synch RFC & target as synch sql & synch rfc R/3.If not how do i map
    Thanks
    Sumit
    Message was edited by: Sumit Khetawat

    Sumit,
    I just looked upo into one of my SYNCH AYNCH Scenarios and i have created my interfaces exactly like i mentioned in these steps,
    <i>1. RECEIVE step ==> Opens SYNCH ASYNCH bridge and receives RFC request message.
    ( This will have a synchronous message interface associated with it. A synch abs interface and will be used for the PROPERTY ~~Synchrnous Message in the BPM) We would also need an ABS ASYNCH Message Interface created for the Request Message and this should be used in the MESSAGE ( after creating CONTAINER element) for the same. )
    2. Transfrom step ==> Map RFC request message to JDBC request message. Mappinng between 2 abs Aynch Interfaces
    ( You will have container elements created for REq RFC as stated in the step 1 and another for JDBC request )
    3. SEND synchronous ==> to send JDBC request and get the JDBC response.
    ( You will use a SYNCH ABS against MESSGAE INTERFACE , and also, a separate ABS ASYCNH for request and response )
    4. TRANSFORM step==> Map JDBC response to RFC response . Mapping between ABS Interfaces
    ( same as step 2)
    5. SEND ==> Closes SYNCH ASYNCH bridge and Send's response back to the RFC.</i>
    Use the Container element created for the mapping in step 4.
    In case of Split mapping, again you will need ABS ASYNCH Message interfaces.
    Drop me a mail if you need screen shots.
    Regards,
    bhavesh
    All you mapping in the BPM is between Asynch Abs Interfaces.

  • Idoc to jdbc scenario of sap xi

    Hi All,
    i want step by step procedure for developing idoc 2 jdbc scenario. Anybody have this scenario, please send me that.
    Thanks & Regards,
    Nagarjuna.

    Hi
    Have a look at these threads
    /people/laxman.molugu/blog/2006/08/13/integration-with-databases-made-easy-150-part-1
    Re: Idoc triggering from a transaction
    Message Mapping - JDBC to IDoc
    Re: JDBC - System/Application Acknowledgement
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    Process Integration (PI) & SOA Middleware
    **Reward points if helpfull**

  • RFC- JDBC- Mail

    Hi
    I want to send something through RFC adapter to JDBC to update or insert some data and I want to have return code and send it through mail adapter.
    RFC sender interface should be Async, other interface can be sync or aync but as far as I know, in order to get return code from JDBC, the receiver JDBC interface should be sync, actually everything is ok so far, I could handle until this part but when I try to forward the return code from JDBC to Mail adapter, thats where I stuck, how can I handle this scenario with async mail interface?
    Thanks

    hi,
    >>>>I could handle until this part but when I try to forward the return code from JDBC to Mail adapter,
    you have to use BPM in order to do this
    all you have to do is to map jdbc sync response to the mail adapter (message interface) - so just another transformation step in your BPM and then
    you'll have your return code in your mail adapter message
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

Maybe you are looking for

  • What type of hang? and how to fix?

    Hi, I'm using a java based library application (Sirsi/Dynix Workflows) and i get the following Java SE Platform Not Responding pop-up error when doing a search. My question is, how can i tell what a 6144 hang type is? and how would i go about fixing

  • My iPod loads songs very slowly

    I had some trouble with the battery-life of my iPod, and I thought erasing the whole iPod would cure this, so I've resetted it. After doing this, my iPod, upon connecting it with my PC (Sony Vaio notebook - Windows XP SP2), started loading songs very

  • My Photos as Screen Saver will not 'save'

    When I select my own album or event to use as the screen saver for my new apple tv, it never seems to 'stick' or save. Everytime I come back into the room, or the next day it seems that the screensaver is reverting back to the built in 'animals' phot

  • How do you restrict new line in input field or delete last char. in as3?

    Sorry, Noobie here! I have a text input box. If the enter key is pressed, a new line begins; thus making the previous line invisible unless the backspace key is pressed. So, if i type "1" into the input box, then hit eneter the number "1" becomes inv

  • MB does not recognize keyboard(s)

    Hi, I'am the owner of a MS6529 (845 Pro2 ver 1). The MB starts up but dows not detect the keyboard so stops at any keyboard inputline.  ;( I tried several working keyboards so the keyboard itself is functioning properly.  :D I cleared the CMOS but ha