cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the Desgin

Former Member
0 Kudos

Hi Experts

My requirement is File to Jdbc and Once the Record has been Successfully inserted into the Table we need to send a mail that the Data has inserted successfully.

How we can Do the Design whether using BPm or With BPM also we can do this?

Pls Help in this.

Regard's

Preethi.

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Anand,

Go ahead with Gagandeep suggestion. For that purpose you can check this wiki http://wiki.scn.sap.com/wiki/display/XI/FILE+to+RFC+to+E-mail, you only need to change the RFC interface with the JDBC interface.

Regards.

Former Member
0 Kudos

Hi Vila

Here the receiver side is RFC so there is Responce But. In My Scenario the Receiver is JDBC and Once the Data got inserted we need to send mail. Alos in JDBC there is no field for INTERFACE Status.

Regard's

Preethi.

Former Member
0 Kudos

Hello,

If i were you, i would have created two different interfaces, one is FILE - PI - JDBC(SP) and once message has been updated properly in DB then update one interface status table (that's the responsibility of SP).

Secondly, read data from that interface status table and eventually send  mail.

Thanks

Amit Srivastava 

gagandeep_batra
Active Contributor
0 Kudos

Hi Anand

You can check below doc that match your requirements..

http://saptechnical.com/Tutorials/XI/SOAP2JDBC/Page1.htm

Regards

Gagan

iaki_vila
Active Contributor
0 Kudos

Hi Anand,

The example the scenario is FILE - RFC - MAIL, the asyn/sync bridge that Gagandeep suggested has really two receivers, the middelone the RFC and the MAIL, but with the particularity that the MAIL takes the RFC asnwer and all the work without ccBPM. In JDBC receiver you get an answer with the number of row inserted, you can take this value to do or not the mail part.

Sorry, I dont understand what you want to mean with "Interface status field".

Regards.

Former Member
0 Kudos

Hi,

Declare your jdbc receiver service interface as synchronous and it will give response how many records have been inserted.

You have to use request-response bean in the file sender channel as specified by Vila.

Regards,

Veerendra.

Former Member
0 Kudos

Hi Anand,

Simple option is to create File to JDBC and the Stored Procedure will take care of updating the records after PI fills up with the data. Create one more JDBC to Mail by giving the relevant Polling intervals for the JDBC channel to Pick up the data.....

Thanks

Former Member
0 Kudos

Hi Anand,

Use response structure as below:

The response documents described below can only be evaluated by the Integration Server/PCK if the call is synchronous because the content of the response document is not accessible if the call is asynchronous. The response is put in a separate element <StatementName_response> for each statement element.

http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

Regards,

Pranav

gagandeep_batra
Active Contributor
0 Kudos

Hi Anand,

You can design using without BPM, using Async-sync bridge.

first create using file to jdbc which give you response after successful and then you can send response to mail.

Regards

Gagan