PO Vendor Confirmations User exit

Hi all,
I'm using EXIT_SAPMM06E_013 for changing the Vendor Confirmations in ME22n.
I'm validating data in this exit(using EKES table), if fails I need to display the error message in this transaction.  This exit triggers and it is displaying the Information message instead of error message and teminates the transaction giving the error 'Error in method PO_POST'.
Anybody faced such type of problem before? Please help me in this.
Is this the right exit I'm using?
Regards,
SP Kumar

Hi,
Do the checks in the user exit EXIT_SAPMM06E_012 and use the macro
mmpur_message
to display the messages in the error log popup..
Ex...
MMPUR_MESSAGE 'E' '00' '208' 'Error in Confirmation' SPACE SPACE SPACE.
Thanks
Naren

Similar Messages

  • Restricting vendors -any user exits please?

    Hi,
    I have a requriement where while creating Vendors they have configured in such a way that it has to be approved for all the create and change vendors. since there is some sensitive information like bank accounts and names .
    now we have changed the requriement where in we need to restrict the information only for certain conditions
    vendor employee account group B007 and company code 2001 and for rest they donot need any approval and can be directly created or changed.
    Is there any user exit or any other way where we can put this restriction.
    We cannot put the configuration for specific requirements either the configuration is on or off in total.
    Any help would be greatly appreciated.
    Thanks and Regards,
    Ravi Kumar L

    Hi Max,
    In XK02 if we change any of the Sensitive fields(like name bank account,bank key...). then it pops up a message that document is saved but needs to be confirmed.
    For confirmation we need to login to FK08 and then press the confirm buttom for that vendor.
    Now our requirement is we need that confirmation for some vendor employee account group B007 and company code 2001 and for rest they donot need any approval and can be directly created or changed.
    As Suggested by Himanshu and You I have been in touch with the Basis guys for the creation of a Z object and authorization so that i can call the Authorization object in the user exit.
    they too are not sure. so i need to confirm them so that they can go ahead with the creation of the z object. Since this involves business we need to tell them if this is possible or not fore hand and take their approval.
    Can you suggest if we are going in the right direction.
    Thanks,
    RK

  • Vendor master user exit for copying  NAME1 - NAME3

    Hi Gurus,
    I am looking for a user exit in Vendor master for FK01. User enters data in NAME1 and NAME2 field.
    When the user saves the data, the data from Name1 field should be copied to NAME3 and data from NAME2 field should be copied to NAME4.
    Please help...
    Regards,
    Tushar.

    u can find BADI's or Enhancement in Foloowing Ways.... Hope u will find one
    1>First go to any transaction->iN THE menu bar SYSTEM->STATUS->Get the program name ->double click->u will go to the program attached to the tcode.Now search term will be CALL CL_EXITHANDLER.Now u will get list of BADI'S available..
    2>Goto SE24->Give class name as CL_EXITHANDLER->Display->double click on get_instance mathod->Now u will go inside the method->Now put break point on the cl_exithandler.Now go to any transaction code and pass dat..U will see that it will be stopped on the break point which u set on the cl_exithandler...In the exit name u can find list of badi's attached to the tcode..
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    The simplese way for finding BADI is
    1. chooes Tcode Program & package for that Tcode.
    2. Go to Tcode se18
    3. Press F4
    4. search by package or by program.
    Regards,
    Usman Malik

  • Order Confirmation user exit for storage location

    hi all
    while confirming order, no one should select any other storage location other than fix : 1003,
    user selects 1001, 1002, 1003.
    actual posting location is 1003..
    Can i control this activity with the help of user exit ? if yes please suggest.

    Hi,
    You can maintain Production Storage location in BOM as well as you can maintain also in Material Master--> MRP-2 View--> Production Storage location.
    So system will by default take the respective storage location and user need not select each time manually.
    For this purpose, you need not implement any exit.
    Revert in case any doubt.
    Hope this solves your problem.
    Regards,
    Tejas

  • Confirmation: user-exit

    Hello All,
    Does anyone know if there is a user-exit or an enhancement available upon confirming / final confirming a network activity to update some of the fields on the activity? We have a requirement to update the plan hours field on the network activity with the actual hours being recorded on the network activity when the activity is final confirmed. However, it needs to be done in such a way that the network is recosted at that time. Any suggestions?

    Hi
    If I understood correctly your question, my answer is:
    You mean to say that for every partial confirmation, would automatically reduce the planned hours on network activitity that is equivalent of actuals hours confirmed?
    I am not sure about availability of user exit or enhancement but you will land up in other problems. Tell me one thing, are you using your network activity hours to derive planned cost of project? using Work center and activity type.
    If so, what will happen, whenever a actual hours are confirmed it will reduce the number of planned hours on your activity but at the same time system will update planned cost of your activity. This is because your planned hours are keep reducing for every confirmation. Finally when activity confirmed 100% you will have planned cost is Zero and actual is 100% of planned hours.
    Hope this clears.
    Regards,
    PSR

  • Production Order Confirmation- User Exit

    Hi guys,
    I am working on File to IDOC scenario interface in SAP XI/PI.
    Here before posting a confirmation IDOC into SAP.. validations or data checks required for Order Number ,Order status, size grid, std text key and work centre.
    and this can be achieved using some USEREXIT..I have found the USEREXIT as PPCO0001 with the help of an ABAPer
    Could someone help me whether it is the right one if not what could be the other one and the steps involved in implementing it
    Thanks
    Sahil

    Hi Sahil,
    You should be using PPCO0007  Exit when saving production order.
    Check with your ABAPer once again.
    Regards
    Abhii
    Edited by: Abhii on Sep 14, 2010 11:28 AM

  • PO confirmations user exit name

    hi friends
    highly appreciate if somebody tell me the userexit name for PO confirmation
    inside i need to get the schedule line wise confirmation information
    many thnaks
    iver

    Iver,
    What is the Tcode for PO Confirmation?

  • User exit for CO13 - Cancel confirmation

    Dear Experts,
    Through user exit I add some fields in CO11N. When I confirm production order that time other information also saved.
    But when cancellation of production order that time only GR & GI reverse. But I want to revers other information which I had added at the time of confirmation.
    Pl guide me about this issue.
    Thanks
    Dhamane

    Hi,
    While cancelling the confirmation user exit CONFPP05 will be  triggered.
    Revert back if you find any problem.
    Regards,
    Vishal
    Edited by: VS on Nov 3, 2009 2:58 PM

  • User-Exit: Show an error Message and go to specified screen field

    Hi All,
    I need to trigger an error message when a field does not contain a specified value and move the processing to the specified screen-field while saving a Vendor using User-Exit: EXIT_SAPMF02K_001.
    Please advice how to achieve going from user -exit to screen-field.
    Thanks in advance.Jr.

    Aravind is right, I apologize for my bad answer! I made this little program which changes the position to P_Y screen field and sends the error message (do it in this sequence of course):
    REPORT  Z_ERROR_MESSAGE_AND_CURSOR.
    parameters p_x type c.
    parameters p_y type c.
    at selection-screen.
      if p_x = 'B'.
        set cursor field 'P_Y'.
        message e001(00) with 'error on P_Y'.
      endif.

  • User exit to update Vendor Confirmation in ME22N

    Hi,
    I am adding a subscreen at the header level using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST. This new sub screen at the header level will have fields like confirmation category, delivery date..etc., and a push buttom called 'CONFIRM'. When the user selects the line items to be confirmed and clicks the 'CONFIRM' button the data from the customer subscreen should be copied to the item details(in Confirmations tab).
    The problem is with the confirmation tab. I need an user exit to update this. When the PO is saved confirmation should be created and EKES table should be updated.
    Any useful information will surely be rewarded
    Thanks in advance
    Antony.

    Hi
    Following enhancements are available....
    Transaction Code - ME22N                    Change Purchase Order
    Exit Name           Description
    AMPL0001            User subscreen for additional data on AMPL
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MM06E011            Activate PReq Block
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    Hope this helps to solve ur problem....
    <b>do reward if useful....</b>
    regards
    dinesh

  • Confirmation control key automatically defaulted not from supplier, nor PIR, nor user exit

    Hi gurus
    I have the confirmation control key automatically defaulting in the PO but it is not coming from the vendor master data, nor PIR nor from user exit.
    Do you know from where it can be defaulted? I have noticed that if change the company code then it defaults but if change to another want then the field is blank, so it seems that there is something configured at company code level, but not sure what it could be
    thanks so much
    Ivan

    Then you need to analyze thoroughly all the PIR'S and vendor master which are linked to scheduling agreement or contract where you are maintaining the control key.
    And also any new functionality added in your PO functionality debug and check the same with ABAPER it will be easy way you can now from where exactly the confirmation control key is populating in PO.

  • Change Confirmed Qty in Sales Order User exit/ATP User exit

    HI
    We have a requirement to change the ATP Qty for certain meterials & Order Types  duing sales Order User exit(FORM USEREXIT_MOVE_FIELD_TO_VBEP.? ) or ATP User exit.( ATP...OUT?).
    Is this ok to update the XVBEP in FORM USEREXIT_MOVE_FIELD_TO_VBEP of MV45AFZZ ?
    Our requirement will be like this, for one order type ZSAL( and for certain Materials)  we need to reserve 4 qty, if any order comes with 10 qty and the confimed qty is only 6( total available stock at present) , then we should only confirm  2 qty for the other order type( For Non ZSAL Order Type), and reserve the 4 QTY for ZSAL Order Type.
    If there are multiple schedule lines for an Item, we need to reduce the qty equally( as possible) from all schdule lines.
    i.e. date1 qty 4
         date2 qty 6,
    in  this case we should confirm  Date1 QTY 2, date2 qty 4, so that the remaining 4 will be reserved for ZSAL Order type.
    Whats the Best way to achieve this ?
    Edited by: agrud agrud on Sep 8, 2011 4:01 AM

    Hi Agrud,
    Did you check the possibilities with configuration.If it is not possible with configuration then you can use that exit.Before i used this but only to display not to change any thing.
    Regards,
    Madhu.

  • User Exit for credit management  at confirmed quantity in sales order

    Dear All ,
    kinldy tell how to define a user exit and where i can write for credit check to be done to the confirmed quantity in the sales order .
    Also pls tell me that how to define the user exit and attach to customer reserve field in the customising for automatic credit control .
    regards
    Baranidharan Ramar

    Hi
    The following is the information from the sap documentation...you can also refer from IMG - SD - System modification - userexit - userexit for credit check
    Credit Check
    If you want to carry out your own individual credit checks, that differ from those in the standard system, you must define them in the following user exits:
    LVKMPTZZ
    LVKMPFZ1: USER_CREDIT_CHECK1
    LVKMPFZ2: USER_CREDIT_CHECK2
    LVKMPFZ3: USER_CREDIT_CHECK3
    User exit for availability check
    User exit USEREXIT_AVAIL_CHECK_CREDIT exists in Include MV45AFZF.
    This user exit allows you to determine whether the system should or should not carry out an availability check after a blocked document has been released or after a new credit check.
    Thanks,
    Ravi

  • User Exit/ BADI during creation of vendor master

    Dear Friends,
    During creation of vendormaster if the with holding tax is maintained then PAN no. field should be made mandatory.
    So far I know this can't done through standard field selection of vendor master. So this is to be done through BADI/User exit. Please provide me the same where in run time I can get PAN no field. It comes from the excise table.
    Regards

    First try for any Customization is available.
    If not we can achieve with enhancement point.
    Try to find out an implicit enhancement point on PAI event of the screen there validate for the "PAN No"
    if the "PAN No" is blank raise an error message & EXIT from the PAI.
    It would serve your purpose.
    Regards.
    Abhijit

  • User Exit or BADI for Material,BOM,Customer,Vendor

    Dear All,
    I have requirement where if User A changes a Material X .It should go for approval by workflow.
    When the Material X is waiting for approval no other User should be able to change the material .It should give him a message
    and restrict him from changing the Material.
    Is there any User Exit or BADI to restrict him from changing the material. The exit or BADI should be called as soon as the Material is entered in MM02.
    I need exit or BADI for BOM, Vendor and Customer also.
    Thank you.

    Hi,
    You can go to Transaction SE80 and check in Function Group MATF. There have been two User Exits which are called during MM02 Transaction execution (via Analysis Transaction SE30) - MATERIAL_FIELD_SELECTION_NEW and MATERIAL_FIELD_SELECTION_COMB.
    BAdI called by FM MATERIAL_FIELD_SELECTION_NEW.
    Thanks and Regards,
    Prabhakar Dharmala

