cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing container variables from ccBPM in Message Mapping?

former_member189420
Active Participant
0 Kudos

Hello Friends,

I have created a ccBPM and require to send response messages to the sending system at different points as the message proceeds from one state to another. I do not want to create multiple message mapping stating different status in every message mapping. The message mapping remains the same only the status is changing. So I am thinking if I can access container elements in ccBPM at message mapping then I should be able to use only one message mapping. Is it possible at all?

Let me know if you have other solutions. Let me know if I am not clear?

Thanks & Regards,

Anand Patil

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

Parameterized Graphical Mapping concept of PI7.1 (and above) allows you to refer context objects into mappings...personally have no tested context objects but it is designed to work...check the last example:

/people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings

Regards,

Abhishek.

former_member189420
Active Participant
0 Kudos

Hi Abhishek,

Your suggestion to use Parameterized Mapping did solve my issue. I was looking something like this. Thanks.

Now I have only one Message Mapping and it is used in multiple places. Thanks a lot

Best regards,

Anand Patil

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

>>>>>>> So I am thinking if I can access container elements in ccBPM at message mapping then I should be able to use only one message mapping. Is it possible at all?

Only parameter variables at message mapping level not container elements.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>f I can access container elements in ccBPM at message mapping then I should be able to use only one message mapping. Is it possible at all?

no, you can only access parameters but not container variables

Regards,

Michal Krawczyk