JDBC == IDOC sceanrio

HI Experts,
   Now i am doing sceanrio like JDBC ==> IDOC , here oracle side 1-unbound  and IDOC side 1-1
So how can i create each IDOC for each record at oracle side.
for example, if i have 5 records at oracle side, i need to create 5 IDOCs , so how can i do this mapping .
vasu

Hi,
Change the occurrence of IDOC to 1...unbounded and map each record from source  to IDOC node. Please refer the below links.
The specified item was not found.
Multi-Mapping without BPM for IDoc Scenarios- Yes, it’s possible!..!!!
Regards,
Priyanka

Similar Messages

  • JDBC -- Idoc scenario.

    Hello experts.
    I have next scenario JDBC --> Idoc.
    I have a sender JDBC adapter who reads information of BD table. This information is passed to Idoc, and update DB records, for next iteration don´t touch this records.
    JDBC adapter reads in 5000 sec interval, but how I can do that JDBC adapter only read when another condition?
    For example if read process is more large then 5000 secons, JDBC adapter reads the same information but my process until don´t update BD table, and this is a BIG problem , but two identicals Idocs are generated.
    Some one know how I can solve this problem?
    Thanks.

    Julian,
    When you make the option as serializable,the update query will update all records that satisfy the update query but it will ensure that no new data is entered in to the table between the execution of the select and update query.
    In your case as I guess you have given maxRecords in the select Queryt ( only 1500 ) records were selected , but as you aren ot using this same criteria in the update query all rows have been updated.
    Remember Serializable ensure that no new data is enetered into the table between the select and update query's execution. You should ensure that the update query only updates the data selected in the Select Query.
    A DB expert should be able to helo your forumuale the required querry.
    regards
    Bhavesh

  • JDBC - IDoc with acknowledgment

    Hello,
    I have the following requirement:
    Reading data via JDBC from a database (select query), creating an IDoc and send to SAP.
    If the IDoc was sent successfully there should be an acknowledgement written back to the database (there is a special coloumn for acknowledgements in the database,key is record ID).
    My question:
    - Is it absolutely necessary to use BPM for this scenario (I think yes, as I need to track the record ID to write back the acknowledgement?)
    - My idea was to use a send step for the IDoc with enabled acknowledgments (system or application ??). In case of positive acknowledgement I would update the database in the next step (How do you check the acknowledgment returned from the SAP system, do I need a separate asynchronous receive step to get the ALEAUDIT back?)
    Thank you very much for your advice on this!

    Is it absolutely necessary to use BPM for this scenario (I think yes, as I need to track the record ID to write back the acknowledgement?)
    i think the key of question is either transport ack or application ack?
    if you just need transport ack,actually,you do not have to use bpm!
    >My idea was to use a send step for the IDoc with enabled acknowledgments (system or application ??).
    apparently,you need it which is application ack,otherwise,whereis your purpose?
    >How do you check the acknowledgment returned from the SAP system, do I need a separate asynchronous receive step to get the ALEAUDIT back?)
    For the inbound IDoc adapter to be able to send an acknowledgment IDoc to the sender, a communication channel with the interface ALEAUD.ALEAUD01 must be maintained for the sender,that is your intergration process.

  • PI 7.4 - interface from ECC(idoc) JDBC, idoc not making it from sm58 '

    Hi Experts,
    I've got an interface  which works in our dev and 2 of our test systems but NOT the 3rd test system. It doesnt work in our live system either. (essentially its a split receiver determination - goes to both jdbc and a file).
    I've reintroduced the config from the dev system to the 3rd test system and overwritten its ico/scenario in the hope that it might work - it didnt make any difference as was getting the first error below in bold.
    I've checked all RFC connections, destinations, partner profiles and ports, all seem in order and mirror systems that work, bar the naming conventions.
    I've checked The FM version, its the same version as the system which works.
    In sm58 I was originally getting the error 'Commit fault: ASJ.ejb.005043 (Failed in component:sap.com/com.sap.aii.ad', upon 'googling' this error it was suggested on SCN to essentially delete old config and reimport / rebuild the interface (Commit fault: ASJ.ejb.005043) . I've tried to reimport the config scenario / ico, i then deleted the config scenario and reimported it. This hasnt worked.
    I have had our Basis team double check the NWA settings, and the ResourceAdaptor settings were reset. 
    When re running the trfc in sm58, i now get the error ' Failed to resolve repository reference @XI_IDOC_DE FAULT_DESTINATION_DEV'
    Would appreciate some feedback as to what to try next..

    Hi George,
    We have seen this issue sporadically too while deploying to our QA system.  What I have generally done in the past to get it working is the following (I have run all the steps because I don't know if they are all required to get it going again):
    1. Open ID and clear the SLD data cache
    2. Open sender system in ID and do compare of adapter specific identifiers with SLD and then apply
    3. Deactivate sender IDoc channel and then reactivate (I would double check your destination in the settings also)
    Hopefully this will help.
    Regards,
    Ryan Crosby

  • JDBC-IDoc through XI

    Dear All,
    I am using JDBC and IDoc Adapter for a typical scenario in XI.Please tell me how the channel will get INVOKE while there is updation in Database Table(JDBC Side)
    in following cases
    Deletion
    Updation
    Insertion
    thanks,
    RP

    RP,
    As a standard, have a status flag to indicate whether the record is processed by XI or not. If the value of the stats flag field is unchanged then it implies the record is not processed by XI yet. In your sender JDBC adapter write an update query in the update column that will update the status flag. Ensure you have same where clause for your select and update queries.
    In case a record is updated, make your appln update this status flag field to unread.
    P.S: JDBC adapter does not work on event based, it just keeps polling the table for a new record which satisifies the select query.
    Regards,
    Jai Shankar

  • Mapping Error with Sender JDBC- Idoc scenario

    Hi Guru's,
    I've got a simple asyncronous sender JDBC to Idoc scenario, and I encounter a strange problem with the mapping.
    When I test the mapping it works fine, but when I run the scenario, only the first element (a constant) of the Idoc gets mapped, and mapping stops with no errors.
    Does someone know where to find the error?
    Thanks,
    Karst

    Hi Karst,
    There might be several reasons that you do not see the IDOC structures are not created/mapped:
    1. Most of the IDOC structures are optional (minOccrs = 0), so you have to make sure the structure itself (not just the fields within that structure) is mapped to something that does exist in the source data.
    2. Make sure your JDBC generated source data does have the right namespace as you used in your mapping. I once had a similar problem, but finally found the source data generated in run time is slightly different from the one used in mapping in terms of namespace.
    3. Test your mapping with the source data generated in runtime (you can copy it from SXMB_MONI). Then you may be able to find the problem.
    Hope this helps.
    Hart

  • File-to-IDOC sceanrio

    can SDN provide me guidance to make a file to IDOC scenario, specially the settings at the XI and at the receiver SAP R/3 side.....
    i m new to XI so, setting details are important,

    HI
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name.
    cehck out these blogs
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Also have a look at these forum threads...
    IDOC TO FILE SCENARIO
    idoc to file scenario
    -- /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i - here check the part 1 and 2 examples with all screen shots.
    -- File-XI-IDoc Scenario
    Message was edited by:
            Anu Ram

  • Idoc to JDBC scenario steps required

    Hi friends,
    Can anybody help me to follow the steps for sending the data from SAP system to XI and from XI to JDBC server.
    -Balu

    search on SDN before posting the question as this has been asked many times.
    Introduction to IDoc-XI-File scenario and complete walk through for starters. --> For Idoc sender: IDOC -file
    FILE to JDBC Adapter using SAP XI 3.0 --> for jdbc receiver: file -JDBC
    IDOC configuration steps:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
    chirag

  • Reg: JDBC to IDOC Scenario Message Mapping

    hi Friends
    i am designing a Scenario JDBC - IDOC for accounting document interface using ACC_DOCUMENT03 idoc.
    i need the mapping program for that to map the JDBC fields with the IDOC fields, so can anyone help me the mandatory fields and the constant values for the IDOC which has to be mapped.Along with this can i know why the constants will be assigned to the fields like Begin =1 , MSGFN = 009 etc how these constants are defined.
    Thanks&Regards
    suman.

    Hi,
    for mapping constants in graphical msg mapping, select your target IDOC field..........then you have a constant in the below screen.........click it and then double-click on constant to change the value of the constant field.........then map this constant to your target IDOC field.
    for knowing which are the mandatory fields, ask your functional guys to tell you the mandatory fields in data segment of your IDOC and regarding Control segment EDIDC, you have to map fields which have sender and reciever system details.
    Regards,
    Rajeev Gupta
    Edited by: RAJEEV GUPTA on Feb 2, 2009 7:55 AM

  • Idoc Acknowledgment to Sql Server with out using BPM

    Hi,
    My scenario is JDBC --> IDOC and
                            IDOC ACK --> SQL
    For idoc acknowledments,done all the configurations( RBDSTATE,IDX_NOALE) for aleaud message type,
    I can see  the messages in SXMB_MONI.
    But in the aleaud idoc --- it contains only idoc number,but my  client requirement is to have the edidc-arckey data in the ALEAUD IDoc.
    How can i get the arckey field data in the aledaud idoc.
    Please suggest me.
    Srinivas

    Hi Srinivas,
    Check Colin's reply in this thread, may be you will be able to put the value through that BADI
    User Exit for Aleaud Idoc
    Regards
    Suraj

  • PI EDI help: What is the source of ISA13 in a IDOC to EDI mapping

    Hello Experts,
    It would be of great help if you can provide the field mapping for ISA 13 in outbound from IDOC sceanrio: 
    IDOC:  INVOIC02 - to - EDI 810 mapping.
    Is it the best practice to have ECC send the value in a particular IDOC field ( like  RFINT) or PI has to use a custom function to populate the ISA13 field.?
    Thank you,
    Patrick.

    Hi,
    ISA13 is for Interchange Control Number. It is a control number assigned by the interchange sender.
    Normally its Sequential number starting with 000000001 and incremented by 1 for each subsequent ISA between sender and receiver.
    This is a very useful value to include. It creates an explicit link between the IDoc and the EDI transmission. This number eases Production Support greatly. When there's an issue with a Partner EDI transmission, the Partner's EDI support people want to know the Interchange Control Number
    The IDoc interface does not process or check this field.
    regards
    Ganga

  • Proxies to jdbc scenario help...!

    Dear All,
    I am very new to XI , can anyone guide me step by step process for
    1. File to webservice scenario via xi
    2. Proxies to jdbc  scenario via xi
    3.IDOC to JDBC scenario via xi
    will be much helpful as i need to complete these processes very soon.
    Thanks in Advance.

    HI,
    Here are the documents:
    Webservice scenario:
    these 3 documents should explain it all,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    troubleshooting SOAP:
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    IDOC and JDBC Scenarios:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters --> For Idoc sender: IDOC -file
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
    IDOC configuration :
    Refer the help:
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi - ALE settings for R3-XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Idoc to File:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    This is expalined both the scenarios:
    Please follow the below process for configuration:
    Pre-requisites for Inbound IDoc to R/3 from PI:
    Configuration required at Xi side:
    Go to IDX1: configure the port.
    Go to IDX2: load the DOC metadata.
    Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,
    Configiration required at R3 side:
    Maintain Logical System for PI (SALE transaction):
    Maintain Partner Profile for XI system(WE20):
    Pre-requisites for Outbound IDoc from R/3 to PI:
    Configurations required in R/3:
    Maintain Logical System (SALE)
    Define RFC Destination (SM59) which points to PI system
    Maintain Port (WE21)
    Maintain partner profile. (WE20):
    Maintain Distribution Model (BD64):
    JDBC:
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    Writing Stored Procedures-
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
    http://www.sqlteam.com/article/stored-procedures-an-overview
    Proxy:
    Client Proxy:
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy:
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Smarter Approach for coding ABAP Proxies
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    File to Inbound Proxy:
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    How do you activate ABAP Proxies?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Debugging Inbound Proxy:
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Thanks and Regards,
    Chirag Gohil

  • File to (IDOc and File)

    Hi,
    I have to design a File to IDoc Sceanrio in PI. From the file, i llpick up the vendor(during mapping) thorough RFC look up. If the more than one vendor comes for the particular condition then I should throw an error log(in the form of file) and no idoc should get posted. If one comes, then idoc should get posted. they do not need BPM.Is there any way to do without BPM?
    Points will be awarded for sure.
    Regards
    Manikandan

    No there isn't another way.

  • JDBC Sender scenario

    Hi All,
    I am creating a JDBC -> Idoc scenario.I have a clarification required,
    Do I need to create the DataType(Sender JDBC Structure) with all the fields in the table ,or if it is OK to create a Datatype with only the fields of the table which I am going to extract.
    Thanks,
    Venu

    You do not have to include all the fields in your data type, it depends on your business requirement.
    To create datatype quickly and effeciately, you can down load a tool I wrote:
    /people/liang.ji/blog/2009/03/03/data-type-generator
    Regards.
    Liang
    Edited by: Liang Ji on Mar 17, 2009 6:41 PM

  • Thousands of IDOC to SAP

    Hi.
    My BPM must send thousands of IDOCS to SAP.
    I've made a test sending 400 vendor IDOC to SAP and spent more than 6 minutes on it.
    It's a long time?
    In the future, i will have to send more than 20.000 FI IDOCS. What's the fastest way to send them?
    Thanks.

    Hi Inigo,
    Are you using IDoc packaging or sending idocs one by one ?
    If you package and send a IDocs then the performance will be better.
    Check if this helps..
    Re: Mapping JDBC -> IDOC
    Anand
    Message was edited by: Anand Torgal

Maybe you are looking for

  • Error re-starting WLS server

    Hi, I was trying to configure the Apps adapter on WLS (10.3.4) following Metalink Note: 974949.1. I completed all the steps for WLS server, but when I try to re-start the server, i get the following error and the server fails to start: ####<May 13, 2

  • WHY DOESNT NOKIE POST MORE FIRMWARE UPDATES FOR OT...

    I AM NEW TO THIS BOARD AND HAVE FOUND THAT NO MATTER WHAT I DO TO UPDATE MY NOKIA 6230i (FIRMWARE AND RADIO SOFTWARE)I MEET A BRICK WALL. IT SEEMS NOKIA ARENT INTERESTED IN GIVING YOU SUPPORT ONCE YOURE PHONE IS ANY MORE THAN A YEAR OLD. THIS TO ME I

  • Remote connection, mac to mac

    I have had a look and can't seem to find anything convincing - we have a few macs at work, and we each have a mac at home - all we want to be able connect from home, to our mac at work and do work.... does the official apple remote software cover thi

  • DW CS4 Custom Tags & Syntax Highlighting?

    Hi, I already created a custom tag in the \Adobe Dreamweaver CS4\configuration\ThirdPartyTags\Tags.xml like this: <tagspec tag_name="mytag" tag_type="nonempty" render_contents="true" content_model="marker_model" start_string="(~" end_string="~)" dete

  • Sending hex code through visa

    Hi i need to send some sequence of hex code read from xml to the serial port for example i will read the hex code as f0900080 in this f0 90 00 80 is all hex code when i send it through visa it is sending as string so that my receiver is taking each a