Shopping Cart creation error
I am using SRM 4.0 and ECC 5.0 with Ex Classic scenario.
While I am trying to create Shopping cart following error is coming :-
"No organizational data exists on item level"
I have checked up all Org. plan data i.e. users are consistent all attribute in org nodes in function tab like company code Pur Org or Pur Grp maintained.
Secondly I have checked in R/3 that Material is also having Organization data like is extended to a Plant and Storage and Pur and Storage views are maintained. Still problem not resolved.
I am not able to understand this error message.
Could somebody help me ?
Thanks
Sanjay
Hi Vadim,
I found out the reason of problem. When we deflag check box for activate Extended Classic. This problem goes away.
Further as suggested by you we have analyzed Xn BBPSC01 in SAP gui and found in Extended details every data is populated like Prod Cat.,Company,Plant and S Loc etc. except Pur Org and Pur Grp. When we deflag Extended classic check box than Pur Org and Pur Grp are also populated.
What could be done as I have to use Extended classic scenerio.
Problem of in ITS service page of basic data not being displayed remains.
Thanks
Sanjay
Similar Messages
-
Accoung Assignment tab is disable during shopping cart creation
Hi Gurus,
Ned your expert advice on this issue.
We are using SRM7.0 classic scenario. During configuration, under SPRO>Supplier Relationship Management>SRM Server>Cross Application Basic Settings>Account Asisgnment, we define Account assignment categories, define G/L account for Product Category and Account assignment Category and no entry under Maintain Local Accounting Data.
However during shopping cart creation, Account Assignment tab is disable. We cannot even add line item and throwing an error. We assigned therequired entries under PPOSA_BBP but still unable to complete the shopping cart.
Please advice how to resolve the issue.
Thanks.Hi,
Have you enabled the 'default' checkbox?
Regards,
Nikhil -
Shopping cart Creation Time is different from system time
Hi ,
Shopping Cart Creation Time is Different from System time.
Could you tell me, to which time it is refering to.
How to change it.
Create By is webseruser
Where can I find the required settings for the same
Thanks In advanceHello,
Are you checking this in BBP_PD?
If you go to SU01 and check parameter "Personal Time Zone" -> "of the user", this time will appear to end user when creating document (document header in web).
If you do not have informed any value, it will be populated the pattern system timezone, defined in SU01 as well.
- I created a RFX in my test system with a user who's timezone (in tx SU01) is set as:
Sys. Time Zone CET
of the User INDIA
- CET time was 20:01:55
- GMT time was 18:01:55
- India time was 23:31:55
Looking at this RFX in BBP_PD I see the following:
Same user (India timezone and CET as "Sys. Time Zone"):
Created_At: 20:01:55
Changed_at: 20:01:55
DETAILS (header):
Created at: 18:01:55
Changed at: 18:01:55
RFX header (description): 23:31:55
So, for end users, you should populate field "of the user" in SU01.
In BBP_PD header details, you will have the GMT time (which is stored in internal tables).
In BBP_PD created_at and changed_at you will have the system time zone, as defined in SU01.
Regards,
Ricardo -
Using Wforms (Adobe interactive forms) in lieu of shopping cart creation
Our users complain of too much data entry during shopping cart creation and less frequent users complain about forgetting GL a/c and product ID. In talking to SAP their suggestion is to implement Wforms to avoid end users logging into SRM and rather enter relevant details on wform and then convert it to Shopping cart.
Has anyone implemented and can share how the experience has been,how difficult it to to implement wforms and support thereafter.I undertsand that wforms had issues in the past but SAP now claims to have overcome all those limitations.Please share your experience.Hi Ruchi,
Did you say SAP proposed that you use WFORMS in place of SRM Shopping Cart?? I am not entirely sure we are quite there yet! There is lots of details available [here |http://www.sdn.sap.com/irj/sdn/adobe]which describe SAP interactive forms. Maybe this will help you. But I am surprised your users find the SC creation difficult, especially the 4 step wizard, can you not assign default values to many of these areas where they are having trouble? (GL accounts etc)
Regards,
Jason -
Error in shopping cart creation
Hello,
We are creating a shopping cart and following error message has been displayed on the portal.
The url was not called due to an error.
Following notes were describing the error:
Inetrnal error cannot sync.
The error was occured on application server eccps_srq_50 and work process 4
termination type TH_RES_FREE.
ABAP Call stack was
system-exit of program SAPLBBP_SC_UI_ITS
Regards,
AshishHi
On what event, this short dump is happening. Please elaboarte.
Can you please paste the details dump here. ?
Hope this will help.
Regards
- Atul -
Object: Error on Shopping Cart creation (BBPSC02)
Hi all,
While adding an item to a Shopping Cart, the following error is occurring:
Error when processing your request
What has happened?
The URL https://srm.test.corp:8005/sap/bc/gui/sap/its/bbpsc02/~flNUQVRFPTIwMzA1LjAwNC4wMy4wMQ== was not called due to an error.
Note
<b>The following error text was processed in the system EST : Template interpretation failed. Template does not exist.
The error occurred on the application server sapsrmt_EST_00 and in the work process 1 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Function: B40B_ACCSERV_CHECKACCASSIGNMT of program SAPLBBP_BD_DRIVER_40B
Function: META_ACCSERV_CHECKACCASSIG_BUF of program SAPLBBP_BD_META_BAPIS
Function: META_ACCSERV_CHECKACCASSIGNMT of program SAPLBBP_BD_META_BAPIS
Form: COBL_CHECK of program SAPLBBP_PDACC
Form: ACCOUNT_CHECK_SINGLE of program SAPLBBP_PDACC
Form: ACCOUNT_MAINTAIN_SINGLE of program SAPLBBP_PDACC
Form: ACCOUNT_F_CREATE of program SAPLBBP_PDACC
Function: BBP_ACCOUNT_CREATE of program SAPLBBP_PDACC
Form: ITEM_F_CREATE_FROM_WTAB of program SAPLBBP_PDIAD
Form: ITEMLIST_F_UPDATE of program SAPLBBP_PDIAD</b>
Going into the ST22, as Error Analysis it is suggested:
As a test, you can set the service parameter ~generateDynpro = 1. The system then generates the HTML page for this service without a template. You can then at least see which screen was sent by the WebAs. Make sure to reset the parameter to its original value.
Adding this parameter, the transaction is working properly, but is asking User ID and password to connect to the back-end (that seems strange to me!).
A similar error (with different functions involved) is occurring while clicking on Settings: user settings are not visualized, but also changing the service parameter ~generateDynpro = 1, the transaction is working.
Any idea on where is the problem?
Thanks in Advance,
#Bill J.Hi Luciano,
these are the information coming from ST22 about the dump:
<b>Information on where terminated</b>
<i>Termination occurred in the ABAP program "SAPLBBP_BD_DRIVER_40B" - in "B40B_ACCSERV_CHECKACCASSIGNMT".
The main program was "SAPLBBP_SC_UI_ITS ".
In the source code you have the termination point in line 181 of the (Include) program "LBBP_BD_DRIVER_40BU34".</i>
<b>Source code extract</b>
164 IMPORTING
165 expcobl = e_backend_cobl[]
166 messages = return40b[].
167 IF e_backend_cobl[] IS NOT INITIAL.
168 REFRESH lt_backend_cobl.
169 lt_backend_cobl[] = e_backend_cobl[].
170 lv_change_in_badi = gc_yes.
171 ELSE.
172 IF lv_change_in_badi = gc_yes.
173 e_backend_cobl[] = lt_backend_cobl[].
174 ENDIF.
175 ENDIF.
176 ENDIF.
177 ENDDO.
178 ENDIF.
179 IF lv_change_in_badi = gc_no.
180
>>>> CALL FUNCTION 'BBP4X_CODINGBLOCK_CHECK'
182 DESTINATION destination
183 TABLES
184 bbpcobl = i_backend_cobl
185 expcobl = e_backend_cobl "note 202684
186 return = return40b
187 EXCEPTIONS
188 communication_failure = 1 MESSAGE msg_text
189 system_failure = 2 MESSAGE msg_text
190 OTHERS = 3.
191
192 IF NOT sy-subrc IS INITIAL.
193 CALL FUNCTION 'CONTROL_RECORD_ADD_VALUE'
Any suggestion on how to debug are welcome.
Thanks
#Bill J. -
Error while shopping cart creation
Hi All,
We are on SRM 7.0 and ECC 6.0.
We have just recently set up our SRM 7.0 system along with the portal. SSO, UWL etc have been configured in the Portal.
Now when the user logs in to create a shopping cart and clicks on the
1. Employee Self Service link, he gets the following error :
The URL http://sapsrmdev:8003/sap/bc/webdynpro/sap/powl/ was not called due to an error.
Note
The following error text was processed in the system ASR : Die URL enthält keine vollständige Domainangabe (sapsrmdev statt sapsrmdev.<domain>.<ext>).
The error occurred on the application server SAPSRMDEV_ASR_03 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: CHECK of program CX_FQDN=======================CP
Method: STARTUP_CHECKS of program CL_WDR_CLIENT_ABSTRACT_HTTP===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
Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
PS : The user has the standard employee self service role in the portal and employee role in the backend.
Also the service sap/bc/webdynpro/sap/powl/ is active.
Please provide inputs.
Regards
Edited by: sivakumar lakshminarayanan on May 12, 2011 11:56 AMHi Jay,
I maintained the FQDN as you mentioned.
Now I am getting a different error when I click on Employee Self Service link.
The URL http://sapsrmdev.patni.com:8003/sap/bc/webdynpro/sap/powl/ was not called due to an error.
Note
The following error text was processed in the system ASR : An exception occurred that was not caught.
The error occurred on the application server SAPSRMDEV_ASR_03 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: GET_LAYOUT of program CL_POWL_PERS_ACCESSOR=========CP
Method: INITIALIZE of program CL_POWL_MODEL=================CP
Method: HANDLEDEFAULT of program /1BCWDY/AFSW3OIPJU90DEGN2AMU==CP
Method: HANDLEDEFAULT of program /1BCWDY/AFSW3OIPJU90DEGN2AMU==CP
Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/AFSW3OIPJU90DEGN2AMU==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
Regards -
Shopping Cart Creation - SAPLBBP_PD program error
Hi Folks,
I have one query. Need your help on this.
We are using Product category. In extended attributes, for company code i deactivated the product category. Now, how is the possibility that i can use these product categories again back in my SRM system.
I'm also observing the error in SRM shopping cart processing as below:
Error application is coming up.
20110315
168996
085921
ISVSAPSRMDEV
http://isvsapsrmdev.ad.infosys.com:8001/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif/
SYNTAX_ERROR
Syntax error in program SAPLBBP_PD .
Method: CREATE_SC_INT of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
Method: CREATE_SC_INT of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
Method: CREATE_NEW_INSTANCE of program /SAPSRM/CL_PDO_FACTORY_SC_ADV=CP
Method: CONSTRUCTOR of program /SAPSRM/CL_CH_WD_BOM_SC=======CP
Method: /SAPSRM/IF_CH_WD_MAP_FACTORY~CREATE_SC_MAPPER of program /SAPSRM/CL_CH_WD_MAP_FACTORY==CP
And short dump while processing BBP_PD
Kindly guide.
thanking you all.
Sangmesh HiremathDear 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 -
Shopping Cart creation with reference to Backend Contract
Dear Experts,
We are working in SRM 7.0 Classic Scenario.
We have Backend Contract with document type PCTR which is available as Source of Suppliy when creating Shopping cart.
I can use this contracts as source of supply but the issue is when the Shopping cart total quantity crosses the target value of the Contract quantity there was no error message as the quantity has exceeded the target quantity.
The system is allowing me to create the Shopping cart but after approval the Shopping cart is showing the status as Approved and not creating PO or PR.
Is there any configuration available to get the update if the quantity in SC crosses the Target quantity of the backend contract.
It is also OK if the SC goes to Purchasers work list if the target quantity is crossed.
Kindly reply to this thread immedeately.
Regards,
B.N.Karthikeyan.Hi
target quantity or Target value ?
what about your Contract value contract - target value or target quantity
i aware value contract is throwing message if the sc exceeds the contract value.
share your contract details.
is it created in ECC or CCTR or GCTR . target quantity for materials or taget value for that material
br
Muthu -
Hi Guys,
I am trying to create a Shopping cart in SRM system executing the RFC from External system.I am trying hard to solve this issue since last 1 months and still i am not able to do that.plz help me out its very urgent now.
I am trying to use BBP_PD_SC_CREATE in combination with BBP_PD_SC_SAVE and Commit.
Here Below i am mentioning what all fields i using to pass the data, and what all errors i am getting after executing the function Module.
Please check it and tell me where exactly i am doing mistake.
FM ---> BBP_PD_SC_CREATE
I_REF_GUID 00000000000000000000000000000000
I_PARK X
I_SAVE X
I_HEADER
GUID 00000000000000
DESCRIPTION TEST
CURRENCY USD
PROCESS_TYPE SHC
I_ITEM
GUID 00000000000000000000000000000000
PARENT 00000000000000000000000000000000
NUMBER_INT 0000000001
NUMBER_EXT 0000000000
PRODUCT 00000000000000000000000000000000
DESCRIPTION MONITOR
CATEGORY 00000000000000000000000000000000
CATEGORY_ID 65.10
QUANTITY 1.000
UNIT EA
PRICE 1.00
PRICE_UNIT 1
GROSS_PRICE 1.00
CATALOG_PRICE 0.00
CURRENCY USD
PRODUCT_TYPE 01
LOGSYS_FI CFG300
BE_LOG_SYSTEM CFG300
BE_PLANT BUS1
BE_MOVE_REAS 0000
BE_PUR_GROUP W01
BE_PUR_ORG IBRD
BE_CO_CODE IBRD
BE_DOC_TYPE ECPO
BE_PACKNO 00000000
BE_INTROW 00000000
BE_PO_PRICE 1
I_ACCOUNT
GUID 00000000000000000000000000000000
P_GUID 00000000000000000000000000000000
DISTR_PERC 100.00
ACC_NO 0001
ACC_CAT CC
SRC_GUID 00000000000000000000000000000000
G_L_ACCT 500411060
BUS_AREA VTRS
COST_CTR 6589
SDOC_ITEM 000000
SCHED_LINE 0000
CO_AREA WBG1
PROF_SEGM 0000000000
CMMT_ITEM 500411060
FUNDS_CTR 6589
FUND BB
I_PARTNER
PARTNER_GUID 000000000000000000000000
P_GUID 000000000000000000000000
PARTNER_FCT 00000039
PARTNER_NO
ADDR_TYPE 1
ADDR_ORIGIN A
ADDR_NO 10735
PARTNER_ID 1058
same like i have passed 3 more partner details.
I_ORGDATA
GUID 0000000000000000000000000
P_GUID 0000000000000000000000000
PROC_ORG_RESP_ID 50000641
PROC_ORG_ID 50000640
PROC_GROUP_ID 50000641
When i execute it, i am getting error like
"Interface Data Contains error"
"Incorrect Interface Data for set PDDEP"
"Incorrect Interface Data for set PDDYN"
"Incorrect Interface Data for set PDFRT"
"Incorrect Interface Data for set PDHCF"
"Incorrect Interface Data for set PDDEP"
"Incorrect Interface Data for set PDORG"
"Incorrect Interface Data for set PDDEP"
"Incorrect Interface Data for set PDTAX"
"Incorrect Interface Data for set PDDEP"
"Incorrect Interface Data for set PDTOL"
"Incorrect Interface Data for set PDWGT"
"Enter Atleast one item for one limit"
Thanks alot.
GRTZ.
Regards,
Manoj TiwariHi,
before I would try to save a SC to the database, I would check how I have to fill the interface. Therefore I would suggest to read at first a SC from the database with FM BBP_PD_SC_getdetail. With this example of an existing SC you should be able to will the interface correctly.
E.g. when you check an existing SC with FM BBP_PD_SC_getdetail you see that some parameters are missing in your I_ORGDATA part. The I_ORGDATA part of my SC example looks like the following:
PROC_ORG_RESP_OT O
PROC_ORG_RESP_ID 92001699
PROC_ORG_OT O
PROC_ORG_ID 92000053
PROC_GROUP_OT O
PROC_GROUP_ID 92001699
Here you can see that you forgot the whole *OT parts! In your case the system doesn't know that you mean an orgunit.
As I mentioned above, when you know how a SC looks like on the database, it should be easy to fill the FM interface.
Best regards
Dennis -
Shopping Cart creation through describe requirement not working.
Dear All,
We are in to technical upgrade of SRM 4.0 to 5.0 (CS). With SRM 5.0 we have ECC6 as a backend system.
On SRM 5.0, we could successfully create SC from Internal Goods/Services & against that shopping cart a PO gets created in backend. But when we try to create shopping cart from describe requirement the system throws following error messages,
1. Enter company code
2. No logical system for FI maintained. Inform system admin.
3. Error in account assignment for item 1
4. Error in partner transfer
5. Not possible to calculate tax
Plz, help to solve this error.
Regards,
VivekHi
Try to clear one by one error
What is the company code in BAsic data of SC?
Run a report BBP_CHECK_CONSISTENCY for that user for sc.
Howerver verify these following configuration.
Implementation Guide (IMG): Supplier Relationship Management ® SRM Server ® Cross-Application Basic Settings ® Account Assignment ® Define Account Assignment Categories
Implementation Guide (IMG): Supplier Relationship Management ® SRM Server ® Cross-Application Basic Settings ® Account Assignment ® Define G/L Account for Product Category and Account Assignment Category- here there is a setting Product category, Accounr assigmnment (CC,WS , logical system name anf Gl acount) check it upi.
Most of the data comes from your org structure only. However check it your settings which i mentioned.
regards
Muthu -
Shopping Cart creation - Internal Catalog
Hi All,
When I try to create Shopping Cart using Internal Catalog I am getting the following error after I check out.
Product and description are missing
Incomplete items in catalog. Only complete items were transferred.
Can you help me in finding the solution.
OCI mapping is done for the both the fields NEW_ITEM-DESCRIPTION & NEW_ITEM-MATNR .
Regards,
Rahul.Hi Sandeep,
From SLG1 transaction I understood that both product id and description are not passed.
But both the details are mapped under OCI.
NEW_ITEM-DESCRIPTION is mapped to Short Description
NEW_ITEM-MATNR is mapped to Product ID.
Can you explain why these details are not passed?
Regards,
Rahul
Edited by: bsr_rahul on Jul 7, 2011 1:25 PM
Edited by: bsr_rahul on Jul 7, 2011 1:47 PM -
Shopping cart creation category dropdown selecting the most used category
Hi SRM gurus,
While creating a shopping cart one of our most used category gets selected by default before we start doing anything.
Everytime we have to change the category.
Is there a way that will become blank and we can select from the dropdown or the find list.
Kindly suggest.
We are using SRM component version 4.0, SRM server 5.0, our patch level 0008.
Thx. & reg.,
Sridhar.Hi
<b>Yes.. This was happening with us when we used SRM 4.0 version.
We have used an BADI Implementation to resolve this issue.</b>
<u>The BADI name is <b> BBP_F4_READ_ON_EXIT </b></u>
For Product category -> Product category (attr. WGR, PRCAT) GET_CATEGORY Method, you need to go ahead.
<u>Read the documenation of this BADI and you will get the problem resolved after implementing the same.</u>
Here is the documentation
BBP_F4_READ_ON_EXIT
Short Text
Restrict the Display in Input Helps and Search Helps
You can use the Business Add-In (BAdI) BBP_F4_READ_ON_EXIT to restrict (or augment) the list of values and favorites that are output in the input and search helps. You can only process data elements for which input helps exist on HTML templates. The following three BAdIs are also available:
BBP_F4_READ_ON_ENTRY
Use this BAdI if you do not just want to restrict the favorites and values list but also want to select this yourself.
BBP_F4_MEM_UPDATE
BBP_F4_SAVE_DB
The following three modules are used to process the values per data element:
BBP_GET_<data element>_F4
Supplies a list of all values and user-specific favorites. You can influence how this module works using BAdI BBP_F4_READ_ON_ENTRY and BBP_F4_READ_ON_EXIT.
BBP_UPD_<data element>_FAV
Updates the favorites in internal function group storage. You can influence how this module works using BAdI BBP_F4_MEM_UPDATE.
BBP_SET_<data element>_FAV
Writes the current favorites to the database. You can influence how this module behaves using BAdI BBP_F4_SAV_DB.
Use
Only implement this BAdI and only program the appropriate method if you want to restrict or augment the value set of standard selection.
If you determine favorites using a BAdI, the standard modules do not process the favorites further. Warning: If, deviating from standard selection, you determine the list of favorites yourself using a BAdI, you have to temporarily store the favorites in the methods of the BAdIs and carry out final saving to the database yourself.
Standard settings
If data is added via the methods, no check of this data occurs. The check has to occur in the methods themselves.
The interfaces of the methods of the BAdI are (almost) always the same:
IV_LANGUAGE
Language for determination of the texts
IV_USER
User for which the values are requested
ET_<data element>_LIST
The list of valid values changed by you
EV_X_FAV_PROCESSED
Use "X" to stipulate that you have filled the favorites list. Only present if favorites table exists for relevant data element.
ET_<data element>_FAVOURITES
Changed favorites list for user IV_USER. Only exists if favorites table exists for relevant data element.
The methods have to fill the structures of the transfer tables completely. Incompletely filled structures can cause followup errors and unforseen consequences.
Activities
Reading of value lists and favorites using function module BBP_GET_<data element>_F4 occurs as follows:
1. First the BAdI BBP_F4_READ_ON_ENTRY is called. It is possible to fill the input list (and favorites) with default values.
a) In the case of default values, exactly these values are returned to the initiator. No further processing or check occurs and the module is exited.
b) If no default values exist, the standard selection is carried out.
2. Before the values are transferred externally you can restrict or augment the number of hits using the BAdI BBP_F4_READ_ON_EXIT. You can therefore delete entries from or add entries to the input list or favorites list.
3. BAdI BBP_F4_READ_ON_EXIT provides an individual method for each data element for which an input help and/or favorites table exists. These are listed below.
If you use this method, you need to indicate processing using the parameter EV_X_LIST_PROCESSED or EV_X_FAV_PROCESSED. Otherwise the selection is lost.
List of available methods per data element in BBP_F4_READ_ON_EXIT:
Field/Data element Method
Currency GET_CURRENCY
Region GET_REGION
Country GET_COUNTRY
Language GET_LANGUAGE
Industry GET_INDUSTRY
Academic title GET_ACADEMIC
Time zones GET_TIMEZONE
Procurement cards GET_PCARD
Legal forms GET_LEGAL
Format for name format GET_NAMEFORM
Quality management systems GET_QMSYSTEM
Fixed values GET_DOMVALUE
Form of address texts GET_TITLEKEY
Units of measure GET_UNIT
Bank data GET_BANKINFO
Tax number types GET_TAXNUMT
Tax numbers per country GET_TAXTYPE
Tax groups per tax type GET_TAXGROUP
Terms of payment GET_PAYMTERM
RFC destinations GET_RFC_LOGS
Logical systems GET_LOGSYS
Tax codes GET_TAXCODE
Catalogs (attribute CAT) GET_CATALOG
Roles (attribute ROLE) GET_ROLE
Account assignment categories (attribute KNT) GET_KNT_ATTR
Purchasing organizations (from PdOrg) GET_PURCHORG
Purchasing organizations (per company) GET_PORGCOMP
Purchasing group (from PdOrg) GET_PURCHGRP
Purchasing group (per company) GET_PGRPCOMP
Product category (attr. WGR, PRCAT) GET_CATEGORY
Products GET_PRODUCT
Goods recipient plant (attr. REQUESTER) GET_GRCPLANT
Goods recipient user (attr. REQUESTER) GET_GRCUSER
Requester (attribute REQUESTER) GET_BOBUSER
Cost centers (attribute CNT) GET_COSTCENT
Asset classes (attribute ANK) GET_ASSETCL
Assets (attribute AN1) GET_ASSETNO
Asset subnumbers (attribute AN2) ET_ASSETSUB
Network (attribute NET) GET_NETWORK
WBS element (attribute PRO) GET_WBSELEM
Order (attribute ANR) GET_ORDERNO
Customer order (attribute AUN) GET_SDDOC
Customer order item (attribute APO) GET_SDDOCPOS
Document type (attribute BSA) GET_DOCTYPE
Transaction type (attribute TEND_TYPE) GET_TENDTYPE
<i>Incase you face any problems, do let me know.</i>
Hope this will help.
Please reward suitable points.
Regards
- Atul -
Newbie - JSP & bean shopping cart logic error?
Hello,
I am attempting to bulid a shopping cart facility on a JSP site that I am building.
I am having difficulties adding an item to the basket.
The page below (bookDetail.jsp) displays items for sale from a database. At the foot of the page, I have set up a hyperlink to add an item to a basket bean instance created in this page.
What happens is the page will load correctly, when i hover the mouse over the hyperlink to add the item to the basket, the status bar shows the URL of the current page with the details of the book appended. This is what I want. But when I click the link, the page will only reload showing 20% of the content.
Netbeans throws up no errors, neither does Tomcat, so I am assuming I have made a logical error somewhere.
I have enclosed the Book class, and the ShoppingCart class for your reference.
Any help would be really appreciated as I am at a loss here.
Cheers.
Edited highlights from bookDetail.jsp
//page header importing 2 classes - Book and ShoppingCart
<%@ page import="java.util.*, java.sql.*, com.shopengine.Book, com.shopengine.ShoppingCart" errorPage="errorpage.jsp" %>
//declare variables to store data retrieved from database
String rs_BookDetail_bookRef = null;
String rs_BookDetail_bookTitle = null;
String rs_BookDetail_author = null;
String rs_BookDetail_price = null;
//code that retrieves recordset data, displays it, and places it in variables shown above
<%=(((rs_BookDetail_bookRef = rs_BookDetail.getString("book_ref"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_bookRef)%>
<%=(((rs_BookDetail_author = rs_BookDetail.getString("author"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_author)%>
<%=(((rs_BookDetail_bookTitle = rs_BookDetail.getString("book_title"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_bookTitle)%>
<%=(((rs_BookDetail_price = rs_BookDetail.getString("price"))==null || rs_BookDetail.wasNull())?"":rs_BookDetail_price)%>
//this link is to THIS PAGE to send data to server as request parameters in Key/Value pairs
// this facilitates the add to basket function
<a href="<%= response.encodeURL(bookDetail.jsp?title=
"+rs_BookDetail_bookTitle+"
&item_id=
"+rs_BookDetail_bookRef +"
&author="+rs_BookDetail_author +"
&price=
"+rs_BookDetail_price) %> ">
<img src="images\addtobasket.gif" border="0" alt="Add To Basket"></a></td>
// use a bean instance to store basket items
<jsp:useBean id="basket" class="ShoppingCart" scope="session"/>
<% String title = request.getParameter("title");
if(title!=null)
String item_id = request.getParameter("item_id");
double price = Double.parseDouble(request.getParameter("price"));
Book item = new Book(item_id, title, author, price);
basket.addToBasket( item );
%>
ShoppingCart class that is used as a bean in bookDetail.jsp shown above
package com.shopengine;
//import packages
import java.util.*;
//does not declare explicit constructor which automatically creates a zero argument constructor
//as this class will be instantiated as a bean
public class ShoppingCart
//using private instance variables as per JavaBean api
private Vector basket;
public ShoppingCart()
basket = new Vector();
}//close constructor
//add object to vector
public void addToBasket (Book book)
basket.addElement(book);
}//close addToBasket method
//if strings are equal, delete object from vector
public void deleteFromBasket (String foo)
for(Enumeration enum = getBasketContents();
enum.hasMoreElements();)
//enumerate elements in vector
Book item = (Book)enum.nextElement();
//if BookRef is equal to Ref of item for deletion
//then delete object from vector.
if (item.getBookRef().equals(foo))
basket.removeElement(item);
break;
}//close if statement
}//close for loop
}//close deleteFromBasket method
//overwrite vector with new empty vector for next customer
public void emptyBasket()
basket = new Vector();
}//close emptyBasket method
//return size of vector to show how many items it contains
public int getSizeOfBasket()
return basket.size();
}//close getSizeOfBasket method
//return objects stored in Vector
public Enumeration getBasketContents()
return basket.elements();
}//close getBasketContents method
public double getTotalPrice()
//collect book objects using getBasketContents method
Enumeration enum = getBasketContents();
//instantiate variable to accrue billng total for each enummeration
double totalBillAmount;
//instantiate object to store data for each enummeration
Book item;
//create a loop to add up the total cost of items in basket
for (totalBillAmount=0.0D; enum.hasMoreElements(); totalBillAmount += item.getPrice())
item = (Book)enum.nextElement();
}//close for loop
return totalBillAmount;
}//close getTotalPrice method
}//close shopping cart class
Book Class that is used as an object model for items stored in basket
package com.shopengine;
import java.util.*;
public class Book{
//define variables
private String bookRef, bookTitle, author;
private double price;
//define class
public Book(String bookRef, String bookTitle, String author, double price)
this.bookRef= bookRef;
this.bookTitle=bookTitle;
this.author=author;
this.price=price;
//create accessor methods
public String getBookRef()
return this.bookRef;
public String getBookTitle()
return this.bookTitle;
public String getAuthor()
return this.author;
public double getPrice()
return this.price;
}//close classpage will only reload showing 20% of the content.Im building some carts too and I had a similiar problem getting null values from the mysql database. Are you getting null values or are they just not showing up or what?
On one of the carts I'm building I have a similiar class to yours called products that I cast onto a hashmap works alot better. Mine looks like this, maybe this is no help I don't know.......
public class Product {
/**An Item that is for sale.*/
private String productID = "Missing";
private String categoryID = "Missing";
private String modelNumber = "Missing";
private String modelName = "Missing";
private String productImage = "Missing";
private double unitCost;
private String description = "Missing";
public Product(
String productID,
String categoryID,
String modelNumber,
String modelName,
String productImage,
double unitCost,
String description) {
setProductID(productID);
setCategoryID(categoryID);
setModelNumber(modelNumber);
setModelName(modelName);
setProductImage(productImage);
setUnitCost(unitCost);
setDescription(description);
public String getProductID(){
return(productID);
private void setProductID(String productID){
this.productID = productID;
public String getCategoryID(){
return(categoryID);
private void setCategoryID(String categoryID){
this.categoryID = categoryID;
public String getModelNumber(){
return(modelNumber);
private void setModelNumber(String modelNumber){
this.modelNumber = modelNumber;
public String getModelName(){
return(modelName);
private void setModelName(String modelName){
this.modelName = modelName;
public String getProductImage(){
return(productImage);
private void setProductImage(String productImage){
this.productImage = productImage;
public double getUnitCost(){
return(unitCost);
private void setUnitCost(double unitCost){
this.unitCost = unitCost;
public String getDescription(){
return(description);
private void setDescription(String description){
this.description = description; -
Unable to create shopping cart (multiple errors)
Dear All,
When I try to create the shopping cart, I get the following errors
No Logical System for FI is maintained. Inform system admin.
Enter the company code
No Logical System for FI is maintained. Inform system admin.(2nd time)
Error in account assignment for item1
I have maintained Plant -> Storage Locations -> Extended Attributes in PPOMA_BBP. I got the partner Id from BBP_LOCMAP after running the BBP_LOCATIONS_GET
I have checked the RFC connection from SRM to ECC (R3 system). I am able to get into ECC without the login details
Can you please advise on the troubleshooting steps?
Thanks for your time.Hello,
Does the user you are testing with have the required puchasing roles?
I have noticed that there are some customizing roles in SU01.
Are the correct attributes maintained in PPOMA_BBP?
Please check table BBP_DET_LOGSYS as it may contains old product
category GUID.
After downloading the customzing object, DNL_CUST_PROD0, in your
system, the GUID created in COMM_CATEGORY table could be different from
the one used in BBP_DET_LOGSYS.
Redo the "Define Backend System for Product Category" in the IMG
and recheck.
Please also verify the business organization settings.
I hope it helps.
Kind regards,
Gaurav
PLEASE GIVE FULL POINTS FOR USEFUL REPLIES
Maybe you are looking for
-
Im going crazy. Everytime I click on a sub-menu within a document or email, the pointer takes me back to the beginning of the document. For example, I need to change the colour of my response to a series of questions. I click on red in the drop dow
-
Custom MIRO/Provisional GR
Dear All, In standard system for import scenario we create an import PO,then custom miro,goods receipt,planned delivery charges and then vendor invoice miro. Now in one of my client due to unavailability of the space the goods is placed outside the p
-
FLV Players with multiple playlists.
Both the LA Times http://www.latimes.com and the Chicago Tribune http://www.chicagotribune.com as well as other newspapers have a nifty multi-playlist FLV player on their front page. The Player comes with a playlist that shows thumbnails for a list o
-
Third party issue - PR from SO
Hello, Our client wants the drop ship scenario as follow: Create sales order which will trigger PR ceation. But the thing is when you create SO, system should perfom the availability check and based on results should create PR. (e.g. if material is a
-
Audio-problems, please help!
iphone4G: I can´t use my telephone :-(. There´s no audio. The phone-partner can hear me, but I can´t hear him! When I take the hear-loud-function, I can hear him! Do you have an idea? I restarted already and the one-year-guarantee is just over ...onl