Change the purchasing group of shopping cart created in SRM from PR in ECC

Dear All,
When a PR is created in ECC and transferred to SRM using program BBP_EXTREQ_TRANSFER, the purchasing group does not get assigned correctly in the SC created in SRM.
I tried implementing Badi BBP_BADI_EXTREQ_OUT to resolve the same.
But it is not working.
I've passed the value 'O' to the field PROC_GROUP_OT and the puchasing group value to the field PROC_GROUP_ID of the parameter ORG_IMP. But I'm not sure wat value has to be passed to the field PARENT_GUID of the same parameter and  tried passing the PR number once and the item number once to it.
But none of it is found to be giving the expected results.
The purchasing group found in the SC in SRM is different from that given in the PR in ECC.
The code that i've written in the Badi implementation is as follows.
move transtab_imp to ls_transtab.
ls_org_imp-PROC_GROUP_OT = 'O'.
ls_org_imp-proc_group_id = ls_transtab-eban-ekgrp.
read table item_imp into ls_item_imp with key item_number = ls_transtab-eban-bnfpo.
if sy-subrc = 0.
ls_org_imp-parent_guid = ls_item_imp-item_guid.
endif.
APPEND ls_org_imp to org_imp.
Can anyone help me to resolve the issue??
Thanks,
Kayal

Hi kayal,
See the foll threads for sample code/solution:
Re: BAdI to change pur group
Re: Changing P Grp in shopping cart item
BR,
Disha.
<b>Pls reward points for useful answers.</b>

