cancel
Showing results for 
Search instead for 
Did you mean: 

Value mapping access from Java mapping in SAP PI 7.4

Former Member
0 Kudos

Hello Experts.

I have a scenario where I want to go for java mapping to procure the file name dynamically and pass that as the subject in the email.

The scenario is a pass through.Now the tricky part is the file name will contain a circle information ex; test_CIRCLE.csv .

I would like to maintain the corresponding receiver email address for the circle in value mapping and use that as TO address for the email

Is it possible to achieve this ?

Or do I have to maintain the receiver email ID's for the CIRCLE in the java code itself? This will definitely add load to the program and in the future the code has to be updated for new circles and their corresponding receiver email id's .

Please suggest.

Thanks in advance.

Regards

Advit Ramesh

Accepted Solutions (1)

Accepted Solutions (1)

apu_das2
Active Contributor
0 Kudos

Hi Advit,

Why are you planning for Java mapping . Do it using simple Graphical mapping with addition of simple UDF. That will make your process easy and you  can easily call you value mapping as well as per your requirement.

Follow this great document -

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/603a7bd8-a6a0-2e10-388b-fc9cb9dae...

Thanks,

Apu

Former Member
0 Kudos

Thanks Apu

Answers (0)