BAPI_SCEC_CREATE

Has anyone used this FM ? Pls let me know the Input Parameters to be passed.I need to create a Shopping cart with data comming from Non SAP external system.
Raghu

Dear Poster
Your thread has had no response since it's creation over
2 weeks ago, therefore, I recommend that you either:
- Rephrase the question.
- Provide additional Information to prompt a response.
- Close the thread if the answer is already known.
Thank you for your compliance in this regard.
Jason Boggans
SAP SRM SDN Moderator

Similar Messages

  • 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.

  • How to change tax code in sc with BAPI_SCEC_CREATE or other function

    I'm creating shoppingcarts with BAPI_SCEC_CREATE but I can't figure out how I can give a taxcode to the function or with any other function like BBP_PD_SC_UPDATE?
    anybody got a clue how to change the taxcode of a shoppingcart ?
    kind regards
    arthur

    haven't looked correctly, in BBP_PD_SC_UPDATE
    it is possible to change the tax code

  • BAPI_SCEC_CREATE creating "limit item" sampe code

    Has anyone loaded shopping carts using this BAPI for "Limit Items"?  DO you have sample code for setting I_ITEMS & I_LIMIT tables?  I can get this BAPI to create carts for goods just fine, but not able to feed it the right parameters for limit items.
    ie i_items-item_type  = 'LIMI'.
    Sample code appreciated.

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • How to set  the  table I_ORG in 'BBP_EXTREQ_INBOUND'?

    dear all,
      Now I am using BAPI 'BBP_EXTREQ_INBOUND' to create a shopping card and have successed.
      but  in the table I_ORG,   whatever I set the value of  organization ID and group ID, it will not be changed in the SRM.
    how can I set them?
       t hank you!

    hi ,
    you can use BADI --> BBP_PGRP_ASSIGN_BADI in your SRM system and make changes according to your own requirements.
    if you make changes using the above BADI --> then changes should be updated in the newly created shopping cart.
    this is because , the above BADI is called ---> in the
    BAPI 'BBP_EXTREQ_INBOUND' .
    check out the following sequence --->
    BBP_EXTREQ_INBOUND ---> calls
    FM BAPI_SCEC_CREATE ---> calls
    {BAdI - BBP_PGRP_ASSIGN_BADI -
      PERFORM sc_pgrp_assign_badi TABLES lt_i_items             "XMZSP02AO
                                         lt_i_account           "XMZSP02AO
                                         lt_i_partner           "XMZSP02AO
                                   USING ls_i_header            "XMZSP02AO
                                CHANGING lt_i_orgdata[]         "XMZSP02AO
                                         return[].              "XMZSP02AO

  • External requirement from non SAP system created in SRM 7.0 Extended Classi

    Hello SRM Gurus:
    Has anyone created an external requirement using XI ExternalRequirement_Create_In (http://sap.com/xi/EBP).  We are getting a E001 "No company code could be determined for backend  for product##".  I traced the error to FM 'BAPI_SCEC_CREATE' in class "CL_BBPX_EXTERNAL_REQUIREMENT".  What I found is that it check the attributes for BUK and updates a table with the backend EEC system.  Then it checks if any of the entries match our external non SAP system in our external requirement and since it is a non SAP system none do.  Then it sets a return error code.
    I configured our non SAP system in the SLD and in SPRO under "Define System Landscape" as a non SAP system.
    We are running external classic scenario.  We just want to created a shopping cart from an external non SAP system.  Source the shopping cart in SRM and create the PO in SRM/ECC.  We are not using a product master but creating "describe requirement" in our external system.  Our product categories are replicated from ECC and the same codes used in our external non SAP planning system.
    If I change the external planning system to the ECC backend system, the external requirement is created in SRM but when I source it and convert it to a PO, it returns a backend error that the external requirement number does not exist in ECC.  Therefore it appears all of our data from our external system is correct with the exception of how to deternine the backend company code
    According to SAP this should be possible using XI.
    Has anyone been successful doing this or can you please advise any OSS notes or documentation explaining how to do this.  Please advise if you need additikonal info.
    Thanks in advance.
    Bert

    Dear 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

  • Issue in Shoppping cart created with SRM function modules

    Hi SRM experts,
    We need to create a shopping cart in SRM automatically from an external system.
    For this we have identified 3 FMs. Those are as follows -
    1.  BAPI_SCEC_CREATE
    2.  BBP_PD_SC_CREATE_EXTERNAL
    3.  BBP_PD_SC_CREATE
    Can anybody tell me which one of these 3 is best to be used?
    I tried to test FM's BAPI_SCEC_CREATE and BBP_PD_SC_CREATE independently but i am getting some errors in testing FM BBP_PD_SC_CREATE and in  testing FM BAPI_SCEC_CREATE, i am not getting any errors but 4 records in E_STATUS.
    FM BAPI_SCEC_CREATE  Test result
    E_STATUS
    I1021
    I1038
    I1106
    I1129
    FM BBP_PD_SC_CREATE   Test result
    E_MESSAGES
    E  BBP_PD               238 Enter at least one item or one limit
    E BS                       013 System status INCM is active (Shopping Cart 10042690)
    Also the main problem is that created SC number is returned as output in this FM's but when i enter that SC number in BBP_PD then zero records are displayed means no record.
    Please suggest how can i create SC using this FM's successfully and get it also displayed in BBP_PD.
    Thx in Adv,
    Tirumala

    Angel,
    You weren't clear on the issue you were trying to resolve.
    I assume you mean the cart was not able to be displayed in BBP_PD (i.e. not saved).
    To trigger this you will need to have a commit work i.e. call FM BAPI_TRANSACTION_COMMIT or create a wrap around FM which includes FM BBP_PD_SC_CREATE, evaluates the messages and then commit's work in need.
    Regards
    Rob

  • SRM 4.0 (SERVER 5.0) integration

    I need to store <b>ShoppingCart</b> with  <b>Items</b>, <b>Products</b> and <b>Attachment</b> with binary files into SRM from Legacy.
    I have read forum and I have found 3 ways:
    RFC: BBP_PD_SC_CREATE
    RFC: BBP_PD_SC_CREATE_EXTERNAL
    BAPI: BAPI_SCEC_CREATE
    There are many questions about BBP_PD_SC_CREATE_EXTERNAL
    and BAPI_SCEC_CREATE without answer.
    Has somebody performed successfully integration with SRM using these functions? (BBP_PD_SC_CREATE_EXTERNAL, BAPI_SCEC_CREATE)
    Is there a success story?
    Unfortunalely there is no blog/documentation  about it.
    What is your suggestions which funtion do I need to use?
    Message was edited by: Sergey A

    Hi Sergey,
    I heard few cases where they have done successfully creating SC from files using RFC: BBP_PD_SC_CREATE_EXTERNAL. This calls internally RFC: BBP_PD_SC_CREATE.
    In case of Plan Driven procurment, SC is created in SRM using BAPI: BAPI_SCEC_CREATE using R/3 PR data, which is out of box.
    You just have to mimick the SAP logic, it is definitely possible. As you said SDN Forum has sufficient info on this.
    Thanks,
    Jay

  • Prevent automatic release of intercompany project

    Hi,
    Currently, when an intercompany project is created from a sales order, it is automatically released. The user does not have a chance to change the project ID due to this behavior. Is there any way to prevent this from happening i.e., the project should be created in In Planning status till it is manually released. I did not see any scoping or fine-tuning to achieve this. Thanks in advance and please let me know if more details are needed.
    Regards,
    Harish Toppae

    perhaps I can better also explain the problem.
    the process now is that there is a word marco with a fill in form that collects all the data necessary to process a request.
    when all data is filled in the form (like 30 seperate fields) it is send to the administration who translate the form into a serviceorder and a purchaseorder with account assignment the purchase order after it is approved. the approval however for these orders goes on paper. (for example it is about construction works like building or renovations)
    Now the idea was to make the approval process digital.
    first option: release strategy on PR's
    problem : no knowledge on how to set this up available in the company ( I also tried to figure it out, any guide for dummies on this is appreciated)
    second option:
    Sent PR to SRM and let SRM do the release strategy.
    advantage:
    - users can approve just by clicking approve in email, they don't have to login to srm for this. (is that also possible in R3 ?)
    - knowledge on how release strategy works in srm is available.
    - easy to trace the approval workflow for a user.
    When I think of it perhaps I can also create a shoppingcart straigth away from R3 with the bapi and skip the PR at all
    BAPI_SCEC_CREATE or with BBP_PD_SC_CREATE. 
    third option:
    programm BSP for the requirement is quite challenging since all the fields that are required before a PR or SC can be created is quite a lot. further on I have to programm the generation of a serviceorder in the backend and return the number to be set as accounting order.
    if you have any other suggestions they are also more than welcome.
    ps nice a pdf with instructions on how to implement enhancements which are not copy pastable
    kind regards
    arthur
    Edited by: A. de Smidt on Nov 11, 2010 4:14 PM
    Edited by: A. de Smidt on Nov 11, 2010 4:18 PM

  • Creating SC's from external system

    Hi there,
    Does anyone have experience creating shopping carts into SRM from a different application (via an interface). I know about the existence of BAPI BAPI_SCEC_CREATE but would like to know if anyone has experience and maybe already some hints/tips/code available that I could use.
    Would be very much appreciated.
    Regards,
    Machiel.

    Hi,
    You can use standard BAPIs like BBP_EXTREQ_INBOUND or BBP_PD_SC_CREATE_EXTERNAL to create shopping carts based on your custom requirement.
    Regards,
    Sanjeev

  • Reminder mails to the approver

    hi all,
    i got a reqmt where i have to send a reminder mail to the
    user's manager for the approval of the user's shopping cart.
    can any one tell me how to do this.
    where exactly shopping cart number is stored i.e in which
    table and field and wht r the related tables
    iam new to SRM.
    regards..
    Praveena

    Hi,
    BBP_PD is the only transaction where you can see all the related info for tables storing the data for each type of document.
    e.g. for Shopping cart(SC),in the selection screen ,you can give the SC no in the field "OBJECT ID" and see all the details(header as well as Item) as well as the table names whcih store this data.As you said there are some common tables also whcih store the data for all the docuemnts like CRMD_ORDERADM_H(for header data).You can however filter teh data in these table for different docuemnts based on the field OBJECT TYPE.e.g. for SC Object type is BUS2121,for Bid invitataion BUS2200..etc..
    Similarly you can get all the info related to all the docuemnts whcih are created in SRM i.e. Bid invitation,quotation,Po etc....
    For Sopping Cart details,refer tables:
    CRMD_ORDERADM_H
    CRMD_ORDERADM_I
    BBP_PDIGP
    BBP_PDBEI
    CRMD_PARTNER
    BUT000
    You also have BAPIs and FMs to get details of any document.
    BBP_BUS2121 -> BAPIs / FMs for Object Type EBP Shopping Cart
    BBP_SCEC_DET_LOGSYS
    BBP_SCEC_GETDATA
    BBP_SCEC_SETDATA
    BBP_SCEC_UPDATE
    BAPI_SCEC_CREATE
    BBP_PD_SC_GETDETAIL
    BBP_PD_SC_GETITEMLIST
    BBP_PD_SC_GETLIST
    BBP_PD_SC_GUID_GET
    BBP_PD_SC_ITEM_GETDETAIL
    BBP_PD_SC_ITEM_STATUS_CHECK
    BBP_PD_SC_LISTSEL
    BBP_PD_SC_MAP_TO_PO_LOC
    HTH.
    BR,
    Disha.
    DO  reward points for useful answers.

  • Plan Driven configuration in Classic

    Hello Experts,
    I am setting up PDP in Classic Scenario (SRM7.0/ECC6.0) and I have the following queries
    1. I have created an entry channel in SRM org structure. Will this have any 'Function'? Should I assign an employee user under this node? Is this channel as good as a user department?
    2. I want to use a different transaction type than SC for requirements coming from ECC. Should I copy SHC and create a new? Any settings to be done for this in ECC?
    3. Should my employee user under the entry channel be an RFC user from ECC to SRM?
    4. Where should I create a local purch grpu2026Can I create it under an existing purch org or should I create a new Purch Org also? This local purch grp will have the responsibilty for the entry channel.
    Best Regards,
    John

    Please check below points:
    1. Check tables table T160EX (for maintaining Material group, purch group & profile)and T160PR (maintaining profile and RFC connection). Make sure RFC connection entered here is working fine and connecting to SRM.
    2. Check RFC connection to SRM and RFC user should be same as maintained in entry channel in SRM Org structure.
    3. Check if entry BBP_EPRTRANS_MAINTAIN  exists in ECC table TBE31. refer OSS note 656597 for further info.
    4. Do you see any entry in SRM SMQ2 for this PR?
    If everything above is fine then debug the FM BBP_EXTREQ_TRANSFER which calls BBP_BC_EXTREQ_INB on SRM side.
    This function module calls BAPI_SCEC_CREATE.
    Program BBP_EXTREQ_TRANSFER on backend side do the following:
    - load a local stored copy of transfer table EPRTRANS
    - create a package from the transfer table without breaks with one PR
    - enqueue the corresponding EBAN entries
    - transfer the package <-- in this perform we have BBP_BC_EXTREQ_INB and BAPI_SCEC_CREATE function module.
    - dequeue the package.
    Regards,
    Jagadish

  • External requirements to SRM

    Hi All,
    Any idea on how we can achieve processing of external requirements to SAP SRM from Legacy if we are not considering SAP XI or SAP BC.
    Thanks in advance
    Krishna

    Hi,
    Get the legacy requirement and text file and post the file entry using the FM BAPI_SCEC_CREATE to create the external requirement into the SRM SC?
    Regards.
    YS

  • Check status qrfc BBP_EXTREQ_TRANSFER

    Hi,
    How do I check the status of the queue BBP_EXTREQ_TRANSFER?.
    Can you help me indicating function module or tables?
    Thank
    Best regard
    Alessio

    Hi
    <u><b>Please go through this -></b></u>
    <u>Function Module -  BBP_EXTREQ_TRANSFER calls BBP_BC_EXTREQ_INB on SRM side. This function module calls BAPI_SCEC_CREATE.</u>
    <b>Program BBP_EXTREQ_TRANSFER on backend side do the following:</b>- load a local stored copy of transfer table EPRTRANS
    - create a package from the transfer table without breaks with one PR
    - enqueue the corresponding EBAN entries
    - transfer the package <-- in this perform we have BBP_BC_EXTREQ_INB and BAPI_SCEC_CREATE function module.
    - dequeue the package
    Before call BAPI_SCEC_CREATE, program checks if the incoming requirement is arleady existing, derermine limit positions, fill partner table in "i_bup" structure, check category if we don't have product id, pricing for IPC etc.
    This information are on SRM side, maybe that's why backend system don't call BAPI_SCEC_CREATE function module directly.
    <u>Related links -></u>
    <b>Note 1027506 BBP_EXTREQ_TRANSFER: ANORETRY for PR with different vendors</b>
    <u>SRM Function called by BBP_EXTREQ_TRANSFER</u>
    <i>Check if external profile is flagged (EBAN-EPROFILE = X) for those PRs which are in EPRTRANS.</i>
    <b>Also check if RFC connection is OK between R3 and SRM and RFC user is same as maintained in Entry channel in SRM. RFC user should be service user.</b>
    So that temporary problems (for example an external request which is locked in the SRM server) do not have the effect that the qRFC comes to a permanent standstill, you can make sure that the transfer of the purchase requisition is started by the system again. For detailed information on this, see the SAP help for the qRFC in the 'Administration of the outbound queue'. This is only a summary:
    <u>Use Transaction SMQS to register the RFC destination which is used for the outbound queue.</u>
    <u>Use Transaction SM36 to schedule program RSQOWKEX. This program makes sure that possibly hanging queues are triggered again.</u>
    <b>In addition, you have the option to monitor qRFC using the Alert Monitor. For more information on this, see the SAP help for the Alert Monitor under 'Special monitoring functions of the Alert Monitor -> Monitoring qRFC and tRFC calls'.</b>
    <u>See SAP OSS Notes -></u>
    Note 650333 - Hanging qRFC after transfer of Preqs to SRM
    Re: BBP_EXTREQ_TRANSFER fails if SMQ2 or SMQ1 Queues have errors
    BBP_EXTREQ_TRANSFER error:Entries stuck in queue
    Which SRM version are you using ? Do let me know.
    Regards
    - Atul

  • Shopping Cart Create

    Hi All,
    I am creating the shopping cart using this bapi  'BAPI_SCEC_CREATE'.
    Shopping cart is creating correctly but it should go to 'Awaiting Approval Status' but it is going to 'Approval' status.
    can anyone give me a suggation ASAP.
    Regards,
    Sunayana

    Hi,
    depends on the workflow configuration. if the workflow is set to automatic approval for certain condition this can happen.  refer the following thread BAPI_SCEC_CREATE - how to get the shopping cart to go to our workflow
    Cheers, Prabhu

Maybe you are looking for

  • Can't run sidecar AIR installer on Mac OS X from UDF 1.0.2 image

    I'm experiencing another AIR installer issue, this time trying to run an AIR 2.5 sidecar installer for Mac OS X that is placed on a UDF 1.0.2 image (created with Toast 10). The error in the Console when double-clicking the installer.app is: udf error

  • Max resolution the iMac can support

    Hi kids, I'm using the desktop extender hack with my 800 and 1.25 iMacs. Right now, I'm using 17 inch monitors(1280x1024). What's max resolution these iMacs can drive? I want to upgrade the monitors to 20inch, 22inch, or maybe even 24inches. Anyone h

  • Related to automation task in Hyperion

    Hi, I need to know which language is easy and worth to learn for automation of regular tasks in Hyperion. MAXL- OK ESSCMD-OK Does i also learn Perl or .net etc. Regards Kumar

  • Error when run application

    I am create data sourse name in ODBC Drivers and starrt Dreamweaver to connect a database already but when I press F12 to run application there was error message like this : Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Mic

  • HT4946 How do I change the answers to my security questions?

    I am trying to make an account without a credit card and I can't remember the answers to my security questions, how do I reset them?