Link between QM Notification & Material Document(QMFE & MSEG)

Hi Experts,
While creating notification in QM01 I am moving data from Production location to Rjejection location,Sothat It generated Document and stored in MSEG. But How can I get particular notification document number from MSEG.
Is there any link between QMFE and MSEG.
Even I have tried NREL_GET_NEIGHBOURHOOD function module to get MBLNR but it is not giving required document number.
These are the values I am passing to FM.
  L_BORIDENT-OBJKEY   = qmnum.  "Objektschlüssel
  L_BORIDENT-OBJTYPE  = 'BUS2078'.      "Objekttyp
  L_BORIDENT-LOGSYS   =  L_SYSID.       "Logisches Sys
Please the problem is critical.

Hi Saravanan,
Check if this helps you .
Get QUNUM from QMFE table. Then go to QMEL table and enter the qunum and check the output record. This record will have MBLNR in this table. Now use this MBLNR in MSEG to get further details.
Regards,
Swarna Munukoti

Similar Messages

  • Link Between delivery and material document

    Dear All,
    how do we link between delivery document,
    and between delivery document and accounting document,
    with regards
    Mohammed Raees

    Hi there,
    Material doc is the PGI document which is created whenever there is material movement either GR or GI. In VL02N --> document flow, select the GD goods issue & click on display document. It will take you to the material doc. There is a field called material slip in that. The value stored in material display is the delivery num. That is how you link the delivery & material doc.
    From the material doc if you click on accounting docs, it will give you the A/c document num & the costing doc num (if available).
    From the material doc, select the item & click on details from ityem, it will give you the GL account for which the GI is posted.
    Regards,
    Sivanand

  • Link Between Service Notification and Sales Order

    Hi All,
    In our business process, we will create sales order from Service Notification and we can see the same in the Document flow. But when i check in the VBFA table, there are no entries. I would like to know how the document flow is updated without updating the VBFA Table or is there any other table gets updated for this flow.
    Please guide me.
    With Regards
    Vinu.N

    Hello Vinu
    For one Sales Order # figures in Notification header table- VIQMEL-VBELN.
    Similarly Notification # figures in Sales Order Header table- VBAK-QMNUM
    That is a solid link right there.
    I Also guess technical objects like Equipment, Serial number also form link between the Sales and Service Documents.
    Also check out the logic in document flow program RIBELF20, may be it will give you the clues to the problem.
    Hope this helps.

  • Link between 216 and 261 document

    Dear Gurus,
    I want to know link between Goods issue document and corresponding 262 document. How can i Link if the Reversal is done in MIGO with movement type 262 ( not canceling Document )
    Material A
    A   261   10 Qty
    A   261    5  Qty
    A   262    5 Qty
    A   261   10 QTy
    I want to link 261 material doc with corresponding 262 material doc .
    Rebert back if anyhow i can know which is reversed against which
    Pupose of this is for some user exit on MIGO
    Regards,
    Ishwar

    Hi there,
    Material doc is the PGI document which is created whenever there is material movement either GR or GI. In VL02N --> document flow, select the GD goods issue & click on display document. It will take you to the material doc. There is a field called material slip in that. The value stored in material display is the delivery num. That is how you link the delivery & material doc.
    From the material doc if you click on accounting docs, it will give you the A/c document num & the costing doc num (if available).
    From the material doc, select the item & click on details from ityem, it will give you the GL account for which the GI is posted.
    Regards,
    Sivanand

  • Is there any link between movement types and documents

    hi
    is there any link between sales doc and movement types ?
    is it the only source dependig on schedule line movement type will determined?
    if with out order we are doing delivery how system will determine movement type
    Thanks in advance

    Hi,
    Deliveries that are created without reference to order , contained movement type because to process a delivery you need to have some of the control criteria that are copied from sales document header to delivery document header, as system processes delivery in that way ,that is why you will find default order type is assigned to the delivery document type ie DL. .which helps the delivery document to process without reference to sales document.
    In Addition to above information,
    In VOV4,
    DL+ NORM +   +    -DLN
    In VOV5,
    For Itemcatagory DLN+        --CN
    From this schedule line category CN,movement type 601 is taken during without reference to order –delivery creation.
    MCM

  • Performance issue while selecting material documents MKPF & MSEG

    Hello,
    I'm facing performance issues in production while selecting Material documents for Sales order and item based on the Sales order Stock.
    Here is the query :
    I'm first selecting data from ebew table which is the Sales order Stock table then this query.
        IF ibew[] IS NOT INITIAL AND ignore_material_documents IS INITIAL.
    *     Select the Material documents created for the the sales orders.
          SELECT mkpf~mblnr mkpf~budat
                 mseg~matnr mseg~mat_kdauf mseg~mat_kdpos mseg~shkzg
                 mseg~dmbtr mseg~menge
           INTO  CORRESPONDING FIELDS OF TABLE i_mseg
           FROM  mkpf INNER JOIN mseg
           ON    mkpf~mandt = mseg~mandt
           AND   mkpf~mblnr = mseg~mblnr
           AND   mkpf~mjahr = mseg~mjahr
           FOR   ALL entries IN ibew
           WHERE mseg~matnr      = ibew-matnr
           AND   mseg~werks         = ibew-bwkey
           AND   mseg~mat_kdauf   = ibew-vbeln
           AND   mseg~mat_kdpos  = ibew-posnr.
          SORT i_mseg BY mat_kdauf ASCENDING
                         mat_kdpos ASCENDING
                         budat     DESCENDING.
        ENDIF.
    I need to select the material documents because the end users want to see the stock as on certain date for the sales orders and only material document lines can give this information. Also EBEW table gives Stock only for current date.
    For Example :
    If the report was run for Stock date 30th Sept 2008, but  on the 5th Oct 2008, then I need to consider the goods movements after 30th Sept and add if stock was issued or subtract if stock was added.
    I know there is an Index MSEG~M in database system on mseg, however I don't know the Storage location LGORT and Movement types BWART that should be considered, so I tried to use all the Storage locations and Movement types available in the system, but this caused the query to run even slower than before.
    I could create an index for the fields mentioned in where clause , but it would be an overhead anyways.
    Your help will be appreciated. Thanks in advance
    regards,
    Advait

    Hi Thomas,
    Thanks for your reply. the performance of the query has significantly improved than before after switching the join from mseg join mkpf.
    Actually, I even tried without join and looped using field symbols ,this is working slightly faster than the switched join.
    Here are the result ,  tried with 371 records as our sandbox doesn't have too many entries unfortunately ,
    Results before switching the join  146036 microseconds
    Results after swithing the join        38029 microseconds
    Results w/o join                           28068 microseconds for selection and 5725 microseconds for looping
    Thanks again.
    regards,
    Advait

  • Link between Purchase Orders - Sales Documents

    Hi all,
    How can I find the link between a Purchase Order and a Delivery? I searched in table VBFA (Sales Document Flow) but I can't find anything. When I look into this table I only can see WMS Transfers Order and Shipment numbers. Does anybody have a clue where I can find the link?
    Thx in advance!
    Carl

    Hi
    in <b>EKKN</b> table you have sales order and Item fields (VBELN and POSNR)
    using these fields search for the deliveries in LIPS table
    EKKN-VBELN = LIPS-VGBEL and
    EKKN-POSNR = LIPS-VGPOS
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Link between 313 and 315 documents

    I am using two step transfer for stor. loc to stor loc transfer by 313 (Transfer posting - Others) to move stock from Supplying stor loc to In transfer. And then, with respect to document no. of 313, place in storage by movement type 315.
    But there is no link between document nos. of 313 and 315. So it's not possbile to get report of the same.
    Kindly resolve this issue asap.

    Hi,
    There is no std. link or any configuration, you can look for round the solution with your ABAPer.
    Kapil

  • Link between billing and accounting documents

    Hi Friends,
    After creating the billing document, automatically acctg document will generate.
    How the acconting document is generating?
    Where we give the link between these number ranges?
    help me
    Thanks in advance

    Hi Raja,
    In SAP as soon as you run the billing transaction accounting document is generated along with billing creation. In transaction VKOA (FI-SD Integration) you determine the revenue GL account created in FI with the help of "AcctDetermProc." which is usually KOFI00. In this procedure there is a condition type of KOFI for revenue account. And this "AcctDetermProc."  KOFI00 is mapped in the Billing Document Type in
    transaction VOFA. under account assignment/pricing tab.
    And number range for the billing document type is maintained in VN01. Both FI number range and SD number ranges have same interval. so that both billing document and accounting document receive same number.
    Moreover, there is an "Account Key" for the revenue account aligned to condition type KOFI and same account key is mapped to the pricing procedure in order to maintain the stability.
    might help you......................................

  • Broken Link between Base and Target document in 'Copy To' option

    Hi Folks,
    One of our client has been facing a peculiar issue. When the 'Copy To'  function is used to Copy document from Sales Order to Delivery and recently one instance of 'Copy To' from Delivery to A/R Invoice ,the base document got copied to the target document in each case but there was no trace of any Base Ref. left in the Target document( either in row level or Remarks), thereby the link between the Base and Target document got broken.The Base document remains with status as open.The same base document when tried again to 'Copy To', it creates the link between Base and new Target document.
    This instance had occurred recently 3- 4 times in a span of 3 months or so. In normal circumstance this never happens. The client is pretty sure they have used 'Copy To' option to copy the document from Base to Target.
    Any hints or possible reasons if one can highlight would be appreciable.
    The current version used is SAP B1 8.82 PL11 and it was upgraded more than a year back.
    Regards,
    Bharath

    Hi,
    All the data in Sales Order and Delivery are matching one to one in terms of row details,
    and Document header level.
    The missing data was Base Ref. data and Del.Date didn't get copied from base to target as shown in screen shot.
    Also i have checked it earlier regarding change of target document row details like changing item, but this will only remove the link of that particular row and remaining row link remains intact, but in this case there are many items and it doesn't seem user will have changed in all the rows.
    Regards,
    Bharath

  • Linking Between Pages in a document

    Is it possible to link a page in a document to another page using hyperlink in Pages?
    For example, if you have a 50 page document and you are on page 30, can u make a link so that if you press on it, it goes page 23?
    Thanks for helping me out.

    Hi Batman,
    Pages09 User Guide on Page 111:
    Linking to Other Pages in a Document.
    You can download the User Guide from the Help menu in Pages. Well worth a read.
    Regards,
    Ian.

  • Links between two separate PDF documents - one as reference for another.

    Hello, everyone.
    I have a special project that I believe would be best addressed with the creation of two independent but linked PDF files. Let me be more detailed.
    My plan is to create a PDF file as a text document. In this text document there will be numerous references to documents and articles that I intend to place in a second PDF file. I would like the user to be able to open the text document PDF on the left side of his computer screen and also open the reference PDF with documents and articles on the right side of his computer screen. Every time the user comes across a section of the document that offers a link to an external reference the user would be able to click on it and the PDF on right would display the page corresponding to the reference on the PDF on the left. I hope this makes sense.
    Is it possible to create PDFs with this type of relationship ? I am guessing that in order for these links to work both PDFs will have to reside in the same directory so that the links (relative links in this case) may work properly. Is this true ? How can I make this work and is there a good document I can read or tutorial I can watch that would describe this in detail ?
    Thanks in advance for your help.

    Hello, try67.
    Considering what you share I don't think this solution is the right one for me. I am trying to find a simple solution that would allow me to accomplish this task. Considering it would require scripting or programming the solution has just become more complex than what I feel I can comfortably handle.
    Thank you anyway for your help.

  • Link between IDOC and Accounting Document Number?

    Good afternoon-
    The problem I am trying to solve is: For a given accounting document (BKPF-BELNR, BKPF-BUKRS, BKPF-GJAHR), I'd like to know whether it was manually entered into SAP or whether it came in via electronic means such as an IDOC.
    I know that I can query the EDIDS table that the fields STAPA1, STAPA2, and STAPA3 will contain my accounting document key, but this query is very inefficient and I'd like to avoid creating a custom index to make it faster.
    Does anyone have an alternate solution to finding this link? Any feedback would be appreciated. It can be a query, a function, or a report that I can look at to use as an example.
    Regards,
    Andy

    Check BKPF-AWTYP, if document created with Idoc we can see 'IBKPF' in BKPF-AWTYP. I am not sure its standard / project dependent, but i see the same in most of the projects.
    I hope - As some one mentioned in above, you cann check user id 'Created By' also, but it may be changed any time so you can hardcode in the program.
    Thanks
    Satyasuresh Donepudi

  • Not getting the Link between GEIL and material type: procured  material not

    Hi Friends,
    Some material corresponding to certain G/L Account numbers are not appearing. From Fagll03 I can check the G/L Account number, but how shall be able to get the corresponding table field which holds the material or to check whether that G/L Account number has been properly linked to the material.
    Please suggest what to do. Is this a problem of programming ? or ...
    Thanks,
    Saheli

    Hi Saheli,
    Link b/n GL accounts and Material is in this way.
    Material is created based on material type and material type is connected to Valuation class via Account category reference.
    Now that for each valuation class corresponding GL accounts are defined in customizing.
    you can check the same in Tcode# OBYC.
    To check the posting to Inventory account during GR, select BSX (Inventory posting) and check whether the corresponding valuation class has got the assignment with GL accounts or not.
    Hope this help you out.
    BR,
    Krishna

  • Link between CE1NROC and FI documents

    Hello,
    I am working on one object in which I am selecting records from CE1NROC table based on some selection criteria and posting these records using FB01 transaction.
    The requirement is - There should not be any duplicate posting for the Sales Order + COPA Doc.
    Is there any way to check this ?
    Please suggest.
    Thanks.

    http://www.sap-img.com/sap-fi.htm
    Check if this link is of some help.

Maybe you are looking for

  • Setting the cookies value

    hi, when i do, submiting the page i'm able to set the cookie value.I'm not getting any messages. But the Same time when i call the proceudre with parameters from the URL i'm not able to store the cookie value. It display's the message like this and t

  • Installer Disc Could Not Be Found - XP Performance

    I'm trying to burn a copy of XP Performance on to my mac. I know for a fact that it works, so that's not really an issue. I used disc utility to make the .iso a disc image, burned the disc image, and it won't work. Restarted the comp with the disc in

  • Huge problems using external iSight or DV video camera on my MPB DCD...

    Ok, so I am developing some applications that make use of a video camera for motion tracking, and I have run into a huge problem when trying to use any external video camera. I have both an external iSight in great working order (I have tested it on

  • Bpm Studio configure problem with ubuntu( Linux)

    Hi, I have download the oracle bpm 10 g r3 form the oracle site its work fine but when i am try to make Presentation in our project Its give some error like. Error Typing to open browser please check installation guide to see if your environment is c

  • Attach 2 of the same movieclips at once

    is it possible to attach the same movieclip twice? for example i have two buttons and both attack Main_Page however when i test the flash and error reads "Duplicate function definition" is there a way of attaching the same movieclip more than once? i