How to find whether a material document(MSEG-MBLNR) is reversed or not

Hi All,
  How can we identify a material document which is created by MB1B transaction is reversed or not. is there any field like reversal indicator in any material document table.
Regards
Ramana

Hi Ramana,
Check MBSM Transaction.
If the Material document is reversed, and if their is some linkage between the Material document and its reversal document, you will get in this transaction.
generally only those material document have reversal linkage which are reversed through MBST Transaction.
Say Generated Material Document 12345 was reversed using MBST Transaction and its reversal document number is 12346. then
Check the MSEG Table with the MBLNR value 12346. You will find their is one more field 'SMBLN' which shows your original doc i.e 12345.
Just check it out in your test server.
Regards,
S Anand

Similar Messages

  • How to find a cancelled material document - Urgent

    Please help me how to find a cancelled material document in a pool of marerial documents.
    I am trying to dig in tables MSEG, MKPF,EKBE but not able to get with.
    <b>In brief, how will I find a document is cancelled or not?</b>
    please hlep me.
    Regards,
    Anbu

    Dear Anbu,
    In table MSEG fields:
    SMBLN - Number of Material Document
    MBLNR - Number of Material Document.
    Regards,
    Naveen.

  • How to find whether user exits are  used in the query or not??

    Hi ,
    I have to make the list of queris in which user exits are used.
    Please any body help me how to find the queries in which user exits are used.
    Thanks
    Maruthi

    Hi Maruthi,
    Using table RSZGLOBV you can find out the queries that have customer exit variables.
    Set filter VRPROCTP (processing type) = 3 means customer exit.
    and the field COMPID will give you the Query name.
    Best Wishes,
    Mayank

  • From a table how do u find whether a material is used in another material B

    hi,
    From a table how do u find whether a material is used in another material BOM
    thanks in advance

    Yes as Velu mentioned you can get the details from STPO.
    Note that you have to use field IDNRK in table STPO to check if the material is used as a BOM Component.
    Regards
    Eswar

  • How to find the related PI document from a material document

    Dear All experts,
        If I know the materil document number, how to find the related PI document?
    Thanks!
    Xinling

    Hello Xinling,
    You can extract the details from table MSEG.
    Regards
    Kalpana

  • How to find whether an Invoice is been posted for a particular PO

    Hi,
    How to find whether an Invoice is been posted for a particular PO.
    I have a scenario where I fetch data into an internal table T_CDHDR(It has PO and other details). For each and every entry(PO) in that internal table I have to see whether an Invoice is been posted or not. They told to use <b>EKBE(Purchasing document history)</b> table. But, I don't know which field to check for and based on what conditions.
    Can someone help me with sample code or some valuable inputs.
    Thanks in advance.
    Regards,
    Paddu.

    HI,
    TABLE IS RIGHT.
    IN THAT TABLE FOR THE FIELD BEWTP CHECK WHETHER ENTRY IS "Q".
    Q STANDS FOR IR-L THAT MEANS INVOICE IS DONE.
    ON THE SELECTION SCREEN OF EKBE TABLE ENTER THE PO NUMBER.
    THEN CHECK WHETHER IT HAS ENTRY FOR BEWTP 'Q'.
    YOU CAN CROSS-CHECK THIS DATA FROM TABLE WITH THAT IN ACTUAL PO IN T.CODE - ME23N.
    ENTER PO NUMBER ,THEN IN ITEM DETAILS , IN HISTORY TAB SEE FOR THAT INVOICE NO.

  • Find condition type (kschl) for a particular material document no (mblnr)

    hiiiiii
    How to find condition type (kschl) for a particular material document no (mblnr).

    Hello,
    <b>Check the table A017 and KONV.</b>
    Vasanth

  • How to get the Next Material Document Number

    Hi,
    Please let me know How to get the next Material Document Number using Functional Module,
    Material Document number are  in MSEG table.
    Regards,
    Ganesh

    Hi Ganesh,
    if you want the next matrial number then first of all you have to define it as a number range in transaction snro.After creating the number range you have to define the interval.
    now you can use your number range by calling the function module
    CALL FUNCTION 'NUMBER_GET_NEXT'
          EXPORTING
            nr_range_nr             = '01' " here you have to give the number range number which you have defined in number range
            object                  = 'ZPRODLOG' " Number Range
          IMPORTING
            number                  = wa_prod_error_log-seqnr " sequence number generated,in your case material number field
          EXCEPTIONS
            interval_not_found      = 1
            number_range_not_intern = 2
            object_not_found        = 3
            quantity_is_0           = 4
            quantity_is_not_1       = 5
            interval_overflow       = 6
            buffer_overflow         = 7
            OTHERS                  = 8.
    each and every time next number will get generated .
    i hope this will help you.
    Thanks,
    Tanmaya

  • Hi guys,Explain how to find whether the user request is dialog or bc ...

    how to find whether the user request is dialog or bc or some other wp and where we can see that ?

    Hello Damodar,
    You can find out that in SM50.
    However one piece of advice. I have noticed that you are raising lots of questions about very basic questions. Either you new to SAP or dont know anything about SAP Basis and want to get in this area. Or else you are preparing for some interview. In either of these cases expecting solutions given at SDN are not going to be of much help. Better read yorself in SAP Help as most people do. SDN should not be overly used for such purposes. Basic questions are welcome but you want to learn SAP through SDN !!!
    Regards.
    Ruchit.

  • How to check whether follow on document is created for sc or po,is there any table or fm available?

    How to check whether follow on document is created for sc or po,is there any table or fm available?

    Hello Venu
    Check FM: BBP_PD_SC_GETDETAIL and BBP_PD_PO_GETDETAIL table E_HEADER_REL
    Check this: SRM Shopping cart and PO tables link
    Regards

  • How to get  invoice via material document

    HI,
    How to  get  invoice via material document is there any table or any inderect way?
    thanks
    pandu

    Hi Lakshimipathi,
    thanks for your reply.
    i have checked in vbfa but it's not showing anything.
    my client is providing below information and asking that invoice number.
    material,
    plat,
    material doc,
    movement type,
    posting date.
    i have ran the mb59 by giving material , plant , movement type and Archive info struct as Z_MM_MATBE. here i got the material doc and same doc i have checked at table levle but it's showing.
    and how can i get invoice number by using this information..
    please letme know if you have any idea.
    thanks in advance.
    pandu.

  • How to find whether MIRO is done for a PO

    Hi All,
    Is there any indicator attached to POs that indicates whether MIRO is done for that PO?
    I mean after PO creation in ME21N -> GR in MIGO -> Excise (if applicable) and -> MIRO... how to find whether MIRO is done for a particular PO?
    Helpful tips will be gratefully rewarded...
    Regards,
    Karthik

    See if an entry exist in EKBE for the PO Number and its items.
    The complete process though is, to find the GR Quantity for each PO Item and see if it matches with the PO Item quantity.
      SELECT EBELN
             EBELP
             MENGE
             LOEKZ
        FROM EKPO
        INTO TABLE LT_EKPO
       WHERE EBELN = P_EBELN.
      IF NOT LT_EKPO[] IS INITIAL.
        SELECT EBELN
               EBELP
               MENGE
               BEWTP
               GJAHR
               BELNR
               BUZEI
               SHKZG
          FROM EKBE
          INTO TABLE LT_EKBE
          FOR ALL ENTRIES IN LT_EKPO
         WHERE EBELN = LT_EKPO-EBELN
           AND EBELP = LT_EKPO-EBELP
           AND VGABE = '1'.
      ENDIF.
      LOOP AT LT_EKBE.
    * Change the sign of the quantity for debit
        IF LT_EKBE-SHKZG = C_SHKZG_H.
          LT_EKBE-MENGE = -1 * LT_EKBE-MENGE.
        ENDIF.
        MOVE-CORRESPONDING LT_EKBE TO LT_EKBE_SUM.
        COLLECT LT_EKBE_SUM INTO LT_EKBE_SUM.
        CLEAR LT_EKBE_SUM.
        ENDLOOP.
       loop at it_ekpo.
    ** For each line item, calculate the total GR Quanity
        READ TABLE LT_EKBE_SUM WITH KEY EBELN = LT_EKPO-EBELN
                                        EBELP = LT_AWKEY-EBELP.
        IF SY-SUBRC = 0.
    * If the PO Item Quantity is equal to GR Quantity
            IF LT_EKPO-MENGE <= LT_EKBE_SUM-MENGE.
    * The PO Item can be considered completed GRed
            ENDIF.
        ENDIF.
      ENDLOOP.

  • How to find whether the installed sap software is 32 bit or 64 bit?

    How to find whether the installed sap software is 32 bit or 64 bit?
    Hi Community,
    We have Windows machine - 64 bit - x64. So, we can install either 32 bit or 64 bit sap software, both are supported, right. Now, a sap system is already installed on this machine and i would like to find out whether the sap software is 32 bit or 64 bit, how can i check?
    I have already seen under Menu System - Status - Other Kernel Info & at OS level, with the command disp+work but i cant find the info iam looking for.
    Please help.
    Regards,
    Mohan.

    Hi Sunny,
    Thank you very much for your quick reply.
    Didnt know that one has to look under "Compiled for".
    Regards,
    Mohan.

  • How to find whether my netbook is bluetooth enabled

    I want to connect to my Android Tablet via bluetooth to my netbook Aspire One running on Windows XP.
    How to find whether my netbook is bluetooth enabled ?
    K.R.Kumar

    Click Start, click Run, type bthprops.cpl, and then click OK.
    If your computer has bluetooth capabiliteis, it will launch "Bluetooth Devices". If you successfully opened Bluetooth Devices, then your computer does have Bluetooth capabilities, otherwise, it does not have...
    If it has:
    On the Options tab, click to select the Turn discovery on check box, and then click Apply. To enable Bluetooth devices to connect to your computer, click to select the Allow Bluetooth devices to connect to this computer check box, and then click OK.

  • How to find whether remote database is up or not (connected via dblink)

    Hi,
    I am using dblink to connect Biz database from Dev database.(Biz, Dev - database names)
    Running dbms job using the dblink from the Dev database to update data on Biz database...
    Problem is dbms job should run if and only if the Biz database is up for which i created the dblink...
    1) How to make sure or implement the check to find whether the Biz is database is up or not in Pl/sql or sql...
    2) How to reschedule the dbms jobs once the database is up
    pls suggest me how to find whether the database is up or not b4 running the dbms job?
    Using- Oracle 10g

    The only way to know whether the remote database is up (and whether the network between the two databases is up and whether the remote database's listener is up and whether the password configured in the database link is correct and whether the local TNS alias is correct, etc) would be to actually run a query against the remote database over the database link. In other words, the way to figure out whether the link is up is to let the job run and catch & handle exceptions when there are problems.
    By default, a job scheduled via DBMS_JOB will automatically reschedule itself if there is an unhandled exception by geometrically backing off (it waits 1 minute after the first failure, 2 minutes after the second, 4, 8, 16, 32 minutes, etc until it's marked as broken after 16 failures). You could, of course, catch appropriate exceptions and handle them in a reasonable fashion and manually reschedule jobs at intervals that make more sense for your particular job.
    Justin

Maybe you are looking for

  • Is it possible to mix animation methods?

    I had originally begun my project using the javax.swing.Timer animation loop documented at http://java.sun.com/docs/books/tutorial/uiswing/painting/animLoop.html. My game has different difficulty levels--the higher the difficulty, the shorter the del

  • Question about controlling both handles or one at a time

    I am using a trial version of Illustrator CS5 on Windows 7. I know how to select an anchor or its handle(s). But I do not know why I sometimes am controlling both of an anchors handles when I move one of them, or when I am moving only one at a time.

  • Initial Load of Cubes from BW 3.1 to BW 3.5 system

    Hello, I am looking for some help with regards to the following challenge. We have an existing BW 3.1 (about 3 TB in size) with a cube defined which covers about half the size of the total amount of data (approx 1.5TB). We need to do an inital load o

  • Best practice for developing with CRM 2013 (On Premises)

    Hello all.  I'm just starting to work with CRM, and I have some questions that hopefully will be simple for the seasoned developers.  It's mostly just some best practice or general how-to questions for the group. - When creating a new Visual Studio C

  • How to add JDBC Drivers to J2EE server?

    Hey, I am studying the j2ee following j2ee tutorial of sun java. while, I want to execute the programs over another database server such as mssql server, I add it by j2eeadmin addJdbcDriver sun.jdbc.odbc.JdbcOdbcDriver, and j2eeadmin addJdbcDatasourc