Purchase order in Me21N, Me59N, MEMASSPO

I need to insert an authority check when user try to create a purchase order in Me21N, Me59N, MEMASSPO. Does any one know an exit, bapi ... that involves all those transactions? Please help me.
Thanks,

Use the following auth objects in a role and test:
M_BEST_EKO  ACTVT=01;EKORG= Purchasing Organization for which you want to give authorization
M_BANF_BSA   ACTVT=01;BSART= Document type for which you want to give authorization
Have a look at this note:
751129 - Authorizations in Enjoy Transactions in Purchasing

Similar Messages

  • G/L Account Error While doing Purchase Order In ME21N

    Hi,
    While Doing Purchase Order in ME21N,i am getting the below error.Kindly help me.
    G/L account 809001 cannot be used (please correct)
    Message no. ME045
    Diagnosis
    Comparison of the field selection strings from the G/L account 809001 and the account assignment category F reveals that there is an incompatible combination of field selections for the field selection group 'Network'.
    The G/L account field selection is stored in table T004F; that for the account assignment is stored in table T162K.
    Procedure
    Please enter a correct G/L account.
    Thanks
    Supriya

    Hi Supriya,
    U will have to check the field status of account assignment category F in tcode OME9 and compare it with the Field status group that is assigned to GL 809001.
    Kindly note that the field status has a prority in the following order.
    Supress
    Display
    Required
    Optional
    Thus if the network field is suppressed in GL field status and option in account assignment category F, then the below error would come.
    Regards,
    Kiran

  • Update was terminated while creating purchase order from ME21N

    Hi Experts,
    We are getting this dump when try to create purchase order from ME21N;
    Our system ECC 6.0 and IS-AFS (Apparel & Footwear Solution) V600 component has installed,
    How can we prevent this error,
    Regards
    Here is the dump and sm21 log,
    Runtime Errors         LOAD_PROGRAM_NOT_FOUND
    Exception              CX_SY_PROGRAM_NOT_FOUND
    Date and Time          10.10.2008 10:22:03
    Short text
         Program "RMCMS431 " not found.
    What happened?
         There are several possibilities:
         Error in the ABAP Application Program
         The current ABAP program "SAPLMCS4" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
         or
         Error in the SAP kernel.
         The current ABAP "SAPLMCS4" program had to be terminated because the
         ABAP processor detected an internal system error.
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_PROGRAM_NOT_FOUND', was not
         caught in
        procedure "TMC2F_FROUT_CALL" "(FORM)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        On account of a branch in the program
        (CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
        or a transaction call, another ABAP/4 program
        is to be loaded, namely "RMCMS431 ".
        However, program "RMCMS431 " does not exist in the library.
        Possible reasons:
        a) Wrong program name specified in an external PERFORM or
           SUBMIT or, when defining a new transaction, a new
           dialog module or a new function module.
        b) Transport error
    How to correct the error
        Check the last transports to the R/3 System.
        Are changes currently being made to the program "SAPLMCS4"?
        Has the correct program been entered in table TSTC for Transaction "ME21N "?
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "LOAD_PROGRAM_NOT_FOUND" "CX_SY_PROGRAM_NOT_FOUND"
        "SAPLMCS4" or "LMCS4F10"
        "TMC2F_FROUT_CALL"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which
        actions and input led to the error.
        The exception must either be prevented, caught within proedure
        "TMC2F_FROUT_CALL" "(FORM)", or its possible occurrence must be declared in the
        RAISING clause of the procedure.
        To prevent the exception, note the following:
    sm21 log ;
    Transaction Canceled 00 671 ( LOAD_PROGRAM_NOT_FOUND 20081010102203saptest_TET_00 EYUCE 100
    Update terminated
    > Update key: F39796DD5421F1509233001E0BD601E0
    > Update module: MCE_STATISTICS_UPD_V2
    Run-time error "LOAD_PROGRAM_NOT_FOUND" occurred

    Please follow the oss note 800335
    V2 Update terminations in Purchasing transactions after upgrading or installing AFS 5.0 release.
    Other terms
    AFS, LIS, MIGO, ME22N, OLI3, S433, S431
    Reason and Prerequisites
    AFS Purchasing infostructure S431 is no longer used. S433 is the valid infostructure for the release AFS 5.0.
    Solution
    Please do the following.
    For customers upgrading to AFS 5.0 only:
    > Rebuild Infostructure S433.
    - Goto transaction: OLI3 (Statistical Set up of Infostructures)
    - Info structure to be compile: S433
    - Specify the 'Name of run'.
    - Execute.
    > Please also follow the instructions given below.
    For both Upgrade and Non-upgrade Customers:
    > Create the report 'ZDELS431'.
    - Transaction: SE38
    - Give Program name as ZDELS431.
    - Create (F5).
    - Title : 'Program to delete S431'.
    - Type  : 1 (Executable Program).
    - Status: T (Test Program).
    > Copy the program text from the note and paste in the program.
    > Save and activate the program.
    > Execute the report for all clients in Update mode.
      (Two check-boxes will appear: P_ALL_CL, P_UPDATE.
       Please check both of them).
    This report will delete all the references to infostructure S431.

  • Raise purchase order in me21n for 100 goods

    HI,
    i have problem. i raise purchase order in me21n for 100 goods.for that purchase order in MIGO i received 75 goods.when the invoice verification i found only 50 goods.how to clear in gr/ir in the month end process. please someone help me.
    regards
    subbarao

    Hi
    Reverse the MIRO and MIGO documents , and Post the MIGO and MIRO with actual quantity received
    Regards
    Rams

  • Block asset for purchase order (TS ME21N)

    Hi,
    The company where I work need that if an asset is capitalized it will not be able to receive new assigment from the purchase order (by TS ME21N); but this is only for some users, so some specifics users can post a purchase order with an asset which has already values and other users not.
    Any idea if it is posible to make something?
    thanks
    cecilia

    Hi,
    For this you need to go for user exit in purchase order.
    Condition will be like:
    IF EKKO-ERNAM = A, THEN SYSTEM SHOULD PASS EKKN-BUKRS, EKKN-ANLN1, AND EKKN-ANLN2 TO TABLE ANLA TO CHECK ANLA-AKTIV = BLANK, IF IT IS NOT BLANK ASSIGN AN ERROR MEESSAGE THERE TO STOP THE USER
    A = your preferred user, who is not supposed to create the PO for an asset, which is already capitalised.
    Please co ordinate with your ABAP resource for this development.
    Hope this might help you
    Thanks,
    Srinu

  • User Exit / BADI to Modify EKPV-TRAGR in Purchase Order Creation ME21N/ME59

    Hi,
    I have a requirement to modify the Transportation Group (EKPV-TRAGR) on creation of Purchase Order. Can you please suggest me a suitable User Exit of BADI to accomplish this Task?
    Thanks,
    Kannan

    hi ,
    here are the list of user exits for ME21n.
    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
    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.
    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
    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 in Release Creation
    regards
    Satyam

  • Stoping process of saving purchase order(ME21/ME21N) in the user exit.

    Hi,
    I am using user exit "EXIT_SAPMM06E_016" of purchase order. While creating PO and after user enters 1st line item or more items and presses save button, then this user exit will be called.
    Now my requirement is I have to check "item delivery date" , if it is more than 300 days from creation date then I have to show popup for warning the user for the same and if user want to make the changes then this user exit should stops the process of saving the PO and returns and allows to change the PO.
    Please help me in this.
    how I can stop the saving process.
    Thanks,
    Deepak

    Hi Deepak,
    You can do it in IM_ITEM method
    DATA: ls_mepoitem TYPE mepoitem.
    ls_mepoitem = im_item->get_data( ).
    if you check ls_mepoitem-quantity field it will give your required value....pls Go through the documentation below for the method
    Documentation for the method
    Processing of Item Data
    Functionality
    The PROCESS_ITEM method enables you to change the item data and check it
    for correctness.
    Parameters
    The following parameters are available:
    o IM_ITEM - Document item
    The interface reference is of the category
    IF_PURCHASE_ORDER_ITEM_MM. You can use all methods defined there.
    Note
    Please note the general hints on Error Handling.
    If you wish to mark the document item as invalid, use the
    INVALIDATE() method of the IF_PURCHASE_ORDER_ITEM_MM interface.
    Regards
    Byju

  • BAdI or USEREXIT for changing data of purchase order header - ME21N

    hello all,
    I would like to ask you any way to change the field "reason for change" of the Purchase Order  header.
    I tried implementing the method PROCESS_HEADER of IF_EX_ME_PROCESS_PO_CUST
    or changing reason_code of structure ekko in user exits EXIT_SAPMM06E_006 and EXIT_SAPMM06E_006
    but it seems not to work.
    How can i do?..
    sap. v. ecc 6.0

    >
    Shiva Kumar wrote:
    > Use the user exit : EXIT_SAPMM06E_012: This is triggered on saving of a PO...and user can add validations etc in the exit...
    > Cheers
    It doesn't work...
    >
    Martin Voros wrote:
    > you get reference to object IM_HEADER in method PROCESS_HEADER of BADI ME_PROCESS_PO_CUST. On this object you can call two methods - GET_DATA and SET_DATA. GET_DATA returns structure with type MEPOHEADER. You can change your field here and then call method SET_DATA with your modified structure. This should work.
    > Cheers
    ..same thing for this solution...
    the field that i want to change is RSCOD inside structure EREVGRID...it seems to have also get_data and set_data methods ( IF_REVISION_ITEM_DCM ),
    but I don't know which BAdI to implement that has a object type ref to EREVGRID...
    Edited by: E_M on May 13, 2008 11:08 AM

  • Price Update on new purchase order in ME21N

    We are creating new purchase orders for year 2011 and wanted to do mass update of price in the conditions tab.  It works only when we select each line item.  But if we select all and then hit price update with choice 'B', only the first line is being changed with the new price.   Is there any inconsistency in updating the price - we are copying a previous year's purchase order to create a new PO.  Thank you for your help.
    Chandra

    Hi Chandra,
    I think what you are looking for is the functionality called "Automatic document adjustment". Please take a look at [http://help.sap.com/erp2005_ehp_02/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm]. There select Conditions ... -> Automatic Document Adjustment.
    BR
    Raf

  • Create a large number of purchase order in ME21N

    Hello,
    Is there a CATT or LSMW transaction or a program to create a large number of purchase orders with the positions?
    Thanks in advice
    Fany

    you can LSMW with direct input method
    Object - 0085, method - 0001
    venkat

  • Printing Purchase Order (MM/me21n), Dunning Form (FI/f150) etc

    Hello everybody!
    I have a question regarding customizing.
    For example in the TX <b>NACE</b> i have an extra field to enter the name of the smartforms formular, but there is no one in the transaction <b>FBMP</b>.
    So how is this possible to print Smartforms Dunnings? Should i simply enter the name of the smartforms formular in the "Formular" field?
    How would this work if the print programm behind stays the same?
    Is this possible to print "request for quotation" (ME41), "purchase requisition" (me51n) or for example "Interna Documents" (Report RFKORB00) with smartforms? And if the answer is "yes", how do i customize that all?
    Is there some SAP Standard Form in the system? For example for purchase order? I've found here in forum something about /SMB11/MMPO_A or /SMB40/MMPO_A. but they are both not in thesystem. We are on ECC 6.0
    Thank You very much in advance
    Andrey

    The standard settings allow for creating dunning notices using SAPScript. If you wish to print your dunning notices using SAP Smart Forms, you must first define the corresponding function module.
    1. In Customizing for Financial Accounting, choose Financial Accounting Global Settings ->Business Transaction Events.
    The SAP Business Framework screen appears.
    2. Choose Settings -> P/S function modules -> ... of an SAP appl. .
    3. Under the Business Transaction Event (BTE) "1720" with application indicator FI-FI, change the function module in FI_PRINT_DUNNING_NOTICE_SMARTF and save your entries
    Regards

  • EMAIL Send Those create Purchase Order Thru Me21n

    Hello Experts,
    I Read All the document and sap-notes 191470 for sending email after cteating po .
    But All these document are suggesting email to vendor ,But My Requrement is to creater of Po .
    Thanks.
    Regards: Hemant_A1
    Edited by: HEMANT_A1 on Aug 23, 2010 11:43 AM

    As I understand solution is:
    1) create in Transaction NACO in application EF message type Z*** (for example ZMAIL)
    like describe in [note 191470|https://websmp130.sap-ag.de/sap(bD1ydSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=191470]
    <OUTPUT TYPES>
    Details:
    - General data: Access sequence "0001" DocType/PurchOrg/Vendor
    - Default values: time = send immediately ; transmission = External send or Simple mail
    Mail title and texts: Yours
    Partner function: medium - 5 or 7 (External send or Simple mail) ;function - blank; Name - blank
    <SAVE>
    2) <Procedures>
    in  RMBEF1(PO) use yours "Condition type"; requirement - blank
    3) <condition records>  of this type select "Po determination: Document type"
    - Use necessary PO type
    - "Message transmission metod  " 5 or 7
    - Date 4 (Send immediately (when saving the application))
    - lang - EN
    4) Don't forget in IMG ==> Material management ->  Purchasing -> Messages -> Output control -> Define Message Types for Po
    use "Fine-Tuned Control: Purchase Order"
    <new entries>
    operation 1(new) and your message name Z*** (for example ZMAIL)

  • Reg: Block purchase order item level using MEMASSPO

    Hi,
    I am checking to see if we can block PO item level  in MEMASSPO.There is field for deletion indicator but i could'nt find any option to block.I searched forum but i found that deletion indicator LOEKZ value could be S for blocking and L for deletion.I want to know if any enhancemet or exit is required to include the feature of blocking PO item through MEMASSPO.Any information on this would be appreciated.Thanks in advance

    why do you want to set the block?
    Blocking an item is from s SAP point of view a short term solution until you have decided about a final solution. E.g. you have not yet an accurate price, hence you wont allow a GR, so you set a block.
    But blocking does not close a business case. Someday you want archive old purchasing documents, but archiving is only possible for not blocked  items.

  • Delivery Address in Purchase order Create ME21N

    Hello all,
         I am trying to capture the value in the Country field on the Delivery Address tab when creating a PO (ME21N).  We only want to write a certain condition if the Vendor is non-US and the Delivery country is US. 
         The initial value is populated in KOMK but it doesn't change if the Delivery address is changed manually. 
    We are using subroutine KOBEV_600 in Include RV61A600.  I tried using GET PARAMETER ID 'LND' but it never worked.  It always came back blank. 
    Thanks for any help.
    Kind regards,
    Chris Mowl

    Thank you for the responses although they didn't quite address my issue. 
    The solution we are testing at the moment is using the following code in User Exit ZXM06U14:
    DATA: lv_country TYPE land1.
    IF i_ekpo-adrn2 IS NOT INITIAL.
      SELECT SINGLE country FROM adrc
      INTO lv_country
      WHERE addrnumber = i_ekpo-adrn2.
      IF sy-subrc = 0.
        EXPORT lv_country TO MEMORY ID 'adrn2'.
      ENDIF.
    ELSEIF i_ekpo-kunnr IS NOT INITIAL.
      SELECT SINGLE land1 FROM kna1
      INTO lv_country
      WHERE kunnr = i_ekpo-kunnr.
      IF sy-subrc = 0.
        EXPORT lv_country TO MEMORY ID 'adrn2'.
      ENDIF.
    ELSE.
      CLEAR lv_country.
      EXPORT lv_country TO MEMORY ID 'adrn2'.
    ENDIF.
    When an Address number or Customer number are filled in on the "Delivery Address" tab for the item, they are filled in the i_ekpo-adrn2 or i_ekpo-kunnr fields respectively.  I then export the country value to memory and import it in RV61A600 where we check that value.

  • Validation for header condition in a Purchase Order in me21n

    Hi Experts!, I need to validate that a header condition can't be repeated in a PO, when it's be creating..
    I need your helps.. Thanks..
    Message was edited by:
            Gustavo Gil

    Hi.! Thanks everybody, I recomended this page
    http://help.sap.com/saphelp_40b/helpdata/es/14/f62c7dd435d1118b3f0060b03ca329/content.htm
    , It's so usefulI, here I found the program, subrutine, and a short description, I resolve the problem using the exit USEREXIT_XKOMV_BEWERTEN_INIT..
    Regards,
    Gustavo Gil..

