on 02-11-2005 11:24 AM
Hi,
I'm new to Internet Sales and have a serious problem. I would like to access information retrieved in a backend
user exit from a custom internet sales action. The user exit code might look as shown below. The problem now is where to put the pricing condition infos in order to make it accessable?
Does anybody have a suggestion? I know that there is an all purpose cache in internet sales. But I would like to connect this information with the user session.
Cheers,
Heiko
public class MyPriceCalculator extends PriceCalculatorCRMIPC {
protected void customerExitAfterIpcItemsCreate(ItemPriceRequest itemrequests[], IPCItem items[])
{
System.out.println("customerExitAfterIpcItemsCreate called!");
for(int i=0; i<items.length; i++)
{
IPCPricingConditionSet pricingConditions = items<i>.getPricingConditions();
IPCPricingCondition[] conditions = pricingConditions.getPricingConditions();
for(int j=0; j<conditions.length; j++)
{
System.out.println(conditions<i>.getConditionTypeName());
}
}
}
}
Which BAdI did you use and how did you populate the structures? It usally works with field name, value pair for both BAdI and Action.
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 | |
10 | |
9 | |
9 | |
7 | |
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.