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

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.

  • FI data validation in shopping cart

    Hi,
    We are using SRM 4.0 (Server 5.0) and ECC 5.0 in the back end.
    We enabled the FI validation in back end system in SRM configurtion. While creating the shopping cart it is validating only the cost elements and G/L account are available in SAP. But it is not validating whether the combination of cost element is allowed in backend.
    For example: G/L account x can be used only against cost center. If we are using that G/L account against WBS element it is not giving any error message at the time of creating of shopping cart rather it gives an error while creating PR after approval.
    After the shopping cart has been approved it is not creating the PR. Using SRM monitor we need to change the G/L account to the correct one and retransfering it.
    Is there a way by which we can validate the above scenario at the time of creation of shopping cart itself.

    Hi,
    Please check the setting in cross application basic setting customization
    Cross application basic setting----->Account assignment----->Define the G/L account to be used based on prodcut category and account asiignment catgory
    There select new entries
    Enter = prodcut category ID
    Choose= the account assignment category
    Enter = GL Account
    Execute
    The above setting determines which G/L account based on the combination of Product Category ID and Account Assignment Category
    Hope it helps.
    Thanks
    Giri

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

  • FI Validation in Shopping cart / PO

    Hi,
    We are using SRM 4.0 (Server 5.0). Extended Classic scenario.
    We enabled the FI validation in back end system in SRM configurtion. While creating the shopping cart or PO (in ext classic) it is working fine.
    But the problem is, it is validating only whether the cost elements and G/L accounts are available in SAP. It is not validating whether the GL account can be used for that cost element (cost center or WBS).
    For example: G/L account x can be used only against cost center. If we are using that G/L account against WBS element it is not giving any error message before ordering the SC or PO (i.e. thru Check button) instead it gives an error after ordering the SC or PO which has to viewed in Application monitor.
    User ordering the SC or PO may not know about the status if there is any error unless SRM admin monitors it which leads to delay in PO gets processed.
    Is there a way by which we can achieve the above validation before ordering the SC or PO?
    Plz note: Config "Define G/L Account for Product Category and Account Assignment Category" may not be helpful for us bcz I assume we can set only one GL account for one product category.
    Please help me.
    Thanks.

    Hi Arun,
    did you resolve this issue? Is the only way to realize that validation really only by implementing badi bbp_determine_Acct?
    If yes, would it be possible for you to send me the code of how you implemented  badi bbp_determine_Acct=
    Thanks for your answer.
    Best regards,
    Henning

  • 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

  • Validation in shopping cart

    Hello all,
    I have an requirement that i hav to put one validation while creating limit shopping cart.
    I'm using BADI BBP_DOC_CHECK_BADI for this.
    My issue is that after error is occured and user wants to correct that error. Again my code gets executed n and i'm getting same error again and again.
    Can someone help me in that how can i achieve this functionality.
    Thanks in advance.
    regards,
    Lokesh

    Hi Lokesh,
    I have work with the same requirement. what particular error message you've encountered?
    Regards,
    saixis

  • Contract related validations during shopping cart creation

    Hi All,
    Quick question, are there any standard SRM validations when you create a shopping cart against a contract with a status "Blocked, Deleted or On Hold"
    Thanks,

    Hello,
    In include LBBP_PD_INDEXF20, we can find which verifications system does when a contract has been found.
    In case of locked contracts, it seems that system does not consider it.
            CALL FUNCTION 'BBP_PD_STATUS_GETDETAIL'
              EXPORTING
                iv_guid        = ls_found_items-ctr_hdr_guid
                iv_object_type = c_contract
              TABLES
                et_status      = lt_status.
            READ TABLE lt_status WITH KEY stat  = c_s_ctr_locked
                                          inact = gc_no
                 TRANSPORTING NO FIELDS.
            IF sy-subrc EQ 0.
              DELETE lt_found_items WHERE ctr_hdr_guid = ls_found_items-ctr_hdr_guid.
            ENDIF.
    Held and deleted contracts are not suggested as sources of supply.
    Regards,
    Ricardo

  • Default account assignment in Shopping Cart in SRM7.0

    Hello,
    We are on SRM 7.0 , SP07 and ECC 6.0 EHP4
    I am facing issues with default account assignment behaviour in my system .
    When a user is creating shopping cart then G/L account is picked based on the settings in SPRO ( Product Cat, Account *** Cat and G/L account ) but i am noticing in my system when i put default in user attributes "PPOMA" suppose cost center "CC" then only it is picking default G/L account corresponding to that product categary . If i remove that Default tick from the user attributes then system is not picking default G/L account and also i checked in BBP_PD its not saving there.
    Any one of you had come across this strange behaviour please let me know if there is any SAP Note for this.
    Regards
    Ashish

    G/L Account is defaulted for the combination of Prod Cat and Acc *** Cat. Hence, it appears in SC. When you remove the default settings in PPOMA_BBP, it doesn't work even after putting Acc *** Cat in SC because of standard bug.
    See if these Notes help you -
    1420241
    1420622

  • Multiple account assignment in Shopping cart

    Hi,
    We are on SRM5.0, classic & extended classic.
    When I create a SC with mutiple account assignment on quantity basis, give different cost cebters for a single line item
    and save the SC.
    But In the approval perview of the SC, I can see 2 approvers available, but if I approve the SC from any one approver, the SC gets approved.Its not going for approval for the second time for the second cost cebter.
    The SC should actually go for approval to different approvers
    of different cost centers.
    Pls advice on the same.
    regds
    Pavan.

    if you are using single step approval WF then what you are observing is standard.
    Out of any applicable workagents when any workagent releases the workitem it disappears from the inbox of other workagent's inboxes also.
    If you want to have yr approval strategy based on the cost centers then you will have to use
    BADI BBP_WFL_APPROV_BADI
    BR
    Dinesh

  • G/L account in shopping cart

    Hello all, I am working in SRM 7.0 with a classic scenario. Can you tell me which is the function or something similar that put G/L account in the shopping cart? I know that is configured in a table in the system but which function is used to go to this table and put G/L account in the shopping cart?
    Thanks in advance
    Rosa Rodríguez

    Hello Rosa,
    Function module to get accounting from V_BBP_DET_ACCT table view is BBP_GET_ACCOUNTING.
    It is called by /SAPSRM/IF_PDO_DO_ACCT_ASSGMNT~HANLDE_GLACCOUNT method from class interface /SAPSRM/CL_PDO_DO_ACCT_ASSGMNT.
    Regarding account assignment update itself in Shopping Cart, there is no function module.
    /SAPSRM/IF_PDO_DO_ACCT_ASSGMNT~UPDATE_ACCOUNT_ASSIGNMENT_ALL method from class interface /SAPSRM/CL_PDO_DO_ACCT_ASSGMNT calls a buffer update.
    Regards.
    Laurent.
    Edited by: Laurent Burtaire on Dec 7, 2010 9:31 PM

  • Cost Distribution in Shopping Cart for different account assignment type

    Hi friends,
    We are at SRM Server 5.5 at level SAPKIBKT07. Business scenario is extended classic.
    User is creating a shopping cart with single line item and distributing the cost to multiple account assignments (say Cost Center and Order). Shopping cart has a valid source of supply. System creates a PO in SRM and tryu2019s to replicate the PO in ECC backend, however fails to replicate.
    My understanding is that in ECC backend it is not possible to combine two different account assignments while distributing cost at item details.
    Solution would be to create separate line items for different account assignments (distribute between similar account assignments).
    Is my understanding right?
    Thanking you in advance,
    Sandeep

    Sreedhar,
    Thanks for your update.
    I am also MM consultant, so as far as MM goes we can only maintain one account assignment type per line item. In MM we have provision of multiple account assignment but it works only for single account assignment type per line item. Which means if account assignment is "k" then we can split between multiple cost centers, but we cannot split between cost center and WBS element in one line item.
    You said it is possible to split between multiple account assignments in one line item. Will it be possible for you to try at your end and let me know how PO/PR are created in backend?
    Sandeep

  • 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

  • System is not checking Account assignment data in shopping cart

    Dear Experts,
    We are implementing SRM7 with SP06. We are using extened classic scenario. Recently we have noticed that system is not validating account assignment data at shopping cart level and creating purchase order in SRM, however at the time of PO transmission to backend system it is failing.
    Does any one has faced this issue?If yes help me how to resolve this issue.
    Thanks in advance.
    Umakanth

    Hello Umakanth,
    Could you check if in your settings for Define backend system customizing ( BBP_BACKEND_DEST table), option "realtime backend validation of FI data" is set or not ?
    Regards.
    Laurent.

  • 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