Similar Messages

  • How can we change the purchasing group which it is maintained in R/3?

    Hello All.
    In case of MM, purchasing group is assigned to material master.
    It means purchasing group is maintained based on material code.
    But SRM has different maintenance level.
    As you know that purchasing group has the responsibility based on material group (Product category).
    So we should change the purchasing group from R/3, when end user create shopping cart.
    How can we change the purchasing group which it is maintained in material master?
    Thank you,
    Best regards,
    SH.

    Hello So Hee,
    I am not a technical guy.
    But for your requirement i am building a logic.
    I am not sure whether it will work.
    You need to check with your ABAPER.
    It is as below:
    When the SC is approved and the other configuration is correct ,
    PR is created in ECC by the virtue of BAPI.
    You want that the pur grp should be populated on the base of matl code and not on matl grp.
    Hence in SC you will not fill up pur grp.
    In the programme for BBPSC01 i.e. SC creation you will add modification that it will call a custom FM.
    This custom FM will get the matl code from SC and will find the value of pur grp from R/3 MM01i.e. matl master(you may get in MARA).
    Now in the BAPI you need to incorporate this additional value of yr pur grp field.
    So the desired pur grp as per yr R/3 matl master will be populated in yr R/3 PR.
    Again: this is all hypothesis.
    That's all I can help you.
    BR
    Dinesh
    <b>Reward if helps</b>

  • Changing the owner of a shopping cart

    Hello Experts!
    I was askec to create a program that changes the owner of a shopping cart and purchase order in SRM.
    It happens that the person who created the shopping cart or purchase order is leaving the company and someone else is going to manage his shopping carts and purchase orders.
    How to I assign the shopping cart or purchase order to someone else.
    Is there any BAPI or transaction.. ?
    Thanks in advance for replies!
    Mahesh

    Hello Susanne,
    Have a look at hyper-link below:
    [Code Sample 1 - Update Partner details in a Purchase Order|https://wiki.sdn.sap.com/wiki/display/SRM/Code%20Sample%201%20-%20Update%20Partner%20details%20in%20a%20Purchase%20Order]
    According to your requirement, business partner to change is Requester ('00000016') and purchasing document is Shopping Cart.
    Regards.
    Laurent.

  • I cannot find purchasing group in Shopping cart item basic data in SRM 7.0

    Hi experts,
    We are using SRM 7.0 and stand alone scenario. When we are creating shopping cart, we cannot we cannot find the purchasing group field in item basic data. We have not changed any standard SC layout and I've already specified the responsibility of the purchachsing group.  Now I have no idea why the purchasing group is not visible.
    Can anybody help me on my issue?  Many thanks.
    Harry

    Hi,
       The values are getting populated in the include "LBBP_SC_UI_ITSF49"...
    set orgdata
      READ TABLE gs_sc-org WITH KEY p_guid = gs_scr_basic_i-guid
                           INTO wa_orgdata.
      IF sy-subrc = 0.
        gs_scr_basic_i-proc_group       = wa_orgdata-proc_group_ot.
        gs_scr_basic_i-proc_group+2(12) = wa_orgdata-proc_group_id.
        gs_scr_basic_i-proc_org       = wa_orgdata-proc_org_ot.
        gs_scr_basic_i-proc_org+2(12) = wa_orgdata-proc_org_id .
       read purch. group description
        CLEAR wa_orgdata_i.
        READ TABLE <item>-orgdata
             WITH KEY proc_group-otype = wa_orgdata-proc_group_ot
                      proc_group-objid = wa_orgdata-proc_group_id
             INTO wa_orgdata_i.
        gs_scr_basic_i-proc_group_text = wa_orgdata_i-description.
      ENDIF.
    Here you can make the changes in the Order of the values.
    BR,
    Disha.
    PLs reward points for helpful answers.

  • How to supress field "purchasing Group" in Shopping cart

    Hello,
    I would like to know what is the easiest way to change the status of the field "purchasing group" in the chopping cart to "visible". In the standard, this field is "modifiable".
    We want to have this field visible when we are creating a shopping cart
    Thanks for any clues.
    Aart

    Hi Aart,
    Try using the BBP_UI_CONTROL_BADI.
    Method BBP_SC_UI_CTRL.
    Use the fieldname and try hiding it by setting parameter CV_INPUT_READY = ' '
    CASE IV_FIELDNAME.
    WHEN 'fieldname'.
    CV_INVISIBLE = ' '.
    CV_INPUT_READY = ' '.
    ENDCASE.
    Thanks,
    Pradeep

  • Change the label names in Shopping Cart for LATAM countries..

    Hi Gurus,
    We are implementing SRM for LATAM countries. The portuguese & spanish language here are different than those in Portugal & Spain.
    The translations that are coming for these countries are different than what SAP as a standard is offering.
    In view of this, to list some of the issues as below -->
    The word u201CSolicitaru201D (which means Order in English) they want to replace it as u201CEnviaru201D, this is more usual in the LATAM spanish language to send for approval.
    The other one is u201CTartaru201D (which means Edit in english) they want it to replace with word is u201CEditaru201D.
    Can we change these label names without affecting the Portugal & Spain translations which the user there are already fine with.
    Appreciate your quick help.
    Thanks,
    Abey

    Hola,
    You can do it in the component configuration;
    -Goto se80 to the component FPM_OIF_COMPONENT and configuration /SAPSRM/WDCC_FPM_OIF_SC_PROFNL (or what you want, you can see it in technical settings in the portal)
    - Choose "Start Configurator" and change
    - Choose your button and change the label in the field "Identif"
    Regards,

  • Rejection of Shopping Cart created in SRM ?

    Hi SRM GURUS,
    We have an issue regarding shop on behalf in SRM.
    A shopping cart is created as shop on behalf and needs approval from a manager. If the manager rejects it, then the shopping cart is returned to the user that has been shopped on behalf of  not the user who did the shop on behalf. This is standard SRM Work flow scenario.
    Now we want to copy the standard workflow and want to make changes in that.
    Can any one please let  me know , which workflow we have to copy and where we have to made changes. After all how to activate the Zworkflow. Please help..
    Thanks
    Venkatesh P

    Hi Venkatesh,
    If you are using one step approval of SC then workflow WS10000129 needs to be changed for the rejection of SC notification to be sent to the person who shopped on behalf of. You need to copy the standard task TS10008126 in a custom one and ensure that the recipient of the rejection of SC goes to the person who shopped on behalf of rather than the one for whom it is created based on numerous criteria's like the role of the users or some expression or additional logic to determine the Requester ordering the cart and not the original requester.
    Regards
    Anirban

  • Grouping of Shopping Carts using the report  BBP_SC_TRANSFER_GROUPED

    Hi Experts,
    I am a new SRM consultant and have been asked to investigate an issue regarding grouping of Shopping Carts using the report  BBP_SC_TRANSFER_GROUPED.
    The wanted scenario:
    For one specific vendor we wish to pool/group request coming from various shopping carts into one PO e.g. once a day. The shopping carts for that vendor can be destinguished by one specific product category.
    We are on classic scenario hence the PO will be created in our ECC system.                                                                               
    Settings we have done to accomplish what we want:
    1. We have set up the transfer for grouping on the specific product category in the sourcing area in the IMG structure
    2. We have run the report BBP_SC_TRANSFER_GROUPED (grouping takes place according to the product category)
    This approach works, the shopping carts gets grouped into one PO in ECC. however the line items from the Shopping Carts are mixed in the PO eg SC1: Item A, Item B, Item C, Item D SC2: Item 1, Item 2, Item 3, Item 4 PO (Current result) Item A, Item 1, Item B, Item 2, Item C, Item 3, Item D, Item 4.
    This seems quite strange, as there are no logic reason for this split. It would be understandable if it was a matter of delivery dates of the goods, but they are not in any order i.e. first coming delivery date first.
    Does anyone know how to correct this or can anyone clarify why this sequence mix happens?
    For me it seems like a program errror.
    Hope you can help me solve this issues
    Cheers Christian
    Edited by: Christian Gjellerup on Aug 6, 2010 3:34 PM
    Edited by: Christian Gjellerup on Aug 6, 2010 3:35 PM

    Hi,
    In SRM -Product categories = Purchasing group in SAP R/3.
    During the transfer of P.R   from R/3 you have enter the Purchasing group in R/3.
    In SRM in the PPOMA_BBP in the extended attribute you can enter the exact product categories
    or else enter * in the product categoies and the backend logical system
    in SPRO --define objects in backend system --- in this enter the purchasing group and category Id
    check your default settings in the SRM web browser
    Regards
    G.Ganesh Kumar

  • Release have to be retrigger if any body changes the purchase order

    Hi all,
    Actually my requirement is.....once a PO is released by a purchasing group.....and later any body  have changed the  purchasing group in  the same PO release should be retrigger how to configure this.
    Regards,
    Bhargav...

    Go to SPRO > Materials Management > Purchasing > Purchase Order > Release Procedure for Purchase Orders > Define Release Procedure for Purchase Orders > Release indicator
    Select the release indicator for the final release.
    Once you are there, make "Chgable" = 6 and "% Value change" needs to be "blank".
    Hope this helps.

  • Local purchasing group in the creation of a shopping cart

    Hello everybody,
    I'm working on SRM about shopping carts. When I create a shopping cart, the purchasing group is a local group, and no purchasing organisation is available. In fact, I want to be able to modify these elements and specially I want the values corresponding to the elements of the enterprise structure (PPOMA).
    Could you help me please?
    PS: the organisational elements correspond to the elements of the enterprise structure when I create a purchase order

    hi,
    See the solution in the foll thread:
    Re: Changing P Grp in shopping cart item
    Re: BAdI to change pur group
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Track the changes to the Purchasing groups

    Hi Experts,
    Can we track the changes made to the Purchasing groups? Or when we are making the changes the history will be lost?
    Thanks in advance,
    Regards
    Anamika

    Hi,
    Go to -.> OLME -> Create Purchasing group -> MENU -> Utilities -> Change Logs
    Enter Analysis period i.e Start Date, time to end date, time
    And execute
    You will get the change log
    you can also use t code SCU3
    Push Evalute logs.
    Input 'T024' in Customizing Object/Table
    Enter Analysis period i.e Start Date, time to end date, time
    select tables in Evaluation for
    Execute
    Edited by: redriver on Dec 8, 2011 4:46 PM

  • Need to change the targeting group of a Rule or monitor after a alert is created.

    Hi All,
    I have created many alerts and they are working fine. Currently due to business requirement we have installed Windows server 2012 operating systems in our production environment. But we have targeted the
    "Windows server 2008 r2 full operation system" group as per the below screen shot. As we now have to import the management pack for Windows server 2012 as well.
    What we have planned is to change the targeting group from "Windows server 2008 r2 full operation system"
    to "Windows server operating system group" so the alert / monitor or rule will target all windows server which has been discovered in SCOM rather that only the servers running Windows server 2008 r2.
    I was also not able to set overrides for this as that server was not coming under Windows server 2008 r2 full operation system as it was a Windows server 2012 agent.
    I can also go ahead and create new alerts but i have created custom of 1000 alerts and i cannot go ahead and re create them.
    Is there any way to change them. If yes Can i do a bulk change via powershell ?
    Below is the screenshot of what i really want. Can any on e please help.
    Gautam.75801

    You can't really change the target class of a monitor in a sealed vendor pack. If this is your own custom pack, then you can change the target class no problem, but this would need to be done on the unsealed XML (using VSAE or some other authoring tool).
    Then you can seal the pack and re-import (should be upgrade compatible, since you are just changing the target).
    I'm not familiar with this particular monitor in your screenshot, but it looks like this should probably target Exchange? If this is the case, then I would recommend targeting the closest typed class that the monitor should run against. In this case, some
    type of Exchange class that is already in the Exchange management pack.
    Otherwise, you can also create your own custom class for targeting, which I describe in detail on my blog.
    Here are all my sample VSAE fragments.
    Here is an example of
    using the Application Component base for your new class.
    Here is an example of
    using Local Application base for your new class.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • User Exit/BADI to change the Purchase Requisition date,creating threw MD02

    Hi,
    I've a requirement to change the Purchase Requisition creation date.
    I'm using MD02 to create Purchase Requisition.
    Based on the requirement if the available qty is less than the required quantity,we can change Purchase requisition date.
    Please let me know if any BADI's/User Exits we can use for this purpose.
    I've checked EXIT_SAPLMEREQ_010. I've kept debugging point nad i run MD02, but it is not stopping in the exit.
    we are using SAP 4.6c.
    Thanks,
    Adi.

    Hi Experts,
    Could you please give me a suggestion for the above problem???
    Thanks,
    Adi.

  • How to determine the purchasing group using BADI BBP_PGRP_FIND

    Hello Friends
    We use SRM Server 5.5 (Classic scenario).
    As you know that, purchasing group has the responsible product categories in PPOMA_BBP, when user creates the shopping cart to determine the purchasing group. 
    In our case, we should determine the purchasing group using other criteria.
    MM side is OK to determine the purchasing group using specific criteria.
    Because Material Master has the purch. Group information. 
    In case of SRM, we should develop the logic using BBP_PGRP_FIND BADI.
    But I’m not sure how to use this badi.
    We want to determine the purchasing group based on the following logic.
    If described shopping cart without product ID
    Do Standard purchasing group determination logic.
    Else
    Assign the purch group from MARC- EKGRP (Purchasing Group)
    Is it possible to determine above the logic?
    If yes, Could you give me some information?
    Thank you,
    Best regards,
    SH
    Message was edited by:
            So Hee Lee

    Thank you for your answer.
    I found the way to develop the our logic using BADI: bbp_pgrp_find.
    But I’m not sure the following logic is correct.
    To differentiate described req. or product id req, We check the E_ITEM – PRODUCT using BBP_PD_SC_GETDETAIL.
    IF E_ITEM – PRODUCT is blank, Read the category ID to find the purchasing group.
    To find the purch. Group, we can use FM:  BBP_OM_DETERMINE_RESP_PGRP.
    Import parameter: IS_RESP_ITEM_DATA – Category _ID
    Export parameter: ES_PURCH_DATA
    ELSE
    CALL the customer function to read the R/3 purchasing group from MARC- EKGRP
    Search the HRT5500-TABNR using purchasing group from R/3.
    Search the HRP5500 – OBJID using HRT5500-TABNR
    Call the FM:  BBP_OM_DETERMINE_RESP_PGRP
    Import parameter: IS_RESP_ITEM_DATA – PROC_GROUP – OBJID
    Export parameter: ES_PURCH_DATA
    Thank you
    Best Regards
    SH

  • Selection of Purchase Organisation in Shopping Cart

    Hi,
    How does SRM 5.0 find the Purchase organisation in the shopping cart.
    I seem only to be able to manipulate the Purchasing group, Company and Plant when creating a shopping cart.
    Nowwhere in the shopping cart does appear the field "Purchase Organisation"!
    Thanks in advance.
    Aart

    Hi Consultores VisionOne,
    Try to use the service BBP_MON_SC to find the purchase organization.
    See the screen in this print: BBP_MON_SC
    Regards,
    Pedro Marques
    Olá Consultores VisionOne,
    Tente olhar o serviço BBP_MON_SC para localizar a organização de compras.
    Veja a tela nessa print: BBP_MON_SC
    Atenciosamente,
    Pedro Marques

Maybe you are looking for

  • IPad restarting Automatically after IOS 8 Upgrade

    I purchased an IPad Mini with retina display in Aug 2014, upgraded to IOS8 on 19-sep 2014, since then the IPad has restarted automatically when I was browsing through the App store specifically. What is the reason for this freak occurrence. Rgrds Suk

  • Error message in compliing a function

    Hi All, I am trying to compiling the following function, but it is throwing the an error. CREATE OR REPLACE FUNCTION parapage_discosessions RETURN bumber IS discosessions number; BEGIN discosessions := select count(*) from gv$session where username I

  • IBooks Author is for iPad or not. It sayes in the download, only for OSX

    iBooks Author is for iPad? The download says it is only for OSX. Can anyone explain? Rgds tst at internet.is

  • Wifi apps in store of nokia asha 230

    my phone nokia asha 230has not support wifi..but in nokia store there have many apps about wifi like wifi optimizer,wifi locator,etc.why?

  • Formula variable - Maximum Date in result output

    Hello Guys, Scenario - Data in Cube *Reseller      Sales Date* RS1          01.01.2010 RS1          01.01.2011 RS1          01.01.2012 RS2          01.01.2008 RS2          01.01.2009 RS2          01.01.2010 Required Output - Display one record for ea