on 11-06-2012 11:35 PM
Hello experts,
How to persist information in SAP PI 7.3 Single Java Stack
is it possible and advisable to persist information in SAP PI ?
I need to store a session id and timestamp in each interface call and then do a lookup for the value in my mapping, check whether that session is valid if invalid fetch new session id and then insert/ update the lookup table with the new value.
As i am doing this lookup in a synchronous call of ABAP PROXY --> SAP PI --> Webservice. In my request mapping I want to do this lookup. So my whole logic will increase the throughput time and I want to go with the best approach.
The approaches which comes into my mind is :
If yes, please give me information on how to do it. Code examples are appreciated.
Thanks in advance!
Regards,
Hemanthika
Hi Hemantika,
No, you can't.
Not recommended, performing operations on PI data base always risky,never try this approach.
I dont think you can store values for your requirement,my answer is not possible
If you have a data base then create a table and store it on external data base and perform JDBC look up.
or
Use File look up, using UDF /JAVA Mapping you can do file lookup.
No,as per my exp.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja,
Isn't there any way I can persist a value in SAP PI.
Each time I am making a call to the webservice it returns a string token, I need to persist this token to reuse it next time. If it is exhausted then fetch a new session and persist the new one.
There should be some way to handle this at adapter module level.
Or can I use properties file and then read and write to the properties file in the EJB.jar file.
Thx in advance
Hemantika
Hi Hemanthika,
I need some help regarding the development you have done for storing the token and sign values in PI.How did you achieved this please let me know.
Here i have an RFC lookup for this scenario to update it in abap tables.Is there any option to achieve this, i mean using value mapping (changing the values dynamically)or some lookup to access the database tables.
my mail id : venkatdasari333 @gmail.com
Thanks in advance
Best Regards,
Venkat
Hi Hemanthika/Venkat,
Can you let me know if you were able to find any solution to the above. If so please provide me the steps at mona.x.lalwani@gmail.com
Hi Experts,
Any suggestions for me.
Thx in advance.
Hemantika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.