Shopping cart in portal 8.1
Folks,
How do I create a shopping cart in WebLogic portal 8.1? Is there any ready made
template available?
Thanks
Johnson
There currently aren't any samples or template JSPs that use commerce in
8.1.
The 7.0 version of WLP included wlcsDomain and wlcsApp, which was a
commerce sample that had sample shopping cart code. However, most of
that code in encapsulated in 7.0 PipelineComponents, which are
deprecated in 8.1. You can look at the code in there
(bea/weblogic700/samples/portal/wlcsDomain/beaApps/wlcsApp/src in
examples/wlcs/sampelapp/shoppingcart) for how to manipulate a shopping
cart. Additionally, the wlcs webapp has code and jsps (in wlcsApp/wlcs
and WEB-INF/src under that) you can look at. The APIs haven't changed
significantly between 7.0 and 8.1.
Greg
Johnson wrote:
Thanks, Greg.
Is there any readymade JSP template comes with portal 8.1 to use? Or Do I need
to design the shopping cart GUI?
Gregory Smith <[email protected]> wrote:
You can add the commerce class to your application by
right-mouse-clicking on the appliation in Workshop and choosing
Install|Commerce Services. This will basically give you commerce.jar,
APP-INF/lib/commerce_util.jar, and replace wps-toolSupport.war with
toolSupport.war. It's best to do this while your server is not running.
Once you have that, you can access the
com.beasys.commerce.ebusiness.shoppingcart classes. There are javadoc
for those
(http://edocs.bea.com/wlp/docs81/javadoc/com/beasys/commerce/ebusiness/shoppingcart/package-summary.html).
You can also look at the 7.0 and 4.0 docs for portal, which contain
information about using the commerce classes (although webflow and
pipeline are gone, the base commerce classes haven't significantly changed).
Greg
Johnson wrote:
Folks,
How do I create a shopping cart in WebLogic portal 8.1? Is there anyready made
template available?
Thanks
Johnson
Similar Messages
-
Attribute error while creating shopping cart in portal
Hi,
We are using SRM 7.0 . While creating shopping cart in portal , I am getting error " the attribute of the user are inconsistent or not defined. See transaction ppoma_bbp "
I have maintained attributes of ACS,BSA,BUK,BWA,CUR,KNT,WGR & WRK . Done attribute check in BBP_ATTR_CHECK, it issued warning message for CAT attribute. All other attributes are Ok.
Could anybody help to resolve this.
Regards
AyyappanHI
Step 1: Check the consistency of the User for Shopping Cart using Transaction BBP_CHECK_CONSISTENCY. THis will give you a snapshot of what is missing in user's attributes for creating a SC.
Step 2. Go to PPOMA_BBP and note down the Position id and CP id of the user. Then check the consistency of these objects using BBP_BP_OM_INTEGRATE.
It seems the combination of attributes is not in right place for this user
Regards
Virender Singh -
Error While Creating Shopping Cart in Portal.
Hi,
Users are facing some issue while creating the shopping cart in Portal.
This issue they are not facing every time.. Some times it is working fine and some times it is not.
The Error which was logged in the Default trace file is as below:
java.lang.NullPointerException#
at java.lang.StringBuffer.<init>(StringBuffer.java:130)#
at com.sap.portal.pcm.admin.util.StringListTokenizer.<init>(AttributeValueList.java:117)#
at com.sap.portal.pcm.admin.util.AttributeValueList.<init>(AttributeValueList.java:41)#
at com.sap.portal.pcm.admin.util.AttributeValueList.stringToValueList(AttributeValueList.java:55)#
at com.sap.portal.unification.obntargetcreator.ParameterMappingHelper.getRelevantPersistedParametersForSpecificOperation(ParameterMappingHelper.java:414)#
at com.sap.portal.unification.obntargetcreator.ParameterMappingHelper.loadPersistedParametersForOperation(ParameterMappingHelper.java:366)#
at com.sap.portal.unification.obntargetcreator.ParameterMappingAccess.loadParameterMappingData(ParameterMappingAccess.java:58)#
at com.sap.portal.navigation.mapping.OBNParametersMapping.getMappingDesignTimeData(OBNParametersMapping.java:297)#
at com.sap.portal.navigation.mapping.OBNParametersMapping.getMappedDynamicParameter(OBNParametersMapping.java:106)#
at com.sapportals.portal.appintegrator.template_processor.ModifierImpl.getOBNMappedParameters(ModifierImpl.java:305)#
at com.sapportals.portal.appintegrator.template_processor.ModifierImpl.getMappedParameters(ModifierImpl.java:297)#
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processModifier(TemplateProcessor.java:304)#
at com.sapportals.portal.appintegrator.template_processor.compiler.ProcessModifierAction.execute(ProcessModifierAction.java:16)#
at com.sapportals.portal.appintegrator.template_processor.compiler.ProcessTemplateAction.execute(ProcessTemplateAction.java:39)#
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.processImpl(TemplateProcessor.java:416)#
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:390)#
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessor.process(TemplateProcessor.java:402)#
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:54)#
at com.sapportals.portal.appintegrator.template_processor.TemplateProcessorService.processTemplate(TemplateProcessorService.java:107)#
at com.sapportals.portal.appintegrator.layer.AbstractIntegrationLayer.processTemplate(AbstractIntegrationLayer.java:442)#
at com.sapportals.portal.appintegrator.layer.URLTemplateProcessLayer.processLayer(URLTemplateProcessLayer.java:33)#
at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:161)#
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doActionPass(AbstractIntegratorComponent.java:68)#
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doOnPOMReady(AbstractIntegratorComponent.java:54)#
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:396)#
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:249)#
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:368)#
at com.sapportals.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java:799)#
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:652)#
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)#
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)#
at java.security.AccessController.doPrivileged(Native Method)#
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)#
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)#
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)#
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)#
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)#
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)#
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)#
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)#
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)#
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)#
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)#
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)#
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)#
at java.security.AccessController.doPrivileged(Native Method)#
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)#
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)#
Could any one suggest something how to go ahaead to resolve this issue.
Thanks in advance.
Regards,
Viswes.Hi,
Hope this is not an application error ,its happens some time if portal is down,So if you get this error contact your basis team..
Regards
Vishal -
Dump while displaying shopping cart in portal ?
Hi,
We are in SRM 7.0 and we are using portal.
We are in intial upgrade stage from SRM 5 to SRm 7.0.
When we select the shopping cart and click on DISPLAY or EDITin portal nothing is happened.
From HTTP watch , we found that ..it is going to the URL and it is stucked.
When we try to access the URL directly , we are getting below error.
Error when processing your request
What has happened?
The URL http:// ........./sap/bc/webdynpro/sap/powl was not called due to an error.
Note
The following error text was processed in the system RST : An exception occurred that was not caught.
The error occurred on the application server fsp55a02_RST_00 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: INITIALIZE of program CL_POWL_MODEL=================CP
Method: HANDLEDEFAULT of program /1BCWDY/J9ZTOJ20D6QLEKKWJHSF==CP
Method: HANDLEDEFAULT of program /1BCWDY/J9ZTOJ20D6QLEKKWJHSF==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/J9ZTOJ20D6QLEKKWJHSF==CP
Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_IF_VIEW=====CP
Method: DISPLAY_TOPLEVEL_COMPONENT of program CL_WDR_CLIENT_COMPONENT=======CP
Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Could any one please let me know the issue.
Regards
Venkatesh PHi ,
Below is the dump.
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_POWL_FATAL_EXCEPTION
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_POWL_FATAL_EXCEPTION' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_POWL_MODEL=================CP' has to be
terminated.
Line SourceCde
61 result = cl_powl_util=>ms_display_alvdialog_as_popup
62 .
63
64 * read configuration setting for POWL FOCUS
65 CALL METHOD me->read_config_property
66 EXPORTING
67 i_property = 'POWL_DEFAULT_FOCUS'
68 * i_type =
69 IMPORTING
70 result = mv_powl_focus.
71
72 * switch POWL delta rendering on (if requested in corresponding URL parameter)
73 mr_table_helper->set_powl_delta_rend_state( i_powl_delta_rend ).
74
75 m_refresh_srv_group = i_srv_group.
76
77 l_applid = i_applid.
78
79 IF m_applid IS INITIAL AND
80 l_applid IS INITIAL.
81
82 * try to get application ID from configuration
83 me->read_config_property(
84 EXPORTING i_property = 'POWL_APPLICATION_ID'
85 IMPORTING result = l_applid
86 ).
87
88 IF l_applid IS INITIAL.
89
90 * we expect a valid application ID!
>>>> RAISE EXCEPTION TYPE cx_powl_fatal_exception
92 EXPORTING
93 textid = 'APPLID_ILLEGAL'.
94 ENDIF.
95
96 ENDIF.
97 " clear latest switched query
98 CLEAR ms_new_query.
99
100 * check if we have to do a full (re-)initialization
101 IF l_applid IS NOT INITIAL AND
102 m_applid <> l_applid.
103
104 m_applid = l_applid.
105 l_do_full_init = 'X'.
106 ELSE.
107 l_do_full_init = space.
108 ENDIF.
109
110 * check if we can exit here since the WD session data is still valid
Regards
Venkatesh P -
Hi All,
Could Any body tell me how to develop the 'shopping cart' in the Portal ( for e commerce) and please tell me where i can get the documentation for this Shopping Cart development.
Thanks in advance.Hi,
Portal provides a number of ways to develop portlets.
When thinking about a fairly complex system, like an e-commerce application, I'd probably go with Java.
You find detailed information about your options in the Portal Developer's Guide.
Hope this helps,
Peter -
Error in Shopping Cart Upload from Portal Using Excel
Dear All ,
I am facing problem when i try to upload excel file for creating Shopping cart from Portal . For doing this i have created a transaction from SRM r/3 and using Transaction i view i published the tcode on portal . But when i try to upload a excel file using the transaction i am getting a Exception UPLOAD_OLE . For uploading excel we copied the Fm ALSM_EXCEL_TO_INTERNAL_TABLE . Its working fine in SRM R/3 environment.but facing issue on portal . Please help us out on this .
Regards
ShankarDear Poster,
As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
Best Regards,
SDN SRM Moderation Team -
Create Shopping cart (or PO) in SRM/EBP from a flat file
Hi all
I am looking for a function module or BAPI or any program that i can use to create shopping cart in SRM from a flat file.
Is there a way to set up a break point in ITS transactions that are used to create shopping carts through portal? Can we debug HTML templates?
If any one knows how to do any of those please let me know.
Your help is greatly appreciated.
Thanks
SreenivasHi,
You would get better response for your question from
Internet Transaction Server (ITS)
Regarding your question about break point. yes it can be done.
Regards
Raja -
Error on shopping cart : "No purchasing group exists"
Hi,
While the user tries to add items to shopping cart through portal, he is getting error "No purchasing group exists" which stops the user from saving the shopping cart.
We have checked org structure where all the necessary configuration is existing. Please suggest what could be the reason for the error.
Thanks in advance.
Tejas JaniHello Tejas,
System is not able to determine the PGrp. 3 things are important for determining PGrp
a. Organization Unit
b. Product category
c. Logical System
To check whether its a data issue or system issue. Best way is to update one of the PGrp
1. Ensure in function tab PGrp is flagged & assigned to backend PGrp
2. Maintain Responsibility tab Product responsibility as * & Organization responsibility as highest node in Org structure.
Now, create a new shopping cart. It should pick this PGrp. If not, check if you have implemented BBP_PGRP_FIND BADI in system.
Hope this helps.
Ashutosh -
Hi,
I have a report which contains 10+ shopping carts cretaed by user XYZ
But when I try to see the details of this shopping cart it falls into error
"The following error text was processed in the system DE1 : Attribute for user contains errors. Inform system admin.
The error occurred on the application server gbahev19_DE1_22 and in the work process 0 .
The termination type was: ABORT_MESSAGE_STATE
The ABAP call stack was:
Form: OUTPUT_EXPRESS_MESSAGES of program SAPLBBP_SC_UI_ITS
Form: EXTERNAL_SCREEN_DETERMINE of program SAPLBBP_SC_UI_ITS
Module: EXTERNAL_SCREEN_DETERMINE of program SAPLBBP_SC_UI_ITS"
Please note that user XYZ is recently delimited and User ABC is occuping his position.
How can i see the shopping cart details in Portal?
Thanks
RajendraHi,
Let me explain the problem in details.
We create Org structure in R/3 which replicates to SRM on daily basis.
Portal fetches the data from SRM.
Now as the User XYZ who has created shopping carts is removed from org structure(R/3 & SRM).So his personnel record is no more in the system.(replaced by a new user)
Still we can see his shopping cart details in SRM in T-code "BBP_PD" (search by created by)
But when ever we try to see these shopping carts in portal(monitor shopping carts) we are getting the error as above.
Hope this clears the understanding.
Please help.
Thanks
Rajendra -
Create Shopping cart - Enter company code error
Hi All,
While creating shopping cart from portal, system is throwing error as "Enter Company Code". When checked under basic data tab, there is no values for company code field. How to bring these values into SRM from ECC ?
Regds,
CBHi,
Please find the details...
i have taken this from System >> Status >> Component Information >>
SAP_ABA 701 0003 SAPKA70103 Cross-Application Component
SAP_BASIS 701 0003 SAPKB70103 SAP Basis Component
PI_BASIS 701 0003 SAPK-70103INPIBASIS Basis Plug-In
ST-PI 2008_1_700 0000 - SAP Solution Tools Plug-In
SAP_BS_FND 701 0002 SAPK-70102INSAPBSFND SAP Business Suite Foundation
SAP_BW 701 0003 SAPKW70103 SAP Business Warehouse
SAP_AP 700 0015 SAPKNA7015 SAP Application Platform
SRM_PLUS 700 0002 SAPKIBK202 SRM_PLUS for mySAP SRM
SRM_SERVER 700 0002 SAPKIBKV02 SRM_SERVER
SRM_EXPL 700 0002 SAPK-70002INSRMEXPL SRM Extended Functionality for SRM_PLUS including PPS
SRM_EXT 700 0002 SAPK-70002INSRMEXT SRM Extended Functionality for SRM_SERVER including PPS
Regds,
CB -
Changing description of a field in shopping cart form in SRM Portal
Hi,
We have a requirement to change the description/adding a note to one of the fields in Shopping cart creation form in the portal. In the SHOP page, when we click on describe requirement we have an option to choose the product type as Goods or Services in the ADD ITEMS section. Here we would like to add a note for the radio button GOODS.
I tried to check the source and undertand that it uses the template - bbpsc01/99/saplbbp_sc_ui_its_1000.html
I'm not sure where I can view this HTML file and also not sure how I can modify this HTML page.
Please give some pointers regarding the same.
Thanks,
LakshmiHi,
I could see the HTML code in SE80 -> Internet service -> BBPSC01 -> HTML Template -SAPLBBP_SC_UI_ITS -> Screen 230.
Can I directly modify the code of this particular screen? Is there any standard procedure that need to be followed to modify the HTML Template?
Please clarify as soon as possible.
Note: I have not worked on Internet services before.
Thanks,
Lakshmi -
EDIT button not visible in Display Shopping Cart screen in SRM portal
Hello everyone,
I am facing one strange problem in SRM portal.
When i create a new shopping cart ON BEHALF of someone then after SAVING the shopping cart the EDIT button disappears from the screen.
But if i create a shopping cart for myself only then the EDIT button appears properly.
My system is SRM 7.0 .
Please if anyone has solution to this kindly replyFound a note for this issue. The note is 1444219
-
Attach files to a Shopping Cart in SRM portal using a ABAP program.
Hello.
We need to attach files to a Shopping Cart using a ABAP program and see them in SRM portal.
Currently we know how to attach files in the backend using the function Xxxxxxxxxx but with this function we can not see the attachment in the SRM portal.
Do you know someway to attach files direclty in the front-end using a program?
Maybe i have to attach first in the back-end and after that transfer to front-end?
I have seen some thread but the solution provided is in the other way arround (transfer from front-end to backend) and then is not useful for my proble.
Thanks in advance.
Kr,
Angel.Hello Angel,
You can attach a file to SC ,and it is a standard functionality provided in SRM.
While creating a Shopping cart,under Documents and attachements tab,there is an option to select a local file and attach it to a SC
If you are looking at attaching the document in SRM and sending it to BE system.(R/3 system), then have a look at SAP note Note 1057932 - FAQ: Atachment transfer to backend, Required Configurations.
The Following BADIs will have to be implemented to allow the above functionality
For transfer of attachments in PO , activate the BADI BBP_CREATE_PO_BACK. Set the values of the following parameters in the
method BBP_CREATE_PO_BACK~Fill_PO_INTERFACE
CV_ATTACH_TRANSFER_ACTIVE = 'X'
CV_ATTACH_BE_STORAGE_CAT = 'DMS_C1_ST'
CV_ATTACH_BE_DOC_TYPE = 'SRM'.
For transfer of attachments in PR, activate the BADI
BBP_CREATE_REQ_BACK. Set the values of the following parameters in the method BBP_CREATE_REQ_BACK~FILL_REQ_INTERFACE
CV_ATTACH_TRANSFER_ACTIVE = 'X'
CV_ATTACH_BE_STORAGE_CAT = 'DMS_C1_ST'
CV_ATTACH_BE_DOC_TYPE = 'SRM'.
Award points if useful.
Thanks
Arshad -
SRM Shopping cart pop up not appearing in EP 6 portal
Hello
I have set up the SRM business package in the EP6 SP13 portal. If I create a Shopping Cart via the ITS then leave the transaction (say by clicking on another transaction a popup would come up and warn me that I have not saved the shopping cart and would lose my work.
However via the portal, this message doesn't appear.
Does anyone have any ideas how to get this pop up to appear on the portal iview?
Thanks
RebeccaHi!
As Detlev suggested the only "standard" solution is to use Portal's EPCF dirty flag.
In SRM transactions when you are in change (or similar) mode in the HTML source code of the SRM transaction there is a flag (JavaScript variable) that refers to this state.
You have to check this Mode flag, and set the Portal's EPCF flag accordingly.
There are many ways you can achive this little trick.
E.g.
-In every SRM transaction the WPINTEGRATION.JS file is included, so you can put sour code here.
-Or you implement SRM transactions via a proxy html page (stroing it e.g. at the Portal KM), which is called via an URL iview.
Once you made this Portal will not let you close an SRM transaction when it is in change/create mode without a warning.
Hope this little overview gives you enough to start with.
BR.
Richard -
User exit to only display Shopping Cart-Backend application errors in SRM portal
Hi Experts,
We have a requirement where users should be able to access the "Shopping Cart errors" from portal. But we don't want users to access monitor Shopping cart under Applications monitor link.
Thanks in advance for your help.
BR,
SaurabhHi,
you maay need to enhance/modify the method
/SAPSRM/CL_CH_WD_MON_CONTAINER->/SAPSRM/IF_CLL_MON_CONTAINER~INIT_MAPPERS
It's the initialization of the items in this monitor list
Regards
Konstantin
Maybe you are looking for
-
Loop won't increment to next line
My assignment is to do a simple encryption (A-->F,G-->L, etc.) My program will do the encryption, but will only read one line of the text document. How do I get it to read all the lines? Assigned text doc.: A long time ago there was a young boy who w
-
Continued wireless printing failure
I have struggled for weeks to get my network printing wirelessly. I have a Macbook Pro and an iMac, both on Mountain Lion. I can get my Epson PX710W to print with USB but not wirelessly. I can ping the router from both Macs. I cannot ping Mac to Mac.
-
Finder window scroll bar behaviour
Hi folks, In a finder window in icon view normally I can scroll down to the end, go up to the enclosing folder and then back into the starting window and the scroll bar will be at the bottom, where I left it, which is perfect. Just recently it will a
-
Hi, Thanks for the help! I have a further question about the IQ data. I am trying to write my baseband output to the DAC_IQ channel. I have two questions: 1. what is the representation of IQ interleaved data? I mean, how they are interle
-
User-authorized only values in matchcode
Hi people, I get a strange behaviour of the BEx variable Input matchcode. I implemented 2 Multiproviders, containing a common authorization on an characteristic. The authorization variable is "ready to Input". In the first multiprovider, when I launc