BAPI for commit in SRP for Shopping cart

Hi ,
I need to upload purchase requisations to SRM by using BAPI.here i using BBP_PD_SC_CREATE and BBP_PD_SC_SAVE for uploading. but i have one doubt .
after uploading i need to COMMIT data ,for this wat i need to do and which BAPI i have to use,
u plz tell me ASAP,
Bye,
balu.

Hi,
For SC you can use BAPI_SCEC_CREATE + BAPI_TRANSACCION_COMMIT
regards

Similar Messages

  • Search for G/L account in shopping cart

    Hi Experts,
    I have a question regarding default data in the search function in shopping cart.
    When I create a shopping cart, I don't have any data defaulted into the field for G/L account. We would like the user to open the 'area' cost assignment and make the allocation for G/L account them self.
    My question is: When the user activate ' cost assignment' press on the binoculars in the field 'G/L account no., a search screen is activated.  In the search screen there are some default data, company code, launguage, chart of account, etc. WHERE DOES THESE DEFAULT DATA COMES FROM?
    Best regards. Kim

    Hi,
    Depend upon your product category that is selected in SC and Cost center the G/L Account data comes up.. in SRM there is a table called BBP_DET_ACCOUNT here the data is configured... so if you check here you will find for that particular product category what are the G/L Accounts maintained...
    Hope my explanation helped you to resolve your query
    sam

  • Item level link in PO for items added from individual Shopping carts

    Hi all,
    IF i create a PO in Sourcing using multiple shopping carts,then for each of the item in the PO ,is there any link which has details about the Line item of the SC from which the PO was created?I am looking for some link in the PO(created from multiple carts) at the item level with the Items in the shopping cart.
    E.g. I create PO 100 from cart 10 and Cart 20.
    CArt 10:
    Line item A
    cart 20:
    Line item B
    PO 100:
    Line Item A(1st item)
    Line item B(2nd item)
    For the above example,is there any link in PO 100 for item A in SC 10 and for item B in SC 20?
    Thanks in advance.

    What are you trying to achieve? What other link do you need if you get the item GUID (this is not the shopping cart number!)? The item GUID is a unique number in the SRM system that is only used for that particular item. So there is no need to identify it any further or in any other way?
    So 4 ways to get it:
    1. use the correct tables (CRMD_ORDERAMD_I & BBP_PDIGP using GUID and SRC_GUID from the top of my head).
    2. Use the BBP_PD_PO_ITEMGETDETAIL Function Module (do a search for BBP_PD_PO* in transaction SE37 to find the correct name).
    3. use transaction BBP_PD (only reference)
    4. use the PO transaction in internet explorer and check the preceding shopping carts
    Regards,
    Robin

  • SRM 7 - defaulting values for multiple line items on shopping cart

    Hi,
    We are using SRM 7 - Employee self service - Punch out catalogues and describe requirements.
    Our scenario is this:
    - User is responsible for creating shopping carts for numerous cost centres/other users
    - Shopping cart will have multiple line items (but the cost centre/other user will be same for all line items)
    - Is it possible to define in a shopping cart that all line items will have a specific value?  E.g. all line items will be assigned to a specific cost centre?
    I know about assigning dedault values in PPOMA_BBP - but our situation is where user does not want to use this default value this time, but another value
    Any suggestions?
    Thanks

    Thanks Alex for quick reply
    To confirm, did you use the BBP_DOC_CHECK_BADI (in conjunction with the BBP_ITEM_CHECK_BADI) to look at different cost centres on the multiple lines on the shopping cart?
    Also - did you use the same BADI to give user opportunity to enter a default cost centre that is then automatically applied to all line items on the cart?
    Thanks
    Azam

  • Badi for preventing PO creation in shopping cart in srm

    Hi Experts,
    Here I have a senerio in SRM. In shopping carts we need to avoid purchge order cretion for particular vendors. Because for these vendors through workflow after approval PO has to be created.
    So I need BADI to prevent the purchage order creation for particular vendors.
    Please suggest me in this regards.
    Thanks in advance
    G.S.Naidu

    Hi Naidu,
    PLease try this:
    Enhancement   MM06E005       Customer fields in purchasing document  (It contains vendor as import paremeters)                    
    Enhancement  MEQUERY1        Enhancement to Document Overview ME21N/ME51N
    I hope this may helpfull.
    Thank you,
    Thanks,
    AMS

  • Vendor part number for non catalog item in shopping cart?

    I have a requirement to get the vendor part number field in shopping cart basic data for non catalog item. This field is available for catalog items, would it be possible to make the same field available for non catalog items as well?

    Hi Gummadi,
    You can create custom fields in Shopping cart uisng a BADI and can populate the information.
    BBP_CUF_BADI can be used to create customer fields.
    Please get discuss with your ABAP fellow for the creation of customer field.
    Award points for helpful answers.
    Rgds,
    Teja

  • Report on Responsible Purchaser for a Requester or a Shopping Cart

    Hi,
    Is it possible to get the details of responsible Operational Purchaser for a particular Requester or for a Shopping cart ?
    Pls advise.
    Rgds.

    Hi
    <b>Using the Standard SRM Report - BBP_BW_SC1 you can get the Shopping cart details as per requestor... Attach the transaction to the Role created in PFCG transaction of the Operational Purchaser...</b>
    <u>Other related reports are -></u>
    BBP_BW_SC2
    BBP_BW_SC3
    BBP_BW_SC4
    <b>Alternatively, you can also look in the GUI Transaction BBP_PD as well as BBP_MON_SC (Monitor Shopping carts web transaction)</b>
    Hope this will anser your query.. Do let me know.
    Regards
    - Atul

  • Unable to create PO in backend system for a text material in Shopping cart

    Hi All,
    When I am approving  a shopping cart with text material(ie without material/product/goods), I am getting PR instead of PO. Please explain the settings for getting PO.
    Regards
    SATYA

    Hi,
    SPRO--> SRM > SRM server> cross application basic settings --> Define objects in backend system (PR,RS,PO)
    Always purchase requision 
       Or
    PO if item data complete,other wise PR.
    1. Enter the organizational unit and/or the category.
    2. Enter a source system.
    3. Choose the procurement type.
    Reservation if stock is available, otherwise external procurement
    The system creates a reservation if the material is subject to inventory management and sufficient stock quantity is available in the warehouse on the requested date.
    Always reservation for materials subject to inventory management
    The system creates a reservation if the material is subject to inventory management, irrespective of whether stock is available.
    Always external procurement
    The system does not create a reservation, but always procures the item externally. In this case, you specify the type of external procurement.
    The following options are significant if the system cannot create a reservation (for example, if there is no stock available or for a non-stock item) or the system must not create a reservation (choose Always external procurement).
    Purchase order if item data complete, otherwise purchase requisition
    The system always tries to create a purchase order. If the item data is incomplete (for example, the vendor or price is not known), the system creates a purchase requisition from the item.
    Always purchase requisition
    The system always creates a purchase requisition.
    Always local purchase order
    The system always creates a local purchase order.
    Thanks
    prasad.s

  • Account assignment check for non-direct material in shopping cart creation

    Hello Guru's
    i'm very new to SRM please help me
    We require all non-direct material shopping carts to be ordered with a valid account assignment. Therefore we implemented BADi ZUB2MB_DP_PROD_CHK to suppress the u201COrder as Direct Materialu201D Button. This button allows any order to be placed without account assignment like a direct material.
    We started ordering direct materials in SRM at go-live with a cost center, but when they were received, SAP considered them consumed due to the account assignment and did not place them into QA Inspection or assign a batch. We immediately, switched back to SAP for direct materials.
    We need a solution that will require all non direct material shopping carts to have account assignments, while allowing direct materials to be ordered with or without account assignments. All while keeping the current checks in place regarding the mixing of account assignments, Z required for TBI catalogs, etc.
    please tell me how to write the logic in the DOC_CHEK_BADI  to check weather account assignment is made for non-direct material while creating a shopping cart.
    thanks in advance....

    Account Assignment notification, should be take care by standard SRM functionality itself..
    Your using SRM 7.0 or 5.0 ??
    Thanks!!
    Bharath

  • BAPI which creates a PO from Shopping cart

    Hello All,
    Irrespective of any scenario, How is that the PO is getting created out of an ordered shopping cart? Is it a BAPI, if so, where can we see this ? I mean which trans code should we use  in the GUI?
    Thanks in advance,
    Nagarajan

    Hi
    <b>Please go through the related pointers -></b>
    Re: How the Order is created in R3?
    Re: Regarding direct material procurement in Classic scenario.
    DATA VALIDATION INSIDE  BAPI_PO_CREATE / BAPI_PO_CREATE1
    Re: How do debug BBP_ECS_PO_OUT_BADI?
    Re: BAPI_PO_CREATE1
    Re: bbp_pd_po_transfer_exec
    <u>Do let me know.</u>
    Regards
    - Atul

  • Error "No status object is available for Unknown Object " in Shopping Cart

    Hi all,
    We are getting error "No status object is available for <Unknown Object>" while creating shopping carts of any type .
    Please suggest if any configuration setting needs to be done.
    Thanks and Regards,
    Navdeep Malik

    Dear Navdeep
    The error is likely caused by one or more entries in table BBP_DOCUMENT_TAB that are without objkey or guid.
    did you delete some entries from SRM transaction tables?
    Check table BBP_DOCUMENT_TAB entries to see any GUID which is not present in the system.
    You can verify this by checking whether there is an entry in CRMD_ORDERADM_H (header) table
    with GUID = <guid stored in bbp_document_tab>
    Regards
    Lauren

  • Disable GL Account Field for editing in the Shopping Cart SRM 7.0

    Hi,
      We would like to disable the GL Account field for editing only on the Shopping Cart Approval Screen. I tried to implement this through configuration of Metadata Dynamic Class in SPRO->SRM Application Server ->Cross Application Basic Settings->Extension & Field Control ->Configure Control for Fields of substructure. But the class is not getting triggered.
      Any help would be appreciated. We are on SRM 7.0
    Thanks
    Raghav

    Hi Rohit,
    Try to activate the view and component and then see. If this does not works, create an enhancement for the view and write the below code in method WDDOMODIFYVIEW
    DATA btn_confirm TYPE REF TO cl_wd_button.
      btn_confirm ?= view->get_element( 'AUTO_CONFIRMATION' ).
      if btn_confirm is BOUND.
        btn_confirm->SET_TEXT( value = 'Confirmation' ). 
      endif.
    This code will set the button text as 'Confirmation' .
    Regards,
    Anubhav

  • Is workflow mandetory for shopping carts and contracts approvals srm7

    hi
    in SRM 7 are workflows mandetory for approvals of Shopping carts  andContracts?
    I understand you need an approved workflow to turn a SC to a PO.
    is workflow required for approval of  shopping carts or can approvals be done manually
    you create the SC and you communicate and  look at  the sc and approve it
    Same type of question for workflow in contracts  for approval ?? is it mandetory or optional (manual achieve approvals)
    cheers
    alex
    Edited by: Alex Waiyaki on Apr 23, 2010 8:24 PM

    Hello Alex,
    SRM 7 has process controlled workflow and its easy to configure for simple requirement.
    Yes, Shopping cart approval will be required to change status of SC to approved. Though it can be as simple as auto approval. SAP delivers number of standard BC Set for approvals including auto approval of SC.
    SRM also has a option of adding approvers & reviewers. SC creator can add approvers & it goes for approval to added approver.
    Hope this helps.
    Thanks
    Ashutosh

  • Delete shopping cart line

    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
    ANDREA

    Hi,
    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>

  • Dump (RABAX_STATE)  when user holds a shopping cart

    When the user tries to hold a shopping cart, copied from one existing, the system gives back an error (dump). The activities executed from the user are:
    1) Add cost center; Change WBS and Cost Assignment in “Default settings for items”;
    2) Select the shopping cart to copy from “Old Purchase order and templates”, choosing by flag the lines to add at new shopping cart;
    3) Change “Required on” data;
    4) Insert “name of shopping cart”;
    5) Check shopping cart and choose “Hold” shopping cart.
    The error messages are following:
    ERROR IN ELABORATION OF THE OWN REQUEST.
    The following text of error has been elaborated in production system SRP:
    An exception that could not be caught occurred. The error has been taken place in application the server sapsrpci_SRP_00 and in operating process 0.
    Type of interruption: RABAX_STATE.
    Hierarchy of call ABAP:
    Function: BBP_PD_ABORT of program SAPLBBP_PDH
    Form: ABORT of program SAPLBBP_PDBUP
    Function: BBP_PDBUP_ADDR_DB_UPDATE of program SAPLBBP_PDBUP
    Form: GET_AND_SAVE_XY_TABS of program SAPLBBP_PD
    Form: PROCDOC_SAVE of program SAPLBBP_PD Function: BBP_PROCDOC_SAVE of program SAPLBBP_PD
    Function: BBP_PD_SC_SAVE of program SAPLBBP_PD_SC
    Form: SC_SAVE of program SAPLBBP_SC_APP
    Function: BBP_SC_APP_EVENT_DISPATCHER of program SAPLBBP_SC_APP
    Form: APP_EVENT_HANDLER of program SAPLBBP_SC_UI_ITS.
    Unfortunately the error log is not more available with transaction ST22, because the system cleans up the “old” log. The error frequency is random.
    I’ve searched for a Sap note, but I haven’t find anything right for my problem.
    Can you help me, please ?
    Thanks in advance.
    Claudia.

    Hi
    Which SRM version are you using ?
    Couple of reasons can be possible in this case.
    1) Some OSS note is missing or Applied incorrectly.
    2) some SPRO configuartion settings missing (Probably may be related to the GL Account, Product category, Cost Center, WBS Element, etc)
    3) Incocnsistent data existing in some of the templates in the Old purchase orders & templates.
    4) Business Partners like Vendors data etc. are not consistent
    5) Some missing authorizations in the system attached to the log-on user.
    <b><u>Basic checklist</u></b>
    <u>Are you using standard roles for the user who logged on in this tenascation on Web Page (refer PFCG transaction and SU01 Transaction ) ?
    When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
    ALso pls check the foll:
    -->activate the services through SICF tcode.
    > Go to SICF transaction and activate the whole tree under the node Default host>sap>bc>gui>sap>its.
    >Also maintain the settings in SE80>utilities>settings>internet transaction server-->test service/Publish. (BBPSTART , BBPGLOBAL, BBPSC01 etc)
    Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
    Could you please review again the following steps ?
    Did you check that ICM was working correctly (Transaction - SMICM) ?
    1-Activate the necessary ICF services
    With transaction SICF and locate the
    services by path
    /sap/public/bc/its/mimes
    /sap/bc/gui/sap/its/webgui
    2- Publish the IAC Services
    With Transaction SE80 locate from
    the menu Utilities -> Settings ->
    Internet Transaction Server (Tab) ->
    Publish (Tab) and set “On Selected
    Site” = INTERNAL.
    3- Locate the Internet Services SYSTEM and WEBGUI.
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    4- Browse to http://<server>:<icmport>/sap/bc/gui/
    sap/its/webgui/! and login to the
    webgui.</u>
    Also, Check any logs are there in ST22, RZ20, SM21 and SLG1 transactions.
    Try to get more precise, and if possible, please paste the complete short dump details using ST22 Transaction.
    Incase nothing helps, Please raise an OSS message with SAP as well.
    Regards
    - Atul

Maybe you are looking for