cancel
Showing results for 
Search instead for 
Did you mean: 

Grant Internet Sales frontend access to Infos retrieved in Backend Exits

Former Member
0 Kudos

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());

}

}

}

}

Accepted Solutions (0)

Answers (1)

Answers (1)

kyo_choi2
Participant
0 Kudos

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.