Validate GL Account at SRM shopping cart at account assignment level

Hi,
In the SRM shopping cart system, at Account Assignment Overview level, is there any BADI or user exit or enhancement options to validate the GL Account when the account is selected/key-in?
I try BADI for BBP_DETERMINE_ACCT, BBP_MESSAGES_BADI and BBP_ACC_CHECK_ICC. All is not trigger at Account Assignment level.
Please advice.

Hi,
I have a similar requirement apart from all the validations done by BBP_DOC_CHECK_BADI  ,
we have to add one more validation (check the asset acquisition date if it is less than the current fiscal year give error message).
This has to done in R/3 .
I checked for the exits in the FM BBP4X_CODINGBLOCK_CHECK_47A and found that there are no exits for this FM.
PLEASE SUGGEST.Any help is appreciated.
Regards,
Rhea.

Similar Messages

  • Can't delete user account with open shopping cart

    Hi all,
    Is it okay to delete user account with open shopping cart? I can't delete user by users_gen, it says existing partner document. I then applied notes 1148837,report PARTNER_SET_DELETE. And this report doesn't really work. I ran it and it found zero occurrnences. Is anybody using this report?
    So is it the only way to delete user from SRM is by su01 and leave some informations on Busines partner (bp)
    Thanks,
    Kev

    Hi. You can easily lock the user and change the validity dates using SU01.
    Then, I would write a program that looks through all locked users and checks their valdity dates. Table USR02 holds all this data.
    Then, if the user is locked and the validity end date was 3 or 6 or whatever months ago (make this a selection parameter probably), then you know you want to delete this user.
    So, go into table HRP1001 where SCLAS = US and SOBID = user name and OTYPE = CP and get field OBJID. This is the central person (CP) number.
    Then, go into table HRP1001 again, this time where SCLAS = BP  and OTYPE = CP and OBJID = the CP number and get field SOBID. This is the business partner (BP) number.
    Now, run function BAPI_USER_DELETE to delete the SU01 user fully, then function HR_CENTRALPERSON_DELETE to delete the central person, then function BUP_BUPA_DELETE to delete the business partner.
    And that should delete everything.
    Regards,
    Dave.

  • How to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO?

    Hi Experts
    i have a reuirement where i have to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO
    i am doing below steps for this.
    1. Adding custom field ZZfield in structure INCL_EEW_PD_PARTNER_CSF by  using  append structure.
    2. Spro ->Supplier Relationship Management -> SRM Server -> Cross application basic settings -> Extensions and field controls (personalization) -> Configure field control ->Configure Control for Fields of Substructures
    then click on  "Metadata for Fields of Substructures and Table-Like Enhancements"  
    add the below entry
    Bus. Object Set Type  : I am trying 7 and 29
    Structure Field Name  : ZZfield
    Bus. Object Type       : BUS2121/BUS2201
    Set Level                    : Item
    Field Visible :  Check box should be checked
    Field Enable :  check box should be checked
    Can anyone has the idea of this?
    Thanks
    Rohit

    Hello Rohit,
    Please create a enchancement for component  /SAPSRM/WDC_UI_DO_SHIPTO.
    Add new input field and label in view V_DODC_SHIPTO.
    Bind the input field value with field ZZfield from structure  /SAPSRM/WDC_UI_DO_SHIPTO in the context node SHIP_TO .
    Regards,
    Neelima

  • SRM shopping cart attachment to SAP not transferring

    Hi SRM Experts,
    I have an issue with document attachment which is not coming to SAP R/3 Backend.
    Scenario 1
    1.Create shopping Cart in SRM system with One attachment,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment is not exists only document number exists in the DMS (CV03N - No attachment)
    Scenario 2
    1.Create shopping Cart in SRM system with TWO attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only one attachment exists and other attachement document number only exists in the DMS (CV03N - No attachment)
    Scenario 3
    1.Create shopping Cart in SRM system with FOUR attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only THREE attachments exists and Fourth attachement document number only exists in the DMS (CV03N - No attachment)
    From the above all its understood that last attachmen is not transfered to SAP . In Scenario 1 last attachement will Only one attachment.
    Its Strange issue, can any one face this sort for issue before, kindly let me know what could be the casue,
    Note - I have posted the same issue in DMS thread as well
    Cheers...Gopinath

    Hi Guru's,
    I am using SRM 7.0 and while i create an attachment in shopping cart and try to send it in ECC, the attachment is not reflecting .
    Since we are using the latest version of SRM, we have used BADI BBP_CREATE_BE_RQ_NEW
    (Method IF_EX_BBP_CREATE_BE_RQ_NEW~FILL_RQ_INTERFACE.).
    I have also gone through the below link and tried the implementation :
    http://wiki.sdn.sap.com/wiki/display/SRM/BBP_CREATE_BE_RQ_NEW-CreateRequisitionin+backend
    Also, all ECC configuration are in place. However things are not come in place. Only the details are reflected but the attachment is not reflected in ECC.
    If anyone can guide the correct way in SRM BADI along with ECC configuration (just to verify) will be a great help.
    Kind Regards,
    Kunal.

  • SRM shopping cart attachment to SAP not transfering

    Hi DMS Experts,
    I have an issue with document attachment which is not coming to SAP R/3 Backend.
    Scenario 1
    1.Create shopping Cart in SRM system with One attachment,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment is not exists only document number exists in the DMS (CV03N - No attachment)
    Scenario 2
    1.Create shopping Cart in SRM system with TWO attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only one attachment exists and other attachement document number only exists in the DMS (CV03N - No attachment)
    Scenario 3
    1.Create shopping Cart in SRM system with FOUR attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only THREE  attachments exists and Fourth  attachement document number only exists in the DMS (CV03N - No attachment)
    From the above all its understood that last attachmen is not transfered to SAP . In Scenario 1 last attachement will Only one attachment.
    Its Strange issue, can any one face this sort for issue before, kindly let me know what could be the casue,
    Cheers...Gopinath

    Issue found with enhancement made by us in Class(SRM System). Same has been fixed. now its working, Thanks to all.
    Cheers...Gopi
    Edited by: Gopinath A.R on Mar 11, 2010 9:04 PM

  • Query on SRM Shopping Cart ,plz help its very very urgent

    Hi Friends,
    I have a query on workflow.
    Users creates PO through SRM shopping cart and immedeately they receive a mail in there mail box.Below is the process flow of sending the mail to the user inbox from srm shopping cart.
    SRM Shopping Cart>Business Object>Workflow-->Mail
    Here my problem is.
    The bususinees object generally holds the data for cart number and cart description, but when i am checking the workflow it does not contain any cart number or cart description,so that the mail that is going to user inbox also does not contain any cart number and cart description value.
    Recenly our client upgrade from 4.6c to Ecc 6.0 and this problem is happening after the upgradation.
    Please suggest if anyone face this kind of problem or anyone having any idea on this.
    Pls give me some suggestion.
    Thanks a lot
    Mrutyun^

    Hi,
    Your condition is puzzling... the workflow in SRM for SC is triggered after the SC is saved.
    The PO is a follow-on document after the SC is approved. As such it has no relationship to the backend upgrade since the workflow engine is in the SRM server. Your worflow is triggered from the SC or PO?
    Regards.

  • Returning OCI hook_url to SRM shopping cart in Webdynpro ABAP

    Hi Friends,
    We are planning to use OCI external catalog for adding items to the shopping cart. I am creating WDA application which will act as the external catalog.
    In my application I am able to read the Hook_url and other parameters of the OCI configured. I got stuck in returning the hook_url by posting the html page back to SRM shopping cart which should be like below.
    <HTML>
    <HEAD>
    SAP Open Catalog Interface: HTML - Example
    <BODY bgcolor="#DED6C2">
    <FORM action="<%=Request.QueryString("HOOK_URL")%>" method=post target=_top>
    <input type="hidden" name="NEW_ITEM-VENDOR[1]" value = "1768">
    <input type="hidden" name="NEW_ITEM-VENDORMAT[1]" value = "648570">
    <input type="hidden" name="NEW_ITEM-MANUFACTCODE[1]" value = "4711">
    <input type="hidden" name="NEW_ITEM-MANUFACTMAT[1]" value = "4712">
    <input type="hidden" name="NEW_ITEM-EXT_QUOTE_ITEM[2]" value = "">
    <input type="hidden" name="NEW_ITEM-EXT_PRODUCT_ID[2]" value = "">
    </FORM>
    </BODY>
    </HTML>
    Is this acheivable using webdynpro ABAP? If so how we can do this?
    Thanks in advance.
    Regards,
    Prabhuraj

    Re: Creating OCI in Webdynpro ABAP

  • Disable G/L account field in Shopping cart screen

    Hi SDN,
    I am ABAP Developer and new to the SRM system, I got a requirement to disable G/L account field in the Shopping cart creation screen and overview screen and also I have to disable  the message that is triggered when the G/L account field not entered .
    Please guide me to achieve this requirement.
    Thanks in advance,
    Srinivas D.

    Hi,
    I guess you use current SRM 7.0 version.
    You can control the field visibility by Meta Data customizing. SRM -> SRM Server -> Cross-Application Basic settings -> Extensions and Field Control(Personalization) -> Configure Field Control.
    Regards,
    Masa

  • GL directly from  shopping cart without account assignment

    Hi All
    Is there any prerequisite in the account assignment overview  to select GL from the free text shopping cart?
    (backend acct assignment category ) X= GL ( Account assignment category ).
    any instances we may need to do this from SRM?
    i believe BAPI  BAPI_PO_CREATE1  badi always expects SOME ACCOUNT ASSIGNMENT  right?
    Note 1408312 - Direct material does not derive correct account assignment - Can some one expalin this sap note please?
    MM06EF0P_PRUEFEN
         MESSAGE e000(mepo).
        ENDIF.
        LOOP AT ett WHERE item_with_error NE space.
          MOVE-CORRESPONDING ett TO potkey.
          READ TABLE pot WITH KEY potkey BINARY SEARCH.
          IF sy-subrc EQ 0 AND pot-loekz NE 'L'.
            MESSAGE e001(mepo) WITH ett-ebelp.
          ENDIF.
        ENDLOOP.
        LOOP AT knt WHERE item_with_error NE space.
          MOVE-CORRESPONDING knt TO potkey.
          READ TABLE pot WITH KEY potkey BINARY SEARCH.
          IF sy-subrc EQ 0 AND pot-loekz NE 'L'.
            MESSAGE e046(mepo) WITH knt-ebelp.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Muthu

    Thanks Summer
    My context is different.
    free text --cost assignment folder --. select  GL account only ( slect account assignment category -AcctAssCat ) - so
    now assignto G/L ACCOUNT AND G/L ACCOUNT thats all and again i am fing GL accounts and select ..order
    We do have option in SRM posting to direct GL account like GL = X (BACKENED ACCOUNT ASSIGNMENET) . FOR FREE TEXT ITEM , Can we post the GL account directly without ORDER / COST CENTER /WBS eleement .
    if we choose GL all will disappear like cost center , order , wbs .
    cost assignment
    account assignemnt over view
    line ; -1
    percentage ;-100
    assign to ; -G/L account
    description;- balank
    G/l ACCOUNT ;- 2XXXXX
    Description;- Testing
    Business area ;- blank
    hope it clears now
    thats what i am asking.the note might confused .
    FOR EX
    BBP_PDACC TABLE ACC_CAT = GL NOT CC
    Muthu

  • Cost center not committed on shopping cart,  for account assign cat "Asset"

    Hello,
    We are implementing extended classic scenario in SRM 5.0 with ECC 6.0 backend.
    While creating a shopping cart in SRM, in the cost assignment tab when we select an account assignment category as “Asset", and then try to enter a value in the cost center in the basic details of cost assignment, it is not getting committed to shopping cart screen. The cost center field value is lost when we move to the next screen for ordering the shopping cart. For the asset related purchases, we are using main account assignment category as "asset" and it also requires cost center, because while the asset master record is being created in R/3 for these items,it requires the cost center. We also using internal order. So for the account assignment category "Asset", the other account assignment fields that can be entered are cost center, internal order and one custom field called "project code".
    We have created this user-defined field in the cost assignment tab in the shopping cart, purchase order and confirmation documents in SRM in accordance with the OSS note 672960. We have implemented BBP_CUF_BADI_2 & BBP_DOC_CHANGE_BADI, BBP_DOC_CHECK_BADI for the shopping cart object.
    Can someone please help me with this issue?
    Thanks,
    Krupa

    thanks Ramakrishna and Yann for your prompt reply..
    Ramakrisha,
      I know that for assets, SC requires asset number and G/L is automatically derived from the corresponding asset class from the backend. In our case, we are putting dummy asset number in shopping cart and this asset number exists in R/3. But we are not generating asset creation during shopping cart creation but we are doing it during the PO creation in doc change badi. During this asset generation you also need cost center on the asset record. So we have added cost center field for Asset account assignment category and I can see it in the details of account assignment. But when I enter this cost center on shopping cart, it doesnot get committed, it disappears when I order the shopping cart.
    Does anybody have any clue why this might be happening?
    Thanks,
    Krupa

  • G/L account validation in shopping cart

    Hi,
    I am using SRM 4.0 with extended classic scenario.
    We are having some problem with FI validation. When the G/L account entered in the shopping cart is NOT allowed for the cost object (cost center, WBS element, internal order) associated with the shopping cart, then it is not giving any error while creating shopping cart or ordering PO. Instead it is giving the error only while the PO is getting transfered to backend and the PO went to error in process status with the error: G/L account cannot be used.
    In configuration, we have set FI validation should occur at backend system. Still it is not giving the error at the first instance. When checked with SAP they told that due to performance reasons it will give the error only while transfering the PO to backend. Also they suggested that, through the BBP_DOC_CHECK_BADI it can be achieved.
    I can do that validation with that BADI through RFC call. But I am not sure where or which table I should check in backend. I could see the details in the tables T004F and T162K for G/L account and cost object settings. But these tables are showing the values -....+.. like that, depend upon the settings whether the cost object is suppressed, mandotory or optional.
    Could you please help me with some hints like FM / BAPI which will do this validation in backend? Or the place where I can check these settings?
    Please help.
    Thanks,
    Arun

    Hello,
    Transaction OKB9 : Cost center assignment to G/L account.
    Useful Tables SKB1, SKA1, SKAT
    Hope this helps.
    Thanks
    Ashutosh

  • SRM Shopping Cart Approval on mobile

    Hi,
    We have a requirement to enable approval of shopping carts from the mobile inbox of approver. The workflow under consideration is the Item-Based Approval Process (WS145000015). The workflow works perfectly well within SRM portal for single as well as multilevel approval.
    We are presently testing the simplest approval scenario comprising of single level approval for the mobile requirement. All the items in the shopping cart should get approved/rejected in one shot. This is the sequence of FMu2019s our mobile app will be calling:
    1.     SAP_WAPI_CREATE_WORKLIST u2013 to create the work list for specific user. Input:  sap user id. Output: List of all work-items assigned to user
    2.     SAP_WAPI_GET_OBJECTS u2013 Input:  work item id. Output: object id (shopping cart no.)
    3.     BBP_PD_SC_GETDETAIL -  Input: object id obtained in step 2. Output: shopping cart header GUID from table e_header
    4.     BBP_PD_SC_STATUS_CHANGE_WF u2013 to approve/reject the shopping cart. Input: shopping cart header GUID from table e_header in step 3, status = 0001 for approve and 0002 for reject. Output: status = RELS in the export parameter
    5.     SAP_WAPI_WORKITEM_COMPLETE u2013 to complete the work-item and remove it from the useru2019s worklist. Input u2013 work item id. Output : Status completed
    The issue is that, once the above FMu2019s are executed in sequence, the shopping cart gets approved and the work item is removed from the approveru2019s worklist but the workflow doesnu2019t complete. The workflow log indicates that the subworkflow - N-step parallel  approval of shopping cart (WS14000014) is looping for second time looking for next level of approval. The subsequent PO is also not being created.
    This issue occurs only when we are approving the SC using the BAPI. The workflow completes smoothly along with successful creation of the PO when the SC approval is done via the approvers UWL in portal.
    Can someone help us identify whatu2019s wrong and fix the issue?

    Hi Vishal,
    Try this:
    Execute SAP_WAPI_WORKITEM_COMPLETE to complete the work-item and remove it from the users worklist. Input - work item id
    Output - Status completed
    Thanks
    Punit

  • SRM Shopping cart pop up not appearing in EP 6 portal

    Hello
    I have set up the SRM business package in the EP6 SP13 portal. If I create a Shopping Cart via the ITS then leave the transaction (say by clicking on another transaction a popup would come up and warn me that I have not saved the shopping cart and would lose my work.
    However via the portal, this message doesn't appear.
    Does anyone have any ideas how to get this pop up to appear on the portal iview?
    Thanks
    Rebecca

    Hi!
    As Detlev suggested the only "standard" solution is to use Portal's EPCF dirty flag.
    In SRM transactions when you are in change (or similar) mode in the HTML source code of the SRM transaction there is a flag (JavaScript variable) that refers to this state.
    You have to check this Mode flag, and set the Portal's EPCF flag accordingly.
    There are many ways you can achive this little trick.
    E.g.
    -In every SRM transaction the WPINTEGRATION.JS file is included, so you can put sour code here.
    -Or you implement SRM transactions via a proxy html page (stroing it e.g. at the Portal KM), which is called via an URL iview.
    Once you made this Portal will not let you close an SRM transaction when it is in change/create mode without a warning.
    Hope this little overview gives you enough to start with.
    BR.
    Richard

  • SRM shopping cart screen flickers

    Shopping cart screen for SRM flickers and does not load up. No short dump in backend system and no errors in portal log.
       This issue get's resolved after restarting the SRM backend system. Same issue and resolution used for eRecruit however not able to determine exact cause of the error.
      Does anyone has idea as why this is happening?

    Hi Tanmay,
    I faced a similar issue while integrating WDA application in Portal.
    Check out the following SAP note that corrects this issue:
    1230506 - Endless loop when starting Web Dynpro ABAP
    Hope this solves your problem!
    Thanks.
    Chitrali

  • Workflow - SRM Shopping Cart

    Hi,
    Am new at Workflow. Is there a way to have different WF per line item of the Shopping Cart? As per standard transaction, the WF approval is according to the total amount of the Ordered items.
    thank you

    Check if the following helps...
    SRM 7.0 BADI Define Agents--> How to use type /sapsrm/t_wf_area_entity
    Regards,
    PR.

Maybe you are looking for