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

Similar Messages

  • 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

  • Posting date option in ME2M Std report

    Hi friends,
    The standard Report ME2M is for displaying PO's based on the Document date .... but my requirement is to get the same output with the Posting date as the criterion ...
    (i.e) even if the document date is given in the selection parameters ... the PO's based on the posting date status (open/pending/closed) should appear in the report.
    Expecting your replies
    thanks in advance .............
    Cheers,
    R.Kripa.

    try this code to display the purchase order history based on date  of change
    *& Report  to find purchase order history based on
    * date of change
    REPORT ZPOCHANGE LINE-SIZE 132 NO STANDARD PAGE HEADING
                     LINE-COUNT 065(001)
                     MESSAGE-ID VR.
    TABLES: DD04T,
            CDHDR,
            CDPOS,
            DD03L,
            DD41V,
            T685T,
            VBPA,
            TPART,
            KONVC,
            EKKO.
    SELECT-OPTIONS: XUDATE FOR CDHDR-UDATE,
                    XNAME  FOR CDHDR-USERNAME,
                    XEBELN FOR EKKO-EBELN,
                    XLIFNR FOR EKKO-LIFNR.
    SELECTION-SCREEN SKIP.
    * TEXT-001 - Sorting Sequence
    SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
    PARAMETERS: SUDATE RADIOBUTTON GROUP R1,
                SNAME  RADIOBUTTON GROUP R1,
                SOBID  RADIOBUTTON GROUP R1.
    SELECTION-SCREEN END OF BLOCK BLK1.
    DATA: WFLAG,
          WCHANGENR LIKE CDHDR-CHANGENR.
    DATA: INDTEXT(60) TYPE C.
    DATA: BEGIN OF ICDHDR OCCURS 50.
            INCLUDE STRUCTURE CDHDR.
    DATA: END OF ICDHDR.
    DATA: BEGIN OF ICDSHW OCCURS 50.
            INCLUDE STRUCTURE CDSHW.
    DATA: END OF ICDSHW.
    DATA: BEGIN OF EKKEY,
            EBELN LIKE EKET-EBELN,
            EBELP LIKE EKET-EBELP,
            ETENR LIKE EKET-ETENR,
          END OF EKKEY.
    DATA: BEGIN OF ITAB OCCURS 50,
            BEGIN OF EKKEY,
              EBELN LIKE EKET-EBELN,
              EBELP LIKE EKET-EBELP,
              ETENR LIKE EKET-ETENR,
            END OF EKKEY,
            CHANGENR LIKE CDHDR-CHANGENR,
            UDATE    LIKE CDHDR-UDATE,
            UTIME    LIKE CDHDR-UTIME,
            USERNAME LIKE CDHDR-USERNAME,
            CHNGIND  LIKE CDSHW-CHNGIND,
            FTEXT    LIKE CDSHW-FTEXT,
            OUTLEN   LIKE CDSHW-OUTLEN,
            F_OLD    LIKE CDSHW-F_OLD,
            F_NEW    LIKE CDSHW-F_NEW,
          END OF ITAB.
    DATA: OLD_OBJECTID LIKE CDHDR-OBJECTID.
    FIELD-SYMBOLS: <F_OLD>, <F_NEW>.
    SELECT * FROM EKKO WHERE EBELN IN XEBELN AND
                             LIFNR IN XLIFNR.
      CLEAR CDHDR.
      CLEAR CDPOS.
      CDHDR-OBJECTCLAS = 'EINKBELEG'.
      CDHDR-OBJECTID   = EKKO-EBELN.
      PERFORM GETCHGDOCS.
    ENDSELECT.
    IF SUDATE = 'X'.
      SORT ITAB BY UDATE EKKEY-EBELN CHANGENR EKKEY-EBELP
                   EKKEY-ETENR.
    ELSEIF SNAME = 'X'.
      SORT ITAB BY USERNAME EKKEY-EBELN CHANGENR EKKEY-EBELP
                   EKKEY-ETENR.
    ELSE.
      SORT ITAB BY EKKEY-EBELN CHANGENR EKKEY-EBELP EKKEY-ETENR.
    ENDIF.
    LOOP AT ITAB.
      CLEAR: INDTEXT, EKKEY.
      CASE ITAB-CHNGIND.
        WHEN 'U'.
            INDTEXT(50) = ITAB-FTEXT.
            INDTEXT+51  = TEXT-020.
            CONDENSE INDTEXT.
        WHEN 'D'.
            INDTEXT = TEXT-021.
        WHEN 'E'.
            INDTEXT(5) = ITAB-FTEXT.
            INDTEXT+51 = TEXT-021.
            CONDENSE INDTEXT.
          WHEN 'I'.
            INDTEXT = TEXT-022.
        ENDCASE.
        RESERVE 4 LINES.
        IF WCHANGENR NE ITAB-CHANGENR.
          WCHANGENR = ITAB-CHANGENR.
          EKKEY = ITAB-EKKEY.
          WRITE:/ ITAB-UDATE UNDER 'Change Date',
                  ITAB-UTIME UNDER 'Time',
                  ITAB-USERNAME UNDER 'User Name',
                  ITAB-EKKEY-EBELN UNDER 'PO No',
                  ITAB-EKKEY-EBELP UNDER 'Item',
                  ITAB-EKKEY-ETENR UNDER 'Sch No',
                  INDTEXT     UNDER 'Changes'.
        ELSEIF ITAB-EKKEY NE EKKEY.
          WRITE:/ ITAB-EKKEY-EBELP UNDER 'Item',
                  ITAB-EKKEY-ETENR UNDER 'Sch No',
                  INDTEXT     UNDER 'Changes'.
        ENDIF.
        CASE ITAB-CHNGIND.
          WHEN 'U'.
            ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
            ASSIGN ITAB-F_NEW(ITAB-OUTLEN) TO <F_NEW>.
            WRITE: / TEXT-023  UNDER 'Changes',
                     <F_OLD>.
            WRITE: / TEXT-024 UNDER 'Changes',
                     <F_NEW>.
          WHEN 'E'.
            ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
            WRITE: TEXT-023 UNDER 'Changes',
                   <F_OLD>.
        ENDCASE.
        SKIP.
    ENDLOOP.
    TOP-OF-PAGE.
    WRITE:/ SY-DATUM,SY-UZEIT,
           50 'P U R C H A S E  O R D E R   H I S T O R Y',
          120 'Page', SY-PAGNO.
    WRITE: / SY-REPID,
             60 'Purchase Orders Changes'.
    SKIP.
    ULINE.
    IF SUDATE = 'X'.
      WRITE:/001 'Change Date',
             014 'Time',
             024 'User Name',
             038 'PO No',
             050 'Item',
             057 'Sch No',
             065 'Changes'.
    ELSEIF SOBID = 'X'.
      WRITE:/001 'PO No',
             013 'Item',
             020 'Sch No',
             028 'Change Date',
             041 'Time',
             051 'User Name',
             065 'Changes'.
    ELSE.
      WRITE:/001 'User Name',
             015 'Change Date',
             028 'Time',
             038 'PO No',
             050 'Item',
             057 'Sch No',
             065 'Changes'.
    ENDIF.
    ULINE.
    FORM GETCHGDOCS.
      CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
           EXPORTING
                DATE_OF_CHANGE    = CDHDR-UDATE
                OBJECTCLASS       = CDHDR-OBJECTCLAS
                OBJECTID          = CDHDR-OBJECTID
                TIME_OF_CHANGE    = CDHDR-UTIME
                USERNAME          = CDHDR-USERNAME
           TABLES
                I_CDHDR           = ICDHDR
           EXCEPTIONS
                NO_POSITION_FOUND = 1
                OTHERS            = 2.
      CHECK SY-SUBRC EQ 0.
      DELETE ICDHDR WHERE CHANGE_IND EQ 'I'.
      CHECK NOT ICDHDR[] IS INITIAL.
      LOOP AT ICDHDR.
        CHECK ICDHDR-UDATE IN XUDATE.
        CHECK ICDHDR-USERNAME IN XNAME.
        CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
                     EXPORTING  CHANGENUMBER       = ICDHDR-CHANGENR
                     IMPORTING  HEADER             = CDHDR
                     TABLES     EDITPOS            = ICDSHW
                     EXCEPTIONS NO_POSITION_FOUND  = 1
                                OTHERS             = 2.
        CHECK SY-SUBRC EQ 0.
        LOOP AT ICDSHW.
          CHECK ICDSHW-TEXT_CASE EQ SPACE.
          MOVE-CORRESPONDING ICDSHW TO ITAB.
          MOVE-CORRESPONDING ICDHDR TO ITAB.
          MOVE ICDSHW-TABKEY+3 TO ITAB-EKKEY.
          APPEND ITAB.
        ENDLOOP.
      ENDLOOP.
    ENDFORM.
    * END OF PROGRAM
    regards
    satesh

  • View GR report based on posting date

    Hi,
    Is there any report to view GR on PO by enter posting date?
    Because i check ME2M,only can enter delivery date.
    Thank you.

    Hi,
    Check MB51 with 101 movement type and posting date.
    Regards,
    Bharat

  • Stock on posting date with storagelocation,batch and stock types informatio

    Hi,
    I'm needing a report (similar funtion of MB5B) which must reveal the stock postion (closing balance) of the materials on a particular date alongwith storage loactions, batches and stocktypes (Unres/Q/Blkd).As such MB5B either gives the output either by storage location or by batch, not the combination of both.
    Else provide any possibilty means( Database tables) from where i could arrive these mention outputs.
    I could be able to get the information by collecting the values from MKPF & MSEG tables. But this information only suffice the material movements carried on that particular date.. And i will be not having the closing balance as a whole.
    I even wonder to get any such a kind of information in which i could able to get the stock with stock types(Unres/Q/Blkd).
    Any light on this matter is highly appreciable.
    Regards
    Prasanna

    Hi Amit Bakshi,
    Thanks for the reply..
    I executed the suggested program but i found the same kind of information aslike in MB5B..
    The information all i'm looking is to get the closing balance of the given material with storagelocations, batches and stock types on a given posting date.
    For eg.
    On 15 / 03 / 2011
    Material A
    Batch       Slocation       Stock type               Closing balance Qty.
    A1              S001               Unres.                             50
    A1              S002               Unres                            120
    B1              S001               Quality                             15
    C1              S003               Blocked                            30
    In MB5B i could able to get the values of closing balance either Storage location level or by batch level but is it possible to get the combination of both along with stock types?
    Reg
    Prasanna

  • Stock on posting date GL wise

    dear sir,
    can i have the transaction code for stock on posting date GL wise.
    IN MB5B THERE IN NO FIELD WITH GL AND IN MB5B THERE IS NO POSTING DATE

    Hi,
    There is a posting date in MB5B  !!!!!!!!!!!!!!!!!
    The whole point of MB5B is to give you the stock on a posting date.
    The field is called "Selection date".
    Steve B

  • MB5B stock on posting date

    Hi experts,
                            For a material XX which was  zero stock on 15/11/2008.Goods receipt(MIGO 101) done on 15/11/2008 of qty 100kg. So stock was 100kg. I have issued material XX of qty 75 kg to cost center and entered posting date 3/11/2008. My system allowing me to issue that material on 3/11/2008 without any warning or error msg. But at that there was no stock. So that if i check the report MB5B stock on posting date my closing stock showing in negative for 3/11/2008. Our requirement is how to stop this back dated posting? System should not allow me if i am posting on back date?
    Thank you
    SAP

    hi Rehan,
    I have checked all settings also enhancement  but there is no as such control to restrict backposting within current period
    I think its self disipline action not to post backdated GI when GR is done on later date
    Vishal...

  • Getting at POST data from a pl/sql procedure through Path Aliasing

    Hi.
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? I haven't been able to find
    any way of doing this looking through the documentation. Is the body of the request lost at the gateway
    (mod_plsql) using path alias?
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?

    Billy  Verreynne  wrote:
    Øyle wrote:
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? Do not understand the question as a POST and GET are simply two different methods that a web browser submits a URL and data. There is no "+path+" involved here.Thank you for answering. I think the confusion is because you disregard what I said about "path alias" and "path alias procedure".
    Those are configuration of the mod_plsql gateway so that any URI containing <myalias> above is directed to the procedure stated
    by "path alias procedure". The gateway also sends any remaining parts of the URI to this procedure as an varchar2 argument (p_path).
    My problem is that I see no way to get at any POST data as the signature of this procedure has to be this one varchar2, and I don't
    know any other way to get at the body of the request.
    >
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?If you want to know what the URL is, the full path used, then you need to look at the CGI (Command Gateway Interface) environment. The web server builds a list of CGI variables. These include the type of web server, the URL, the type of HTTP command (GET or POST), and so on.
    Within your PL/SQL web procedure, you can query these CGI variables. Have a look at the function OWA_UTIL.GET_CGI_ENV in the [Oracle® Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/w_util.htm#i997269] guide.
    Take a look at CGI variables such as PATH_INFO, PATH_TRANSLATED, SCRIPT_NAME and so on.Yes, thank you, but my problem is a bit upside down. I do use the cgi environment to get the method and I have path as input, what I can't
    find is the body of the request. I might be approaching this entirely the wrong way. It might be a bit easyer to understand if I state that I'm
    trying to find a way to implement a RESTfull service in pl/sql.

  • Change posting date during UD Reversal

    Hi All
    During working with a UD reversal program by using SAP note 175842 i came to know that the posting date only comes as the current date.
    If Today i am  reversing  the UD of a batch which is 15 days old (Example-15.02.2014) then the posting date in the material document will be of today.
    But my requirement is that, date should be the actual inspection lot creation date ie. 15.02.2014 . I have already discussed with the technical team , as
    per their understanding no option is there to edit the standard program.
    Please help me in this regard, is there any option to change the posting date.
    Regards
    D Mohanty

    Hi,
    I understand that you are looking to make 322 movement today but need posting date/ document date in past. I tried my reversal program and I could achieve this. While making the UD reversal, change the date which is required.
    In following case, I made the 321 today but in back posting date i.e 15.02.14. For this, refer Document date.
    Then again, while making the reversal, I entered the backdate (20.02.14) and same is appearing for the document. Refer 322 movement.
    Ofcourse you need to allow posting in previous periods using MMRV.
    If you need something else, please come up again.
    ntn

  • Vendor Balance Report Day wise based on Posting date

    Hi Guru's,
    I am creating vendor balance reprot day wise based on posting date .
    In my report i want to show  TDS(With hold tax ) amount where can i get that field name how can retrive the data using bsik and bsak .
    I Donot want to display reversal documents in the displaying list .How can i remove reversal entries .
    Regards
    Nandan.

    Hi Nandan,
    check these tables:
    A399
    T059O
    T059ZT
    Regards,
    Santosh Kumar M

  • Ageing Report on posting date and due date

    Hi
    I want to get customer ageing report on the basis of posting date (bill date) as well as due date (30days after posting date).
    Please let me know how to get two reports.

    Hi,
       check with this reports.
       s_alr_87012178 and s_alr_87012168
    regards,
    Radhika.

  • GR POsting date as Base line date in MIRO.

    Hi SAP Expert,
    Using StandardConfiguration, Base line date in MIRO can be populated as Posting date/Invoice document date/ new entry of Invoice Reciept using configuration of Terms of Payment.
    My client requirement is to populate GR posting date as a base line date in MIRO.
    can you please let me know how/where/what configuration to be done to achieve the client requirement.
    please also let me know the Table & Field used If any ABAP coding Involve.
    With Regards
    Manoj Singh

    hi,
    baseline date in MIRO triggered by payment terms in FI .
    take help of the FI consultant create payment term based on GR document date.
    regards,
    sujit

  • Posting date in J1IEX with option R07 - Internal Excise Invoice

    Hi CIN guys,
    I have one requirement with respect to J1IEX transaction -> Post -> R07 - Internal Excise Invoice.
    In J1IEX transaction, there is a field called "Posting Date" available in Header as editable under the tab "Excise Invoice", results user can change the date based on open financial period (Period open and close has been done through OB52).
    I want put validiation in the field "Posting date" by either make the field as Display or prevent entry of pastdate eventhough the period is in open. 
    My question is that Is there any screen settings are available to make the field as display? If so and  make the field as display, what would be the impact?   Is there any otherway (user exit, badi ...) to control this?
    Please reply.
    Thanks in advance
    Ravikumar S

    hi
    check whether any std user exit there for this process and code as per your logic and activate it

  • Posting date and posting periods

    HI Experts,
    I am practicing IDES for SD. While using T VL02N for post good Issue I got this error:
    <b>Posting only possible in periods 2006/12 and 2006/11 in company code 1000
    Message no. M7053
    Diagnosis
    The posting date entered is not within one of the permitted posting periods (current period/previous period).
    This can be due to one of two reasons:
    The correct current period has not been set in the system.
    For the system, the first of the entered periods is the current period. At the beginning of a new period, your systems administrator must change the current period in the material master record, using the function "Shift periods". This has not yet been done.
    You have entered a wrong date in the field "Posting date".
    Procedure
    Check the posting date and correct it if necessary. If your input is correct, inform your systems administrator that the "period shifting" (period-end closing) process has not yet been completed. Copied from M8022</b>
    I don;t think there is problem with my posting date. Can someone guide me on how solving this
    Thanks
    Yael

    Go to OMSY and check the periods are current peiods or not to ur comp code?
    If it is not the current period.
    close the posting period by going to MMPV.
    let us say comp code EG, YEAR-2006  PE-6
    so you have to close the posting periods for all months till this month.
    from comp code-EG
    To comp code- EG
    period-7
    fiscal year-2006
    repeat the same but with period-8(month) 9,10,11,12,
    and do the same for 2007 too till you get the current month in OMSY T-Code.
    you need to do close the period end of every month.
    thank you
    chaitanya

  • Tables/FM for opening/closing stock for material on given posting date

    Hi All,
    I had requirement of find the opening/closing stock for material on given posting date. The values we can find out using TCode - MB5B.
    But I cannt use MB5B to extract data because I need to find detials for thousands of material.
    Can you please adivce if their is any FM or tables through which i can find this detial on any given date apart from current date.
    Thanks & Regards,

    Hi,
    [https://forums.sdn.sap.com/click.jspa?searchID=19631709&messageID=6593903]
    [https://forums.sdn.sap.com/click.jspa?searchID=19631709&messageID=6630975]

Maybe you are looking for

  • Problem with Overwrite for Key Figures in ODS

    A bit of a long explanation, but the problem is not so complicated... We have an ODS containing contract line items.  Each line item has a key figure "Total Contract Target" that is marked with update type "overwrite".  We have modified the extractor

  • Satellite Pro L300 - DVD drive error code 10 on Vista.

    Can't see DVD drive on "my computer" Under device manager its showing drive but with yellow triange, after looking at info, the device status is "This device cannot start. (Code 10)" tried restarting 2 times. Thats not working. Also cheaked drivers,

  • Change of g/l accounts

    i have posted transactions to a g/l a/c which is of P&L account type. Unfortunately all the transactions i posted to that G/L a/c is of capital nature. I am instructed to run a SAP PROGRAM(which i have forgotten)-- and upon which running the balances

  • How to delete secondary indexes

    Hello Guru's. I want to delete secondary indexes for my copa cube ZCOPA_CO1.where to see the secondary indexes for this cube..please give me step by step for deleting secondary indexes as well as creating secondary indexes .Its really urgent please g

  • Seeing CONTENTS of Airport disk in Snapfish (Java or Active X???)

    So I can access and use the airport disk from Windows Explorer. From within the www.snapfish.com "picture upload chooser" I can see the disk, but can't see any files (or more important sub directories) within the file browser in the web pop-up from s