BAPI_SCEC_CREATE - how to get the shopping cart to go to our workflow

Dear experts,
When a shopping cart is created using BAPI_SCEC_CREATE, it will get approved automatically. We want the shopping cart to go through our approval workflow. Is there any way to achieve this? I saw threads on similar question but there's no solution. It seems to be related to Sourcing relevant indicator (SOURCE_REL_IND) in table BBP_PDIGP. I've tried executing BAPI_SCEC_CREATE followed by BAPI_TRANSACTION_COMMIT and then BBP_PDIGP_DB_DIRECT_UPDATE to reset the SOURCE_REL_IND. However, it didn't work.
Does anyone know how to get the shopping cart created by BAPI_SCEC_CREATE to go to a workflow?
Thanks,
Lara

Hello Lara,
When a shopping cart is created using BAPI_SCEC_CREATE, it will get approved automatically. We want the shopping cart to go through our approval workflow. Is there any way to achieve this?
Have a look at SRM article below:
[Enable SRM Workflow for External Purchase Requisitions|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/5082a622-7310-2c10-1a9b-ef31dd69a770]
It seems to be related to Sourcing relevant indicator (SOURCE_REL_IND) in table BBP_PDIGP.
Check your customizing:
(in SRM 7.0) SAP Supplier Relationship Management > SRM Server > Sourcing > Define Sourcing for Product Categories
Depending on product category you used when creating your SC, its items are relevant or not for Sourcing.
Regards.
Laurent.

