SAP for Public Sector Discussions
Foster conversations about citizen engagement, resource optimization, and service delivery improvements in the public sector using SAP.
cancel
Showing results for 
Search instead for 
Did you mean: 

MB21 - Earmarked Funds Doc Number not getting generated

zainm_bashir
Participant
0 Kudos

Hi Experts,

I have configured all the required settings of FM Budget Control on MM Reservations.

While creating Material Reservations, accurate Funds, Fund Centers and Commitment Items are getting derived but Budget Trigger is not working due to the fact that Earmarked Funds Document Number is not getting created:

I already have created Number Range (03) for Earmarked Funds and tried to create it manually through T-Code: FMX1 and its working.

I don't understand why document is not getting created if i have configured every required settings?

Kindly guide me where i am mistaken?

Regards,

Zain Bashir

14 REPLIES 14

zainm_bashir
Participant
0 Kudos

please guide

0 Kudos

Dear Zain,

You may find SAP Note 700485 (http://service.sap.com/sap/support/notes/700485) helpful to validate your Customizing!

Cheers,

Danilo

0 Kudos

Hi Danilo,

Thanks for your input. It didn't worked.

Please refer screen shots of configurations for making Budget Control working on Material Reservations i have made, so far and guide me if you think i missed something:

1 - OFUP

2 - Funds Management specific Postings:

Please guide why still Material Reservation doesn't creating EMF Doc Number Ranges?

regards,

Zain Bashir

0 Kudos

Hi Zain,

The next question would then be - which release are you on with regard to the EA-PS component. As far as I understand SAP Notes 1278967 (http://service.sap.com/sap/support/notes/1278967) and 1321375 (http://service.sap.com/sap/support/notes/1321375) the integration between Material Reservations and Funds Management is not available before 603 (EHP3) and then only, once you have activated the corresponding business function PSM_FM_CI_1 via the Switch Framework (TA SFW5).

You may want to check this as well!

Cheers,

Danilo

0 Kudos

Hi Danilo,

The said Business Function is already activated, please refer screen shot:

Regards,

Zain Bashir

0 Kudos

How about running executable program RFFMRP_MAT_RESERVATION for the material reservation that hasn't created the funds reservation?

0 Kudos

Hi Danilo,

Thanks for the guide.

Its working after generating the said program but why system requires me to generate that program every time after creation of material reservations? why it is not getting generated automatically?

Please guide.

Regards,

Zain Bashir

0 Kudos

Please guide

0 Kudos

Could you test the method CL_PSM_CORE_SWITCH_CHECK=>PSM_FM_CORE_GEN( ) within the affacted system? Call transaction SE24, Enter CL_PSM_CORE_SWITCH_CHECK as object type and press F8. From the list of methods click on the execution icon behind the method PSM_FM_CORE_GEN. Within the result screen the return parameter RV_ACTIVE should contain a vaule other than <SPACE>.

0 Kudos

Hi Danilo,

Thanks for your reply.

Please refer the attached screen shot:

Please help

0 Kudos

Hi Zain,

I'm afraid from here it requires to debug the system in order to find out whether the function module FM_MR_TO_FR_UPDATE is called when you create a material reservations using TA MB21. If you have a developer around ask him to set a breakpoint at the beginning of the form BELEG_BUCHEN with module pool SAPMM07R. Then he/she should try to create a material reservation and wait for the transaction to stop at the breakpoint - continue step by step. There are basically 2 things to watch out for...

  1. Whether the program flow is actually calling function module FM_MR_TO_FR_UPDATE, and if so
  2. Why is the module not persisting the funds reservations

Alternatively you may want to consider to open an incident with SAP SE describing that the funds reservations is working in batch (Program RFFMRP_MAT_RESERVATION) but not in real-time using TA MB21.

Cheers,

Danilo

0 Kudos

Thanks Danilo,

I have achieved it by applying one User Exit EXIT SAPLFMDT_001.

Your posts were very helpful

claudiolanger
Discoverer
0 Kudos

Hello consultant, could you help me?

I have already configured the movement type 201 and BF is active according to the note 2042029 (How to implement Period wise Availability Control in BCS)

When the MB21 transaction is posting, does the system automatically create an FMX1 OR do I need to create the FMX1 and inform it (Earmarked Funds and item) on the MB21?

Regards

Claudio

Former Member
0 Kudos
I saw your posted comment. Please raise your question again as a new question and follow our rules of engagement: https://community.sap.com/resources/rules-of-engagement. The author of the original question is no longer active in the community and won't receive your query. Feel free to take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html. With these tips you'll be able to prepare questions that draw responses from our members.

Thanks!