ME2M/ME2N/ME2L

Hi All,
I am having a requirement where we need to add a new outputs for these tcodes. After reading the SDN posts i understood we need to append structure to MEREP_OUTTAB_PURCHDOC. I  am not getting any clue as to where i to add the code for it get populated. Can anyone please help me with this?
Thanks in advance,
Kar

I wrote my code in enhancement into the report LMEREPI02 method METHOD build_base_list. it solved the issue.

Similar Messages

  • GR posting date in ME2L, ME2M, ME2N

    Hi Seniors,
      For PO XXXXXXX, when we run ME2N, ME2M and ME2L, the GR posting date can not be shown in layout report for some items. For axample if we 8 items, it is showing the GR posting date only for 3 items. I have checked some POs having more than an item, in that it has shown for all items. why it is not showing this time..kindly help me..
    Regards,
    Jana

    Hi,
      I need in ME2M, ME2N, ME2L...for all the PO's and all items it should show the GR posting date...it will show..but especially it is not showing for this PO.
    regards,
    jana

  • Additional fields in ME2L/ME2M/ME2N

    Is there any standard way to add additional fields in output of standard Purchasing reports like ME2L/ME2M/ME2N. Dont want to copy the same in Zprogram and do the modifications.
    Few sites talk about T-code OMEM but since working on SAP version 4.7 which doesn't have OMEM.
    Looking forward for your help.
    thanks
    anya

    This is intresting....
    I wonder if there is any other way out w/o having the z copy of the std code...
    But OMEM seems to be obsolete in 4.7/ECC 6.0
    Do update on the same so that we will also try to help u...
    regds
    kartik

  • ALV Grid Display for ME2N, ME2L

    Hello,
    We have a requirement where we want the ALVGrid Display for ME2N, ME2L. When we list these in excel file it comes in very scattered manner.
    Client is looking for PO report similar to ME80FN with credit terms, GR Info etc.. I believe ECC 6.0 have ALV Grid in standard, else this can be incorporated thru OLME --- > Reporting ---> Scope of List and does not require query but I am not sure how to achieve it.
    Regards,
    Puneet

    Puneet,
    In the selection screen of ME2N or ME2L, if you will select ALV in the field SCOPE OF LIST, u will get the report in ALV format.
    To default the SCOPE OF LIST in any transaction code from BEST to ALV, please follow the below path in SPRO:
    Materials ManagementPurchasing-Reporting-Maintain Purchasing Lists-Scope of List---Define Default Values for Transactions

  • ME2M AND ME2L

    Hi
    In the both report ME2M AND ME2L am not able to get the vendor nos.
    Am getting the vendor/supplying plant.
    Is thr any other report for PO whr i can get the vendor no / code seperately in a column.
    Vijay

    Hi,
    If you have either PO# or Vendor# then you can proceed with these steps as explained below:
    T.Code- SE16N --> Table- EKKO --> Deselect all the Check box --> Select only fields Purchasing Doc. and  Vendor > enter the corresponding value either one of these fields> F8.
    You will get o/p.
    Regards
    Ashish K

  • LOAD_COMMON_PART Error in ME2M, ME2N, Transactions

    Hello,
    I have created one implicit enhancement in Include FM06LCS4 to add MRP Controller Field on the selection screen of ME2L. But after moving the changes into production, run time error LOAD_COMMON_PART is coming. It is not coming for ME2L but for all other transaction using this include.
    Error Says: The length Of Common Part "FM06LCS4" in program  "SAPFM06L" is incorrect.
    Length Of Common Part in program SAPFM06L: 1840 Bytes
    Length Of Common Part in program RM06EM00: 1552 Bytes
    Please provide your valuable inputs. <Priority removed>
    Thanks in ADvance.
    Edited by: kishan P on Jul 27, 2011 11:30 AM

    Hi Gaurav,
    Just a trail . Check the utilities->settings->Downward cop length .Check this.
    Regards,
    Madhu.

  • Open Purchase Order Quantity

    Hi, All,
    Is there any way to know how many open purchase order quantity in the SAP system?
    If I want to differentiate different business unit open purchase order, how I can do?
    What's the T-code?
    Thanks

    Hi,
    You can use ME2M, ME2N, ME2L, in the field Selection Parameters on the initial screen specify WE101 & the reports will list out all PO's for which GR is pending (i.e. Open PO's). Now you can change layout add / remove fields as per your need. You can also sub-total on plant or purchasing org. thereby getting the data you require. Also in the selection screen in the field Scope of List you can specify ALV to get an alv listing.
    Hope the above answers your query.
    Regards,
    Vivek

  • Report for POs which are unpaid

    Dear All,
    I need report where all  POs  whether material or Service, which are unpaid. Reasons could be fund,Material not received or bill not booked. I tried ME80FN but I am unable to get the same.
    Please let me know where I can get this and in which report.
    Thanking you.
    With Best Regards,
    Rajesh

    Hi Rajesh,
    Use ME2M, ME2N, ME2L reports. In the selection parameters field in the input screen select the apropriate key
    eg: RECHNUNG for Open Invoices, WE101 for open goods receipt etc.
    Hope the above answers your query, else revert.
    If helpful award points
    Regards,
    Vivek

  • Report on GR docs pending for LIV

    Is there any std report for seeing Pending GR Material doc or GR done but pending for Invoice verification.
    krishna

    Run the Following Standard Reports with Selection Parameters WE101 for Pending Goods Receipt.
    ME2M
    ME2N
    ME2L
    Run the Following Standard Reports with Selection Parameters RECHNUNG for Pending Invoice Receipt.
    ME2M
    ME2N
    ME2L
    Regards,
    Ashok

  • Goods receipt and invoice verification

    Hi,all,
       how can I do the fint out the list that have do the goods receipt but not do the invoice verification by vender. Thanks advance!

    Hi,
    You can use ME2M,ME2N, ME2L etc to check the details of GR done and Invoice receipt done for a particular PO.
    But this will give the consolidated qty for pending IR.
    You can check the Purchase order history tab in PO item details, by  checking the layout as GR/IR assignment there.So you can easily find out which IR is pending to do for a particular GR.
    rgds
    Chidanand

  • List of documents aginst a perticular material

    Hi,
    Is there any standard report to find out the list of purchase requisition, purchase order, goods reciept no against a perticular material within a period.
    kaushik

    Hi,
    For Purchase requisition  - ME5A,
    For Purchase order - ME2M, ME2N, ME2L.
    For Good receipt - MB51.
    Enter MB51, enter movement type 101 and your material and click on execute button.
    Regards,
    Mahesh Wagh

  • Report for LIV doc Before invoince

    Hi gurus ,
    I have to convert foreign currency to local currency.
    please tell me.
    *& Report  Y_ASHWIN_PROGRAMZ                                           *
    REPORT Y_ASHWIN_PROGRAMZ NO STANDARD PAGE HEADING MESSAGE-ID YMSG.
    TABLES: RBKP, RSEG.
    TYPES: BEGIN OF I_TYP_RBKP_RSEG,
            LIFNR TYPE LIFNR,
            NAME1 TYPE NAME1_GP,
            BELNR TYPE RE_BELNR,
            ZFBDT TYPE DZFBDT,
            RMWWR TYPE RMWWR,
            EBELN TYPE EBELN,
            EBELP TYPE EBELP,
            GJAHR TYPE GJAHR,
           END OF I_TYP_RBKP_RSEG.
    TYPES: BEGIN OF I_TYP_EKBE,
            EBELN TYPE EBELN,
            EBELP TYPE EBELP,
           END OF I_TYP_EKBE.
    TYPES: BEGIN OF I_TYP_BKPF,
            BELNR TYPE BELNR,
            AWKEY TYPE AWKEY,
           END OF I_TYP_BKPF.
    TYPES: BEGIN OF I_TYP_LFA1,
            LIFNR TYPE LIFNR,
            NAME1 TYPE NAME1_GP,
           END OF I_TYP_LFA1.
    DATA: I_RBKP_RSEG TYPE STANDARD TABLE OF I_TYP_RBKP_RSEG INITIAL SIZE 0,
          L_RBKP_RSEG TYPE I_TYP_RBKP_RSEG.
    DATA: I_EKBE TYPE STANDARD TABLE OF I_TYP_EKBE INITIAL SIZE 0,
          L_EKBE TYPE I_TYP_EKBE.
    DATA: I_BKPF TYPE STANDARD TABLE OF I_TYP_BKPF,
          L_BKPF TYPE I_TYP_BKPF.
    DATA: I_LFA1 TYPE STANDARD TABLE OF I_TYP_LFA1 INITIAL SIZE 0,
          L_LFA1 TYPE I_TYP_LFA1.
    SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-008.
    SELECT-OPTIONS:    BUKRS      FOR      RBKP-BUKRS OBLIGATORY,
                       LIFNR      FOR      RSEG-LIFNR,
                       EBELN      FOR      RSEG-EBELN,
                       BUDAT      FOR      RBKP-BUDAT.
    SELECTION-SCREEN: END OF BLOCK B1.
    INITIALIZATION.
      BUKRS-LOW = '1000'. " original value is 6024.
      APPEND BUKRS.
    START-OF-SELECTION.
      SELECT A~LIFNR
             A~NAME1
             A~BELNR
             A~ZFBDT
             A~RMWWR
             B~EBELN
             B~EBELP
             INTO CORRESPONDING FIELDS OF TABLE I_RBKP_RSEG
             FROM RBKP AS A INNER JOIN RSEG AS B ON ABELNR = BBELNR
             WHERE A~BUKRS IN BUKRS
             AND   A~BUDAT IN BUDAT
             AND   B~EBELN IN EBELN
             AND   A~LIFNR IN LIFNR.
      SELECT EBELN EBELP FROM EKBE INTO TABLE I_EKBE FOR ALL ENTRIES IN I_RBKP_RSEG WHERE EBELN = I_RBKP_RSEG-EBELN AND EBELP = I_RBKP_RSEG-EBELP.
      LOOP AT I_EKBE INTO L_EKBE.
        READ TABLE I_RBKP_RSEG WITH KEY
             EBELN = L_EKBE-EBELN
             EBELP = L_EKBE-EBELP
             INTO L_RBKP_RSEG.
        DELETE TABLE I_RBKP_RSEG FROM L_RBKP_RSEG.
      ENDLOOP.
      LOOP AT I_RBKP_RSEG INTO L_RBKP_RSEG.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
       EXPORTING
        CLIENT                   = SY-MANDT
         DATE                    = sy-datum
         FOREIGN_AMOUNT          = L_RBKP_RSEG-RMWWR
         FOREIGN_CURRENCY        =
         LOCAL_CURRENCY          =
        RATE                    = 0
        TYPE_OF_RATE            = 'M'
        READ_TCURR              = 'X'
      IMPORTING
        EXCHANGE_RATE           =
        FOREIGN_FACTOR          =
        LOCAL_AMOUNT            =
        LOCAL_FACTOR            =
        EXCHANGE_RATEX          =
        FIXED_RATE              =
        DERIVED_RATE_TYPE       =
      EXCEPTIONS
        NO_RATE_FOUND           = 1
        OVERFLOW                = 2
        NO_FACTORS_FOUND        = 3
        NO_SPREAD_FOUND         = 4
        DERIVED_2_TIMES         = 5
        OTHERS                  = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *types: begin of i_typ_bseg,
           belnr type belnr,
          end of i_typ_bseg.
    *Data: i_bseg type standard table of i_typ_bseg initial size 0,
         l_bseg type i_typ_bseg.
    *data: l_belnr type string.
    *select single belnr from bkpf into corresponding fields of l_bkpf where awkey = L_RBKP_RSEG-belnr.
    *concatenate L_RBKP_RSEG-belnr L_RBKP_RSEG-gjahr.
      ENDLOOP.
    *select dmbtr from bseg into l_bseg where
      LOOP AT I_RBKP_RSEG INTO L_RBKP_RSEG.
        SELECT SINGLE NAME1 FROM LFA1 INTO L_LFA1 WHERE LIFNR = L_RBKP_RSEG-LIFNR.
        APPEND L_LFA1 TO I_LFA1.
      ENDLOOP.
      WRITE:/5 TEXT-001, 30 TEXT-002, 50 TEXT-003, 70 TEXT-004, 95 TEXT-005, 115 TEXT-006, 150 TEXT-007.
      WRITE:/ SY-ULINE.
      LOOP AT I_RBKP_RSEG INTO L_RBKP_RSEG.
        WRITE:/ L_RBKP_RSEG-EBELN UNDER TEXT-001,
                L_RBKP_RSEG-LIFNR UNDER TEXT-002,
                L_RBKP_RSEG-BELNR UNDER TEXT-004,
                L_RBKP_RSEG-ZFBDT UNDER TEXT-005,
                L_RBKP_RSEG-RMWWR UNDER TEXT-006.
      ENDLOOP.
      LOOP AT I_LFA1 INTO L_LFA1.
        WRITE:/ L_LFA1-NAME1 UNDER TEXT-003.
      ENDLOOP.
    thanks and regards
    ashwin

    Run the Following Standard Reports with Selection Parameters WE101 for Pending Goods Receipt.
    ME2M
    ME2N
    ME2L
    Run the Following Standard Reports with Selection Parameters RECHNUNG for Pending Invoice Receipt.
    ME2M
    ME2N
    ME2L
    Regards,
    Ashok

  • Analysis of Emergency Purchases

    Hi all,
    we want to distinguish between emergency purchases and normal purchases. Please tell me that where in PR or PO , I can enter that this purchase is emergnecy purchase or normal purchase. I also want to make this field mandatory.
    I also want a report that can cater such information for analysis.
    Please respond.
    Best Regards,
    AI.

    Hi,
    The term Emergency PR/PO is not a SAP term, it is just the term used as per the client requirement.
    In the normal PO you will raise with respect to known vendor.
    In the emergency PR/PO the requirements is immediate & there is no planning for that material for procurement. for eg -- Pilot lot procurement, Extra requirement with out MRP, SamTo compensate the immediate requirement you will create the emergency PR--PO.
    Usually you can define this emergency PR/PO with a separate document type & can assign the new number range for identification.
    Then as per SAP standard reports ME5A, ME2M, ME2N, ME2L you can take the details of this emergency PR/PO.
    rgds
    gsc

  • Create report  to display CODE ( e.g  RC , VP ext) coming in tcode Me23n

    Hi ,
    I need to create report in orde to display CODE ( e.g  RC , VP ext) coming in tcode Me23n.Could any one tell me table to fetch with respect to purchacing document number.
    Regards.

    Hi
    You can use ME2M, ME2N, ME2L, ME2K ME80FN etc.,
    Regards,
    raman

  • Last GR Date

    Hi !
    Two questions regarding Last GR date:
    1. We need to display the Last GR date on a report. Is this date stored in any table from where it could be readily read? Or, do we need to scan through MSEG for movement 101 to determine this date?
    2. What is the best strategy to bring over the last GR date from the legacy system at the time of cutover?
    Thanks!
    Anisha.

    Hi Anisha,
    Study through EKBE table, should give you the details as well. Yes MSEG table is a good place to get the info, just ensure that for a given 101 mvt document, there is no cancellation & also check for the posting date in descending order, should give you the latest receiving date.
    Also refer to ME2M, ME2N, ME2L, with appropriate value in the field Selection Parameters on the input screen eg: WE101, to get the output as needed.
    Hope the above helps.
    Regards,
    Vivek

Maybe you are looking for