BAPI for GR ( Inbound Delivery )

Hi,
My requirement is that I need a BAPI or FM to create a Goods Receipt (MIGO document) for Inbound delivery. I need to even pass the FREIGHT Details in it. I had checked BAPI_GOODSMVT_CREATE, but i dont have the Parameter where i can pass the Freight details.
Please provide me the correct way to create GR with FREIGHT Details.
Thanks,
Ravi

Hi David,
Actually there are 2 condition types in Purchase Order (ZHC3 & ZTC3) which are related Freight details. Now when I create a GR with refrence to Inbound delivery(which is related to PO), we will be getting a FREIGHT Tab in MIGO screen, so automatically 2 line items in FREIGHT tab will be appended with the PO Vendor number. I need to change the Vendor's for both the line items in FREIGHT Tab.
Please let me know how to change the vendor details.
Thanks,
Ravi

Similar Messages

  • BAPI for VL31N (Inbound Delivery Creation

    Hi,
    My requirement is I need to write a program create a inbound delivery based on multiple Purchase orders.  Usually Inbound deliveries are created through transaction VL31N. As it is SAP njoy transaction, we can write a BDC code for this. I searched a suitable BAPI, but i found none. 
    Anyone have any idea on this ?
    Regards,
    Ganesh

    Use the below function module to create a inbound delivery with the PO number
    DATA: IS_INB_DELIVERY_HEADER LIKE BBP_INBD_L.
    IS_INB_DELIVERY_HEADER-DELIV_EXT = 12121
    IS_INB_DELIVERY_HEADER-DELIV_DATE = 08/16/2006
    DATA: T_DETAIL LIKE LIKE BBP_INBD_D OCCURS 0 WITH HEADER LINE.
    T_DETAIL-MATERIAL = 'xxx'.
    T_DETAIL-DELIV_QTY = '10.000'.
    T_DETAIL-UNIT = 'EA'.
    T_DETAIL-PO_NUMBER = '45XXXXXX.
    T_DETAIL-PO_ITEM = '000010'.
    APPEND T_DETAIL.
    DATA: T_RETURN LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE.
    DATA: V_VBELN TYPE VBELN_VL.
    CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'
    EXPORTING
    is_inb_delivery_header = is_inb_delivery_header
    IMPORTING
    EF_DELIVERY = V_VBELN
    tables
    it_inb_delivery_detail = T_DETAIL
    return = T_RETURN
    Regards,

  • Finding FM/BAPI/RFC for Create Inbound Delivery(vl31n).

    Hi all,
    i need for a FM/BAPI/RFC for Create Inbound Delivery(vl31n) or ASN
    where in import Parameter i have to pass -
    *vendor no*
    *PO no*
    *External ID no*
    *Delivery date*
    *TransPlanngDate*
    *BillOfLad*
    *GR/GI Slip*
    in Export i need ASN no and in tables we can use ITEM details.
    Regards,
    Sunil sahoo.

    Hi,
    Check the below link
    [https://forums.sdn.sap.com/click.jspa?searchID=16938983&messageID=5780492]
    Regards,
    Surinder

  • Error while posting MIGO for HU-Inbound Delivery

    Hi All
    When am trying to post the MIGO for HU Inbound Delivery Creation, am getting an error saying "Required parameters missing when calling up module MARV_SINGLE_READ". 
    Following areas I have verifed:
    The posting periods in MMRV shows current period.
    The Number range for HU ID and Delivery type HID is maintained.
    Now am looking for your expert opinion to resolve this issue.
    Regards
    K. Viswanathan

    Are you getting the same error in  transaction MB1C to create the delivery.Try in MB1C

  • BAPI for PGI against Delivery

    Hi all,
    I want BAPI for PGI against Delivery or any Function Module ,which Give All Error Message before PGI Posting.
    Thanks & Regards.

    Hi chaitanya,
    Can u please tell me what are the parameters that need to be passed in the BAPI "WS_DELIVERY_UPDATE" to get the PGI done.
    Thanks & Regards,
    Santhosh

  • BDC for MIGO-inbound delivery

    Dear Gurus,
    I want to create a BDC for GR-INBOUND DELIVERY.Is there any process that we have to upload two text files one at header level & one at item level.Pls suggest if there is any other method. 
    Regards,
    Prasad.

    1)Create a recording of inbound delivery creation if u want to create in mass.
    2) Make a note of all the filds recorded and make a excel sheet then convert it in notepad.
    3) Upload it by LSMW.

  • BAPI for posting outbound delivery (VL01n)

    Hi,
    I need some help in finding correct function module or BAPI for posting outbound delivery (VL01n), the requirement is I need delivery created with reference to sales order and must take following input.
    1. Shipping Point
    2. Sales Order
    3. Selection Date
    4. Delivery type
    I tried some existing ones and some do not have delivery type input and some without Shipping Point input.
    Please let me know.
    Regards
    Ram.

    Hi
    Please avoid the duplicate post .It is not as per the Forum rules.
    You have posted the same question with this title in ABAP General Forum:
    Outbound Delivery BAPI/Function module
    Neha

  • BAPI to get inbound delivery from material serial number

    BAPI to get inbound delivery number from material serial number?
    input---material serial number.
    output--inbound delivery number.

    Perhaps instead of using a BAPI you can code it like this.
    DATA:serial(10) TYPE n VALUE '0000340078',
    pos TYPE i VALUE 1.
    START-OF-SELECTION.
      WHILE pos <= 10 AND serial+pos(1) = 0.
        pos = pos + 1.
      ENDWHILE.
      REPLACE ALL OCCURRENCES OF '0' IN serial(pos) WITH space.
      WRITE serial.

  • How to post good receipt for an inbound delivery with HU in the stock?

    Hello,
    We have an inbound delivery of a purchase order with 10 Handling Units inside on.
    The HU's has been put in a storage bin (by transport order + confirmation) before a good receipt has been posted for the whole delivery.
    Due to this it's not possible to post good receipt for the inbound delivery, and the available stock quantity is in minus on zone: '902-GR Area External Rcpts' since  the handling units are already in a storage bin.
    Can anyone help me on this matter?
    Thanks

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • BAPI for creating outbound delivery

    Hi,
    Can anyone please let me know the bapi for creating outbound delivery.I have checked for few bapi's like
    BAPI_OUTB_DELIVERY_SAVEREPLICA
    BAPI_DELIVERPROCESSING_EXEC
    If i use the first one i would like to know whether i need to do the PGI seperately by using any bdc or is it taken care in the same bapi.
    Its basically for the workflow task werein we have all the required parameters like delivery numb, sales order num ...etc
    Iam new to BAPI's.Please consider my request and let me know the details for the same.
    thanks
    keith

    The below is for creating delivery for STO's.
        Delivery creation
          call function 'SHP_VL10_DELIVERY_CREATE'
            exporting
              IF_LEDAT           = I_LFDAT
              IF_NUR_VORGABE_POS = YES
              IT_KEY_ENQUE_READ  = IT_KEY_ENQUE_READ
              IT_KOMDLGN         = IT_KOMDLGN
            changing
              CX_SD_ORDER        = XS_SD_ORDER
              CT_VBSK_ALL        = XT_VBSK_ALL
              CT_VBLS            = XT_VBLS
              CT_KEY_LATE        = XT_KEY_LATE.
    Message was edited by: Anurag Bankley

  • BAPI to create Inbound Delivery without reference

    Hi Folks,
    I'm working for a client who requires a process to create Inbound Deliveries <i><b>without reference</b></i> to a PO. Does anyone know of an existing BAPI that will meet this criteria?
    The fallback position is to look at using a BAPI like BAPI_DELIVERYPROCESSING_EXEC or BAPI_OUTB_DELIVERY_SAVEREPLICA with a custom document type, but these are less than ideal options.
    Points rewarded for helpful answers.
    Cheers,
    Steve

    Hi!
    I can't seem to find a working example using this function modules. I want to create an inbound delivery without reference to a PO.
    Thanks!
    abapGenin

  • BAPI to change Inbound delivery - Delivery Date.

    Hi Expert,
    I wanna change the  Inbound delivery - Delivery Date .
    i have check the BAPI_INB_DELIVERY_CHANGE and WS_DELIVERY_UPDATE but both seems to be not useful for me or i have mis sumthing.
    so kindly suggest BAPI or any other solution.
    thx in advance.

    Hi guys,
    plz get following code,
    REPORT  ztest_inboun_deli.
    TYPES : lty_dead TYPE STANDARD TABLE OF bapidlvdeadln.
    DATA :lt_header_deadlines TYPE lty_dead,
          wa_header_deadlines TYPE bapidlvdeadln,
          wa_header_control TYPE bapiibdlvhdrctrlchg,
          it_return TYPE STANDARD TABLE OF bapiret2,
          wa_delivery TYPE bapiibdlvhdrchg-deliv_numb,
          wa_header_data TYPE bapiibdlvhdrchg.
    write : sy-datum.
    wa_header_deadlines-deliv_numb = '0080000069'.
    wa_header_deadlines-timetype    = 'WSHDRLFDAT'. "Delivery date
    wa_header_deadlines-timestamp_utc = 20120909000000. "YYYYMMDDHHMMSS
    wa_header_deadlines-timezone    = 'ALA'. "Western Europe
    APPEND wa_header_deadlines TO lt_header_deadlines.
    wa_header_data-deliv_numb = '0080000069'.
    wa_header_control-deliv_numb     = '0080000069'.
    wa_header_control-deliv_date_flg = 'X'.
    CALL FUNCTION 'BAPI_INB_DELIVERY_CHANGE'
      EXPORTING
        header_data                = wa_header_data
        header_control             = wa_header_control
        delivery                   = wa_delivery
      TABLES
       header_deadlines           = lt_header_deadlines
        return                     = it_return.
    IF sy-subrc EQ 0.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.

  • BAPI to create inbound delivery of an SO

    Hi,
    I need to create an inboud delivery through the outbound delivery for SO. I would to know the best available BAPI to acheive this. Also, please specify the mandatory paramters that needs to be passed as input for the given BAPI.
    Thanks,
    Kalahasti

    Hi!
    I can't seem to find a working example using this function modules. I want to create an inbound delivery without reference to a PO.
    Thanks!
    abapGenin

  • Step for creating inbound delivery in case of customer return.

    Hi,
    When I start vl31N I can create with reference to vendor or PO an inbound delivery.
    How to create inbound delivery with reference to a customer return?
    What to do?
    Thank you in advance,
    Eric van Zundert.

    Hi,
    You can try to create a copy control for return sales order to inbound delivery document. Depending on business requirements like combining vendor PO and returns sales orders, you can try to use VL31N.
    If it is only returns sales orders that needs to be processed, then SAP standard document types and its associated copy control would help.
    Regards
    P.S: Does your scenario relate to import process? I am in the same boat.
    Edited by: Shiva Ram on Jan 22, 2008 2:17 PM

  • Not able to post GR for an Inbound delivery

    Hello Experts,
    We are into support project. We have an issue with GR for inbound delivery. The issue detail is below.
    1. Purchase Order created for a material for 100 qty
    2. Inbound delivery created for the same
    3. GR done for the same quantity
    4. GR document got updated in the inbound delivery as well as PO history
    5. Reversed 50 qty using MB01 with movement type 102.
    6. Reversal qty and document got updated in the PO history where it is not updated in the inbound document flow.
    Now when we do the GR for balance qty 50 which we have reversed, we are not able to do the GR.
    The error message is "Qty to be posted is greater than maximum postable quantity" and message number is VLA 308.
    We are not able to cancel the material document which we have reversed nor able to post goods receipt.
    Could anybody tell me how to resolve this issue?
    Thanks
    Bala

    Hi,
    Please check SAP note 1050944
    Regarding this issue

Maybe you are looking for

  • All fields are not mapped in transformation 0IC_C03 to 2LIS_03_BF_TR

    I have replicated BI7 data sources of 2lis_03_BF,BX & UM from ECC. All the infosources are BI7 infosources.After installing the BI Content for 0IC_C03, infosource 2LIS_03_BF_TR is not active.When I am trying to activate the transformation it is showi

  • PDF's, some text is corrupted.

    Having a random problem that hopefully someone has a fix for. Ever since upgrading to Lion, some of my PDF's have corrupted text in them. It only seams to be happening with bank statement type pdfs. I'm using 'preview' to view the pdfs. It seams like

  • Background and forground color

    Hi, I'd like to set the bg color and fg color on screen, form and item. Is there any way to make it? Thanks.

  • Editing LDB (DDF)selection screen

    HI, in my requirement ineed to add a profit center  in selection screen  using logical database DDF. please help me ,how should i add a profit center  in  selection screen thanks.

  • VIEW_MAINTENANCE_CALL - parallel user maintenance?

    Hi there To maintain the data within a view, I know, that the function "VIEW_MAINTENANCE_CALL'" can be used. But the problem is, the maintenance of the data is only <b>seriell</b> and not parallel. (only one user at the time can work within this view