on 01-13-2010 10:12 PM
We are using SAP CRM 2007
When user logs into ISA and clicks on product catalog I get the catalog with quantities defaulted as one '1'.
I want to change this setting here. I want to change the default quantity to 10 instead of '1'. Can I do this using config?
I also want to change the default quantity value on order entry screen from '1' to '10'.
Thanks
jimmy
There isn't any configuration setting that can do this today
SAP could really combine both Arshi's code and Mike's suggestion of using Min. order quantiry as the initial line item quantity into one nice feature that would solve your issue. But as of today, you got to do the coding.
Easwar Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As there is no out of th ebox funtioanlity to implement this feature we have to make code changes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your inputs. So we are going to made code changes to get this requirement done.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jimmy,
From the technical point of view I can tell you where its done from and how to change it.
You need to tweak standard java code.
Look for the java object com.sap.isa.businessobject.item.ItemBase, there you will find a variable
protected String oldQuantity = "";
In this same object you will also find the getter and setter for oldQuantity. Which should be setOldQuantity
and getOldQuantity. Comment the one line code inside that of setOldQuantity. So your setOldQuantity should look similar to
setOldQuantity(oldQuantity) {
//comment the original line of code here
}
Now change the above defined variable oldQuantity to any value (like you said, you want default to be 10)
protected String oldQuantity = "10";
So now you need to create a new package in your SHREXT, which should be com.sap.isa.businessobject.item.
Add the modified ItemBase.java file to this package. Build and deploy and you should be good to get this fixed!
Regards,
Arshi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.