05-03-2016 3:56 PM
Hello,
In EA-PS 600 we activated BAdI FMFR_ALLOW_DOCCATS to reduce funds commitment from purchase orders (ME21N), the document categories allowed are 030 - funds reservation and 050-funds commitment, yet 050 is not accepted in PO , returning the error "RE002 Document & is not a funds reservation"
BAdI's method:
METHOD if_ex_fmfr_allow_doccats~get_allowed_doccats.
DATA: ls_doccats TYPE LINE OF fmfr_allow_dcat_tt.
ls_doccats = 030.
APPEND ls_doccats TO e_t_doccats.
ls_doccats = 050.
APPEND ls_doccats TO e_t_doccats.
ENDMETHOD.
Has anyone used this BAdI's to reduce Funds commitments from POs ? without upgrading to EA-PS 603 or higher where this integration MM-FM exists.
Any advice is appreciated.
Thanks,
Sorina
05-03-2016 4:31 PM
Hi,
Did you try to put breakpoint to see that BADI implementation is at least triggered?
Regards,
Eli
P.S. Standard reduction of PO from commitment is available only from 6.06 (not 6.03).
05-03-2016 5:28 PM
Hi Eli,
Yes, it's triggered. We also tried to let the E_T_DOCCATS table empty so that the reduction to be permitted for all document categories, didn't work either, we had another error RE012 Reduction not possible; doc 9 has a doc cat. (050) that is not allowed.
P.S. right about 6.06 (not 6.03), I wrote 6.03 because of the function PSM_FM_CI_1 which allows material reservations to be integrated with funds management, and which could be useful in this case
Thanks,
Sorina
05-04-2016 10:22 AM
I have to admit, that I never used this BADI and always thought that it applies only to Spanish localization. I'd raise a ticket to OSS asking for the reason. If you do so, please, update the thread after you get their feedback.
05-05-2016 10:33 AM
05-06-2016 7:53 AM
Hello Sorina,
In EA-PS 600, the BAdI is used to determine which document categories of earmarked funds can be reduced by FI documents and MM documents of the MM invoice check (e.g. Logistics invoices).
For Purchase Orders, there is Business Function PSM_FM_LOC_CI_01.
See its documentation: https://help.sap.com/saphelp_dbm800/helpdata/en/68/f31c5686c14ba9ae9c47b943b60e3c/content.htm?frames...
It is available as of 606. Just take a look and see if this may help you.
Besides , I must say I am not aware of any specific solution for Romania Public Sector. You may want to get in touch with your local SAP Subsidiary for more info.
Hope this will help you.
Kind regards,
Mar
05-06-2016 8:52 AM
Thank you Mar,
I'm searching for a solution for EA-PS 600, without having to upgrade to 606.
I am aware of PSM_FM_CI_1 and PSM_FM_CI_4 functions, but for now they aren't useful.
Have a nice day,
Sorina
05-06-2016 11:33 AM
Thanks Sorina for your answer
In EA-PS 600, I believe this requirement cannot be achieved. That was the reason why PSM_FM_LOC_CI_01 was developed...
kind regards
Mar
05-06-2016 1:23 PM
I'm afraid so.
Still I'm waiting for SAP response, maybe that bAdi could be useful.
Regards,
Sorina
05-09-2016 11:24 AM
Sorina,
The BAdI FMFR_ALLOW_DOCCATS is for MM logistic invoices, and FI documents...
kind regards
Mar