Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Return orders in E-comm for display only

Hi Gurus,

We are implementing the the standard B2b application with ECC6.0 as the backend.

customer login to b2b shop and place order (OR - standard order.

but they also should be able to diplay the order (RE - return orders, RK - Invoice corrections) and should not able to create them.

if they want to create too - the configuration is very easy - I can set the language independent Key for Return order and Invoice corrections in shop management.

But how can this achived where OR can be created, searched for and displayed but the other two RE , RK can only be searched and displayed but cannot be created.

Is there some thing in autorizations we can tweak and achive this.

Thank you

Ram

Tags:
replied

Hello Ram,

If we can hide the "Confirm" or "Change" buttons from appropriate pages for this order type "RE", then do you think it will be ok?

Insert

if (orderType) = "RE" 
  {Hide button}

condition around the buttons you want to control. The (orderType) can be found from the Sales Document Header property header .getProcessType()

In Order.jsp, the sales document header is readily available:

HeaderSalesDocument header =

(HeaderSalesDocument) request.getAttribute(MaintainBasketBaseAction.RK_HEADER);

In other pages you can still get the sales document header from the usersessiondata.either directly or through BOM and the current instance of the sales document BO.

Easwar Ram

http://www.parxlns.com

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question