IDoc type for Outbound Delivery

Hi All,
Can someone please tell me the IDoc type and message type to be used for creating the outbound delivery for an incoming IDoc? Also, I would like to know the function module.
Regards,
Raghav

Hi,
Message type is DESADV
Basic type is DELVRY01 to 03 (can check the latest version or supported version)
Function module : BORES_IDOC_INPUT_DESADV1 or IDOC_INPUT_DESADV1
This is used for creating outbound deliveries, shipping  noticfication etc.
Regards
vk

Similar Messages

  • Duplicate outbound Idoc created for outbound delivery

    Hi Gurus,
    We use decentralised whse system for goods movement.
    For couple of outbound deliveries there are double idocs created (messge type SHP_OBDLV_SAVE_REPLICA).
    I have no idea how the duplication taken plcae. Any body come accross this kind of issue .
    Please help to reslove the issue .
    Thanks in advance

    Hi,
    There is nothing in message control tab for outbound parameter(we20) and even there are multiple changes in delivery.
    What we do is as soon as the delivery is created .  Z trnx is executed  which changes the dec whse status A(Relevent ) to  B (distribution) simulteneously outbound Idoc is created and delivery details send to whse.
    Normally there will be one outbound idoc per delivery , but in this case there are 2 (duplicate)

  • Output Type for Outbound Delivery in VL02N

    Hi All,
       Could you please tell me how to maintain output types for a specific outbound delivery in ECC , so that inbound delivery is created automatically from it? is it maintained in VL02N? I actually searched this on various forums but did not find the correct answer, as everywhere only the customizing is given.
    Thanks in advance
    Best Regards,
    Abhijeet

    Hi,
    You can maintain the output type SPED as below. Once you do PGI, SPED should be processed. If not , do it manually from  VL71.
    VL02N -> Extra>Delivery Output -> Header> Output Type = SPED
    Regards
    Edited by: Shashidhar Shetty on Dec 5, 2011 1:59 PM

  • No processing log for outbound delivery for output type

    Dear Gurus,
    I want to see processing log for output type for outbound delivery .
    But when i click processing log push button for output type for outbound  delivey  , one error is comming as 'NO PROCESSING LOG FOR OUTPUT TYPE'.
    Could you please let me the reason ?
    Edited by: susheelkodam on Sep 9, 2010 10:33 AM

    Hi,
    What transaction are you running when you press the [Output log] button?  If you're in the create transaction, then I think the output log should be available but if you subsequently go in to VL02N and press the Log button, the I don't think the log is available.
    Regards,   Andy

  • Replace 601 movement with 301 movement type in outbound Delivery

    Hello All,
    We are using SAP - 4.6 C system.
    We have a requirement to create a customer outbound delivery for a corresponding customer Scheduling Agreement but postings should be similar to 301 movement type against 601 movement
    When we use 601 movement type - Material Document and corresponding Accounting Documents are created.
    We do not want Material Document and corresponding Accounting Documents and at the same time should not use TSA / STO functionality
    We want to use only Sales Outbound delivey fucntionality only with 301 postings.
    So we tried to use 301 movement type to post an outbound Delivery and below is the error. Please advise a solution to fix this error. or an alternative approach to create an out bound delivery which should not post to an accounting document.
    Error -
    Update control of movement type incorrect (entry 301 X X _ L _ V)
    Message no. M7 226
    Diagnosis
    The system could not find entry 301 X X _ L _ V in any of the movement type control tables.
    Procedure
    Cancel current processing.
    Contact your system administrator.
    Action to be taken by the system administrator
    Check in Customizing for Inventory Management under Copy, Change Movement Types whether the entry is contained in the Update control view for the movement type.
    If the entry is missing, proceed as follows:
    u2022 For standard movement types, this means that the given process is not supported using the present data combination. Do not create any entries without prior arrangement with your SAP consultant. Otherwise, incorrect postings may result.
    u2022 For customer-defined movement types (beginning with 9, X, Y, or Z), this may mean that they have not been fully defined. Delete the movement type and re-create it by copying a standard movement type.
    Regards,
    Siva

    Hello all, Jurgen,
    Thanks for your responses.
    Today, we use 601 movement type for Outbound delivery which creates Material Document and Accounting Documents.
    Instead of this, we would like to replace 601 with 301 movement as this has simple plant to plant transfer postings in one of our specific scenario.
    We are getting below error when we do Post goods Issue on Outoubnd delivery: we just replaced SD: Schedule line category movement to 301.
    Update control of movement type incorrect (entry 301 X X _ L _ V)
    Message no. M7 226
    Diagnosis
    The system could not find entry 301 X X _ L _ V in any of the movement type control tables
    Is this the correct approach? Even if we try to create new custom movement ref to 301 to fulfill  301 X X _ L _ V.
    Will this work? I am sure in addition to this we need some user exit development.
    Presently, this is SD Outbound delivery cycle and will continue with same approach.
    we also have our regular scenarios which work with 601. This is one of our exception business cases where we need affects similar to 301.
    For above case we can not use STO/TSA with some master data changes as we have already have same plants set-up for regular STO/TSA processes.
    The above requirement is special case in one of the business cases.
    Thanks
    Siva

  • Automatic generation of Idoc for outbound delivery

    Hi Experts,
    I need to generate Idoc automatically for each outbound delivery created in VL01n. I just wanted to know that whether we need to asign output type for each delivery number manually or is there any automated process available to generate Idoc for all the outbound deleveries automatically. Could some one share the information regarding the above matter and other information if there is any.

    Hi,
    U wont manuallly assign the output type for every delivery u create.
    There will be Customization part which will be done by Functional  guys and they will do that configuration.
    This will auotomaticcaly set the Output type, medium..
    Ones the configuration is done u just need to create partner profiles ( port and rfc by Basis people) .
    Rvert back if any issues,
    regards,
    Naveen

  • Outbound output type & Idoc type for MIRO (Invoice Posting)

    Hi Gurus,
    I have requirement like , I want to send the outbound IDoc to a external system containg the invoice detials after Saving in MIRO.
    I am not able to find any output type & Idoc type for the same.
    By going through varios threads , I found that there tell there is no Idoc type & output type for sending Idocs after MIRO.
    Kindlt let me know, if it so, or how this req can be fullfiled by other ways.
    Thanks
    Amresh

    Hi,
    Create Custom Idoc type with required fields,custom output type and assign it to partner profiles.(If there is no std idoc type or output type)
    Use Funtion module MASTER_IDOC_DISTRIBUTE to generate Idocs while saving MIRO, for this you need to find exit or implement implicit enhancement while saving MIRO.
    Regards,
    Ashok.

  • Manual (Dynamic) Interim Destination Storage Type instead of 916 for Outbound delivery T.O

    HI,
    we would like to create transfer order manually for outbound delivery.here both source and destination need to be given manual
    i know that the interim storage type 916 given in the interface movement type , while T.O creation for the outbound delivery
    we would like to have the destination interim storage type as a manual entry so i kept both destination and source storage type blank,and system permits to do picking (T.O Creation  )
    Created Transfer Order, with source and destination details and confirmed T.O.
    But when i do the goods issue getting error as
    Storage bin MT1   does not exist (check your entry)
    Message no. L9009
    when i checked table LIPS-  LGTYP and   LGPLA , both fields are empty.
    Please let me know how can i make this functionality.
    Thanks.

    The requirement is , my interim storage areas are real storage areas,for which goods are issued the stock goes to interim storage area and PGI will be made after verification ,but the interim storage area is dependent on the customer , not a fixed one which we will know only when we deliver the goods .
    I use that process too, with verification on the final storage area before shipping, but what I do is to use SD in conjunction with WM. I use the gates in the Outbound Delivery, to separate the stock, since WM creates a bin in 916 for each delivery document and I can use that to know in which gate each quant is.
    That way, everything goes to 916, but I have a report that tells me which stock is near each gate, so I can run the audit process before shipping.
    It's not completely standard, but WM standard is very hard to use without an additional UI layer on top anyway.

  • Idoc WHSORD for inbound delivery

    Hello,
    We want to send inbound deliveries to an external WMS (not SAP WM) by using an output in the inbound delivery.
    I tried to use idoc WHSORD (basic type DELVRY01) as for Outbound delivery.
    I obtained an error message when processing the output : "The message record of the message control contains a partner role with a partner type LS that cannot be used here. Only the 'KU' and 'LI' partner types are allowed."
    <u>Configuration done</u> (same as outbound delivery) :
    Output : Medium "6 EDI" / Partner type LS
    Partner profile (WE20) : Partner type LS / Partner role LS /Message control : Application E1 / process code DELV.
    Finally, I've been able to generate one idoc from the inbound delivery by using medium "A ALE" and partner type LI "vendor". But I need to do it for a LS partner as we do want to maintain partner profile for each vendor.
    Is this due to some missing configuration linked to application E1 (i.e allow partner type LS ?) ?
    How can we solve this ?
    Thanks a lot for your help

    Hi zhiqiang,
    In order to test inbound idocs, you can use transaction WE19 to create manually idocs.
    As pre-requisite, you have to maintain ALE configuration : port and partner profiles.
    Then in WE19, you can create an idoc from message type : fill all the fields you need to and delete unuse segments. Then click on "Standard inbound" and your idoc will be received in your SAP system.
    Check the status in transaction BD87.
    To fill correctlly your idoc :
    1. You can find documentation on message type in transaction WE60 (when you go in this transaction, check the documention is "active" => Goto => user settings => "Documentation output" and "field value output" must be ticked)
    2. In WE19, for some fields, if you press F4, you will get list of possible values.
    Good luck,
    JP

  • Confusion on IDOC types for creation of PO

    Hi,
    Requirement is sending PO from sendin SAP system to receiving system.
    For sending am using-
    Processing code ME10
    On serching forums and tutorials,  i came across IDOC type- ORDERS05 but this idoc type is for both PO and SO.
    PORDCR04 idoc type for creation of PO only.
    Some post says PORDCR04 doesnt create PO header text.On the other hand,For inbound processing of PO idoc ( using ORDERS05 ) processing code is not available.
    I will be thankful if somebody can guide me which of these idoc types is preferable.
    Thanks.
    Edited by: Sanjay_lnt on Jan 8, 2011 3:49 PM

    Hell Sanjay
    Outbound ORDERS (= Purchase Order) and inbound ORDERS (= Sales Orders) are like siblings which reflect the customer / supplier relationship.
    In case of the PORDCR04 IDoc it is somewhat different because does it make sense to have the same purchase order in different system?
    In our case a POS (= point of sales) system is used to create a purchase order (for replenishment) which is then converted (via SAP-PI) into an inbound PORDCR04 IDoc in the ERP system. Out of this purchase order a replenishment delivery (for the shops) is created.
    Regards
      Uwe

  • Condition table for outbound delivery

    Hi guys
    Is it possible to create a new condition table for outbound delivery output type with a field „sold-to”, although this field is available in the field catalogue , it does not show up during a table creation in the FieldCatlg,why?
    Your quick response appreciated .
    Regards
    Dominik

    Hi Dominik,
    You need to Append the new fields which you want to see in the Field Catelog to create a condition table.
    Please follow the following process
    Got to T. Code SE11 andGive the Table name
    Then click on the Button Append Structure and
    Key in the name of you append starting with letter 'Z'.
    Add fields whcih you want.
    Activate the table.
    Hope this is clear.
    Reward if helpful.
    Thanks,
    Praveen

  • Error while doing PGI for Outbound delivery using BAPI BAPI_GOODSMVT_CREATE

    Hi All,
    I am getting an below error while doing PGI for outbound delivery using the BAPI BAPI BAPI_GOODSMVT_CREATE:
    Goods movement not possible with mvmt type 601
    Can anyone suggest me what will be the solution for it?
    Regards,
    Raghuraman.k

    I tried with the above BAPI but it is not working.
    In my case a delivery has one line item with batch split and other line item without batch split.
    Below is my code :
    DATA : gwa_header_data TYPE bapiobdlvhdrcon,
           gwa_header_ctrl TYPE bapiobdlvhdrctrlcon,
           lv_delivery     TYPE bapiobdlvhdrcon-deliv_numb,
           git_item_data TYPE STANDARD TABLE OF bapiobdlvitemcon,
           gwa_item_data TYPE bapiobdlvitemcon,
           git_item_ctrl TYPE STANDARD TABLE OF bapiobdlvitemctrlcon,
           gwa_item_ctrl TYPE bapiobdlvitemctrlcon,
           git_return    TYPE STANDARD TABLE OF bapiret2,
           gwa_return    TYPE bapiret2.
    *Header data
    gwa_header_data-deliv_numb = '0808000002'.
    *Header Control data
    gwa_header_ctrl-deliv_numb = '0808000002'.
    gwa_header_ctrl-post_gi_flg = 'X'.
    *Delivery Number
    lv_delivery = '0808000002'.
    *Item data and its corresponding control data
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '900002'.
    gwa_item_data-dlv_qty         = 4.
    gwa_item_data-dlv_qty_imunit  = 4.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '900002'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '900003'.
    gwa_item_data-dlv_qty         = 6.
    gwa_item_data-dlv_qty_imunit  = 6.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '900003'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '000020'.
    gwa_item_data-dlv_qty         = 10.
    gwa_item_data-dlv_qty_imunit  = 10.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '000020'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    BREAK-POINT.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
      EXPORTING
        header_data    = gwa_header_data
        header_control = gwa_header_ctrl
        delivery       = lv_delivery
      TABLES
        item_data      = git_item_data
        item_control   = git_item_ctrl
        return         = git_return.
    BREAK-POINT.
    IF git_return IS INITIAL.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.

  • BAPI for GR for Outbound delivery

    Hi Gurus,
       I need to create a Goods Receipt against an Outbound Delivery ( movement type "101" ) using the BAPI BAPI_GOODSMVT_CREATE
    user is using MIGO transaction for the same. There he will choose the GOODS RECEIPT for OUTBOUND DELIVERY and enters the delivery number. The movement type "101" is used.
    I tried passing gm_code = 01 and mvt_type = 101 and mvt indicator as u2018Bu201D , but  Iu2019m getting an error message  'ENTER PURCHASE ORDER NUMBER'.
    I donu2019t have PO number . I just have shipment number from which I have found open outbound deliveries and now I need to do GR for each of the Outbound delivery.
    Please let me know if Iu2019m passing the right gm_code and mvt indicator to the BAPI or if Iu2019m missing any parameters. Iu2019m passing the following parameters to the BAPI ?
    Delivery. No. , delivery item, Doc. Date , Posting Date , ref document num , Quantity, Storage Location, External qty, External qty unit, matnr, werks .
    Your help is greatly appreciated.
    Thanks in advance.

    Thanks for replying. I went through the entire BAPI documentation but did not found anything related to GR for outbound deliveries.
    I searched some older posts in sdn related to this problem but almost all are unanswered question.
    I'm passing gm_code = 01 , mvt_type = 101 and have tried all movement indicator like 'B' , 'F' and blank.
    here is what I'm passing in my Bapi.Please let me know if I'm missing something or if I'm passing something incorrectly.
    gm_header-pstng_date = sy-datum.
          gm_header-doc_date   = sy-datum.
          gm_header-ref_doc_no =  wa_lips-vbeln. "The Outbound delivery Number
          gm_code-gm_code      = '01'.
         MOVE '101'              TO     gm_item-move_type.
          gm_item-material             = wa_lips-matnr . "Material Number from the Delivery.
          gm_item-plant                = wa_lips-werks . "Receiving Site.
          gm_item-stge_loc             = wa_lips-lgort. "Receiving Storage Location.
          gm_item-entry_qnt            = wa_lips-lfimg.
         gm_item-entry_uom           = wa_lips-vrkme.
          gm_item-ENTRY_UOM_ISO        = wa_lips-vrkme.
          gm_item-mvt_ind              = 'B ' .
          gm_item-deliv_numb           = wa_lips-vbeln.
          gm_item-deliv_item           = wa_lips-posnr.
          gm_item-DELIV_NUMB_TO_SEARCH = wa_lips-vbeln.  "delivery number
          gm_item-DELIV_ITEM_TO_SEARCH = wa_lips-posnr. "delivery item
    if I donot pass any value in mvt indicator the error I'm getting is 'Update control of movement type is incorrect (entry 101 X X)'
    if I pass 'B' in mvt indicator error is 'Material document data and PO data do not match (Plant)'
    if i pass 'F' , erro ris 'Order  not found or not permitted for goods movement'.
    Please help me. This is kind of critical issue. or please suggest if I can do GR for outbound delv in any other way.
    Thanks...!!!!

  • Input parameters for BAPI_GOODSMVT_CREATE --MIGO--GR for Outbound Delivery

    Hi Friends,
      We have to create a Goods Receipt against an Outbound Delivery ( movement type "101" ) using the BAPI <b>BAPI_GOODSMVT_CREATE</b>.
    In online the user is using <b>MIGO</b> transaction for the same. There he will choose the GOODS RECEIPT for OUTBOUND DELIVERY and enters the delivery number. The movement type "101" is used.
      Could you please tell me the GM code and the required fields to be passed for the above scenario.
    I have gone through the example program in the link...
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    <b>but unable to find how to use this BAPI for simulating MIGO transaction.</b>
    <b>The fields available are with us are...</b>
    Delivery. No. --- Doc. Date - Posting Date-Quantity-Storage Location-
    Reason for movement-External qty-External qty unit-Goods recipient-Excise Selection
    Are these fields sufficient for doing MIGO with this BAPI or do we require more fields???
    Thanks and Regards,
    Bharat

    see the following code. it may be useful.
      LOOP AT I_TAB.
          count = sy-tabix.
          SELECT SINGLE * FROM ZMM_GR_UPLOAD1
                                    WHERE SOLOMON_GR = I_TAB-SOLOMON_GR AND
                                    SOLOMON_GRDAT = I_TAB-SOLOMON_GRDAT.
          IF SY-SUBRC = 0.
            I_TAB-FLAG = 'C'.
            modify i_tab index count.
            concatenate 'File Name : ' name into i_msg1.
            append i_msg1.
            CONCATENATE 'ERROR  PO : ' I_TAB-SOL_PONO
                '  WAS ALREADY UPLOADED' INTO I_MSG1.
            APPEND I_MSG1.
            CLEAR I_TAB-FLAG.
            CONTINUE.
          ELSE.
            REFRESH I_ITEMS.
            CLEAR I_ITEMS.
            CONCATENATE I_MAIN-SOLOMON_GRDAT+4(4)
                        I_MAIN-SOLOMON_GRDAT+2(2)
                        I_MAIN-SOLOMON_GRDAT+0(2) INTO G_DATE.
            gmhead-pstng_date = G_DATE.
            gmhead-doc_date = sy-datum.
            gmhead-pr_uname = sy-uname.
    "01 - MB01 - Goods Receipts for Purchase Order
            gmcode-gm_code = '01'.
            refresh itab.
            clear itab.
            SORT I_MAIN BY SOLOMON_GR.
            LOOP AT I_MAIN WHERE SOLOMON_GR = I_TAB-SOLOMON_GR.
              itab-move_type  = '101'.
              itab-mvt_ind    = 'B'.
              itab-plant      = I_MAIN-WERKS.
              itab-material   = I_MAIN-MATNR.
              itab-entry_qnt  = I_MAIN-ERFMG.
             itab-stge_loc   = 'OMR1'.
    itab-move_stloc = pcitab-recv_loc.
             itab-REF_DOC = 'exnum123'.
              itab-NO_MORE_GR = 'X'.
              itab-WITHDRAWN = ''.
              itab-stge_loc   = I_MAIN-LGOBE.
              itab-po_number  = I_MAIN-EBELN.
              itab-po_item    = I_MAIN-EBELP.
              itab-unload_pt  = I_MAIN-ABLAD2.
              append itab.
            ENDLOOP.
            if not itab[] is initial.
              call function 'BAPI_GOODSMVT_CREATE'
               exporting
                   goodsmvt_header             = gmhead
                   goodsmvt_code               = gmcode
                 *   TESTRUN                     = ' '
              IMPORTING
                  goodsmvt_headret            = mthead
             *   MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
               tables
                 goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
                return                      = errmsg.
              clear errflag.
              loop at errmsg.
                if sy-tabix = 1.
                  concatenate 'File Name : ' name into i_msg1.
                  append i_msg1.
                  concatenate 'Sol PO : ' I_TAB-SOL_PONO ' '
                   I_TAB-SOL_PODT into i_msg1.
                  append i_msg1.
                endif.
                if errmsg-type eq 'E'.
                  write:/'Error in function', errmsg-message.
                  errflag = 'X'.
                else.
                  write:/ errmsg-message.
                endif.
                move errmsg-message to i_msg1.
                append i_msg1.
              endloop.
              if errflag is initial.
                CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                WAIT          =
              IMPORTING
                RETURN        =
               commit work and wait.
                if sy-subrc ne 0.
                  write:/ 'Error in updating'.
                  exit.
                else.
                  concatenate 'File Name : ' name into i_msg1.
                  append i_msg1.
                  concatenate 'Sol PO : ' I_TAB-SOL_PONO ' '
                   I_TAB-SOL_PODT into i_msg1.
                  append i_msg1.
                  write:/ mthead-mat_doc, mthead-doc_year.
                  ZMM_GR_UPLOAD1-SOLOMON_GR = I_TAB-SOLOMON_GR.
                 CONCATENATE I_TAB-SOLOMON_GRDAT+4(4)
                       I_TAB-SOLOMON_GRDAT+2(2)
                       I_TAB-SOLOMON_GRDAT+0(2) INTO
                        ZMM_GR_UPLOAD1-SOLOMON_GRDAT.
                  ZMM_GR_UPLOAD1-SOLOMON_GRDAT = I_TAB-SOLOMON_GRDAT.
                  INSERT ZMM_GR_UPLOAD1.
                  COMMIT WORK.
                  I_TAB-FLAG = 'C'.
                  MODIFY I_TAB INDEX COUNT.
                  CONCATENATE mthead-mat_doc  mthead-doc_year
                             into i_msg1.
                  append i_msg1.
                 perform upd_sta.
                endif.
              endif.
            endif.
          ENDIF.
        ENDLOOP.

  • BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N

    Hi Everybody,
           We are in ECC 5.0 version.
           I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
           Is any BAPI available for this ?
           Any input on this will be very much helpfull.
           Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
           Thanks in advance.
    regards,
    Nagarajan.J

    Hi Nagarajan,
    The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
    The below is the sample code...
      data:lt_request      like bapideliciousrequest
                                    occurs 0 with header line,
           lt_createditems like bapideliciouscreateditems
                                    occurs 0 with header line,
           lt_return       like bapiret2
                                    occurs 0 with header line.
        lt_request-document_type      = 'A'.
        lt_request-document_numb      = vbeln.
        lt_request-document_item      = posnr.
      lt_request-material           = matnr.
      lt_request-plant              = werks.
      lt_request-stge_loc           = lgort.
      lt_request-quantity_base__uom = base_uom_qty.
      lt_request-delivery_date      = sy-datum.
      append lt_request.
      call function 'BAPI_DELIVERYPROCESSING_EXEC'
      EXPORTING
        DELIVERY_EXTEND       =
        TECHN_CONTROL         =
        tables
          request               = lt_request
          createditems          = lt_createditems
          return                = lt_return.
      loop at lt_return where type = 'A'
                          or  type = 'E'.
        exit.
      endloop.
      if sy-subrc <> 0.
    Use the BAPI for Commit
        call function 'BAPI_TRANSACTION_COMMIT'
             exporting
                  wait = 'H'.
      endif.
    Thanks
    Ramakrishna

