on 03-02-2007 7:25 AM
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
.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SRM 4.0 Extended classic scenario
My requirement is to raise a error message when i select GL account which is not there or related to certain company code(which i will getting with FM BAPI_ACC_GL_POSTING_CHECK) while creating SC/PO
I dont think we have maintained G/L Accounts, WBS Elements, Orders at SRM side..
Yes we need to do validation in SRM side
<b>But one thing my functional head is telling that there is no standard functionality do this...he says that there might be code in some other BADI that this validation id done...</b>
Hi
<b>Inorder to check you have any active custom BADI implementations,
Use transaction - SE19.</b>
<u>In the BADI Implementation name look for all BADI's satrting with either 'Y* or 'Z*' are there.
Incase you have any BADI implemnattaions names starting with Y* or Z*, see whether the BADIs are in Active or Inactive state.
Incase any of the BADIs are active, for the time being, De-activate the BADIs in SE19 and it will ask for a Transport.
Check after De-activating all the Custom BADIs, if the error is again coming up, when creating a new Shopping cart / PO.
If yes, then it's coming - then we need to chk it out. Else
If no, it's due to some of your BADIs wrong implementation.</u>
Do keep me posted.
Hope this will help.
Please reward full points, incase it suits your requirements.
Regards
- Atul
Hi,
No sure now to clearly understand your requirement...
1-In standard, while doing real time FI validation with the backend, error message from the backend are coming on the SRM side as if you were doing it directly in the backend.
2-Of course, if you have to implement a non R/3 standard FI check in the SRM side, then yes you will have to implement a badi on the srm side.
Could you please confirm option 1 or 2 ?
Kind regards,
Yann
Hi ravi,
As i told you before :
This error message is coming from R/3.
If you go in CJ20N and enter your WBS element, you should have flagged the "Indicator Account assignment element" box (field BELKZ in PRPS table)
-> select basic data tab
-> section " operative indicator"
-> Indicator: Account assignment element
Could you please confirm that in R/3 for your WBS element, this flag is set.
If not set, you will have this error message displayed in SRM.
Kind regards,
Yann
Hi Ravi
The WBS elements which have Account assignment checked can only be used in Account Assignment in PR/PO etc.
Before checking it, you should check with the project manager of that project. They would have identified some WBS element as Billing element (that can be used in Sales) and some WBS elements as account assignment elements to collect costs.
Use a WBS element which has this field ticked.
Best regards
Ramki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.