cancel
Showing results for 
Search instead for 
Did you mean: 

RFC-JDBC SCENARIO MESSAGE MAPPING

former_member270496
Participant
0 Kudos

Hi Experts,

Here I am facing a challenge in a RFC-JDBC scenario.Below is the factor:

We have to pass some transactional data(MM) through a rfc 'import' parameter & pass it to a non-sap,where these data will store in a table.since these transactional data of sap will pass through a transaction which run continiously,We have to know the data passing from this transaction is sucessfully updating or not(if not,we'll stop this transaction in sap).so from sap pi side we have to throw a message to sap r3(to rfc export parameter:'message type' and 'message text').(in backward communication)

we'll not have any message field in non-sap,which we can map to sap rfc's export field.so the solution we are considering is:if data are coming from sap r3 & strucking in pi due to some error & not going to non-sap,then in pi('sxi_monitor') we'll get that error message.(flag:represents 'message type(sucess or not)' & inside payload we can see the corresonding 'message text')

so how we can pass these 2 parameters data present in 'sxi_monitor' tcode to our sap r3's rfc export parameter.(is ther any standard table,in which these data are saving or any other way)?

Eagerly looking for a solution.Thank You.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member270496
Participant
0 Kudos

Eagerly looking for the suggestion.

aashish_sinha
Active Contributor
0 Kudos

Hi,

Probably you can generate an alert in SAP PI to send an error message with error information to user. To configure alert user TCode - ALRTCATDEF..

Apart from that if you want to try this out using ABAP, Table is -

SXMSPMAST2 (SXMSPMAST): This table contains runtime information on XML messages processed by XI; in this table you can find all the information that is visible in SXMB_MONI.

Also i hope this code will help you do this using ABAP.

http://wiki.sdn.sap.com/wiki/display/Snippets/Massive%2bproxy%2berrors%2bmonitor?bc=true

Thanks

Aashish Sinha

Edited by: Aashish Sinha on Jul 11, 2011 7:55 AM