Maybe you are looking for

  • Moved Itunes to a new hardrive on my network and now.....

    I cannot access my purchased songs. I can access songs I put on from my cd's but I have several hundred I cannot access that i have paid for. Here are the facts: 1. hard drive went bad on computer with itunes. 2. i moved the entire library to a buffa

  • Wrong eMail used during iCloud setup.

    Ok, i'm really hoping someone can help me here. I will try my best to descibe the problem and hope ye understand. I wasn't there at the time so I can only go by what he said and guess the rest of it. My Nephew got a 2nd hand iPhone4s and while he was

  • Technology used in iStore Application

    We wanted to know the technology used in building iStore pages in 11.5.10 and R12 ? From our analysis, it doesn't looks like OAF or ADF. It has lots of JSPs. Is there any Oracle proprietary technology or framework used for building this application ?

  • Billing Plan = Invoice date

    HI, My user having following requirement - He is doing periodic billing in which he is having 1.down payment 2.1st installment 3.2nd installment 4.Final Invoice. His requirement is when final invoice date get change the Invoice date (Billing Date) sh

  • Setting font style -- Font Class

    Hi, How can I change the font style in the Font constructor? e.g. Font f = new Font("Dialog", Font.PLAIN, 10);is the default font style. I want the same object but with "Arial" style. I've tried Font f = new Font("Arial", Font.PLAIN, 10);but it doese