BADI me51n : commitment item chanes in me51n by user

Hi gurus,
i have a requirement that user will maintain commitment item in Ztable w.r.t  item categeory 'U'.
if the same commitment item is not displayed in the account assignment tab then it should throw a error.
i used method IF_EX_ME_PROCESS_REQ_CUST~PROCESS_ITEM to do it and is throwing the relevant error.
But when user is entering the correct commitment as maintained in ztable i need to jump the error which i am not getting how to do since i am getting the commitmnet item from SKB1 table .
how to get the values of commitment item when user is entering the correct one ??

Before using macro mmpur_message_forced to raise the error, did you pass the metafield identifier thru  macro mmpur_metafield (from type pool MMMFD it should be mmmfd_commit_item)
Regards,
Raymond

Similar Messages

  • BADI For Commitment Item Change for Service PO

    Hi All,
    I want to change the commitment item in the PR on change of Material Group . I used the BADI ME_PROCESS_REQ_CUST for changing the commitment item and its working fine for all types of PR except Service PR .
    In service PR , its changing the commitment item only on clicking the Account Assigment button because at this instant only the BADI is getting trigger .
    I want to change the commitment item without clicking the Account Assigment button (on pressing enter or at saving time ) .
    Is there any way ?
    Thanks
    Manik L Dhakate

    We are using User Exit MEREQ  EXIT_SAPLMEREQ_010
    In our PR creation for ME51n, we are validating the Person through HR Org structure at the Point of Key in his Cost Center, whether he belong to his Department cost center, we use this User Exit MEREQ  EXIT_SAPLMEREQ_010. If he doesnu2019t not belong, the message pop up as u201C Please use your department cost centeru201D. This works very good in case of NB Document Type (Non stock & Materials).
    We have customized ZCPR (Service PRs), but for service PRs, the place where we enter Account Assignment is Different screen, either it is planned or unplanned service, the system take you to another separate screen to key in Cost Center & GL, here the validation is not happening,
    Please suggest & advice us, we tried in this BADI : ME_PROCESS_REQ_CUST, we can fix it. Any User Exit or BADI for Service PRu2019

  • No commitment item entered in item 00001 1000

    hi,
    I have created Purchase Requisition using the T-code(ME51N),
    The following Error came "No commitment item entered in item 00001 1000" . How to resolve this error?
    Thanks,

    Hii,
    Maintain the Derivation rule for the Commitment item against the Funds centre in T-Code: Fmderive
    Regards,
    Kumar

  • Fund center and commitment item not updated

    Hi!
    We are using Funds Management together with SRM. When we change the value of e.g. cost center and not the account assignment itself we do not get an update on fund center. When changing account we do not get an update on commitment item either. This is standard SAP and we have been asked to use BBP_DOC_CHANGE_BADI. Have anyone else had this problem?
    I would really appreciate if anyone have some code for this BADI or any other badi e.g. BBP_ECS_PO_OUT_BADI. It is only important that changes in PO when replicated to back end results in the correct update of commitment item and fund center.
    Sincerely
    Andres

    Solved through BBP_DOC_CHANGE_BADI

  • Commitment Item in Stock Transport Order

    Hi,
        We are planning to carry out a intercompany sales using a stock transport PO.
    My problem is when a STO is created Account assignment tab in the item overview is not visible because of which i am not able to enter the commitment item for the material.
    I have tried activating the BADI : ME_COMMITMENT_STO_CH.
    I have used the sample coding given in the method.
    But still i face the same problem.
    How do we get this commitment item field in STO of is there some other way by which this issue can be handled.
    Thanks in Advance.

    Hi Arokianathan,
    I understand you are trying to put account assignment category like 'K' in transaction ME21N for creation of an intercompany STO.
    You have two choices 1) Use transaction ME21 (old) and not ME21N
    2) In transaction ME21N , use type of order as Return PO , this will remove the greying in the account assignment category field, you can now put in your value like K etc ... Afterwards  you have to goto tothe top and again select document type as Intercompany STO.
    Ones you fill in the material number and other details the account assignment tab page would automatically appear in the sub item level.
    Hope this helps..
    Regards
    Arnab Maitra

  • Commitment item in purchase order in grant management

    Hi guru,
    I created a purchase order with two items,
    Item 1: 500 euro delivery date 14/12/2010
    item 2: 1000 euo delivery date 14/12/2011
    When I run the report of grant management, I see that the system create a commitment item of 1500 euro in 2010 and not 500 in 2010 / 1000 in 2011. In this way, only the budge
    Please, could you help me?
    Thanks
    Regards
    Raffaele

    Hi,
    For Grants Management, please check these notes:
    [1148553 - Additional attributes for derivation of time slices|https://service.sap.com/sap/support/notes/1148553]
    [1485529 - Add Due Date for Timeslice Override BAdI|https://service.sap.com/sap/support/notes/1485529]
    With these notes, you could determine the desired budget timeslice in GM depending on PO due date.
    Hope this helps
    Kind regards
    Mar

  • Commitment Item Change in Purchase Requisition

    Hi All ,
    I want to change the commitment Item in the Purchase Requisition at the change of Material Group in the PR .
    I tried all the Exits and BADI but its not working  .
    Can any body suggest some  , how to do this ???
    Thanks n Regards
    Manik L Dhakate

    Hi,
    check this BADI is working or not..
    ME_COMMITMNT_PARKING                    BAdI for Redefining Commitment Interface When Parking
    Arunima

  • FM derivation:Service no with commitment item

    Hi All,
    I have a requirement in FM that, there are several marketing related services are getting from vendors.. my client wants to control the budget against each Service No in the service Purchase Order.. i want to give the Service no= commitment item in the FM Derivation Rule... i have gone through the SDn. Com... some BADI/User Exit will resolve this issue... am not much familiar... i f u have already worked on the above scenario.. could you help me ..
    Thank

    Hi,
    System will have error message once budget exceeded!
    You  have value for service budget and did you have message setting as error with message number with application for BP-629 and  BP-603 in t.codes:OBA5 and OBMSG.
    Regards,
    Biju K

  • Commitment Items for Multiple services in Service PO

    Hi,
    We have created a service master for all the services used in a project. FM is activated. Every service has 1:1 relation with commitment items.
    Even after table look up & derivation, system was not picking up correct commitment item in service PO. We have used some exits & BADI's, Now system checks picks the correct commitment item stored in FMDERIVE against the service master.
    The issue is, the moment I have multiple service masters in a single service PO with two separate comm. Item.  System picks up the commitment item of only for line item 0010 & posts both the entries against one comm. item.
    Let me know how system can pick up individual commt items.
    Thanks & Regards,
    Ajay

    Hi Ajay,
    I believe that there is one standard solution for what you developed. Let me explain better.
    Please check your table FM01X. You can enable one these flags in table FM01X, depending on your business needs:
    FLG_PO_PROTECT if you want to always inherit the fm account assignment from the reference PO and therefore skip FMDERIVE
    FLG_FMDERIVE_FORCE if you always want to force a call to fmderive in all cases
    FLG_SES_OVERWRITE in services, if you wish to overwrite the account assignment from the SES with the derived values from FMDERIVE.
    You can find more information in note 1146677 and 923672. Please review the information of the notes and run the programs
    according your needs.
    FMDERIVE is skipped for GR/IR lines and the Commitment item is inherited from the PO regardless of whether or not the GR/IR line is FM relevant. This is SAP standard behavior.
    If you want to force the Commitment item to be derived from the GL account for the GR/IR line, you can use the FLG_FMDERIVE_FORCE flag as described in note 923672.  This will allow FMDERIVE to be called for these lines.  Please be sure to fully test this to ensure that FM account assignments that you do not want to be overwritten are
    not incorrectly derived.
    Bear in mind that for PO´s that does not have account assignment you should run FMCN/FMCT + FMN4N. For this you would need to check the flags and which one is more related to your needs. With the appropriate flag marked in FM01X (active with X) you should be able to run the transactions without any issue.
    Based on note 189761, after doing all the previous suggestions and the issue does not appear anymore, I suggest you to run the programs described in the note.
    I believe that this will help you.
    Best Regards,
    Vanessa.

  • Creating Commitment Items In Purchase Order Level

    Hi Friend,
                    I need some information on How to create commitment items  at Purchase Order item level. Any  BADI's,  please suggest me.
    Thanks in Advanced
    Shiv'.

    Hi dude ,
    Here i am not suppose to  create any new tab at item level , could you  little bit clear............,
    Thanks .
    Shiv'.

  • Fund Center & Commitment ITem Derivation for Service Procurement

    HI,
    My scenario is for construction business. There are number of services which are procured. PO is raised to the vendor. All these services gets booked under one GL account.
    Each of this service is budgeted separately. I have created separate CI for all these services (But one FC). I am not able to derive the FC & CI automatically for individual service.
    Can anyone help us in this.
    Thanks & Regards,
    Ajay

    Thanks Eli.
    I have now maintained derivation rule. With some BADI's & exits system is picking up the correct commitment item against service master. Now the problem is, if PO is for single service then system checks budget correctly. But once I put multiple service master (having separate CI in FMDERIVE), system picks up commt item against line item 0010 & post both the transaction against that CI consuming budget.
    I need entry to be posted to individual commt items.
    Let me know if any changes are required to be done.
    Thanks & Regards,
    Ajay
    Edited by: Ajay Gupte on Jun 11, 2011 3:52 PM

  • No commitment item entered in item 00001

    Dear sapient
    I am doing transaction MR8M cancel the invoice. system is showing error No commitment item entered in item 00001. First time system showing this type of error becoz we have cancelled so many miro document earlier with out this type of error.One thing i want to mention some Z devlopment is going on, abaper have used some userexit and badi. Is it due to abap problem or some other reason. Please suggest me.
    Thanx in advance.
    Regards
    soraj

    Funds Management (PSM-FM) seems to be activated in your system. Hence, commitment item is a required field for all posting lines. It should be either manually entered or derived by FMDERIVE. Please check if the original invoice has a value in field commitment item. If not, please check if PSM-FM has been activated by error. These are all configuration related-issues, they should not be linked to any custom Z-development.
    Please also note that there are several existing threads about the same issue. Please use forum search with the SAP error message number!
    Edited by: Mikko Seppänen on Dec 19, 2011 8:43 AM

  • Commitment item in display mode

    Dear All,
    I want during receipt by TC MIGO , to make this two fields " Funds Center " &  "commitment item "  display only
    Please Advise
    Regards
    Rami

    Hi Rami,
    Use the the BADI MB_MIGO_BADI in se18 and create an implementation for it.  After you do this, find the screen exit that you need and try this code:
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'INPUT THE SCREEN NAME WHERE YOUR FIELDS ARE FOUND'.
    SCREEN-INPUT = 0.
    ENDIF.
    ENDLOOP.
    This command will disable the the certain field that you need.

  • Commitment Item-Error while posting GR

    Hi MM Gurus
    I am tryin to post GR without PO for movement type 101.
    and already customized settings for Auto PO allowed for movement type 101.
    When i m tryin to save GR, it is showin me error
    " No Commitment Item Entered in item 00010 1000 379999"
    i dont knw how to solve this error..
    Error description Says, someone has activated funds management, cash budget management, or project cash management, therefore i must have to enter commitment item in all involved company code.
    so culd u pls let me knw whr exactly i have to enter this details for commitment item.
    Thanks a lot..
    Regards
    Jignesh

    Hi,
    This is due to lack of budget against the concerned item. Check the same against the commitment item as per the valuation class assigned for the item.This can be viewed in TCode FMRP_2FMB4002 .Ask your FI team for allocation of budget.
    Dhruba

  • Error in Posting Service Entry Sheet - FI 311 No Commitment Item in Item 1

    Dear All,
    We need a suggestion/solution for the following problem :-
    Our customer had raised purchase orders for services in may 2010. The following critical entries were made in the purchase order.
    Account Assignment Category was P-Project
    The WBS element was entered as the Accounts Assigment Category was P.
    The user was entering uncoded services. Hence the material group for that service which had G/L a/c tagged to it was entered. But the G/l code was not populated in the purchase order by the system at that time of creation of purchase order and subsequently the user was able to save and release purchase order.
    The user was able to post Service Entry Sheet and generate accounting entries in june 2010.
    Additional service entry sheets are required to be posted for the remaining quantites. The client has urcated the SES process into two parts.
    1. Through T-code ZML81N the end user is able to create and save the SES.
    2. Through T-code ML81N the Head of Department is able to approve and post the SES which results in generating of accounting entries.
    Presently the user is able to create SES with tcode ZML81N. But when the HOD tries to approve and post the ses we get the error.
    FI 311 - No commitement item maintained in Item 0001 in P220 (company code).
    Fund Management is active in this company code and all settings related to Funds Management and FI have been checked by respective consultants.
    The end user is not having any problems in processing SES for current Pos. But he is not able to create SES for the POs created in May, 2010 for which the user has already created and posted more than one SES against the same POs.
    We have already escalated it to SAP.
    Thanks in advance
    Anil Shanbhag

    Hi,
    Use T.code:FS00 and check G/L account 280000 is there in your company code or not.
    If yes, check its nature(type/description,control data , cretae bank/intererst tabs)of G/L
    NOTE: Also check and compare the field selection between Movement type 101 & your G/L account 280000 in SE38 t.code with  Program RM07CUFA
    Regards,
    Biju

Maybe you are looking for