Shopping cart line status and codes
I am using SRM 4.0 , I need a list of all Shopping cart line status and codes. Where can i find that infomation
Hi,
Regarding only to shopping cart status, it can be the following:
At header level:
I1039 - Doc incomplete
I1131 - Template
I1009 - Held
I1040 - Deleted
I1038 - Doc complete
I1106 - Shopping cart ordered
I1023 - Transaction completed
I1015 - Awaiting approval
I1129 - Approved
I1016 - Approval rejected
I1138 - Resubmission
At item level:
I1111 - Item in transfer process
I1112 - Error in transmission
I1113 - Follow-on document created
I1114 - Item in deletion process
I1139 - Change of an external requirement
I1114 - Follow-on document deleted
I1116 - Deletion failed
Kind regards,
Ricardo Cavedini
Similar Messages
-
Add an approval to shopping cart whose status is awaiting approval SRM7.0
Hi All,
In one of my requirements i need to add an approver to a shopping cart which is on status awaiting approval programmatically in SRM7.0.
1. Is it possible to add an aprrover to shopping cart whose status is awaiting approval programmatically.
2. If yes, please guide me the steps or classes and methods are used to do this.
Thanks in Advance.
Best Regards,
KrishnaHi Saravanan,
I am sorry for delayed response..
Requiremnet:
Need to add approvers manually to the shopping cart which is on awaiting approval status.
The code flow follows as below:
1. as the workflow already started for this shopping cart so we have interrupted the shopping cart with belwo method
CALL METHOD /sapsrm/cl_wf_adv_facade=>interrupt_process
EXPORTING
iv_document_guid = lv_new_guid ( shopping cart guid)
2. instantiated the object for the class /sapsrn/cl_pdo_bo_sc_adv, to its constructor i have passed values work item id generated in above process.
3. added an approver manually to shopping cart using method of above said class /sapsrm/if_pdo_do_apv_ext~add_approver.
4. if i skip the execution of method /sapsrm/if_pdo_bo_sc~order, i am able see all the approvers added manually but the status is "In your Inbox"
5. if i execute the above said order method, all the approvers added manually are lost.
Question:
1. Please suggest me the sequence of methods called are correct?
2. As per my understanding complete workflow is restarting, so it is losing all the manual approvers if i am wrong suggest me, Is it not possible to have previously added manually added approvers even after ordering the cart? -
Shopping cart line items are missing while transfering from ITS to EBP
Hi everyone
I am Raghu, working on EBP (version 2.0)
Some shopping cart line items are missing while transferring the shopping cart data from ITS to EBP.
For example in my shooping cart 4 items are there,during transferring shopping cart data from ITS to EBP all 4 items are getting updated for all the shopping cart related tables except account assignment table.
In account assignment table for this particular shopping cart only 3 items are updated and usually the first line item gets missed out.Hence the the system fails to create the follow on documents in R/3.
This is happening randomly for few of the shopping carts that too most of the cases first item of the shopping cart was not updating reqacct table(this is account assignment table for shooping cart items).
I have debugged entire scenario,but couldn't find the cause for this..
Can any one please advise me....why this is happening?
Your immidiate ersponse will surely help me a lot.
Thanks,
RaghuHi Yann
Thanks for your support.
Yes, we are using EBP2.0/CRM 2.0C & the support pack level is SAPKU20C23.
Please advice
Thanks
Raghu -
Shopping Cart Line Item Interval
Hi Experts,
We are on SRM 7.0 SP05, By default shopping cart line item interval is 1,2,3,4.....etc,. My requirement is to have it as 10,20,30,40.....etc,
Is it possible to achieve this ?. If yes, please let me know how to do that.
Appreciate your help
BR,
Sivanumber range not advisable stick with SAP rules.
even we are i classic po /pr LINE ITEM 10 ,20 SC W.R.T 1,2 ...ITEM.
concentrate some other customer developments and convince customers regarding this.
Muthu -
Need Help Badly on Shopping Cart Using JSP And Java Servlet
Hi All,
This is the 1st time i am trying to create a shopping cart using JSP and Servlet.
I have read through a few acticles but i still do not get the whole idea of how it works.
Please guide me as i need help very badly.
Thanks.
This is one of the jsp page which displays the category of products user would like to buy : Products.jsp
<html>
<head>
<title>Purchase Order</title>
</head>
<body topmargin="30">
<table border="0" width="100%" id="table1" cellpadding="2">
<tr>
<td bgcolor="#990000" width="96">
<p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
Code</font></b></td>
<td bgcolor="#990000" width="260">
<p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
Description </font></b></td>
<td bgcolor="#990000" width="130">
<p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Brand
</font></b></td>
<td bgcolor="#990000" width="146">
<p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">UOM
</font></b></td>
<td bgcolor="#990000" width="57">
<p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Unit<br>
Price </font></b></td>
<td bgcolor="#990000" width="62">
<p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
Carton<br>
Price </font></b></td>
<td bgcolor="#990000" width="36">
<p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
Qty</font></b></td>
<td bgcolor="#990000" width="65">
<p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Add<br>
To Cart</font></b></td>
</tr>
<tr>
<td align="center" width="96" bgcolor="#CCCCCC">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">123</font>
</td>
<td align="center" width="260" bgcolor="#CCCCCC">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Tom Yam</font>
</td>
<td align="center" width="130" bgcolor="#CCCCCC">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Nissin</font>
</td>
<td align="center" width="146" bgcolor="#CCCCCC">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">12 x 10's</font>
</td>
<td align="center" width="57" bgcolor="#CCCCCC">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">$3.85</font>
</td>
<td align="center" width="62" bgcolor="#CCCCCC">
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">$46.2</font>
</td>
<td align="center" width="36" bgcolor="#CCCCCC">
<!--webbot bot="Validation" S-Data-Type="Integer" S-Number-Separators="x" -->
<p align="center"><input type="Integer" name="Q10005" size="1"></p>
</td>
<td align="center" width="65" bgcolor="#CCCCCC">
<p><input type="checkbox" name="checkbox" value="123"></p>
</tr>
<tr>
</table>
<table border="0" width="100%" id="table2">
<tr>
<td>
<div align="right">
<input type="hidden" name="hAction" value="AddToCart"/>
<input type=submit name="submit" value="Add To Cart"/>
</div>
</td>
</tr>
</table>
</body>
</html>
After user has make his selection by entering the qty and ticking on the check box, he would click the "Add To Cart" button ... and this would call my servlet : AddToAddControlSerlvet.java
import javax.servlet.http.*;
import javax.servlet.*;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
public class AddToCartControlServlet extends HttpServlet
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException
String action = req.getParameter("hAction");
if (action.equals("AddToCart"))
addToCart(req,res);
public void addToCart(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
try
String url = "";
String[] addList = req.getParameterValues("checkbox");
HttpSession sess = req.getSession(true);
//String sessionID = sess.getId();
DBClass dbClass = new DBClass();
ArrayList cartList = new ArrayList();
for (int i = 0; i < addList.length; i++)
String productCode = (String)addList;
int qty = Integer.parseInt(req.getParameter("Q"+productCode));
Products product = dbClass.getProductDetail(productCode);
double totalUnitAmt = qty * product.getUnitPrice();
double totalCartonAmt = qty * product.getCartonPrice();
Order order = new Order(product.getProductCode(),product.getProductDesc(),product.getBrandName(),product.getUom(),qty,product.getUnitPrice(),product.getCartonPrice(),totalUnitAmt,totalCartonAmt);
cartList.add(order);
sess.setAttribute("cartList", cartList);
url = "/Cart/CartDetails.jsp";
ServletContext sc = getServletContext();
RequestDispatcher rd = sc.getRequestDispatcher(url);
rd.forward(req, res);
catch (Exception e)
System.out.println(e);
From here, i would get the list of items which user has selected and add to the cartList, then i would direct the user to CartDetails.jsp which displayed the items user has selected.
From there, user would be able to remove or to continue shopping by selecting other category.
How i do store all the items user has selected ... everytime he would wan to view his cart ...
As i would be calling from jsp to servlet .. or jsp to servlet ... and i do not know how i should go about in creating the shopping cart.Hi !
Yon can use a data structure as vector and store the items selected by the user into the vector . Keep the vector in session using session object , so the user can access the entire shopping cart from anywhere in the application .
Then , you can change the cart accordingly .
Hope this works.
Cheers ,
Pranav -
Shopping cart header status differs to status at line item level
Hello
I am using SRM 5.5 EC, got a situation where there is a single line shopping cart which has been approved. The status on the header is still showing "awaiting approval" but at line item level it shows as being "approved" and no follow on document has been created.
Can anyone help and let me know why this has happened and how to change the header status now?
Many Thanks in Advance
PrakashOK found a solution
-
Duplicate Shopping Cart line items - Supplier doesnt get copied ?
Hi,
we are on SRM7 extended classic scenario and while we use the "Duplicate" option to copy the existing line items in a shopping cart then the supplier doesn't get copied to new line item, field remains blank? is it a standard behaviour?
what are the steps needed to make this happen ? appreciate your help in this regard.
Thanks,
MaverickHi
In SRM , if you copy the line item all item data must copy including suppliers.
step by step tell us
like
1 create a shopping cart describe requirement
2. manually assigned a source of supply - assigned a vendor
3. copy the line item into another one
4. in the latest line item supplier was not copied.
The behavior of copying/pasting or duplicating items in a SC is different depending on the status of the SC
Note 1137292 - Inconsistency when duplicating items
Muthu -
Hi experts,
i'd like to know if is possible to delete, with standar ways, the line item of the shopping cart even after the approval is done.
Thanks
bye
ANDREAHi,
Please go through this ->
The only standard option is to delete the SC line items. For this you the user must have activity "06 Delete" in his PFCG role. This activity enable him to delete SC line items once the SC is in status approved.
Shopping cart cannot be deleted once approval is done. You can delete it before approval.
But you can delete the line item of the shopping cart even after the approval is done. In that case if any follow-on doc is created for that line item of shopping cart it will get deleted. You will find the delete tab becoming grey once the follow-on doc. is created in the check status (BBPSC04 transaction) of the SC.
Re: shopping cart deletion
Other alternatives ->
1) The FM BBP_PD_SC_DB_DELETE deletes from persistent layer.
2) The FM BBP_PD_SC_STATUS_CHANGE with 'DELE' activity, marks as deleted and keep the document in the persistent layer.
According your needs, you will need to choose which one fits your requirement.
To commit changes to DB from BBP_PD_SC_DB_DELETE you will need to COMMIT WORK, cuz even the FM doesn't display any error messages in the e_messages table, the deletion task is not commited.
About the BBP_PD_SC_STATUS_CHANGE FM, you will need to inactivate the follow on document status in the CRM_JEST table to achieve the deletion with the FM i have mentioned...
For both FM's *DB_DELETE and *STATUS_CHANGE you need to create a ZFM or ZREP to write the COMMIT WORK instruction after the execution of the FM.
Related links ->
Re: Delete SC from BBPSC4 and no control is possible
Re: Problem when deleting line item from SC after order
Re: Deletion of Shopping cart!!
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
Help on shopping cart line items
Hi,
i am working on srm , i has to display error message if items of different types are in SRM-shopping cart,
the details in technical spec is as below ,
1. Implement the BADI BBP_DOC_CHECK_BADI.
2. Create a custom table ZSRM_WGR_SORTEN and also create a table maintenance generator for it and maintain the entries in it.
3. The specification for the custom table is given in section 3.1.1
4. We need to populate an error message if the SC has line items of different types
5. The logic for this is given in section 3.1.3. We have the header data in ls_header based on which we will get the Shopping Cart data via FM u201CBBP_PROCDOC_GETDETAILu201D.
6. Then looping through item data we will process our logic to check if the SC line items are of same type or not.
7. If the line items are of different type, we need to populate the error message u201CThe item &1 has the same type as item &2u201D
8. A separate message class has been defined for it by the name ZSRM
The check occurs in CHECK-BADI. The steps to be executed are:
Read the shopping cart items
Run all items:
Determine and note the product categories-ID and process-ID (using item data, process-ID is a customer field, see CD 2553_E_1_procurement_010 for process-ID) of an item in an internal table.
If 1st item: continue, otherwise: check, whether same product category and process-ID are noted already. If no: is the combination of WGR_ID_ADD and PROCID_ADD as per table ZSRM_WGR_SORTEN is allowed: If no: Display an error message
i am doing coding as below ,
CALL FUNCTION BBP_PROCDOC_GETDETAIL
EXPORTING
i_guid = iv_doc_guid
IMPORTING
e_header = ls_header
TABLES
e_item = lt_item
e_account = lt_account
e_limit = lt_limit
e_partner = lt_partner
e_orgdata = lt_orgdata
e_messages = lt_in_messages.
The item data then exists in lt_item (incl. process- IDs of the items), using which it can be iterated with the LOOP command:
LOOP AT lt_item INTO ls_item WHERE del_ind EQ space.
what will be code here , please guide
ENDLOOP.
and also how to handle message , i am doing coding as below,
DATA: ls_message TYPE bbp_smessages_badi.
ls_message-msgno = '002'. //Meldungsnummer
ls_message-msgty = 'E'.
ls_message-msgid = 'ZSRM'.
ls_message-msgv1 = ls_item-number_int.
ls_message-msgv2 = <Pos.Nummer mit schon vorhandener Sorte>
what will be code here , please guide
APPEND ls_message TO et_messages.Hi. To get the SC number on the backend PO you must be using a BADI, probably either BBP_DOC_CHANGE_BADI or BBP_CREATE_BE_PO_NEW or BBP_CREATE_PO_BACK.
Look in these BADIs, the cart data is probably not being looped around correctly.
Regards,
Dave. -
Shopping cart - item status table
Hi Friends,
I have a requirement to develop a Z report which should include two status fields of Shopping Cart.
One status column should show status at header level and the other should show status at item level.
I am able to fetch the Status of the Shopping Cart at header level, but I am unable to find logic to pick to status at the item level.
Can anyone explain how can I get the item status information.
Thanks and Regards
Vamshi SreerangamHi,
The function module BBP_PD_SC_ITEM_STATUS_CHECK will give you the item status of the shopping cart.
You have to pass the guid of the shopping cart and the item for which you want to find the status , then you ll get the status of the item in the export parameter ev_status.
Thanks&Regards
Ankita -
Shopping Cart in Status I1112 - No PO created
Hi people,
We are facing a problem in EBP system:
Some shopping carts got in "Error in Transmission" status.
When cheking BBP_PD transaction, I can see:
Status Description Inactive
I1111 Item in Transfer Process X
I1112 Error in transmission
The document was not created in R/3.
If I check RZ20 transaction I can see the message:
Monitor Shopping Basket\Backend application errors
Date 14.05.2008
Time 21:11:45
Message ID BBP_ADMIN 016
Message text SC &1 (PO &2): &3
Argument 1 0012836535
Argument 2 6200459551
Argument 3 BAPI 001 - No instance of object type has been created. External reference
Argument 4 00000000000000000000000000000000
No Dumps in EBP.
No Dumps in R/3.
After this, if I use the function module "BBP_REQREQ_TRANSFER" to transfer the SC, it works perfect!!!
I cannot understand!
What does happen when I approve a shopping cart and the document cannot be generated in R/3 ? EBP system tries again? How? It is something related to SPOOL_OBJECTS job?
Thanks a lot,
CristianaHi,
See the foll threads for the related settings:
BAPI 001 No instance of object type PurchaseOrder has been created.External
No instance of object type PurchaseOrder has been created. External referen
Also can you see any entries in the table BBP_DOCUMENT_TAB for your SC?
Also check whether the job CLEAN_REQREQ_UP is properly scheduled in trascn SM37.
BR,
Disha.
Do reward points for useful answers. -
Alert for shopping cart held status.
Hi ,
I have a requirment where i need to get all the shopping carts
from last 1hr from the system time from the database table which are under held status and if they are more than 5 shopping carts in held status then it should send a alert mail.
Is there any standard program? If any body worked on this requirement please guide me.
Thanks in Advance,
Savitha.Hi. I don't think there is anything standard like this. You will have to write a program that selects in carts created in the last hour (Table CRMD_ORDERADM_H will show you this).
Then either call function BBP_PD_SC_GETDETAIL structure E_STATUS or check table CRM_JEST for status I1009 with inactive = space. That status means the cart is on hold.
Regards,
Dave. -
Buyer of shopping cart, purchase order and contract
Hi
I wanted to ask about buyers. Are buyers usually a purchasing group/organisation? I am not sure if my thinking is right but wouldn't a buyer of a shopping cart and purchase order be the same. And a buyer of a contract would or can be different to the shopping cart because a contract is a source of supply and is probably linked to many purchasing groups/organizations.
Is this reasoning right? Buyers are different to approvers too isn't it? Please could someone explain this to me?
Kind regardsHi Deepa,
Are buyers usually a purchasing group/organisation?
Ideally each buyer should ahve a unique purchasing group. In thsi case we can say that each buyer is a purchasing group. However, in some companies, its a possiblity of sharing a purchasing group. In that case multiple buyer users will be assigned to purchasing groups in the SRM organizational structure.
buyer of a shopping cart and purchase order be the same.
Normally, if a PO is created w.r.t. SC, the purchasing group is copied. So its the same. However we can change the purchasing groups in sourcing cockpit using workload reassignment option or direcly in the PO/contract document.
So we can say that its necessary to have PO/contract purchasing group same as that in SC.
Regards,
Prashant
Do reward points for helpful answers -
Approver regrouping in Shopping cart after approval and refresh button is clicked
Dear Experts
I created a shopping cart (Say 5 levels of approval) it reaches the approver . The approver approves the shopping cart and the cart is in completion step. When after approval in 3 rd step. If i click on refersh button at the top, the list of approvers who approved the cart are getting grouped in to a folder like structure. How it can be avioded i.e we need the approvers to be shown in sequence even after n approvals and clicking on the refresh button.
Thanks & Regards
Arun.K.PHi Laurent,
Please check the screenshots. -
Change Shopping Cart in status "Awaiting Approval"?
Hi there,
Quick question: Should a user be able to change thier shopping cart if it is still in "Awaiting Approval"? It would seem like a logical thing for the user to be able to change the quantity, date etc of the item before it is approved?
I have been looking at template SAPLBBP_SC_UI_ITS 120 and it seems SAP standard prevents this?
How would I allow users to be able to change shopping carts in awaiting approval state?
Any help would be greatly appreciated, thanks
LyntonBBP_WFL_SECURITY badi may helps or via su01 personalisation tab security.
helps you . keep value HIGH
Shopping cart approval - shopping cart not changeable
br
muthu
Maybe you are looking for
-
IOS 5 now makes music slow to use
Since upgrading to ios5 my music app on my iPad (first version) is painfully slow to respond. I also notice my web browser closes for no reason. Why is this?
-
CRM: using BW cubes in Segment Builder
Hello all, I am trying to use BW Cubes as data sources in the CRM Segment Builder uisng transaction CRMD_MKTDS. For this purpose I set up RFC destinations and logical systems in both the BW and the CRM 5.0 system. In transaction SM59 the connection t
-
"anniversary" field in my iphone contact with an funny date
My iphone 4 contact sync with outlook 2007 and my outlook sync with google contact. However, I noticed that my iphone shown a field "anniversary" in the iphone contact which I did not enter in either iphone, outlook 2007 or google contact. This happe
-
No Knowledge of ABAP, Can I learn SAP NETWEAVER XI ?
Dear Friends, I do not have any experience or knowledge about ABAP. Can I learn XI or I MUST definitely learn ABAP first before I proceed to learn XI. Some people at various institutes told me to learn CA- Cross Applications and that would be enough.
-
I have a problem with playback in i-tunes through my hi-fi via Airport Express. When playing something like an opera, which should flow seamlessly between tracks, at every index point there is a momentary "drop-out" which is VERY annoying. The "cross