Maybe you are looking for

  • Regarding time statement in ESS

    hi gurus, i have developed time statement in PE51 name ZF03,BUT IN ess the time statement is coming from tc-hrforms,which is totally different from ZF03,what i want that my form-ZF03 will display in ESS for this what sud i do how will i configure zf0

  • Can the 4G antenna be changed in iphone 5S?

    So theres a big mess with the frequency bands in each country, wanted to know if its possible to change the antenna and install a different one... thanks!

  • Make mp3 that has been loaded into swf to stop playing

    Hi, I've managed to create a 'jukebox' that has a selection of tracks. Each track is loaded into the swf using the following scripting: var my_sound:Sound = new Sound(); my_sound.loadSound("nuffnek.mp3",true); I have created a stop button which when

  • Oracle 10.2.0.4 install on Server 2008R2

    I've been trying to create a test 10.2.0.4 database on a server running windows server 2008 64 bit standard. I had to hunt to find the download, when I did the download page stated that to install on server 2008 I need the 10.2.0.5 patchset. Which is

  • JavaHelp with JBuilder

    Hi, We are using the JavaHelp API in Jbuilder Open Tools. Our help is going to be on the main menu bar of JBuilder. We've used CSH.DisplayHelpFromSource but it doesn't work. We cannot use menuItem.addActionListener(hb) since we are not dealing with m