Set user Defined Status in the Shopping Cart

Hello,
I am facing problem while Setting user defined Status in the shopping cart. Below are the steps which I have followed.
1. I have created Status profile via Transaction 'BS02' and also created the Status 'On Hold' with Status number 'Exxxxx'.
2. Entry of this external status is also created in the table TJ30.
3. Also I tried assigning this Status profile in Transaction type for "BUS2121".
After making the above configuration for the new User defined status I have used below function module in my program.
I am using FM "CRM_STATUS_CHANGE_EXTERN" to set the User defined status in the shopping cart.
  CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN'
    EXPORTING
      objnr                    = ls_header-guid
      user_status          = lv_stat
    IMPORTING
      stonr                    = lv_stonr
After this FM I am also using "COMMIT WORK AND WAIT ".
But still my Status is not updated in the Shopping Cart.
Expert please suggest if some one has work in this scenario.
Best Regards,
Chirag Shah

Hi Chirag,
try to initialize Status schema before update.
CALL FUNCTION 'CRM_STATUS_OBJECT_CREATE'
     EXPORTING
       objnr                        = ls_header-guid
       obtyp                        = 'SCH'
       stsma                        = 'ZHOLD'
     EXCEPTIONS
       obtyp_invalid                = 1
       status_object_already_exists = 2
       stsma_invalid                = 3
       stsma_obtyp_invalid          = 4
       error_ocurred                = 5
       OTHERS                       = 6.
Regards
K