Maybe you are looking for

  • Satellite L755D-S257​9 AMD Drivers Not Working on Fresh Windows 7 Install

    Hi, The HDD died in my L755D-S2579 yesterday. I was able to install Windows 7 on a new HDD but cannot get the AMD drivers to work correctly. I've downloaded the latest drivers from the support page and it seems to go through the install but the Displ

  • No Spell Checker in Pages 3.0.2

    I am running Pages 3.0.2 in Leopard 10.5.2 on a Dual 1.8 Ghz PowerMac with 1.5 Gig of RAM. I do not have any external Spell Checkers installed. I have been completely unable to run any Spelling Checks. I always get "Cannot Contact Spell Checker" If I

  • Withholding Tax on Advance paid having issues with Document splitting

    Dear Experts Our client deducts TDS on the Advance amount paid and on posting of Invoices from the Vendors. The documents are posted with withholding Tax types configured for these purpose in F-48 and FB60 respectively. Document splitting has been ac

  • Creation Dynamic session name using BDC session Method

    Hi All, I have one typical BDC problem. If the number of records in file are crossing 80,my bdc is giving problem .So I need to split total records into sets of 80 and submit them. So I need to create the session name dynamically, pass the data dynam

  • Oddly persisting password

    I would like to know how to delete a password which is oddly persisting. After I do a full Reset Safari, all password-access pages ask for password -- except for one. To make that site ask again for password, I also have to Quit. If I don't Quit, I c