2015 Jul 17 4:33 PM
Hello Colleagues,
For a specific scenario I need to validate the posted available budget against the current prepost document, is there a way to create
a key figure to collect only the input values for the current document in FMBB ?
I've tried to activate the filter in BCS for preposted too, but in this way SAP is checking against all budget, posted and preposted,
I would need the validation only against the inputed prepost value against posted available budget.
Thanks in advance.
Filipe Santos.
2015 Jul 17 5:05 PM
2015 Jul 17 5:09 PM
Hi Shyamal Jajodia ,
Thanks.
I Have tried to use FMCCA, on Left Side I have available budget and on right the prepost document,
but the key figure is reading the whole database, I would need just the current document being preposted.
Thank in advance.
Filipe Santos.
2015 Jul 17 5:15 PM
Filipe,
How can you calculate available budget without reading the database? Available budget is the total of all the budget documents and consumption documents and is being updated real-time in FMAVCT.
Thanks
Shyam
2015 Jul 17 5:34 PM
Hi Shyam,
The available budget is reading the database, but I need to compare with the current preposted amount, example :
Available Budget :
I would need to validate this against the current amount in the FMBB
Prepost Document :
But this is reading all the preposted documents.
For this scenario I need to compare the current amount, the input values in prepost document in FMBB only, not all preposted documents in database.
Thanks in advance. Regards.
Filipe Santos.
2015 Jul 17 5:44 PM
Hi Felipe,
Even though it compares the key figures for the budget address the rule is checked only when the document posted. So it adds the amount in the document to the amount in the database and applies the rule. Isn't this what you want?
Thanks
Shyam
2015 Jul 17 5:55 PM
Hi Shyam,
The preposted documents in database should not be considered.
The prepost documents will be transfers from one account to another.
The Scenario would be the Following :
Thanks in advance, Regards.
Filipe Santos.
2015 Jul 17 6:07 PM
Hi Filipe,
OK Now I understand why you cannot use consistency checking rules. If you set workflow status to consider only posted documents it will not raise an error when you are preposting. The other option you have is using BADI FMKU_BUDGET_EVNT_CC.
Thanks
Shyam
2015 Jul 17 7:02 PM