on 12-05-2007 12:28 PM
In our case we have ESS application in which we use Floor plan manager to navigate between the different views.
On pressing the NEXT button of the first view we are calling an RFC and also navigate to the second Screen.
On the initialization (WDINIT method) of this screen we are loading EVS value set from the output node of the function module
Using the standard code mentioned below for all the 8 input fields.
The total of all the F4 help values sums up to 80K (Internal order = 57K CostCenter =13 Ketc)
On debugging the application we see that this is the only place where it takes maximum time( >12 min) to load these values
which when run in Customers system times out giving a blank screen.
To cross check this , on reducing the number of values coming as F4 help (<30 K) the application does not time out.
Can you suggest if there is a better approach of providing this much amount of values for a Input field in WD Java .
As for F4help values there is no criteria on which it can be filtered before loading and hence providing all the values is the requirement.We don't have specific FM that can be executed on certain criteria in order to use OVS help.
-
IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getChild("CostDistributionPos").getAttribute("CoCo");
ISimpleTypeModifiable payrollType = attributeInfo.getModifiableSimpleType();
payrollType.setFieldLabel("Company Code");
IModifiableSimpleValueSet valueSet = payrollType.getSVServices().getModifiableSimpleValueSet();
int p = wdContext.nodeEt_F4_Cc().size();
for (int j = 0; j < p; j++)
{
valueSet.put(
wdContext.nodeEt_F4_Cc().getEt_F4_CcElementAt(j).getBukrs(),
wdContext.nodeEt_F4_Cc().getEt_F4_CcElementAt(j).getButxt);
}
-
Hi,
have you thought about an initial load?
I mean, do you always have different search criterias for the F4 value help.
Maybe you could load all values at once(what would take probably a long time) but then save these values in a Java Singleton. After you have provided the Singleton object with data it can be accessed from all users on the same Servernode. I think that accessing a java object instead of calling R3 all the time would raise the performance more than a lot!
Regards,
Dennis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Parvez,
As for as I know not much optimization is not possible. If it is not a problem and acceptable to the client you can use dropDownBox to improve perfomance. Create a <b>DropDownByIndex </b>and bind the texts property to CoCo. We are using a DropDownByIndex with more than 500 values. It simply takes 3 minutes only for initial load.
regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.