Similar Messages

  • Default timeframe in check status of the shopping cart

    Hello Forum
    In check status of the shopping cart default timeframe is 7 days but client requirement is change to 30 days
    Is there any configuration settings to change to 30 days
    Please help
    Thanks in Advance
    Neha

    Hello Neha,
    Have a look at below threads:<br />
    [Default Check Status timeframe(Shopping Cart)|Default Check Status timeframe(Shopping Cart);
    Default timeframe for SC timeframe need to be changed to 90 days from 7 day<br />
    <br />
    Regards.<br />
    <p />
    <br />
    Laurent.

  • Check Status BBPSC04 showing all the shopping carts

    We are on SRM 5.0
    When a user clicks on Check Status. It is showing them all the shopping carts even those which are not created or approved by them.

    Hi Srini,
    In 'Check Status' all the shopping carts are shown if you do not give anything in the search criteria except the ones that are completed irrespective of the purchasing org / P.group.
    If you want to see the shopping carts created for that P.Group / P.org mention the same in the search criteria of the 'Find' tab.
    If you want to see the shopping carts only created by you then go to 'Centralized Purchasing' Link and click on the ' Check Status'. There you can see only the shopping carts created by you.
    In case of any clarification feel free to ask.
    Award points for suitable answers.
    Rgds,
    Teja

  • How to disable the print icon on check status screen of shopping cart inSRM

    Hi Experts,
    I have a requirment in which I need to disable print Icon on the status screen of the shopping cart.
    Can anybody please let me know how to achive this requirement.
    Thanks,
    Arun K Singarapu

    Hi Here you go some useful code for the requirement.
    wafunc = 'BWD'.
          APPEND wafunc TO functab.
          wafunc = 'FWD'.
          APPEND wafunc TO functab.
          wafunc = 'DIS'.
          APPEND wafunc TO functab.
          wafunc = 'COP'.
          APPEND wafunc TO functab.
          wafunc = 'IGN'.
          APPEND wafunc TO functab.
          wafunc = 'SAVE'.
          APPEND wafunc TO functab.
          wafunc = 'HIS'.
          APPEND wafunc TO functab.
          wafunc = 'CONTACT'.
          APPEND wafunc TO functab.
         SET PF-STATUS 'OBJECT_SEL' EXCLUDING functab.
    Bala.M

  • Enable Delete button depending on the shopping cart status

    Hi all,
    My requirement is Enable the delete button if the status of selected shopping cart is 'Awaiting Approval' in header and item level.
    Technical detail of delete button : Component : POWL_UI_COMP
                                                      WINDOW : TABLE
                                                      VIEW : VIEW_TABLE
                                                       TOOLBAR BUTTON ID : F_DELETE.
    please help...

    Thinking aloud,
    - should the button be a resource from Webcenter, you could modify its visibility (property) via EL: #{WCSecurityContext.userInGroup['Administrators']} will display the button only if the user is in Administrators group
    - does your portlet have a parameter like that? If so, you should be able to fill it in with EL. If not, I doubt you will be able to achieve visibility changes - you might try to contact the producer of your portlet to do the necessary changes, though.

  • Keep track of the shopping cart for anonymous user

    Hi,
    I have the following problem on b2c site. Anonymous user can browse through the site and adds items to the shopping cart. At the checkout the login page is prompted, however login page is located on the different application server where the actual login happening. After that control is returned to my server where I need to create login object and associate the shopping cart with it. My problem is how to maintain shopping cart without losing it.
    I came with that solution : On checkout attach shopping cart to context object with unique key, then pass this unique key to the remote server, then remote server passes it back to me together with the login id, then I create new session and attach shopping cart to it after retrieving shopping cart from the context.
    I hope it will work, however I think there is a standard solution for this type of the problems. Any ideas, hints, suggestions are strongly appreciated.
    We use WebLogic 9.0 and Servlets.

    Do you have a problem keeping track of the shopping cart for a user who is logged in? No, I didn't think so. So give the anonymous user an internal name, just for your own convenience. Then keep track of the shopping cart for the user with that name. You already know how to do that.

  • Display the shopping cart details via Monitor shopping cart without the user being mapped in organizational structure

    Dear Experts,
    I have a scenario where the Project/Support team members won't be mapped into the organizational structure. But they must be able to view the shopping cart details. Could you please help me in providing some clue to achieve this.
    As of now, I am getting the below error if the user is trying to view the shopping cart details when the user is not mapped into the organizational struture.
    Thanks in advance for your help.
    Best Regards,
    Bharathi

    Hi Bharathi,
    Make it more simple. Create a separate organizational unit for the Support/Admin team and intergrate the users there.
    It's the common practic.
    Regards
    Konstantin

  • Items in the shopping cart appear with different price than in the catalog

    Hi All,
    We are running SRM 5.0 (Classic Scenario) with external catalogues.
    After selecting items from the external catalogue and transferring them to the shopping cart, the items appear with different price(the problem exists in the productive system)
    The strange thing is that there is no dependence or sequence between the differences. For example, in one shopping cart, one item is with correct price, the price of the other item is not correct (when I click on the icon which is  showing item details in the catalogue, the price is different than the one in the shopping cart). Sometimes the difference is significant, sometimes not - if the item price in the catalogue is 22.34 EUR, in the shopping cart is 21.22EUR or if the item is 45.62EUR in the shopping cart is 45.60 EUR. There is no logic.
    I tried to create a shopping cart in the support system, with the same items from this catalogue, and they are sent back in SRM with the correct prices.
    I traced all OCI parameters, sent from the supplier catalogue, and everything is correct.
    At the example given below the price in the shopping cart ordered in the productive system is 69.00CZK, and after that during the test the correct price of 73.870CZK has appeared.
    NEW_ITEM-DESCRIPTION==Durable-KeyClip-keytag%2C+black
    NEW_ITEM-MATNR==
    NEW_ITEM-MATGROUP==
    NEW_ITEM-QUANTITY==10
    NEW_ITEM-UNIT==EA
    NEW_ITEM-PRICE==73.870
    NEW_ITEM-PRICEUNIT==1
    NEW_ITEM-CURRENCY==CZK
    NEW_ITEM-NEW_ITEM-LEADTIME==1
    NEW_ITEM-VENDOR==
    NEW_ITEM-VENDORMAT==0176%2F1957001
    NEW_ITEM-MANUFACTCODE==
    NEW_ITEM-MANUFACTMAT==
    NEW_ITEM-CONTRACT==
    NEW_ITEM-CONTRACT_ITEM==
    NEW_ITEM-SERVICE==
    NEW_ITEM-EXT_QUOTE_ID==
    NEW_ITEM-EXT_QUOTE_ITEM==
    NEW_ITEM-EXT_PRODUCT_ID==23109
    NEW_ITEM-EXT_SCHEMA_TYPE==UNSPSC
    NEW_ITEM-EXT_CATEGORY_ID==55121504
    NEW_ITEM-LONGTEXT_1%3A132==Durable-KeyClip%0D%0Akeytag%2Cblack%0D%0A%0D%0A6pc
    I checked the error log in SLG1 for BBP_OCI, and no error message exists. In my opinion the problem can be in supplier system, because otherwise all items will be with wrong price. And at the moment, there are shopping carts in which all items are with the correct price!
    It is not something in the user profile, because in one shopping cart created by one user some items are correct, some of them not.
    I also checked with the supplier,  they said that they haven't change the price, recently.
    Has somebody of you met this problem?
    In the IMG-> Define External Web Services (Catalogs, Vendor Lists etc.) I have set all parameters for the standard call structure: the URL of the supplier, our company ID and password for their catalogue.
    In the Detail view for the catalogue, the following parameters are set
    u201CAdditional functions in the product catalogueu201D field:
    -     Display product data again in the catalogue
    -     Validate product data from SAP Enterprise Buyer
    -     Find supply sources
    u201CTechnical Settingsu201D field
    - Use Error Log
    Thanks,
    Desi

    That means that we are not maintaining material numbers in SRM, so there are no predefined price or info records for that materials in R/3 system, or in SRM.
    In the set up of external catalogues, validation of the price is set. Which means that, if a new shopping cart is created from already existing one, and meanwhile, a change of the price is done by the supplier in the catalogue, the new item price will be adopted in the shopping cart.
    No prices are maintained in the SRM system, everything is from the supplier catalogue.
    Desi

  • Error in the Shopping Cart view

    In the shopping cart view, the list is showing shopping carts that are completed even though the queries are set to not show completed shopping carts. There is no way to make the completed ones go away and only show active ones.
    Under the "Status" column these are shown as "approved".  Are they not going from approved to "completed" or some other such category even though goods receipts have been done.
    Any help will be appreciated.
    Thanks
    Karina

    Hi,
    In standard, the "last" status at shopping cart header is the approved one (I1129). Shopping cart does not behaves like purchase order or RFX, where you can complete the document and the header status will assume it.
    You can check the current shopping cart status at header level in BBP_PD transaction.
    After shopping cart is ordered, it will go to approval and afterwards it will assume the approved status, which is the last one at heder level.
    I hope it helps.
    Kind regards,
    Ricardo

  • Can user enter comments while creating shopping cart?

    Hello All,
    While creating shopping cart, is it possible to enter some text/comment in one of the user defined attribute for the item? In other words I need to define a simple single value chracteristics that is ready for input during shopping cart creation. This comment I need to enter before transferring item to the shopping cart. System is CCM2.0
    Regards,
    Ram
    Message was edited by: Ram Sahu

    Yann,
    To make it more clear, here are the steps I am performing:
    1. Search for catalog item in a catalog.
    2. Select the catalog item.
    3. Go to the items detail screen of the selected item.
    4. In this screen, I need to enter some additional information. May be an attribute ready for free text input. Here I tried, documents/attachements. But that doesn't serve the purpose.
    5. After entering comments, transfer/add the item to shopping cart.
    6. Save the shopping cart.
    So, step 4 is where I am looking to enter comments.
    Regards,
    Ram

  • Decision point that will atomatically distribute the shopping cart

    Hello,
    We intend to work with Extended classic scenario.
    In the EBP system we should have a decision point that will atomatically distribute each
    shopping cart to the next step according.
    the parameters: according the product category, value and organizational structure.
    We want the system to decide what should be the next step for the shopping cart:
    Transferred to the R/3 as a requisition
    Transferred to the R/3 as a purchase order
    Transferred to a purchase order in the SRM system
    Wait for a purchasing group to be transferred to a purchase order in the SRM system
    What is your recommendation?
    Thanks
    Zion Yazdi ++972-523-655895

    Zion,
    yes it sounds logic to use Purch Group assignment.
    But then you could control PO access by purch group authorization object, instead of using BADI BBP_WF_LIST.
    If you have the correct purch group in your PFCG profile, you can access or modify the PO.
    You would then have to maintain as many PFCG purchaser profiles than you have purch groups...
    If this represent to much workload, then use BADI BBP_WF_LIST to check PO purch group against connected user's purch group.
    You could also implement directly all your logic in BADI BBP_WF_LIST (control access to PO doc if employee/proc dep/contract user) but this would be really time and performance consumming. So it is better to compute a PO header "key" to control acces, that could be the purch group.
    PS: if you use purch group to control PO access, this requires that each employee is defined in a purch group ! So you may have to combine purch group and other criteria in BADI BBP_WF_LIST.
    Rgds
    Christophe

  • BBP_MON_SC : does not show the details of the Shopping cart

    Hi,
    We are in SRM4.0 and Stack 11.
    when we use the transaction:BBP_MON_SC to check the Shopping cart and get into the details, the system does not show the "details of the shopping cart".
    The sequence of the steps :
    1) click on the "monitor shopping cart"(BBP_MON_SC) in our web browser
    and search the SC by date.
    2) The list of the SC created on the specific date come up.
    3) when we select a SC to get into the details the system shows
    a "BLANK SCREEN".
    Thanks in advance.
    Regards,
    RK.

    Hi,
    First check whether you have implementedany custom BADI at the SC item level.If the BADi is wrongly implemented then you may not be able to see the item details.
    Also Make sure that BASIS Team has assigned correct roles and profiles to the administrator user. Ask BASIS to use SAP provided roles and then you can try out again. (Try this role - SAP_EC_BBP_ADMINISTRATOR / SAP_BBP_STAL_ADMINISTRATOR )
    Here are the related links ->
    http://help.sap.com/saphelp_srm50/helpdata/en/a0/10213862f7bd47e10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/9f/a47c3c989d501fe10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/15/46d19e4069d14e92decb87d6a56b9c/frameset.htm
    Incase it does not help, then, Without assigning any other roles, try logging to the transaction - BBP_MON_SC via SAP GUI instead of webpage and then do once you get some authorization issue /error, using SU53 Transaction, you can get the required Authorization objects need to attached to the user profile.
    Alternatively, For time being, Try assigning SAP_ALL and SAP_NEW to the Administrator Buyer user role of that user.
    Also have a look at these notes:
    Note 636270 Shopping cart monitor: Display of SC if user is deleted
    Note 764135 Shopping cart monitor: Selection according to 'Created by'
    Note 865179 BBP_MON_SC: Search for shopping carts shows wrong results
    Note 683524 Shopping cart monitor does not display all shopping carts
    Note 1045386 BBP_MON_SC: No DELETED Event after deletion
    Note 829529 BBP_MON_SC: Displaying shopping cart of a locked user
    901427 BBP_MON_SC: Requester instead of creator in overview list
    859012 BBP_MON_SC: Deleted shopping carts are not found
    882884 BBP_MON_SC: Deleting items in the status I1116
    792542 Shopping cart monitor: incor. return URL from shopping cart
    672764 Shopping cart monitor: Display of deleted shopping carts
    Note 522620 Shopping cart monitor: Customer enhancement / BADI
    Note 889942 BBP_MON_SC: Service item can't be searched by perform.period
    949399 SC monitor: Search help does not display all catalogs
    972697 bbp_mon_sc: No result for limit shopping cart search
    901608 BBP_MON_SC: Service Item search is incorrect
    813434 Shopping cart monitor and internal ITS:Shopping cart display
    669720 BBP_MON_SC: Follow-on document is not found
    625694 Not possible to search for SHB based on some docs in monitor
    596089 SHP Monitor: problems with search functionalities
    Note 561186 Monitor shopping cart: Selection of large datasets
    BR,
    Disha.
    Pls reward points for useful answers.

  • Getting error while creating the Shopping cart.

    Hi ,
    I am getting error while creating the Shopping cart.
    a.Error in account assignment for item 1  (Item  Testing SC ) 
    b.Duplicates of Cost Centre T10063 are defined in SRM  (Item  Testing SC ) 
    Kindly provide the solutions.
    Thanks,
    Dev

    Try the following in the ERP backend system:
    Standard Hierarchy Inconsistencies
    Issue: one Cost Center is repeating in more than one node in Cost Center Standard Hierarchy.
    Update from SAP Global support, the following was the email received:
    in transaction KSH3 please run both the ambiguity and completeness check(Menu -> Extras -> Check and Help functions).
    If you think that your standard hierarchy is inconsistent you can check that as following:
    Run transaction Extras -> Hierarchy - Master data -> Test. The result shows you if there are in consistencies. If that is the case run also Extras -> Hierarchy - Master data -> Comparison.
    Alternatively, you can run the report 'RKCORRH1' (TN SE38).
    Run both the Hierarchy->Master data->test and the
    Hierarchy->Master data->comparison.
    As stated above inconsistency message showed after Test. Run the comparison and you get a similar message.
    Once the above two are run, again when you go to test, the inconsistency disappears.

  • Error while transferring the Shopping cart to ECC system

    Hi,
    I am getting the below error in classic scenario, while trying to transfer the shopping cart created in SRM (v 4.0) system to ECC (v5.0) system.
    "06313 Material differs from material & from t he info record"
    I have a valid inforecord in ECC for the material and vendor entered in shopping cart.
    Please help me to find out what could be the problem.
    Thanks & Regards,
    Arun

    Hi Arun,
    Its difficult to tell what is the issue exactly with the information provided by you but neverthless check the following observations :
    1. Did you refer the correct info. record while creating shopping cart for that item ?
    2. Check for the detailed description of error in Application Monitor using RZ20 txn. and also in SLG1 for any error logs.
    Also check in BBP_PD for the status.
    3. Also try to craete a P.R and P.O in R/3 for that material by referring that info record. This is one of the best ways of trouble shooting as you can nail down the issue thats causing this error.
    Please check for the above observations and get back to us for further help.
    Award points for helpful answers.
    Rgds,
    Teja

  • Issue on behalf of functionality in the shopping cart

    Hi,
    Suppose A & B users are there . If A  created shopping cart on behalf of B. User A name is appearing in the shopping cart instead of appearing user B in the requester field.
    Is it need to do any settings to get the B user in the requester field?
    Can any body please give me the solution.
    Thanks in advance.

    Dear Poster
    Your thread has had no response since it's creation over
    1 year ago, therefore, I am closing the thread.
    Should the issue still be outstanding please create a new thread in the relevent forum.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

