on 02-12-2014 1:07 PM
Dear SAP Experts,
We have a requirement that when a user creates a PO against a project with account assignment category as 'P' the G/L account should belong to only a particular series of G/L accounts (Eg: 52000 to 529999).
Any other G/L entered other than the series mentioned should trigger an error.
How will we able to achieve this requirement?
I have tried bringing this requirement by cost accounting validations (Validations in Controlling) but not able to meet the same
Can you kindly guide me?
If I need to mention the pre-requisite and rules via ggb0 can you kindly specify how should I enter them?(with technical fields if possible)
Thanks and Regards,
Varun Rudrabhatla
Hi Varun
you can create a validation in
GGB0 (Cost Accounting) that could work as
PreReq: SY-TCODE = 'ME21N' AND COBL-PS_POSID <> ''
Check cobl-hkont in ZSET
The ZSET can be created in gs01 with all accounts that should be accepted as valid.
Check it and let us know
Kind Regards
Panagiotis
PS Finally check in GGB4 if your validation is active (1)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varun,
Yes you may go for Badi as as suggested by Nag A C, but I am thinking of other way round solution. I am not sure, but I believe that your process can be achieved by using following scenario. Try this if it works.
Actually, whenever you create PO then every time you usually encounters with Material Group. Now, think of a situation where you can use valuation class in a material group and that valuation class can have fixed number of GL's .. Isn't .?
So I suggest you to go to path : SPRO->Materials Management->Purchasing->Material Master->Entry Aids for Items w/o Material Master. There you can assign valuation class to your material group.
After this, execute OBYC. There you can search for PR/PO related business transactions. I am not sure but I think Inventory Posting (BSX) can be taken in your case. But its better to discuss this with your MM person which business transaction can be taken in your case. Now, for an example. when you double click on Inventory Posting (BSX), system will ask you to bring Chart of Accounts. Put your entry. Then another window will get open.
There you can create new entry after clicking on Create button icon from the top and bring your same valuation class that you have attached to your material group. After that, attach your fixed series of GL's that you wanted to have in your PO with account assignment category P.
Try this, it it works and let me know.
Regards,
Amit Rajoria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varun,
you could try to implement the BAdI: ME_PROCESS_PO_CUST to validate the G/L account field in ME21N.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.