cancel
Showing results for 
Search instead for 
Did you mean: 

Reading value from one MessageMapping to Other

former_member201264
Active Contributor
0 Kudos

Hi Gurus,

I have a requirement JDBC to RFC Synchronous communication.

CC1--> JDBC Sender Adapter with  Qos-->Best Effort

CC2--> RFC Receiver Adapter

CC3--> JDBC Receiver Adapter

I am using this sceanrio bsed on the link:

D--> Database Field, I-->RFC Import Field and E--> RFC Export Field.

MMRequest:

     D2 --> Import RFC field I1

     D3 -->Import RFC filed I2

     D1 Primary Key in DB Table -->No Import RFC Field for this F3.

     D4(Empty value) --> Not mapped to any RFC Field.

MMResponse:

    Export RFC Field E1 to D4

    MMRequest--> D1 to MMResponse -->D1

Now I have to update the this record in the Response Mapping based on the value in MMRequest--> D1.

How to get this value from MMRequest to MMResponse?

If possible with Function Library, please explain?

Regards,

Sreeni.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184789
Active Contributor
0 Kudos

Hi Kancham,

Could you let me know if you were able to achieve this scenario..How did you add the values in custom namespaces?

0 Kudos

Hi Kancham,

I am having the similar requirement,could you please let me know if you might have achieved?

I tried with RFC lookup in PI system but some how I need to go with the Java single stack capability so I am seeking the solution which will be feasible?

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

it's possible with dynamic configuration (ASMA)

a) put the value in custom namespace

b) read it in the other mapping

Regards,

Michal Krawczyk

former_member201264
Active Contributor
0 Kudos

Hi Michal,

Thank you..Now at least I have got the information that we can do this in PI 7.3.

I am trying yo create custome namespace and other related stuff.

Could you please elaborate more and share any related blogs.

Regards,

Sreeni.

iaki_vila
Active Contributor
0 Kudos

Hi Kancham,

At first the Michal's choice is the best for your purpose but you could use too:

- Static variables as Carlos Ivan Prieto Rubio says in his blog http://scn.sap.com/people/carlosivan.prietorubio/blog/2009/12/29/sharing-data-between-message-mappin...

- To Use a ccBPM

To find a blog with your exact case seems difficult but you could use this information:

- William Li's blog wiht the java code to set values: http://scn.sap.com/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-cha...,

- SAP.help documentation with the instructions to read and write values in a dynamic configuration variable http://help.sap.com/javadocs/nw04s/sps09/pi/com/sap/aii/mapping/api/DynamicConfiguration.html

Finally, I encourage you to do a blog with the how-to of your development if you use dynamic configuration solution.

Regards.

former_member201264
Active Contributor
0 Kudos

Hi Michal,

I have observerd that there is no ASMA in Sender JDBC adapter.

I tried with custom namespace also, but struck at Operation Mapping with two messages.

Could you please guide me how to resolve the issue.

See this link for more clarity http://scn.sap.com/thread/3256578 on my doubt.

Regards,

Sreeni.