Similar Messages

  • Can anyone advise on how to get a shopping cart on iweb please

    can anyone advise on how to get a shopping cart on iweb please

    I would suggest using Pay Pal. If you sign up for a free business account you can use the merchant services to set up buy now buttons, add to cart buttons, and the shopping cart. The only draw back is that your can't customize the look to match your site. I would use pay pal for two reasons, people know and trust them and its much cheaper than having your own merchant account. Good luck

  • How to get the User ID's details in SRM Workflow EBP system

    Hi Team
    How to get the User ID's details in SRM Workflow EBP system. Example like i have User ID "BTEMPEST" but i want his full name . so please suggst me how to get the full name of user id where it is maintained.
    Thanks.
    Puneet.

    Thank you very much muthu.
    For your information FM "RSPLPPM_GET_USERDETAILS" is working fine.
    Thanks for quick response.
    Thanks
    Puneet.

  • How to get the room id & user id in our component

    Hi Experts,
    Collaboration -> Rooms -> Room Directory
    It will show the available rooms
    Select restricted room tab in that.
    That will show the restricted room list, if you are not a member of the room you can request the room by clicking context menu of the room and select the “Request Membership” option. Then it will send the mail to the owner of the room.
    In that UI commend they mapped with the roomid and userid.
    I need to know how to get the room id & user id in our component.
    How to get the Room Id dynamically?
    Can anybody help me for this?
    Helpful answers will appreciate.
    Thanks and Regards,
    Kathiresan R

    Hi Kathiresan,
    you can get the Room ID and the User ID over the API.
    Getting User ID within WebDynpro application:
    IUser user = WDClientUser.getCurrentUser().getSAPUser();
    String logonId = user.getUniqueId();
    Getting User ID within custom Portal Component:
    IPortalComponentRequest request = (IPortalComponentRequest) httpRequest;
    IUser user = request.getUser();
    String logonId = user.getUniqueId();
    Getting Room Id of a user who belongs to this room:
    IUser user = request.getUser();
    IRooms roomsAPI = (IRooms) PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);
    IRoom[] myRooms = roomsAPI.getAllRoomsForUser(user);
    String roomId = "";
    for (int i=0; i<myRooms.length; i++) {
      IRoom room = myRooms<i>;
      if (room.getName.equals('nameOfRoomToFind')) {
        roomId = room.getId();
    Greets
    Denis

  • How to get the list of IDM users in a workflow.

    Hi,
    I wanted to get the list of IDM users in a workflow into a list.Now I tried to use getObjects Method,I do not have the display session here,I passed the workflow context or WF_Context.But it is giving exception like context null .
    I used the same method in a form and it worked.How can I get the list of users in a workflow.It is for customizing reports.
    Thanks and Regards,
    Pandu
    Any Idea on how to customize reports including attributes from resources and auditing attributes etc.Any help would be really great.
    Thank you.

    Hi John,
    I get this exception WorkItemForm: no id.
    This comes when I click on the other column.I generate the data needed in a report and display it as a sorting table when I get the data.
    I want to give the user ability to sort data by different columns.But when I click any column I get the exception
    WorkItemForm: no id
    How can I save a workitem on a manual form before invoking it from a manual action.
    Here is the code snippet
    <Field name='tblUsers'>
            <Display class='SortingTable'>
              <Property name='selectEnable' value='false'/>
              <Property name='align' value='left'/>
              <Property name='linkEnable' value='false'/>
              <Property name='sortEnable' value='true'/>
              <Property name='width' value='400'/>
              <Property name='columns'>
                <List>
                  <String>Account id</String>
                  <String>First Name</String>                      
                </List>
              </Property>
            </Display>      
            <FieldLoop for='row' in='_searchList[*]'>
              <Field name='enduserId'>
                <Display class='Label'>
                  <Property name='value'>
                    <block trace='true'>
                      <invoke name='getAccountId'>
                        <ref>row</ref>
                      </invoke>
                    </block>
                  </Property>
                </Display>
              </Field>
              <Field name='lblfirstname'>
                <Display class='Label'>
                  <Property name='value'>
                    <invoke name='getAttribute'>
                      <ref>row</ref>
                      <s>firstname</s>
                    </invoke>
                  </Property>
                </Display>
              </Field>
         <FieldLoop>      I think I may need to save some workItem,That is why this may be giving the error.How can I correct this.
    Thanks,
    pandu

  • HELP - netpoint.api - how to get current shopping cart object by sessionid

    Hi,
    I need to retrieve the current shopping cart object (NPOrder) by sessionid on the webtools site when the user is not logged in yet. I have tried these code. But items get mixed up on different sessions.
    NPOrder myCart;
    NPPartPricingMaster PriceList;
    string userID = ((NPBasePage)Page).UserID;
    string SessionID = ((NPBasePage)Page).SessionID;
    PriceList = new NPPartPricingMaster("WebPrice");
    myCart = new NPOrder(UserID, SessionID);
    myCart.AddPart(Request.QueryString.Get("AddPartNo").ToString(),
                 System.Convert.ToInt32(Request.QueryString.Get("Quantity").ToString()), "", "", PriceList,
                 Request.QueryString.Get("tbNote").ToString());
    myCart.Save();
    Thanks for help!
    David

    Hi David,
    I'm not sure what is your im, but i think that you try to add new part. Problem is probably that you haven't got any cart in this situations. maybe you should create empty cart is this one doesn't exist.
    NPOrder order = new NPOrder()
    please provide more details (specially where you run this code, what version you running) of this not help you.
    Greg.

  • How to get the Attachment of a pdf file throug workflow,...

    Hi,
              I have attached pdf the file to the ESS and written the code in webdynrpo. How can I get the file attachment in MSS through Workflow? This attachment should be displayed in the User Decision Activity. Could any one Help me on this issue....?
    Thanks & Regards
    Kannan

    Hi,
      1. From WebDynpro  applicaiton once you create a PDF  in the application you can get back the Xstring of PDF  into the context of the workflow,
    2. Now pass this xstring to workflow container. I assume you might be starting the workflow from Webdynpro application.
    4. Create class method or a BOR and include a method. From that method do the respective coding that is mentioned in the document.
    3. Once you have the PDF  xstring in the workflow container you can attach the PDF  document to user decision step as mentioned in the [document|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60ff6ad3-729b-2b10-6582-fedc82680a29]
    Regards
    Pavan

  • How to remove the Shopping cart is empty. Go Back link . .

    Any way to get rid of that link . ..   or redirect it?
    I cant even find it in BC

    Figured it out . . .
    <style type="text/css">
                .cartLink {
                    visibility: hidden;
            </style>
    feel stupid now . . .   hope this helps someone out . . 

  • How to get the time interveral for each status of worklow (wating,Inprocess

    Hi Friends,
    I have requreiemnt to get the time interval for each status of workflow.
    ex.
                                                                     status
    workflow id  | startd date | enddate       | waiting | Inprocessing|Error|......
    1026            10.10.2008  25.10.2008        1hr      1hr 30 min    2 hr
    Please do give me idea how to get the time stam of each status of workflow.
    Thanks,
    D.prabhu

    Hi,
    I think the following tables would be helpful to you:-
    SWW_CONT     Container Contents for Work Item Data Container
    SWW_CONTOB     "Container Cont. for Work Item Data Container (Only Objects)"     
    SWWLOGHIST     History of a work item     
    SWWORGTASK     Assignment of WIs to Org.Units and Tasks     
    SWWUSERWI      Current Work Items Assigned to a User     
    SWWWIHEAD     Header Table for all Work Item Types
    Hope it Helps!
    Regards,
    Kanika

  • Shopping cart's One step approval workflow activation

    Hi Gurus,
    Please reply me for, how to create a shopping cart with One step approval workflow activation?
    regards,
    George.

    Hi George,
    The creation of the SC stays the same. Only the event linkage and the start conditions determine which workflow will be started.
    Regards,
    Martin

  • How to find all the shopping carts for a Supplier

    Hello if i have the supplier , how can i find ALL the shopping carts associated to him?thx

    Hi,
    Try the below & let me know:
    1) Go to table "BUT000", enter the Partner No & get the PARTNER GUID.
    2) Go to table "BBP_PDVIEW_INDEX", copy the partner GUID in the field "IPARTNER_NO". Enter BUS2121 as the OBJECT_TYPE & execute. You could even restrict the display list by the Partner function value (39 or 19).
    Cheers,
    Akash

  • How to find approvers who approved the shopping cart

    Hi All,
      My requirement is as follows:
      If I give the shopping cart document id, I should be able to find
      1) the list of approvers who approved the document
      2) how much time they have taken to approve the document
      3) any pending approvals for the document.
    Can anyone help me in this?
    Thanks,
    Sivagami R

    Hi..
       Here is technical details which will help if you are in SRM 7.0..
       The below methods are in the class /SAPSRM/CL_WF_EVENT_FACADE
       Pass the SC GUID to method 'GET_WORKFLOW_ID_BY_DOCUMENT'  .. get the header workitem id.
       1 . to get the current approvers list call the method GET_CURRENT_AGENTS..
       2.  to get the previous approvers list call the method GET_PREVIOUS_AGENTS.
      if you are in SRM 5.0 then use the below FM's..
    1 . call the FM BBP_PDH_WFL_WI_FROM_OBJECT_GETu2019 to get the header workitem id..
    2 . call the FM u2018BBP_WFL_DIN_APPR_FINALLIST_GETu2019  to get the list approver's for a SC
    3 . if you need the workitem details then call FM BBP_PDH_WFL_WI_DETAILS_GETu2019..
    Regards,
    Saravanan

  • How to select Vendor information as per the line item of the shopping cart

    SRM ABAPers,
    I want to create a custom report and needs to produce SC's item details with vendor's information.
    So I want to select the vendor information(including the partner function- 00000019 or 00000039) as per the line item of the shopping cart, which SRM table can give me this information?
    Thank you!
    MP

    Hi,
    To get the SC item details,you an use the FM 'BBP_PD_SC_GETDETAIL".
    Also to get the vendor details,you can use the FM "BBP_PARTNER_GET_PURCH_DATA_NEW".
    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.

  • How to show purchasing group members in the item data of the shopping cart?

    Dear Experts,
    for s shopping cart in SRM 7.0 CS, i have the following business requirement:
    In the item data tab of the line item details, the drop down field for Purchasing group is there. Right to this field, there is also a link called "Show members".
    If i go on this link, than a small table opens that obviously is there to contain such additional information about the purchasers like name, telephone nummber or extension.
    Currently, this small table does not contain any of this additional information for any of the used purchasing groups.
    Can you please help me understand, how and where i can maintain this information in the sytem, so it shows in the shopping cart?
    Thank you very much for your help.

    Hi,
    thank you very much for the answer.
    Actually, the question is not how to create the organizational unit of purchasing group in the PPOMA. This is all done. I just would like to understand, whether there is somewhere a place where i can maintain the name and maybe also the phone number of the buyer himself.
    Thus, i would hope to see these details (i.e. the name and the phone number) in that small table that opens up if i click on the "Show members" link that is situated right to the purchasing group field in the "Item data" tab of the details of the line item.
    Thank you.

