BADI for VL31N which has the Inbound Delivery Number as a parameter.

Hi,
I have a requirement that after creation of a new inbound delivery through VL31N the control should go to a custom screen. The new inbound delivery no. generated thru VL31N should be seen in this custom screen.
I am searching for a user exit or BADI for VL31N. This exit should have the Inbound delivery Number created through VL31N.
I tried many exits and BADIs. However, none of them have the Inbound Delivery No.
Please help.
Regards,
Jaya

The issue was resolved by the use of the BADI 'DELIVERY_PUBLISH'. Its method PUBLISH_AFTER_SAVE was used.
IF sy-tcode = 'VL31N' OR sy-tcode = 'VL32N'.
    DATA : v_tcode TYPE sy-tcode .
    FIELD-SYMBOLS: <i_del> TYPE likp.
    DATA: wa_likp TYPE likp,
                t_likp TYPE STANDARD TABLE OF likp.
    ASSIGN ('(SAPMV50A)LIKP') TO <i_del>.
    wa_likp =  <i_del> .
    SET PARAMETER ID 'VL' FIELD wa_likp-vbeln .
  ENDIF.

Similar Messages

  • User Exit or BADI for MIGO on entry of inbound delivery number

    Hi all,
    I want a user exit or BADI for MIGO, my requirement is that whenever a user enters an inbound delivery number and presses enter in MIGO the exit should get fired.
    Please help, if someone knows.
    Thanks and Regards,
    Mohammed.

    hi
    you can try out various BADI'S-
    MB_MIGO_BADI
    MB_MIGO_ITEM_BADI
    Helpful function modules:-
    MIGO_BADI_EXAMPLE
    MIGO_BADI_EXAMPLE_GET_DATA
    MIGO_BADI_EXAMPLE_GET_HEADER
    MIGO_BADI_EXAMPLE_PUT_DATA
    MIGO_BADI_EXAMPLE_PUT_HEADER
    MIGO_BADI_EXAMPLE_UPATE_DATA
    MIGO_BADI_EXAMPLE_UPDATE_HEAD
    I hope at least one of these helps.
    regards
    Aakash

  • Catch the inbound delivery number when VL31n is saved.

    Hello Friends,
    In order to get inbound delivery when VL31N is saved, i am using the BADI :
    DELIVERY_PUBLISH ...this is having 2 methods.
    1.PUBLISH_BEFORE_COMMIT ( having import parameter it_changed_data...this structure is having inbound delivery number)
    2.PUBLISH_AFTER_SAVE (no parameters)
    when i am saving ....i am able to get into <b>publish_after_save</b> ...how to get
    that number into PUBLISH_AFTER_SAVE ?
    With Ever Smile & Regards,
    Madhu!!

    I dont know about said BADI but i think you can use LE_SHP_DELIVERY_PROC which has documentation in EN also and there are several methods which can be used for delivery process.

  • FM or BAPI for (STATUS) PUTAWAY in the INBOUND DELIVERY

    Good Day.
    How can I change the status putaway in the inbound delivery using FM or BAPI?
    Thank You.

    This question wasnt answered

  • BADI for IW31 which has values of Plant,Fundcenter,cost center

    Hi,
    My requirement is that While running IW31,if the first four characters of Settlement Rule(Cost Center) and FundsCenter is not equal to Planning Plant then an error message should be raised . Can you suggest any appropriate BADI or User Exit for this?
    Path for Funds Center-->Go to>Assignment--->Funds Management
    Thanks
    K Srinivas

    Hi Srinivas,
       In order to find Badi or User Exit, you can put a STOP point at class CL_EXITHANDLER and in method GET_INSTANCE, CALL METHOD cl_exithandler=>get_class_name_by_interface and then you can execute the Tcode and then at every click it will stop in debugging & give the name of the Exit or Badi.
    Hope it Helps...
    Regards,
    Shailesh Jadhav

  • Call transaction 'VL33N' on click of Inbound delivery number  in ALV List.

    Hi,
    My ALV output is having Inbound delivery number.
    If user clicks on one of the Inbound delivery it has to call transaction VL33N and display the user selected document.
    Code:
    WHEN '&IC1'.
    IF rs_selfield-fieldname = 'VBELN'.
            READ TABLE gt_final INTO wa_final INDEX rs_selfield-tabindex.
            if wa_final-vbeln is not initial.
              FREE MEMORY ID 'VL'.
              SET PARAMETER ID 'VL' FIELD WA_FINAL-VBELN.
              CALL TRANSACTION 'VL33N' AND SKIP FIRST SCREEN.
            ENDIF.
          ENDIF.
    I am setting the parameter id 'VL' by passing Inbound Delivery number.After that it is calling VL33N Screen but the Inbound delivery number is blank.In debugging i can see the SAP memory for 'VL' as the selected document number.
    Why VL value is not  transferred to Inbound Delivery number field in VL33 Eventhough Parameter id having value.
    VL (10)  <0180000057>
    Thanks
    Bhuvana
    Edited by: Pulibhuvana on Nov 22, 2010 8:20 AM

    Hi,
    Removed Free statement.
          IF rs_selfield-fieldname = 'VBELN'.
            READ TABLE gt_final INTO wa_final INDEX rs_selfield-tabindex.
            if wa_final-vbeln is not initial.
              SET PARAMETER ID 'VL' FIELD rs_selfield-value.
              CALL TRANSACTION 'VL33N' AND SKIP FIRST SCREEN.
            ENDIF.
          ENDIF.
    In background VL is passing to VL03N Transaction instead of VL33N.
    Outbound delivery and Inbound Delivery both are assigned to same paramer id.
    Don't undestand if i'm calling VL33N Why the paramer value is passed to Outbound delivery transaction VL03N.
    Please suggest me.
    Thanks
    Bhuvana

  • I want Inbound Delivery number from Material document

    Hi,
    I wish to know where is the Inbound Delivery number (which SAP table) stored when we do a MIGO_GR against an Inbound Delivery ? I want to fetch the Inbound Delivery number from the Material document number.
    I observe, when we do a MIGO_GR against an Inbound Delivery; the original PO number (against which the Inbound Delivery was created) is stored in MSEG_EBELN. However, there is no trace of the Inbound Delivery number...neither in MKPF, nor in MSEG.
    Since a PO number- line item can have multiple Inbound Deliveries associated with it, having a PO number in MSEG is of no use to me.
    Please help.
    Thanks,
    Pranav

    Dear Pranav,
    I think you should check again, in MSEG, there's also PO -item with field name : MSEG-EBELP. So from PO and PO item , you can get all the Inbound delivery number.
    Regards,
    w1n

  • I cannot add a Wi-Fi guest network. Gone to Utilities Airport Utilities and all get is an image/browser of my Airport Extreme. Looking for the browser which has the title Wireless but cannot find anywhere. I need help?

    I cannot add a Wi-Fi guest network. Gone to Utilities>Airport Utilities and all I get is an image/browser of my Airport Extreme. Looking for the browser window which has the title Wireless but cannot find anywhere. What am I doing wrong?

    Open AirPort Utility. The first screen looks something like this:
    Click on the AirPort Extreme and another screen will appear. Click Edit, then the window with the Wireless tab will appear.
    If you do not see these screens, you will need to start over and configure your AirPort again.

  • Choose the Inbound delivery type for STO process

    Hey guys,
    I am struggling with this process.
    For STO process we are going to use SPED output type to create the Inbound delivery automatically after O/B delivery PGI.
    The thing is I do not want the I/B Delivery type to be EL. Cause we are using HUM. I want it to be HID.
    I can't find where in config I can't set up the system to choose HID rather than EL.
    Does anyone have an idea?
    Cheers Guys

    Hi,
    Thanks for your answer. But  what you are describing is more for PO (external purchase) not STO.
    What I want is to control the I/B delivery type that get created after PGI of the O/B delivery via the output type SPED (special function).
    Cheers
    Julien

  • I have the Ipod Nano. I'm traveling to Australia which has the following current: 240V AC, 50Hz. I have a travel plug adapter for the Australian electric sockets. Will I be able to use my Ipod charger with an Australian travel plug adapter or will I also

    I have the Ipod Nano. I’m traveling to Australia which has the following current:240V AC, 50Hz. I have a travel plug adapter for the Australian electricsockets. Will I be able to use my Ipod charger with an Australian travel plugadapter or will I also need a voltage converter? Australia which has thefollowing current: 240V AC, 50Hz.

    I have the Ipod Nano. I’m traveling to Australia which has the following current:240V AC, 50Hz. I have a travel plug adapter for the Australian electricsockets. Will I be able to use my Ipod charger with an Australian travel plugadapter or will I also need a voltage converter? Australia which has thefollowing current: 240V AC, 50Hz.

  • Function module for the Inbound Delivery

    Dear ABAPers,
            I have created the Inbound Delivery in VL01N Transaction.I want to create the Post goods issue for the Delivery number.What is the Function module for the Post goods issue for the Delivery number and what all the Parameter needs to be passed.
    Thanks & Regards,
    Ashok.

    Hi,
    Try this code...
    PARAMETERS: p_vbeln LIKE likp-vbeln OBLIGATORY.
    DATA:    l_vbkok_wa   TYPE vbkok,
             l_i_prott    TYPE STANDARD TABLE OF prott,
             l_pgi_status TYPE xfeld,
             c_check      TYPE c VALUE 'X'.
    l_vbkok_wa-vbeln_vl =  p_vbeln.
    l_vbkok_wa-vbtyp_vl = 'T'.
    l_vbkok_wa-wabuc    = c_check.
    Do PGI
    CALL FUNCTION 'WS_DELIVERY_UPDATE'
      EXPORTING
        vbkok_wa                  = l_vbkok_wa
        commit                    = c_check
        delivery                  = l_vbkok_wa-vbeln_vl
      IMPORTING
        ef_error_in_goods_issue_0 = l_pgi_status
      TABLES
        prot                      = l_i_prott.
    IF l_pgi_status IS NOT INITIAL.
    WRITE:/ 'PGI Failure : ', p_vbeln.
    ELSE.
    WRITE:/ 'PGI Success : ', p_vbeln.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = c_check.
    ENDIF.
    Regards
    Meenakshi

  • Vendor batch and batch field on the inbound delivery

    hi GUrus,
    i have looked through most of the threads where the topic of vendor batch and batch on the inbound delviery has comeup. I'm specifically looking at a scneario where i would want to pass the on the batch number provided by the vendor on the IDOC to batch field on the inbound delivery. The reason for this is , i can look at the batch field in the confirmations tab of the PO, in the purchase order histroy tab of the PO, and also MMBE tcode. the material is also batch managed turned on in hte material master. But the issue is that even though i put the batch provided by vendor in the CHARG field on the ASN IDOC, it is still getting populated in the vendor batch field in the inbound delivery.
    any ideas?
    Thanks
    Ravi

    Hi,
       Refer the note:  833668 - Creating batches in the inbound delivery using IDOC  which explains the system design.
    Regards,
    AKPT

  • PO delivery date changed according to delivery date on the inbound delivery

    Hi!
    Initial PO date is changed according to the inbound delivery date when I create inbound delivery.
    For example, initial PO has order qty. 1000 and delivery date 8/10/07.
    And then I created inbound delivery for that PO with qty. 500 and changed delivery date to 8/5/07 on the inbodund delivery. Then when I check PO again, PO line item delivery date was changed to 8/5/07 which is
    inbound delivery date. I think remaining 500 should have the same
    delivery date originally assigned unless we change manually.
    If somebody have experience, please let me know.
    Thank you!

    Dear Wan Lee,
    I think you also need to check for your Configuration setting for confirmation:IMGMM> Purchasing-->Confirmation.
    Regards,
    w1n

  • Inspection lot not getting cancelled after the inbound delivery is created

    Hello,
    The scenraio is like this.
    1. Material was procured in plant A.
    2. Using the stock transfer purchase order, transferred the material from Plant A to Plant B.
    3. Outbound delivery was created, Handling units were assigned and Post Goods issue was done.
    4. As soon as this was done, inbound delivery got created automatically in plant B and Handling units were assigned.
    5. Inspection lot was created with origin "08".
    6. Now I want to reverse all the transactions, so I did as mentioned below.
    7. Handling units were deassigned from the inbound delivery and inbound delivery was successfully deleted.
    8. Now tried to do the reverse post goods issue and got the error "Handling unit XXXXXX cannot be reversed"..Goods movement cannot be reversed for handling unit XXXXX because it has been changed or assigned to object since the last goods movement posting".
    The issue is that as soon as the inbound delivery is deleted, the inspection lot status should change, which has not changed. So kindly let me know how to make the system cancel the inspection lot as soon as the deassignment of handling units is done in inbound delivery or the inbound delievry is deleted.
    Regards,
    Narendra Bora

    Hello,
    Can anyone please reply.
    Regards,
    Narendra Bora

  • New partner function in the inbound delivery

    Hi
    I want to have the partner fuction: CR (forwarding agent) in the inbound delvery. It has to be copied from the purchase order.
    I added the partner type to the partner determination procedure for the vendor, the purchasing document and the in the inbound the delivery.
    Then I added a forwarding agent to the master data of the vendor. When I created a purchase order the forwarding agent was nicely copied to the purchase order. But when I created the inbound delivery from the purchase order it was not copied over.
    By the way I checked also the partner procedure which is linked to the sales order which is used as the source for the copy control of the  inbound delivery. This has the forwarding agent in it as well.
    Anybody an idea how to proceed?
    Thanks,
    Rudy

    There might be an entry of Partner function missed in SPRO.
    SPRO>Logistics Execution>Shipping>Partners>Master Data-->Set Up Partner Determination for Deliveries.
    If forwarding agent entry missed ,maintain the entry.Then partner entry will automatically copy to delivery .

Maybe you are looking for