Duplicate delivery note in MIGO to be restricted

Hi,
In case we enter the duplicate delivery note from the same vendor in the same physical/financial year, should get error/warning message.
Please suggest.
Thanks in advance,
njs

Hi
Use MBCF0002 Customer function exit: Segment text in material doc. item
EXIT_SAPMM07M_001  to give ur coding for duplicate delivery note entry and chk.
Field name  i_mkpf-xblnr for delivery note number
Reg
Raja

Similar Messages

  • User exit for Delivery note in MIGO transaction

    hi friends,
    Basically i am MM Functional ,so please guide me how worte user exit in SAP system . if any body face this same issue pls put progrmme and where it placed
    In case we enter the duplicate delivery note from the same vendor in the same physical/financial year, should get error/warning message
    In MIGO delivery note not accpeted repeted DC numbers
    Use MBCF0002 Customer function exit: Segment text in material doc. item
    EXIT_SAPMM07M_001 to give ur coding for duplicate delivery note entry and chk.
    Field name i_mkpf-xblnr for delivery note number

    >
    sivasankar cherukuri wrote:
    > hi friends,
    >
    > Basically i am MM Functional ,so please guide me how worte user exit in SAP system . if any body face this same issue pls put progrmme and where it placed
    >
    > In case we enter the duplicate delivery note from the same vendor in the same physical/financial year, should get error/warning message
    >
    > In MIGO delivery note not accpeted repeted DC numbers
    >
    > Use MBCF0002 Customer function exit: Segment text in material doc. item
    >
    > EXIT_SAPMM07M_001 to give ur coding for duplicate delivery note entry and chk.
    >
    > Field name i_mkpf-xblnr for delivery note number
    Go to TCode CMOD and select an existing project / create a new project.
    Select enhancement assignment and give the name EXIT_SAPMM07M_001
    Save the change.
    Then enter again and double click on the name provided above. Inside there will be an INCLUDE ZX*****
    Double click on that include, the system will ask to create a program. Accept it.
    Now you have the open field to make your validation.
    Regards,
    Aroop

  • Need BAPI for uploading "Qty in Delivery Note" in MIGO

    Hi All,
    Please find the details of my requirement as below :
    Goto T-code MIGO and select goods receipt for a PO , here under material Item tab there is a field as "Qty in Delivery Note" under Quantity tab.
    I need to update this field using my BAPI. Is there is any FM , RFC for getting this output.
    Right now i am using BAPI  BAPI_GOODSMVT_CREATE, please let me know if any field of this BAPI can be used for thid purpose.
    Thanks,
    Mahesh.Gattu
    9900380302

    It is been done by implementing one implicit enhancement in FM: MAP2I_B2017_GM_ITEM_TO_IMSEG
    I have added the below functionality at the end of the function module.
    Just i have maped the ERFMG i.e ent_qnt(Received quanity) with LSMNG i.e qty.in del note
    All best for others.
    $$-Start: (1)----
    $$
    ENHANCEMENT 1  Z_EV_IMP_GOODSMOVEMENT.    "active version
    Populate the delivery note quantity and UoM
    IF IMSEG-ERFMG IS NOT INITIAL.
      MOVE IMSEG-ERFMG TO IMSEG-LSMNG.
      MOVE IMSEG-ERFME TO IMSEG-LSMEH.
    ENDIF.
    ENDENHANCEMENT.
    Thanks,
    Mahesh.Gattu
    Edited by: Maheshkumar gattu on Dec 3, 2010 4:35 PM

  • Check for Duplication of Delivery Note in MIGO

    Hi Gurus,
    We are working on ECC 6.0. My client's requirement is that Delivery Note field in MIGO -> General tab should be mandetory, that we have done.
    Now they want system to check that the same Delivery Note No.  should not be accepted by system for same vendor and system should give a message as we get message in Excise Invoice Tab ( if we enter same excise invoice no twice for same vendor) .
    Is there vany user exit / badi or any other way to do this ?
    Your kind guidance is highly apprciated.
    Thanks in advance.
    Vikas

    MBCF0002
    this can be the user exit but u can check with the abap
    and ask him to code for u to check delivery number per vendor
    But if u put this condition in miog and check MKPF and MSEG table then ur system performance will go down in long run as this table are big sap tables
    so u can think of creating a ztable so that in user exit u can code so that vendor delivery number and year will be stored after saving the migo
    and in other user exit which will triger first than this will check in this ztable
    this will increase the performance
    Reward if useful

  • MIGO Material document created should be passed to delivery note of migo

    Hi all,
             Please help me in the issue. I need to pass the Good reciept  number created from MIGO to be populated to the delivery note of the same MIGO transaction . how can i acheive this
    Thanks in advance

    hi,
    We may not achieve at the same time but we can use ..
    use the BADI "MB_MIGO_ITEM_BADI". and method ITEM_MODIFY .. while doing MIGO only copy the Good reciept number to the
    delivery note ....Please see the strcutures GOITEM and GOHEAD.
    Regards,
    Nagaraj

  • Customize delivery note during MIGO mov. type 541

    Hi, everyone.
    Pls. I need help because during MIGO mov. type 541, I need to print the delivery note just to accompany the materials.
    I can create/save the material doc. correctly, but when I save I have to customize the printout of delivery note.
    Thanks for tell me the step by step.
    Regards.

    Hi,
    Following are the general settings to take the printout of any materail document posted by MIGO:
    Go through these steps you can get the GRN Printout
    1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
    Enter the local printer where you want to print your Goods posting document
    2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
    3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for Goods Receipt/GI/Transfer Posting Documents
    Here for Particular mvt type 101,201,121,311,541 etcu2026 Maintain the Print item as 1--Material document printout
    5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the following--
    Select the particular Output type then goto Details
    a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Transmission medium is 1
    b. Print Parameter is 7
    6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Printer Determination by Plant/Str Loc, Maintain the Output device for all your Plants
    7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
    Now the settings are ready for Printing Material doc
    8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
    9. Now depending on the setting in 5a, the Matl doc is printed. If it is 3, you have to print it using MB90. If it is 4, it is printed immediately.

  • Edit Delivery Note in MIGO

    Dear all experts,
    I had posted Delivery Note Box in Migo with my note but i want to edit again in MB02, i can't do it.
    So, how can i do it?
    Please, give my you suggestion?
    Thank,
    Ratana, Cambodia

    Hi,
    it is not possible to change setting. You can only edit Header text and you can select your print indicator there  using MB02
    Regards
    Kailas Ugale

  • Delivery Note Number should not repeat again during MIGO

    Hi Friends,
    My client has a requirement to validate the Delivery note filed in the MIGO screen, i.e., the system should allow the user to enter a delivery note number once entered already during goods movement through MIGO. Is there any way that this can be done?
    Regards
    Guru Prasad

    Thanks for the reply Ganesh.
    Explaination of the requirement:
    During goods receipt the user is supposed to enter the delivery challan number of the vendor in the filed "Delivery Note" in MIGO header. If the user by mistake types the same delivery note number again while posting goods reciept for the same vendor in future, the system should throw an error. If there is any user exit or if it can be done through some development kindly suggest the procedure for the same.
    I also checked for the standard system messages, but couldn't find any.
    Rgds
    Guru Prasad

  • Update qty in delivery note through bapi for migo

    hi im using bapi for migo upload
    my requiremnt is to update QTY IN DELIVERY NOTE in migo.
    i got the folowing error if i dont pass the quantity.
    qty and/0r delivery indicator or final issue indicator missing
    if i pass the quantity field then it is changing quantity in unity of entity and qty in SKU i dnt want to change this field
    here is my code,
    gmcode-gm_code = '01'.
        ls_GOODSMVT_HEADER-pstng_date = tdate . "sy-datum.
        ls_GOODSMVT_HEADER-doc_date   = sy-datum.
        ls_GOODSMVT_HEADER-pr_uname   = sy-uname.
    loop at itab.
      ls_GOODSMVT_HEADER-REF_DOC_NO = itab-LFSNR.
      it_goodsmvt-move_type  = itab-BWART.
      it_goodsmvt-po_number  = itab-EBELN.
      it_goodsmvt-PO_ITEM  = '10'.
      it_goodsmvt-STGE_LOC  = itab-LGORT.
    it_goodsmvt-QUANTITY  = itab-LSMNG.
    it_goodsmvt-BASE_UOM = 'KG'.
    it_goodsmvt-material = 'RC1092'.
    it_goodsmvt-entry_qnt = itab-LSMNG.
    it_goodsmvt-ENTRY_UOM  = 'KG'.
      it_goodsmvt-mvt_ind = 'B'.
      it_goodsmvt-plant = 'G001'.
    it_goodsmvt-NO_MORE_GR = 'X'.
    append it_goodsmvt.
    clear it_goodsmvt.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        goodsmvt_header               = ls_GOODSMVT_HEADER
        goodsmvt_code                 = gmcode-gm_code
      TESTRUN                       = ' '
      GOODSMVT_REF_EWM              =
    IMPORTING
      GOODSMVT_HEADRET              =
       MATERIALDOCUMENT              =  lf_MATERIALDOCUMENT
       MATDOCUMENTYEAR               = lf_MATERIALDOCYEAR
      tables
        goodsmvt_item                 = it_goodsmvt
      GOODSMVT_SERIALNUMBER         =
        return                        = return
      GOODSMVT_SERV_PART_DATA       =
      EXTENSIONIN                   =
    if return-type ca 'EA'.
          rollback work.
          message id '26' type 'I' number '000'
          with return-message.
        else.
          call function 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          =
    IMPORTING
      RETURN        =
          wait up to 5 seconds.
        endif.
    select * fROM mseg
          INTO CORRESPONDING FIELDS OF TABLE IT_MSEG
                             where mblnr = lf_MATERIALDOCUMENT and
                                       MJAHR = lf_MATERIALDOCYEAR.
      LOOP AT IT_MSEG INTO WA_MSEG.
        IF WA_MSEG-LSMNG IS INITIAL.
          wa_mseg-lsmng = ITab-LSMNG.
          UPDATE MSEG from wa_mseg.
          commit work.
          wait up to 5 seconds.
        ENDIF.
      ENDLOOP.
    ENDLOOP.

    It is been done by implementing one implicit enhancement in FM: MAP2I_B2017_GM_ITEM_TO_IMSEG
    I have added the below functionality at the end of the function module.
    Just i have maped the ERFMG i.e ent_qnt(Received quanity) with LSMNG i.e qty.in del note
    All best for others.
    $$-Start: (1)----
    $$
    ENHANCEMENT 1  Z_EV_IMP_GOODSMOVEMENT.    "active version
    Populate the delivery note quantity and UoM
    IF IMSEG-ERFMG IS NOT INITIAL.
      MOVE IMSEG-ERFMG TO IMSEG-LSMNG.
      MOVE IMSEG-ERFME TO IMSEG-LSMEH.
    ENDIF.
    ENDENHANCEMENT.
    Thanks,
    Mahesh.Gattu
    Edited by: Maheshkumar gattu on Dec 3, 2010 4:35 PM

  • Different delivery note in Miro

    Dear all,
    I have three different delivery notes for a PO. I enter this delivery notes in Migo. Now I 'm looking  first delivery note   in Miro ,  I see total quantity that what we enter in Migo. But I want to see what I enter for  this delivery note . How can I see one by one delivery quantity in Miro ? Because I can't check    invoice and delivery .
    Thanks in advance.
    Best regards,

    Hi,
    In MIRO if you enter the PO number system will show all the Deliveries done with respect to PO means if you done deliveries with respect to PO then system will show three line items with quantity & amount on the MIRO screen.
    As you posted 3 deliveries for that PO then in MIRO check there will be 3 line items and also you can find 3 deleivery numbers on the screen.
    In MIRO you can also have a option to post the invoice with respect to Delivery note number. Exact qty and amount will be shown as per delivery note number in MIRO.
    rgds
    Chidanand

  • Delivery note wise planned delivery cost

    Hi Experts,
    Please let us know in MIRO we want to pass planned delivery cost bills delivery note wise.
    But while we choosing delivery note option the option to choose planned delivery cost is vanishing.
    Our main motto to get the planned delivery cost grn wise in MIRO, please suggest how that can be achieved.
    Regards

    hi thanks for reply I have found the solution that delivery note only take cares the value part of the material
    I have to use bill of lading to get the delivery cost at IR
    Is there any way or copy control that whatever is being entered in delivery note at MIGO should be copied to the bill of lading field, with a flexibility user can change if he wants
    rgds

  • Want "delivery note": table & Field

    Hi Friends,
          In which table we get the "DELIVERY NOTE" (TC: MIGO).
    Thanks & Regards,
    vallamuthu.M

    Hi,
    LIKP                           SD Document: Delivery Header Data
    LIPS                           SD document: Delivery: Item data
    S261                           SD - Delivery note
    regards,
    Sunil Kumar M

  • Duplicate GR Posting Control With Respect to MIGO Filed Delivery Note

    Hi Team,
    Is there any possiblity to check / control GR Posting with respect to the same PO and same delivery note reference.
    I have a PO 1000001 with line item 10 with qty 100. I did a MIGO with respect to this PO for 50 qty with delivery note ref DC-53.
    When i try to do MIGO with the same PO and same delivery note DC-53 for the balance 50 quantiy,
    System should intimate me as warning / error..
    How can we acheive this by standard  SAP.  If not possible by standard SAP wats the alternate.
    Vijay

    HI Vijay,
    It is possible to check warning / error message display of the MIGO bottom of the screen through ABAP delveloper with enhancement (Validation).
    After enhancement, MIGO posting is not allow to duplicate DC Ref.no. and also double entry of the same DC ref.no.
    Hope, it is useful for you.
    Regards,
    K.Rajendran.

  • Validate the delivery note i tcode MIGO

    Hi Experts,
    In MIGO Tcode  ---> Delivery Note is taking the same number at  any number of times  for the same Purchase Order .
    But Excise Invoice if u enter the same it will rise the error message .
    like that  i want to validate the Delivery Note , IF we enter second time it has to rise the error message .
    plz guide me on this.
    Regards,
    Hari.

    Hi,
      I think what you want to do is to restrict users fro entering the same delievry number multiple times, check exit MBCF0002 here in the importing parameter I_MKPF you should get the current delievery number using this you should be able to keep a check for the same.
    Regards,
    Himanshu

  • Validate delivery note number during MIGO

    Hi everyone,
    Pls. I need to validate the delivery note number during MIGO because I need to avoid duplicates entries.
    Thanks for help.

    for this you have to find the user exit through which you can validate the delivery note number, but in some scenario it is not feasible as some companies are sending the partial delivery under same delivery note number so if this is not the case then ask the ABAP to find a user exit through which you can validate the delivery note number.
    regards,
    qsm sap

Maybe you are looking for

  • I bought the app Dark Knight Rises and I can not download

    I bought the app Dark Knight Rises and I can not download, always gives error in the middle. Can someone help me

  • How to create Crystal Report?

    Hi All, I'm a new beginner to the world of ODT. I have created a project using VB 2008 and Oracle 10g using Oracle Dev Tools for .NET version 11.xx. Now, I want to create simple report from my Oracle Database using Crystal Report. Can any one show me

  • How do I use a Korean font in an English version of Indesign CS5*

    I have created an English brochure for a client, and the same brochure was translated into German. Now I am being asked for a Korean version. Can someone provide some guidance on how best to proceed in Adobe Indesign CS5? I gather that I use Apple Go

  • Microsoft Publisher to PDF?

    Publisher appears not ot be supported by Acrobat XI. Is there a fix? My old Acrobat 6 did this.

  • Traditional classful IP addressing?

    In classful addressing, class A networks would allow up to 16,777,214 hosts be attached to the network. In reality, how was this managed? This many hosts were attached to a single LAN? Was the traffic so light that this many hosts could be attached?