Maybe you are looking for

  • Can't boot from cd anymore after using norton systemworks 3

    It is an imac 233 , and now all that comes up on boot up is a command line and it won't boot from cd anymore when I hold down c. I'm not familiar with any mac command line at all except dos. Any ideas? Recently trying to install a new hard drive by t

  • Problem with adobe reader while faxing a pdf document

    hi all i am working with a windows application (.net windows service) to fax pdf documents periodically. when i started the service the first time the document was sent and next time onwords it is not at all sending fax . when i restarted the system

  • Image with button skin

    Hi,     I have a image control which is embed with button skin from swf. The effect is not getting affected in it. Only the image is getting loaded. Why is it behaving like this. Regards, Jayagopal.

  • Mod_dsame_so is garbled

    We are tring to install iplanet Policy Agent Pack 1.1 on our Solaris 8 box. we get the following message when we try to start the web server: Syntax error on line 1 of /etc/opt/SUNWam/conf/APACHE/_opt_IBMHTTPD_conf/dsame.conf: API module structure `d

  • _____Where is JAVA 1.4.1_03______

    I need to use java 1.4. I am running into the bug found at the below link. Reading the bug report, said it was fixed in version 1.4.1_03. I cannot find this version ANYWHERE! http://developer.java.sun.com/developer/bugParade/bugs/4775420.html Below i