cancel
Showing results for 
Search instead for 
Did you mean: 

FM-BCS: Control Budget entry (FMBB) for Specific Fund Center and Commitment Item

prabhakar_vanam
Explorer
0 Kudos

Dear All,

Good day,

Control Budget entry (FMBB) for specific Fund Center and Commitment Item

My client wants to allocate the budget for specific project (Fund center and commitment items), in this case system should not allow the user to allocate the budget whenever he choose commitment item of other Fund center ( actually the commitment item is belongs to some other FC user trying to choose it)

Client expecting whenever the user allocating the crisscrossing budget through FMBB then the system should control the posting and give a relevant error message

Ex: - Budget allocation (FMBB)

FC           CI

1120       4000004

1130       4000005

User allocating the budget for FC 1130 and CI 4000004 (which is originally belongs to FC 1120) in this case require control for posting

Can you please guide me for this scenario and is there any standard functionally in SAP.

Thanks&Regards,

Prabhakar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

you can use Budget address in Budget Structure. Create only appropriate addresses.

Or you can use BADi FMKU_BUDGET_EVNT

Or you can use Consistency Check

prabhakar_vanam
Explorer
0 Kudos

Hi Aleksey,

Thanks for your inputs, l will check and revert if further help require.

Regards,

Prabhakar

prabhakar_vanam
Explorer
0 Kudos

Hi Aleksey,


We resolved this issue with the help of ABAPer....


I had written Implicit enhancement in the following include.

Include Name : LFMKU_AUTHORITY_CHECKF03

Code:

IF sy-tcode = 'FMBB'.

  DATA : it_FMF TYPE TABLE OF FMFMOADE11000036,

         lv_msg TYPE string.

  select * FROM FMFMOADE11000036 into TABLE it_fmf WHERE TARGET2 eq U_FICTR AND TARGET1 eq U_FIPEX.

    IF sy-subrc NE 0.

      IF sy-ucomm eq 'POST'.

CONCATENATE 'Invalid Commitment Item for Fund Center' U_FICTR INTO lv_msg SEPARATED BY space.

         MESSAGE lv_msg TYPE 'E' DISPLAY LIKE 'E'.

        elseIF sy-ucomm eq 'CHECK'.

CONCATENATE 'Invalid Commitment Item for Fund Center' U_FICTR INTO lv_msg SEPARATED BY space.

MESSAGE lv_msg TYPE 'E' DISPLAY LIKE 'E'.

        ELSE.

CONCATENATE 'Invalid Commitment Item for Fund Center' U_FICTR INTO lv_msg SEPARATED BY space.

MESSAGE lv_msg TYPE 'S' DISPLAY LIKE 'E'.

        ENDIF.

    ENDIF.

  1. ENDIF.

Regards,

Prabhakar