Maybe you are looking for

  • OIM Email Notification issue with custom E-mail user attribute

    Hi All, We have a requirement where we need to send e-mail notification programmatically after a OIM account is created for the user through trusted reconciliation. Post process event handler is being used for this. We have created our own Custom Not

  • Number of Songs Discrepancy between iTunes & iPhone

    There are 1,437 songs in my ITunes Entire Music Library.  Due to problems I was having with my iPhone, Apple had me restore my iPhone 5S to "factory" settings and then back-up my iPhone to one of my backups before my iPhone began having problems.  My

  • Insert Match EQ in 2 of 4 outputs??

    Hi, I'm working on a big quadraphonic documentary project (4 video screens, each 1 speaker), and Logic is doing this smoothly. So far, so good. The problem is that I only have 1 good set of speakers. For the "rear speakers" I use an old Philips multi

  • FRM-40039: Cannot attach library while opening the form

    Hi. In my application i have placed all the pll, fmb, mmb in the forms_path and everything works fine. But if i move the source files(PLL, FMB, MMB) to another folder which is not under FORMS_PATH then i am getting this error. Note: My plx are in FOR

  • Creating clickable query result in iplus

    Hi I am using for databse results from iplus817. an I produce a formated output involving hyperlinked output.When I click the output a new result innloving value of item is displayed. Thanks