Problem in MB_MIGO_BADI, Reference Document No.(MSEG-LFBNR) field is blank

Hi All,
I have implemented the MB_MIGO_BADI. At the time of Goods Receipt a Custom tab is triggering only for a set of vendors as per my requirement. The problem is, in the Item level Ref. Docu field(MSEG-LFBNR) is blank when ever it's triggers my custom tab. But in the normal scenario Ref Docu field contains the Material Document No. at the time of Goods Receipt and at the time of Cancel it will have canceled material document no.
Please let me know what is the cos of this..
Regards,
Pavan.M

Hi,
Did you check in method LINE_MODIFY .....are you able to see there
Thanks,
Shailaja Ainala.

Similar Messages

  • Problem with Assign reference document.

    Hi all,
    I defined transaction input parameter type Xml.
    I used Reference Document Loader to load document (structure.xml) below.
    <?xml version="1.0" encoding="UTF-8"?>
    <SO_VALIDATION>
        <L4_SO_ID/>
        <L4_SOI_NO/>
        <PPC_STATUS/>
        <PPC_INFO/>
    </SO_VALIDATION>
    I used menu command Assign Reference Document, to assign above document to transaction input.
    I tryed to use this transaction in vs.net application as a web service.
    But there is no xml structure in InputParams in web service.
    I tryed alot but i did not achieve.
    What must i do?
    Thanks.

    cml_bzl,
    I'm using version 12.04 and I have not had any problems with assigning reference documents and using .NET.
    You should not have to do anyting special to get the transaction inputs to show up in .Net. To map the output I do the following:
    1. Create an output transaction variable and assign it's type as XML
    2. Using a XML document block to create and XML document for your output transaction variable
    3. Assign the XML document as the reference for the output transaction variable.
    THis works for me every time. If you change the transaction parameters, make sure you update the web service form the .NET side.
    Glenn

  • Reference document in MSEG table for MBLNR

    Dear All,
    I am able to find reference doc no (SMBLN) and its item number (SMBLP) against the material doc number (MBLNR) in MSEG when I reverse the Goods receipt of a material PO,. In a service PO while I do service entry Sheet in Background a GRN is created but for some reason if I revoke my acceptance and save, a material document number with movement type 102 is generated but I am unable to see the updation as mentioned earlier for material PO in MSEG table,if not in MSEG table where shall find the same
    Thanks in advance
    Regads
    Vijikantha

    You will find the cancelled doc in MSEG, if You pass the service entry number in LFBNR and 102 in movement type. (You can also avoid hardcoding movement type by use of Debit/Credit Indicator. For a GR cancellation it will be 'H').
    You can also find the same in EKBE, if you pass the PO and item in EBELN and EBELP respectively, '1' in VGABE, the service entry sheet in LFBNR and 'H' in SHKZG.
    Rgds,
    Birendra

  • Reference document LFBNR

    hi all
    I want to activate the field reference document (LFBNR) in MIGO screen.....
    In EKBE table in few cases this value is coming for 105 document number and in few cases it is not coming.
    Is this field is linked with vendor account group setting???
    Regards
    SAP MM

    u willnot find LFBNR for all movement types.
    u will find it fpr movement types like 122 etc.
    but if u need in some specific movement types then pls follow:
    spro-mm-inventory management and physical inventory--settings for enjoy tranaction-settings for goods movementsfield selection per movement typechoose new entries-give the movement type,field name and choose required/optional entry and save.
    regards,
    indranil

  • Reference Document LFBNR in MIGO

    Hi all,
    Question.
    When i enter materials with transaction MIGO the field "Reference Document" is completed with the some number of the material document but it some cases is not working like this.
    The thing is that i´m using the same plant, storage location and movement type (101).
    Anyone know why ???
    Thanks !

    Hi Dalmiro,
    This is controlled by SPRO settings.
    SPRO - MM - Inventory Management & Physical Inventory - Settings for Enjoy Transaction - Settings for Transactions and Reference Documents.
    Regards,
    Ramesh

  • Reference document number of 103 movement not seen in 105 movement documnt

    Dear all,
    I have made a material document with movement type 105 with reference to 103 document.
    After creation, the field LFBNR in the 105 document is not updated with the 103 document number.
    In all other cases the document number of 103 movements are updated in the the field of 105 document.
    Can anybody can share me if you have any information about this scenario and what would be the solution.
    Thanks....
    Hari.

    Hi Murugan,
    I am giving you more clarification.
    I have created a Good Receipt through MIGO using 103 movement.     Later I have created 105 movement with respect to 103 movement reference through release blocked stock.
    After creation of documents, when checked the document created through 105 movement there is no reference number of 103 document number found in the document number of 105 movement.
    In the table MSEG  field LFBNR is supposed to get updated with the reference number of the document created through 103 movement.
    In this case, this reference number is not updated in the table MSEG-LFBNR.
    My question is that how the document with 105 movement get posted without the reference of document of 103 movement and what would be the reason.
    Hope the question is clear.
    Awaiting for your replies.
    Thanksss....Hari.
    Edited by: Harikrishnan_sap on Nov 13, 2009 2:02 AM

  • Free item reference document number not populated in MIGO item screen

    Hi
    I have a requirement where in I would need to populate the reference document number in the MIGO item when I am cancelling a goods receipt in case of free items.
    In standard SAP system we know that it would only be populated when GRbased IV is ticked in PO but in free item PO this is not ticked . So was enquiring if any body knows how we could populate the reference document number at GR cancellation in MIGO item level for free items .

    Hi,
    If you mean the field MSEG-SMBLN, then it is always populated at cancellation, no matter the GR-based IV flag.
    BR
    Raf

  • Reference Documents not display in MIGO

    In some MIGO Documents Numbers the Reference Document (LFBNR) has not been display but its picks from the sap itself.
    I have made the MIGO & MIRO ACCOUNTING DOCUMENTS REPORT in which i pick the data from EKBE. I used the following feilds:-
    EKBE (LFBNR)
    EKBE (LFGJA)
    But for some MIGO documents in which the reference document is not been display has not update the values in this field so anybody tel me why its not updated??
    Thanks,
    Sumit.

    Hi Sumit ,
    EKBE-LFBNR will be updated only if any reversal documents are created .
    regards
    Prabhu

  • Item 000002 is not copied from the reference document

    Dear All,
    I am facing a typical problem while creating Price difference sales order w.r.t. invoice.
    Document types in the system are -
    Z2FC - Normal Sales order type, ZPD - Price change order type, Z2FB - Normal invoice type
    My item category determination is -
    Doc. type -  Itm cat. gp.  -  Usage - Hghr itm cat - Default itm cat. - Manual itm. cat.
    ZPD         -   NORM         -  blank   - blank           -  G2N                  - L2N
    ZPD         -   NORM         -  blank   - G2N            -  G2N                  - L2N
    Z2FC       -   NORM         -  blank   - Blank           - TAN                  - TAP
    Z2FC       -   NORM         -  blank   - TAN            - TANN                - TAN
    Copy control is -
    Z2FB to ZPD for item category TAN with proposed item categories are G2N and L2N.
    Z2FB to ZPD for item category TANN u2013 requirement 302 [Do not copy item]
    During my Z2FC sales order creation I was having line items as follows
    Item no. -  Mat. code     -  Qty -      Higher level item - Item category - Amount
    10         -  101329          -  3     -      blank                 - TAN                - 35,000.00
    20         -  MC091234    -  3     -      10                      - TANN             - 0
    30         -  MC091234    -  1     -      10                      - TAN                - 5000
    We are not using the sales BOM. I need to provide line 20 free to the customer. Hence I have manually maintained 10 in the higher level item column for the line item 20. The item category determined was TAN. Then I had changed it to TANN manually. So the amount became zero. Line 20 became the child and line 10 became parent.
    At the same time customer also wishes to buy the material code MC091234. Now the material code MC091234 is of HALB type where as the material code 101329 is of FERT type. There is validation in the system that only FERT type of material could be sold and HALB type of material could be supplied as free. [With item category TANN]. In case HALB type material is also required to be sold then I need to manually maintained value in the higher level item. So I had maintained the value 10 in the higher level item column for the line item 30. The default item category determined is TAN. The invoice is also created properly. [Z2FB type]
    But when I am creating the invoice correction document type ZPD w.r.t. Z2FB type invoice, I am able to get the two line items for the material code 101329 in line item 10. One each for G2N and L2N item category.
    But for the material code MC091234 in line item 30, I get only one line item with item category G2N. I did not get another line item for the material code MC091234 for the corresponding L2N type item category
    At the same time following messages are displayed
    Message no. V1475 Item category for item 000002 cannot be determined and
    Message no. V1476 Item 000002 is not copied from the reference document
    Please help.
    Thanks in advance
    Piyush Ranpura

    Dear All,
    Any help???
    Yet my issue is unresolved.
    Thanks & Regards
    Piyush Ranpura

  • MIRO - Vendor not changed after change Reference Document Category option

    Hi,
    When are doing MIRO, under PO referance tab --> Reference Document Category --> select Purchase order / Schedulling Agreement option and enter PO number there, then it's line item shows. Other thing is that Vendor of that PO (XYZ) should show in the screen.
    My problem is that when we are changing the Purchase order / Schedulling Agreement option to Delivery Note, the vendor remains same...means same as PO Vendor (XYZ).
    Note: - Same problem in the changing the Delivery Note option to Purchase order / Schedulling Agreement.
    please help...
    Regards...

    We are using ECC 6.0 and we have this functionality.
    I want to clear you that this is happening is some cases not in all.. Most of the cases, it automatically changed the Vendor data...
    plz. tell now...
    Edited by: @ABAP@ on Aug 27, 2009 4:18 PM

  • Unable to trace out the Reference Document number in commitment line item.

    Dear All,
          Kindly help me in bellow problem
    When I click the reference document no. in the line item wise display the commitment in t-code S_ALR_87013558 at that time the system open the display PR screen and the massage is displayed in the below, the Purchase document does not exist.
    Due to this reason the price capture in commitment line item is not traceable and I am not able to delete the commitment line item.
    Kindly suggest how to trace out the reference document number and delete it and release the commitment price.
    Thanks,
    Asu.

    >
    Asutosh Mahapatra wrote:
    > Dear All,
    >
    >       Kindly help me in bellow problem
    >
    >
    > When I click the reference document no. in the line item wise display the commitment in t-code S_ALR_87013558 at that time the system open the display PR screen and the massage is displayed in the below, the Purchase document does not exist.
    >
    > Due to this reason the price capture in commitment line item is not traceable and I am not able to delete the commitment line item.
    >
    > Kindly suggest how to trace out the reference document number and delete it and release the commitment price.
    >
    > Thanks,
    > Asu.
    Can you explain what is your requirement..?
    Do you want to correct the data in the report..?
    Or  it is effecting your availability control and you want to correct it..?
    Or you want to trace a deleted document..? Which is not possible...

  • Reference document no and automatic clearing

    Dear All,
    The desired clearing variant of my client is Current invoice + FIFO
    So lets say i have 3 open invoices in customers account as follows :
    Due date 22 June 2010 Amount 1000
    Due date 22 July 2010 Amount 2000
    Due date 22 August 2010 Amount 1500
    Then a payment of 2000 should clear the 22 Aug invoice by 1500 and 500 of the 22 June invoice
    To achieve this My client is invoicing customers with the billing document number as the 'reference document' no. When we recieve payments(from check lot) the payments have the reference document no of the invoice against which the payment was made(which is usually the current invoice). When payments are processed   by payment lot, it clears the current invoice since it finds a matching ref doc. However, it posts a credit open for the remaining amount(500 in this case) since the ref doc of payment is different from the ref doc of any open item left. Can we prevent this? Can the system ignore the ref doc and clear items as per the clearing variant?
    One solution was to use automatic clearing to clear remaining amount. However, one big problem with automatic clearing is that if you group open items by any characteristic then clearing variant treats the credit open as a separate group. So it makes different groups of credit open and of open invoices and since it cant find both of these in any single group therefore no clearing takes place.
    If this question seems too complicated then please feel free to ask details. Your help would be highly appreciated
    Regards,
    Adil Kapadia

    Dear evolderen and Amlan,
    Thanks for your reponses.
    Now the problem is that if i put reference number in the payment then payment lot would only select those open item for clearing which have the same ref doc as the payment. So what will happen is that it will only clear the current invoice. It DOES NOT go to step 2 of clearing variant. It simply leaves a credit open.
    What i would like is that the clearing variant goes to step 2 and clears items on a due date basis even if the ref doc of these open invoices do not match the ref doc of the payment
    I hope i conveyed the problem properly
    Regards,
    Adil Kapadia

  • Format of reference document number is invalid  Message no. 8A556

    Dear Expert,
    I have problem while executing transaction Manual Posting incoming invoice with t-code FB60. The error message shown as written above "Format of reference document number is invalid  Message no. 8A556"
    I have check the customizing on document type and number range, they are all standard SAP, nothing strange as far my concern.
    Could any one give any idea on this problem.
    Thanks in advance
    Irhasni

    Dear Experts,
    I have tried to investigate this problem but still have no solution for doc. type KR (Posting vendor invoice)
    During investigation on this problem, I did a simulation posting using document type other than KR (assign manually) either by t-cod FB60 or F-02 or F-43, I chose doc. type KA and SA, there is no error when using this doc type, it create Accounting document and Tax line item also appear.
    From the simulation I did with this problem, the  problem seems on Document type KR (default doc. type for Vendor Invoice). I suspect, it might some setting at other modul likely at MM that control the "Reference" field during document entry...  eventhough this field is not set as mandatory at OBA7, it's still saying the same error message.
    Is there anyone have any ideas about problem in document type KR?
    Thanks in advance
    Irhasni

  • Confusion in the reference document in QM03

    Hello,
    I have a Quality Notification the status is NOCO complete and deletion flag is set, with this QN in the reference document. the user had indicated a Purchase order with material document in place. and also they also add Inspection Lot. when i check the inspection lot it has no UD code as of far but reviewing its material document it is different with the same reference purchase order material document in this QN. with two different material document inclosed as reference with this QN can this be a factor why i cannot post the stock amount in this QN which is in QI stock in MMBE to Unrestricted use? how can i will resolve this?
    Guys any solution for this? need help badly.
    I must rephrase my problem, have question what is the function of the Reference document portion in QM01?
    please.
    Thank you
    Ryan
    Edited by: Ryan Lazaro on Jul 31, 2008 8:23 AM
    Edited by: Ryan Lazaro on Jul 31, 2008 10:02 AM
    Edited by: Ryan Lazaro on Aug 1, 2008 5:17 AM

    Dear Ryan lazaro,
    Go to QM02
    1] In the Menu Notification>Function>Deletion Flag>Deslect and save
    Then you see the status Notification in Process.
    2] Reference Notification is only for your reference while creating notification.
    Ex: If youwant to create Q2 Notification, you can put the same type of notification number and you can copy the fields where you can save the time.
    If Inspection Lot is mentioned in the notification with reference notification means it has not created automatically.
    If RR carried means, you have to process the Notification.
    then do the UD.
    Regards
    Hanamanta

  • No link / reference document / between FI and JV documents

    Hi,
    I am uploading bank statements using transaction ff_5.
    After upload all postings are done, but for some documents there is no 'link' / reference document / . I've checked table JVSO1 and the field reference number is blank.
    Can you give an idea what could be the problem ?
    Thanks,
    Stefan
    Edited by: Stefan Kolev on Nov 28, 2011 5:45 PM

    Hi Ricky,
    BSEG-BELNR = COBK-REFBN
    Regards,
    Santosh

Maybe you are looking for