Maybe you are looking for

  • OPEN PURCHASE ORDER

    DEAR ALL, WHETHER WE HAVE A STANDARD REPORT IN SAP TO GET QUANTITY AND VALUE DATA OF BACK DATED OPEN PURCHASE ORDER? PURCHASE ORDER HAS BEEN PREPARED IN JANUARY, DOWN PAYMENT IS MADE IN THE MONTH OF MARCH, MATERIAL IS RECEIVED (GRN MADE) IN AUGUST IN

  • Records are not getting imported due to new line charactor in the field

    Dear All, I am trying to load a file into target but the import is failing. The error thrown is as below; During the import of leads into CRMoD through loading the New lead/Step lead file received from CA, leads have not been imported and we encounte

  • Help need iTunes 7

    I am overseas and unable to find a computer that will allow me download iTunes 7. I need to update my ipod so I can repair the corrupt database file. I am lost without my ipod. Please email to [email protected]

  • Cp7 YouTube Widget - Stop at a particular time

    I realize the YouTube widget can be set for the video to start at a particular time. Is there also a way to "stop" at a particular time in the video? For instance, there's a long video I'd like to use, but I'm only interested in the first few minutes

  • In ldap how doe you get your role from your session.

    i am getting the role from the request in ldap how do you get it from the from the session. <%if(request.isUserInRole("management")){%>