Skip to Content
author's profile photo Former Member
Former Member

Grant Internet Sales frontend access to Infos retrieved in Backend Exits

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

}

}

}

}

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 10, 2005 at 02:46 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.