Jdbc ,bpm

Hello
i have 2 database tables on same database, i want to insert records in first table and after last record is inserted in the first table , i want to insert records in the second table, is this possible via bpm ? if so how? or is there any other way it could be done more easily ?
this is a very high volume interface involving 40,000 records approx inserts.
Thanks

Hi Sap Logic,
It possible to BPM,What you are using the BPM to insert the one table, Same BPM should also insert the second table also.
But it changes only in JDBC structure not in BPM
Generally you insert the data into the one table using the structure below: Here i am giving the example for Employee data
StatementName1
--dbTableName
action                              (Map to constant 'INSERT')
table                                (Map to constant 'TableName1')
access
Empno
Empname
Address
If you want to insert second table immediatly after insert the first table, You can add one more Statement structure under StatementName1.See below
StatementName1
--dbTableName
action                               (Map to constant 'INSERT')
table                                 (Map to constant 'Tablename1')
access
Empno
Empname
Address
StatementName2
--dbTableName
action                                               (Map to constant 'INSERT')
table                                                 (Map to constant 'TableName2)
access
Desgination
Gender
Blood Group
Regards,
Sateesh

Similar Messages

  • Webservice to JDBC BPM scenario

    Hi Experts,
    I have created the below objects for the Webservice to JDBC BPM scenario.
    Data Type
    1. DT_SOAPRequest
    2. DT_SOAPResponse
    3. DT_JDBCRequest
    4. DT_JDBCResponse
    MessageType
    1. MT_SOAPRequest
    2. MT_SOAPResponse
    3. MT_JDBCRequest
    4. MT_JDBCResponse
    Message Interface
    1. MIIS_JDBC_In  - Inbound Synch(With JDBCRequest(Input message) and JDBCResponse(Output message)
    2. MIOS_SOAP_Out - - Outbound Synch(With SOAPRequest(Input message) and SOAPResponse(Output message)
    3. SOAPRequest_ABS - Abstract Asynch for SOAP Request
    4. SOAPResponse_ABS - Abstract Asynch for SOAP Response
    5. JDBCRequest_ABS - Abstract Asynch for JDBC Request
    6. JDBCResponse_ABS - Abstract Asynch for JDBC Response
    Is the object are correct?
    Already raised the same below request..but still confused with BPM flow
    BPM scenario
    Please help me out..
    Thanks in Advance
    Sara

    Hi Sara:
    Container variable : You have to create 3 variables...
    1. Name : ReceiveMessage
       Category : Abstract 
       Type : MI_AA_SOAP_Req
    2. Name : SendSynch
       Category : Abstract 
       Type : MI_AS_SOAP_ReqResp
    3. Name : Send
       Category : Abstract 
       Type : MI_AA_SOAP_Resp
    BPM Steps:
    1. Create Receive Step :
    In properties :
    Message = MI_AA_SOAP_Req
    Mode = Open S/A Bridge
    Synchronous INterface = MI_AS_SOAP_ReqResp
    2. Create Send Step
    In propereties :
    Mode = Synchronous
    Synch Interface = MI_AS_SOAP_ReqResp
    Req Message = MI_AA_SOAP_Req
    Resp Message = MI_AA_SOAP_Resp
    3. Again create Send step
    In propereties :
    Mode = Close S/A Bridge
    Message = MI_AA_SOAP_Resp
    Opened by = Receive
    I almost provide you each step to create BPM:)
    Try and let me us now if you find any difficulty.
    Thanks
    Farooq.

  • Webserice to JDBC BPM scenario

    Hi Experts,
    I have created the below webservice to JDBC BPM scenario.
    IR
    Data Type
    1. DT_SOAPRequest
    2. DT_SOAPResponse
    3. DT_JDBCRequest
    4. DT_JDBCRequest_response
    Message Type
    1. MT_SOAPRequest
    2. MT_SOAPResponse
    3. MT_JDBCRequest
    4. MT_JDBCRequest_response
    Message Interface
    1. SOAP_Out_Sync_ReqResp
    2. SOAP_Abs_Sync_ReqResp
    3. SOAP_Abs_Async_Req
    4. SOAP_Abs_Async_Resp
    5. JDBC_In_Sync_ReqResp
    Message Mapping
    1. MM_Request ( MT_SOAPRequest to MT_JDBCRequest)
    2. MM_Response (MT_JDBCRequest_response to MT_SOAPResponse)
    Interface Mapping
    IM_SOAP_TO_JDBC (SOAP_Abs_Sync_ReqResp to JDBC_In_Sync_ReqResp)
    Integration Process
    IP_SOAP_TO_JDBC
    Container Variable
    1. ReceiveMsg - SOAP_Abs_Async_Req
    2. SendMsg - SOAP_Abs_Async_Resp
    Process
    1. Receive Step:
    Message : ReceiveMsg
    Mode : Opens S/A bridge
    Sync Interface : SOAP_Abs_Sync_ReqResp
    2. Send Step:
    Mode :  Sync
    Sync Interface : SOAP_Abs_Sync_ReqResp
    Request Message : ReceiveMsg
    Response Message : SendMsg
    3. Send Step:
    Mode : Closes S/A bridge
    Opend by : Receive step
    ID
    Business Service & communication channel
    1. BS_SOAP ( For Sender Interface, I have mentioned SOAP_Out_Sync_ReqResp -->Is this correct)
       a) CC_SOAP - Default Interface Name : What we have to give here ?SOAP_Out_Sync_ReqResp or SOAP_Out_Sync_ReqResp
    2. BS_JDBC ( Receiver Interface : JDBC_In_Sync_ReqResp)
    One more question, while creating webserive which interface name we have to give Abs_Sync or Outbound_Sync? Not comfortabel with Configuration part, please share your inputs.
    Regards
    Sara

    Hi Sekhar,
    I need info on only Message Interface in SOAP Service, SOAP CC and while creating webserivce from Integration Directory -> Tools -> Define webservice -> 3rd step. I have done with the remaining Sender Agreement, Receiver Agreement, Receiver Determination, Interface Determination..
    Confusion is, I have to use whether SOAP_Abs_synch or  SOAP_Outbound_synch interface...
    Regards
    Sara

  • Webservice - XI - JDBC BPM scenario

    Hi Experts,
    Could you please provide the steps to do the Webserive -> XI -> JDBC scenario, using BPM?
    Regards
    Sara

    Hi Jai,
    Actually, I have to do multiple orchestrations scenarios.
    I came to know from some of the XI experts that I have to use BPM to do multiple orchestration scenarios.
    If you have any idea, could you please provide the BPM steps for the (Webservice to JDBC synch scenario)
    Regards
    Sara

  • JDBC to RFC with BPM

    Hi,
    Please find details of my scenario.
    Oracle(VIEW)
    Sender JDBC--> PI--
    > RFC request
    and RFC response I need to update some other table in Oracle  using storeprocedure.
    and have one more storeprocesdure to update the View so that I will not get duplicate entry.
    I am not using UPDATE statement in JDBC sender communication channel, insted of that to update VIEW I am using storeprocedure.
    Please let me know how I can achive it with BPM.
    Thanks,
    Bhupesh

    Hi,
    1) If the structure send by JDBC is not acceptable by the BPM then you need one Mapping in JDBC ---> BPM flow.
    2) If the structure send by JDBC is same as the receiving structure of BPM then no need of Mapping.
    3) You will need one Mapping to map JDBC req message to the RFC req message; one mapping program to convert RFC response to the JDBC stored-procedure message....
    So your scenario with mappings will be:
    JDBC --> Interface Determination (Mapping Optional as per pt.1) -
    > BPM
    BPM <-> Interface Determination (Request-Response Mapping) <--> RFC
    In the above mapping program your ABS MI of BPM should have below MTs
    Req Message -
    > Original Message Received from JDBC
    Response Message ---> Message which needs to be send to the JDBC stored-procedure.
    Now your IN SYNC MI at the RFC end should have below MTs
    Req Message ---> RFC request message
    Resp Message ---> RFC response massage.
    Then in the Interface Detremination of BPM <----> RFC flow develop a IM with below mapping programs:
    Request Mapping between ---> MessageFromJDBC_to_RFCRequest
    ResponseMapping between ---> RFCResponse_to_JDBCStoredProcedure
    BPM -
    > JDBCStoredProcedure
    For this flow there is no need of Mapping program...
    using the above mappings programs you can ensure that there is no Transformation step in your BPM...this is to help you in achieving a good performance out of your BPM...
    You need a Syns ABS and Sync IN message Interface for BPM <---> RFC communication.
    Regards,
    Abhishek.

  • JDBC- XI-BPM- Proxy synch scenario.

    Hi Experts,
    We already have the scenario with JDBC --> BPM > RFC which we need to convert it to the scenario JDBC> BPM -->ABAP Proxy.
    Since i'm new to BPM development, i couldn't find a way to implement the requirement, because for BPM the message interface should be Abstract and these Abstract Message interfaces won't be visible in the SPROXY transaction.
    Please let us know what would be the approach to achieve this requirement.
    Note: XI system Version is 3.0 with SP-19.
    Thanks.
    Edited by: Bandana Baghel on Jun 22, 2009 1:51 PM

    i couldn't find a way to implement the requirement, because for BPM the message interface
    should be Abstract and these Abstract Message interfaces won't be visible in the SPROXY transaction.
    What you need:
    1) An Inbound Async/ Sync (as the case may be)...this MI will have the message type that you want to send-receive from the BPM...and the message(s) inlcuded in this Inbound MI should be same as in the Abstract MI from the BPM_to_Proxy communication....
    Then you can develop your proxy in SPROXY...
    Looking at the flow I am confused whether the flow is Sync (as you mentioned in subject) or Async (as the flow shows)...hence mentioned req/ resp messages in the resposne above.
    Regards,
    Abhishek.

  • JDBC Sender Mapping Problem

    I am using a Receive Step to start a BPM with some DB Records, the Receive Step gets the resultset with some row elements but I notice that the message namespace is missing
    <ns0:mt_avisoEst xmlns:ns0="urn:sap-dms:DMS_SAP_01">
    </ns0:mt_avisoEst>
    this is causing me problems with further mappings in the BPM, I am not using any message mapping for JDBC -> BPM. What am I doing wrong?
    Thanks in advance.

    Dear Ruben,
    In Integration Directory.
    In JDBC Communciation channel .
    Under the head of Processing parameters,
    Give your namespace in <b>Document Namespace</b>
    regards
    Mahesh.M

  • BPM + PROXY + Fault Message

    Hello
    My scenario is JDBC -> BPM <-> Proxy
    I developed a BPM has a step-type <SENDER> that is synchronous.
    Information on the above step:
      . The message interface used an output, an input message and also a Fault Message.
    . I'm calling a proxy in the ECC and runs an exception if an error occurs in the application (inside the proxy).
      . This exception is returned to the BPM and I run a <block> to handle the exception.
    My need is to capture the contents of the exception in the BPM and send this text to another application.
    How do I recover the contents of the exception returned by Proxy in BPM?
    Thank you,
      Aroldo

    Hi, it is not supported in the meaning that the payload of the fault message is not returned to the integration process, so that's right Baskar. The only thing possible is to trigger exceptions for fault messages, see [Sending Messages from Integration Processes Synchronously -> Procedure -> Specify Exceptions|http://help.sap.com/saphelp_nw73/helpdata/en/43/6211331c895f6ce10000000a1553f6/content.htm].
    Possible solutions:
    If it is a custom proxy you could change the behavior so that no fault messages are triggered. Instead you return the error message in the payload structure of the response.
    If it isn't a custom proxy you could create a custom proxy wrapper with a separate structure for exceptions in the response. Call the implementation of your desired proxy in the wrapper implementation, handle the exception and return the exception contents in the separate structure of the response.
    Or you could try to create a data type enhancement for exception contents for the response message, create a proxy from the enhancement, and implement the OUTBOUND_PROCESSING method where you copy the exception messages to the structure of the data type enhancement.
    Regards, Martin

  • Process transiente negative Acks in BPM

    Hello @all
    I am currently working on a JDBC->BPM->R/3(IDoc) Szenario. Within the send-step in the BPM I am requesting an application acknowledgement. On the R/3 backend the ALE AUDIT is configured an working well. Since it is known that only permanent positive/negative acknowledgements are supported by the BPE for Exception handling I have to find an alternative.
    What I want is to create an alert when an IDoc status is received which creates even just a temporary negativ acknowledgement that a user can check the idoc inbound processing.
    Anyone has an idea for a workaround aside the following one?
    Custom processing for ALEAUD01 messages ??
    Thanks in advance
    Karoline
    Custom processing for ALEAUD01 messages ??

    we need to know if the message is successfully process or not, if not, we need to get the detail info which is returned in
    the acknowledgement message
    One way to have the above requirement done is make the process synchronous (if RFC/ Proxy). The response message should contain the state of processing of the message inside SAP....now in the BPM make a check on the response message to see if it is a success or failure....you can apply logic like is success terminate the BPM without any alert.....if failure raise an alert/ send a mail.
    Regards,
    Abhishek.

  • NO_RECEIVER_CASE_BE - No receiver could be determined error

    Hi Experts,
    Scenario: SOAP to JDBC BPM Scenario
    Error: When I tried to execute the scenario, I am getting the below error. The interface mentioned in Integration Directory and SXMB_MONI are different. Where to do the correction?
    Note :Refreshed the cache in SXI_CACHE and Administrator screen. I couldn't see the Integration Process in SXI_CACHE
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Regards
    Sara

    What was the resolution?

  • Integration Process is not displayed in SXI_CACHE

    Hi Experts,
    I am getting the below eror when I try to excute the SOAP -> JDBC BPM scenario
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
    The integration Process is not displayed in the SXI_CACHE. Done with all type of cache refresh, restarted the server also.
    What could be the problem?
    Earlier I was getting the similar error for non-BPM scenario, just refreshed the cache in Admin, IR, ID and in SXI_CACHE and it solved the issue.
    But here the Integration Process is not displayed after doing the above step.
    Note: Always the SXI_CACHE is in ERROR status(Red color symbol)
    Everytime before executing the scenario,  I refresh the cache in SXI_CACHE. Once I done with the refresh, I get the belwo status
    1. Cache contents are being refreshed (Yellow color)
    2. Error during last attempt to refresh cache (Red Color)
    Please share your suggestions to solve this issue.
    Regards
    Sara

    Hi Sara
    Go to SXI_CACHE , then from Menu XI Runtime Cache choose Start Delta Cache RefreshF6. Try this, , After clicking wait for sometime to refresh.
    Path Prefix set to “/dir/CacheRefresh”.
    https://websmp204.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Also check out the role of the user using SU01. are you using PIISUSER?
    Also refer:
    How to handle cache in PI - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34
    Thanks

  • SOAP Adapter Unauthorised

    Hi
    I'm trying to implement a jdbc->bpm->soap interface
    and I'm having problems with the SOAP adapter
    looking at the RWB I'm getting the following error
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an
    error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 401 Unauthorized
    The message doesn't seem to be reaching the webservice. I've checked the User/password in soapui and they are fine
    The message type is a wsdl from the webservice and the soap action has been entered.
    does anyone know how I can get a better error description
    or a fix
    do I need to change any settings to the integration engine 
    thank
    you
    Geoff

    Hi Geoff,
    In order to solve this, ensure you have maintained the correct password, which MUST be the same, for all the service user on XI and ensure it has eight (8) characters in length.
    You may check all the places it should be maintained, such as Exchange Profile, SU01, SLDAPICUST, etc..
    Check the note below:
    #999962 - PI 7.10: Change passwords of PI service users
    Also ensure that the user has the correct role as per link below:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/9f/d12940cbf2195de10000000a1550b0/frameset.htm
    BR,
    Caio Cagnani

  • BPM Studio 10.3 JDBC

    Hi
    I have java packet with code that connects to a Oracle database (jdbc connection)
    which failes using BPM 10g studio.
    Executing this as a java main program from prompt (using same libs and same jre as in STUDIO), works
    Code looks like..
    SolutionOfferManager solutionOfferManager = new SolutionOfferManager("CreatePackageInstance");
    solutionOfferManager.loadPackageByPackageNameAndPricePlanName("Basic Package", "TBCB 365 Bas (P1) - 1 Anv. inkl.");
    In Studio 10.3, failes (java.sql.SQLException: Try to set a parameter name that does not occur in SQL: in_soloffer_name. ???????????)
    Code from BPM process is as simle as above and
    looks like..
    som = new SDE.Java.Apps.Usm.Blds.Som.SolutionOfferManager("CreatePackageInstance");
    som.loadPackageByPackageNameAndPricePlanName("Basic Package", "TBCB 365 Bas (P1) - 1 Anv. inkl.");
    All used jars are cataloged as far as i understand.....
    Running same process in BPM enterprise (wls) works, i just dont understand where the differnce is
    and why it failes running from BPM Studio..
    Anyone how can help me understand..
    /Gert

    Solution procedure:
    1. Create the wlfullclient.jar file in weblogic environment:
    It is documented in: http://download.oracle.com/docs/cd/E12839_01/web.1111/e13717/jarbuilder.htm#BABCGHFH
    2. Add the wlfullclient.jar file as external resource.
    3. Create the Remote JDBC data source configuration

  • BPM sync to jdbc produces No receiver could be determined

    Hi,
    I am sending a sync select statement from BPM to JDBC adapter but I get the following error: No receiver could be determined.
    I checked in MONI and I can see the select statement, even the response but I get this error. I looked at the graphical workflow log and every step "executes successfuly" but in the XML messages list I have 3 messages, 2 with the successful flag and one with a red flag, the red flag displays this error.
    Since both interfaces, the BPM abtract interface and the inbound interface for the JDBC adapter are BOTH SYNC, shouldn the response message arrive back at the BPM automatically ? or must I define another reciever determination ?
    Cheers.

    Hi,
    How have you used the send step? In this case it should be used with sync mode.
    Selcet the mode property of "send" step as synchronous. Then you will have to give two message types one for request and the other for response.
    After this send step you can have a normal send step and you can use this to send response wherever you need.
    Regards,
    P.Venkat

  • 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.

Maybe you are looking for

  • RAID failed - Can't find status in disk utility

    I have an Xserve G5 with 3 hitachi 80GB SATA hard drives with a RAID 5 (I think) running 10.4.6. A couple of days ago, the server was running really slow and the afp was taking up alot of cpu time, so we rebooted the server as we haven't had a proble

  • Parsing xml using j2me

    hi how can i insert into file xml in midlet for exemple <users> <user> <name>manel<name> </user> </users> it will be <users> <user> <name>manel<name> </user> <user> <name>hajer<name> </user> </users> thx

  • How to create guest access in wireless by WISM and WCS and ACS?

    dear sir i neeed to know the steps of how we can make guest access to our network like hotels by using our WISM v 7.0.220 and wireless control system and ACS ?

  • Planning at daily level and weekly reports ?

    Dear Experts, Will be advisable to do Planning at daily level and weekly reports in 7.5 NW? Any body did these kind of project earlier ? Kindly provide suggestions / recommendations please... Thank you, Kumar

  • Formula in Query does not display Results Rows

    All - I know that people have posted this same thread before but I've been unable to find an answer or the questions have not been resolved. I have created a simple query and the key figure columns are all formulae.  The calculations are all the same