on 11-18-2004 5:50 PM
Hi,
I have written a small function with two input variables:
Begda and endda.
Both variables are marked as mandatory in the R/3 backend. Now I have used it in a VC. In the test function both variables are marked as mandatory.
So fare so good...... but
now I have changed theses both parameters to optional. Save and activate it in the backend.
When test the function now in the test function. Nothing has changed.
I have checked following:
reconnect to the portal -> (no change)
refresh the functions in the data services -> (no change)
reread the function -> (no change)
Only when I change the name of the function in the backend, I got the change in the parameters.
Any idea ? Is there any update flag in the portal I have to set ?
Best regards Hans Georg
But when I test the function in the test
Hi Hans Georg,
In order to change the connection life-time do the following:
1. find the sda com.sapportals.connectors.sap.sda in your installation. (it should be at \usr\sap\S96\JC00\SDM\root\origin\sap.com\com.sapportals.connectors.sap\SAP AG\609.20040921091607.0000
2. Open the sda
3. Open the SAPCFConnector.rar
4. Open META_INF/connectoe_j2ee_engine.xml for editing
5. Edit the <connection-lifetime> property (the units are seconds)
6. Redeploy the SDA
7. Restart J2EE
8. To confirm that the change was made open the admin tool, Open Server -> Services -> Connector Container -> Connector ->Connector1.0 -> /SAP connector ->ManagedConnection Factory Tab -> Connection Definition Tab, check that the connection life-time is changed.
Regards,
Lisi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hans Georg,
If you didnt change the connection lifetime in the J2EE admin tool, you are probably working with the default, which means that the connections you open to the backend are never closed. As long as you work with the same connection, the data will be retrieved from the cache.
If you want to disable the cache, you need to set the connection-lifetime property in the J2EE. The way to do that varies from one J2EE version to the other, so I will be able to instruct you how only after you specify the version you are working with.
Regards,
Lisi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.