Skip to Content
avatar image
Former Member

Validation of SC/PO

Hi all,

I am doing FI validation in SRM 4.0.Actually i am getting error based on the GL account and company code at line item which are based on the costcenter or internal order or WBS using...for this i am using FM BAPI_ACC_GL_POSTING_CHECK(RFC enabled) from R3 to SRM.the error message i am getting i was populating while creating SC/PO in the DOC_CHECK_BADI ..One strange thing is for testing i have commented the code in DOC_CHECK_BADI still i am getting the error based on GL account and company code ..firstly i thought i might be some other error but this is the same error i am getting from the BAPI_ACC_GL_POSTING_CHECK..

I want to know is there any standard functionality that the error is coming from the backend or it is the code that i have written

Thank you

.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Mar 02, 2007 at 10:26 AM

    Hi

    For the time being, de-activate the BADI Implementations. Forget your code.

    Coming to the Basics, You need to do FI Validation in SRM 4.0.

    Which EBP Scenario are you using ?

    What's the exact requirement ? You want to do validation in SRM side.

    Have you maintained the G/L Accounts, WBS Elements, Orders at SRM side. ?

    Incase i understood you correctly, you need to do validation at SRM system only.

    Have you seen there are few BADIs in SRM system, already avaiabale for FI Validation purpose ?

     BAdI Definition Name                   Description                                                   

    <b>BBP_ACCCAT_MAP_EXP</b>

    Exit for changing account assign. cat. by mapping EBR to R/3

    <b>BBP_ACCCAT_MAP_IMP </b>

    Exit for changing account assign. cat. by mapping R/3 to EBR

    <b>BBP_ACC_CHECK_ICC</b>

    Account Assignment Check

    <b>BBP_DETERMINE_ACCT </b>

    Exit while determining G/L account for account assignment

    Please share your comments at the earliest.

    Hope this will help.

    Please reward full points, incase it suits your requirements.

    Regards

    - Atul

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ravi

      Normally, they should work.

      -For order check KO03-Control tab allowed txns (check for purcase order, requisition etc)

      - For Cost Center - check KS03 - check whether primary cost/second cost updates are locked(but I do not think we have restriction of usage here)

      Best regards

      Ramki

  • avatar image
    Former Member
    Mar 02, 2007 at 07:38 AM

    Hi

    We have faced a similar issue quite a long time back in one of our SRM implementations.

    It's coming from SRM itself. It's a standard functionality / or you can call it as a bug.

    Regards

    - Atul

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thank you Atul!

      I have deactivated all active implemenatations..and checked whether the error is coming..<b>YES the error still coming</b> ...so this must be from the standard functionality..BUT how to know from where exactly this error is coming..

      Please help

  • Mar 02, 2007 at 07:41 AM

    Hi,

    When you are saying "FI validation in SRM 4.0", dso you mean that the check has to be done against SRM system and NOT against the backend system ?

    If yes, you should have flagged "local FI validation" in "define backend system" configuration point.

    Please confirm.

    Kind regards,

    Yann

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 02, 2007 at 07:48 AM

    Hi

    Which SAP version you are currently using ?

    There can be couple of reasons which need to be checked thoroughly.

    Is it giving error as "GL Account XXXYYYZZZ8 is not created, please check your input" ?

    Then try using those G/L Accounts with company code combinations, which does not create an error message, once the Back-end document is created in SAP R/3 system directly. Assign the same to the Shopping cart line items and then try out.

    ----


    Please ensure the following ->

    1) If you create a PR or PO directement in R/3 (= without SRM), do you get the same error ?

    Account assignment type "P" for project has to be maintained in transaction OME9. If you do use standard configuration , both on SRM AND R/3 sides, you should not have this issue. However, if you work with EBP 3.5, i guess it means that the system was working well before.

    2)

    Check the field status group assigned to the GL Account in Tx FS00.

    And look at the field 'Field Status Group' of 'Create/bank/interest' tab.

    Double click on the field status group field, and check for the 'Additional account assignments' - Check here whether the WBS/Cost center/profit center are suppresed. If suppresed you cant use this GL to post against the cost objects.

    3) Try to use the same GL account and the same WBS element you used in SRM while creating the PO in R3 (to check for the error). I suspect, you will come up with the same error as what you got in SRM.

    Generally this error will pop up if there are any mismatch between the field status groups assigned to the GL account and the cost object P (projects/WBS). Check for the field 'Network' in both of the field status groups.

    Also, There are 2 ways to determine GL in SRM.

    1. Maintain GL codes for product categories & Account assignment in SPRO. With this relevant GL code will be picked in SRM for the selected product category.

    SRM server >Cross appln basic setting >Acct assignment--->Define GL acct for product category

    2. Maintain logic to determine GL code in BADI BBP_DETERMINE_ACCT. In this BADI use ITEM_DATA and ACCT_DATA tables in method DETERMINE_ACCOUNT.

    If you need to overwrite these,you will need to implement the BADI "BBP_DETERMINE_ACCT" and method "DETERMINE_ACCOUNT".

    In this method ,use the FM "MR_ACCOUNT_ASSIGNMENT" for the retreiving the G/L account from R/3.

    Hope this will help.

    Please reward full points, incase it suits your requirements.

    Regards

    - Atul

    Add comment
    10|10000 characters needed characters exceeded