Create delivery document using bapi_deliveryprocessing_exec

Can any one send me the sample code to create delivery document using BAPI_DELIVERYPROCESSING_EXEC BAPI.

Hi,
Use the fm:     'SHP_VL10_DELIVERY_CREATE_PARA' for creatting the delivery.
The below code creates the delivery document:
*& Report  ZSTATUS
REPORT  zstatus.
DATA: t_vbak LIKE vbak   OCCURS 0 WITH HEADER LINE.
DATA: t_vbap LIKE vbapvb OCCURS 0 WITH HEADER LINE.
DATA: t_vbep LIKE vbepvb OCCURS 0 WITH HEADER LINE.
DATA: t_vbkd LIKE vbkdvb OCCURS 0 WITH HEADER LINE.
DATA: t_vbpa LIKE vbpavb OCCURS 0 WITH HEADER LINE.
DATA: t_vbuk LIKE vbukvb OCCURS 0 WITH HEADER LINE.
DATA: t_vbup LIKE vbupvb OCCURS 0 WITH HEADER LINE.
DATA: t_vbfa LIKE vbfavb OCCURS 0 WITH HEADER LINE.
DATA: c_vbfa LIKE vbfavb OCCURS 0 WITH HEADER LINE.
DATA: ls_sd_keys     TYPE sales_key.
DATA : key      TYPE shp_sales_key_t,
       sd_order TYPE shp_vl10_sd_order.
p_vbeln(sales doc no) = '5000006100'.
  AT END OF vbeln.
    REFRESH: t_vbak, t_vbap,
             t_vbep, t_vbkd,
             t_vbpa, t_vbuk,
             t_vbup.
    CLEAR : t_vbak, t_vbap,
            t_vbep, t_vbkd,
            t_vbpa, t_vbuk,
            t_vbup.
    REFRESH: key.
    ls_sd_keys-vbeln = p_vbeln.
    APPEND ls_sd_keys TO key.
    CLEAR:ls_sd_keys.
    CLEAR: sd_order.
    CALL FUNCTION 'SHP_GET_SD_DATA'
      EXPORTING
        it_vbak_key = key
      CHANGING
        cx_sd_order = sd_order.
    APPEND LINES OF sd_order-vbak TO t_vbak.
    APPEND LINES OF sd_order-vbap TO t_vbap.
    APPEND LINES OF sd_order-vbep TO t_vbep.
    APPEND LINES OF sd_order-vbuk TO t_vbuk.
    APPEND LINES OF sd_order-vbup TO t_vbup.
    APPEND LINES OF sd_order-vbkd TO t_vbkd.
    APPEND LINES OF sd_order-vbpa TO t_vbpa.
    APPEND LINES OF sd_order-vbfa TO c_vbfa.
    LOOP AT c_vbfa WHERE vbtyp_n = 'J'.
      MOVE c_vbfa TO t_vbfa.
      APPEND t_vbfa.
      CLEAR t_vbfa.
    ENDLOOP.
    CLEAR: sd_order.
    CLEAR: key.
    CALL FUNCTION 'SHP_VL10_DELIVERY_CREATE_PARA'
      EXPORTING
        if_ledat              = sy-datum
        if_nur_vorgabe_pos    = ' '
      TABLES
        it_vbak               = t_vbak
        it_vbap               = t_vbap
        it_vbep               = t_vbep
        it_vbuk               = t_vbuk
        it_vbup               = t_vbup
        it_vbkd               = t_vbkd
        it_vbpa               = t_vbpa
       it_vbfa               = t_vbfa
      EXCEPTIONS
        system_failure        = 1
        communication_failure = 2
        RESOURCE_FAILURE      = 3
        OTHERS                = 4.
    IF sy-subrc = 0.
   WRITE:/ 'delivery completed'.
    ENDIF.
  ENDAT.
If it is helpful rewards points.
Regards
Pratap.M

Similar Messages

  • How 2 creat report for displaying the details of a Delivery Document using

    how to create report for displaying the details of a Delivery Document using the tables LIKP, LIPS
    thank you
    regards,
    jagrut bharatkumar shukla
    points will be rewarded

    HI
    I AM GIVING YOU MY DELIVERY DOCUMENT CODE...MODIFY IT ACCORDING TO YOUR REQUIREMENT
    *& Report  ZDELIVERY                                *
    report  zdelivery  message-id z9bhu          .
    types: begin of t_likp,
               vbeln type likp-vbeln,      "Delivery
               erdat type likp-erdat,      "Date for rec creation
    *           LFDAT TYPE LIKP-LFDAT,      "Delevery Date
    *           WAERK TYPE LIKP-WAERK,      "Currency
               kunnr type likp-kunnr,      "Ship-To Party
               kunag type likp-kunag,      "Sold-to party
               traty type likp-traty,      "Means-of-Transport
           end of t_likp.
    types: begin of t_lips,
               vbeln type lips-vbeln,      "Delivery
               posnr type lips-posnr,      "Delivery item
               matnr type lips-matnr,      "Material Number
               arktx type lips-arktx,      "Short Text for Sales Order Item
               lfimg type lips-lfimg,      "Actual quantity delivered
               netpr type lips-netpr,
    *           MEINS TYPE LIPS-MEINS,      "Base Unit of Measure
               vgbel type lips-vgbel,      "Doc no of the reference document
            end of t_lips.
    types: begin of t_vbpa,
               vbeln type vbpa-vbeln,      "SD DocumenT Number
               posnr type vbpa-posnr,      "Item number
               parvw type vbpa-parvw,      "Partner function
               kunnrb type vbpa-kunnr,      "Customer Number 1
           end of t_vbpa.
    types: begin of t_kna1,
               kunnr type kna1-kunnr,      "Customer Number 1
               name1 type kna1-name1,      "Name 1
               ort01 type kna1-ort01,      "City
               adrnr type kna1-adrnr,      "Address
           end of t_kna1.
    types: begin of t_li_vbpa,
               vbeln type likp-vbeln,      "Delivery
               erdat type likp-erdat,      "Date for rec creation
    *           LFDAT TYPE LIKP-LFDAT,      "Delevery Date
    *           WAERK TYPE LIKP-WAERK,      "Currency
               kunnr type likp-kunnr,      "Ship-To Party
               kunag type likp-kunag,      "Sold-to party
               traty type likp-traty,      "Means-of-Transport
               vbeln1 type lips-vbeln,      "Delivery
               posnr type lips-posnr,      "Delivery item
               matnr type lips-matnr,      "Material Number
               arktx type lips-arktx,      "Short Text for Sales Order Item
               lfimg type lips-lfimg,      "Actual quantity delivered
               netpr type lips-netpr,      "Net Price
    *           MEINS TYPE LIPS-MEINS,      "Base Unit of Measure
               vgbel type lips-vgbel,      "Doc no of the reference document
               vbeln3 type vbpa-vbeln,     "SD DocumenT Number
               parvw type vbpa-parvw,      "Partner function
               kunnrb type vbpa-kunnr,      "Customer Number 1
           end of t_li_vbpa.
    types: begin of t_final,
               vbeln type likp-vbeln,      "Delivery
               erdat type likp-erdat,      "Date for rec creation
               kunnr type likp-kunnr,      "Ship-To Party
               kunag type likp-kunag,      "Sold-to party
               traty type likp-traty,      "Means-of-Transport
               vbeln1 type lips-vbeln,      "Delivery
               posnr type lips-posnr,      "Delivery item
               matnr type lips-matnr,      "Material Number
               arktx type lips-arktx,      "Short Text for Sales Order Item
               lfimg type lips-lfimg,      "Actual quantity delivered
               netpr type lips-netpr,      "Net Price
               vgbel type lips-vgbel,      "Doc no of the reference document
               vbeln3 type vbpa-vbeln,     "SD DocumenT Number
               parvw type vbpa-parvw,      "Partner function
               kunnrb type vbpa-kunnr,     "Customer Number 1
               name1 type kna1-name1,      "Name 1
               ort01 type kna1-ort01,      "City
               adrnr1 type kna1-adrnr,     "Address
               name2 type kna1-name1,      "Name 1
               ort02 type kna1-ort01,      "City
               adrnr2 type kna1-adrnr,     "Address
               name3 type kna1-name1,      "Name 1
               ort03 type kna1-ort01,      "City
               adrnr3 type kna1-adrnr,     "Address
           end of t_final.
    *            D A T A  D E C L A R A T I O N
    *&*********Internal Table Declaration****************&*
    data: it_likp type standard table of t_likp.
    data: it_lips type standard table of t_lips.
    data: it_vbpa type standard table of t_vbpa.
    data: it_kna1 type standard table of t_kna1.
    data: it_li_vbpa type standard table of t_li_vbpa.
    data: it_li_vbpa_temp type standard table of t_li_vbpa.
    data: it_final type standard table of t_final.
    *&*********Work Area Declaration********************&*
    data: wa_likp type t_likp.
    data: wa_lips type t_lips.
    data: wa_vbpa type t_vbpa.
    data: wa_kna1 type t_kna1.
    data: wa_li_vbpa type t_li_vbpa.
    data: wa_li_vbpa_temp type t_li_vbpa.
    data: wa_final type t_final.
    *&*********Data Declaration************************&*
    data: d_vbeln type likp-vbeln.
    data: flag type i value 0.
    *           S E L E C T I O N  S C R E E N   D E C L A R A T I O N
    selection-screen begin of block block2 with frame title text-001.
    select-options: s_vbeln for d_vbeln obligatory.    "Delivery no
    selection-screen end of block block2.
    *            A T  S E L E C T I O N - S C R E E N   E V E N T S
    *AT SELECTION-SCREEN.
    *PERFORM VALIDATE_DATA.
    *            S T A R T   O F  S E L E C T I O N     E V E N T S
    start-of-selection.
    perform fetch_data.
    perform merge_data_kna1.
    *INCLUDE Z9BT_SH_***4_FORMS.
    call function 'OPEN_FORM'
    exporting
    *   APPLICATION                       = 'TX'
    *   ARCHIVE_INDEX                     =
    *   ARCHIVE_PARAMS                    =
        device                            = 'PRINTER'
    *   DIALOG                            = 'X'
    *   FORM                              = ' '
       language                          = sy-langu
    *   OPTIONS                           =
    *   MAIL_SENDER                       =
    *   MAIL_RECIPIENT                    =
    *   MAIL_APPL_OBJECT                  =
    *   RAW_DATA_INTERFACE                = '*'
    *   SPONUMIV                          =
    * IMPORTING
    *   LANGUAGE                          =
    *   NEW_ARCHIVE_PARAMS                =
    *   RESULT                            =
    exceptions
       canceled                          = 1
       device                            = 2
       form                              = 3
       options                           = 4
       unclosed                          = 5
       mail_options                      = 6
       archive_error                     = 7
       invalid_fax_number                = 8
       more_params_needed_in_batch       = 9
       spool_error                       = 10
       codepage                          = 11
       others                            = 12
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    sort it_final by vbeln.
    loop at it_final into wa_final.
    call function 'START_FORM'
    exporting
    *   ARCHIVE_INDEX          =
       form                   = 'Z9BT_DELIVERY'
       language               = sy-langu
    *   STARTPAGE              = ' '
    *   PROGRAM                = ' '
    *   MAIL_APPL_OBJECT       =
    * IMPORTING
    *   LANGUAGE               =
    exceptions
       form                   = 1
       format                 = 2
       unended                = 3
       unopened               = 4
       unused                 = 5
       spool_error            = 6
       codepage               = 7
       others                 = 8
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function 'WRITE_FORM'
    exporting
       element                        = 'ITEM_LIST'
       function                       = 'SET'
       type                           = 'BODY'
       window                         = 'MAIN'
    * IMPORTING
    *   PENDING_LINES                  =
    * EXCEPTIONS
    *   ELEMENT                        = 1
    *   FUNCTION                       = 2
    *   TYPE                           = 3
    *   UNOPENED                       = 4
    *   UNSTARTED                      = 5
    *   WINDOW                         = 6
    *   BAD_PAGEFORMAT_FOR_PRINT       = 7
    *   SPOOL_ERROR                    = 8
    *   CODEPAGE                       = 9
    *   OTHERS                         = 10
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function 'END_FORM'
    * IMPORTING
    *   RESULT                         =
    exceptions
       unopened                       = 1
       bad_pageformat_for_print       = 2
       spool_error                    = 3
       codepage                       = 4
       others                         = 5
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endloop.
    call function 'CLOSE_FORM'
    * IMPORTING
    *   RESULT                         =
    *   RDI_RESULT                     =
    * TABLES
    *   OTFDATA                        =
    exceptions
       unopened                       = 1
       bad_pageformat_for_print       = 2
       send_error                     = 3
       spool_error                    = 4
       codepage                       = 5
       others                         = 6
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    *&      Form  VALIDATE_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form validate_data .
    select single vbeln into wa_likp-vbeln
                        from likp where vbeln in s_vbeln.
    append wa_likp to it_likp.
    if sy-subrc <> 0.
    flag = 1.
    endif.
    endform.                    " VALIDATE_DATA
    *&      Form  FETCH_DATA
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form fetch_data .
    select a~vbeln
           a~erdat
           a~kunnr
           a~kunag
           a~traty
           b~vbeln
           b~posnr
           b~matnr
           b~arktx
           b~lfimg
           b~netpr
           b~vgbel
           c~vbeln
           c~parvw
           c~kunnr
             into table it_li_vbpa
                    from likp as a
                    left outer join lips as b on a~vbeln = b~vbeln
                    inner join vbpa as c on b~vgbel = c~vbeln
                    where a~vbeln in s_vbeln and
                    c~parvw = 'RE'.
    endform.                    " FETCH_DATA
    *&      Form  MERGE_DATA_KNA1
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form merge_data_kna1 .
    if it_li_vbpa[] is not initial.
    it_li_vbpa_temp[] = it_li_vbpa[].
    sort it_li_vbpa_temp by kunnr.
    delete adjacent duplicates from it_li_vbpa_temp comparing kunnr.
    loop at it_li_vbpa into wa_li_vbpa.
    read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
    wa_li_vbpa-kunag.
    if sy-subrc <> 0.
    wa_li_vbpa_temp = wa_li_vbpa.
    append wa_li_vbpa_temp to it_li_vbpa_temp.
    endif.
    read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
    wa_li_vbpa-kunnrb.
    if sy-subrc <> 0.
    wa_li_vbpa_temp = wa_li_vbpa.
    append wa_li_vbpa_temp to it_li_vbpa_temp.
    endif.
    endloop.
    endif.
    if it_li_vbpa_temp[] is not initial.
    select  kunnr
            name1
            ort01
            adrnr into table it_kna1 from kna1
                        for all entries in it_li_vbpa_temp
                        where kunnr = it_li_vbpa_temp-kunnr.
    endif.
    loop at it_li_vbpa into wa_li_vbpa .
    wa_final-vbeln = wa_li_vbpa-vbeln.
    wa_final-erdat = wa_li_vbpa-erdat.
    *it_final-LFART = it_li_vbpa-LFART.
    wa_final-kunnr = wa_li_vbpa-kunnr.
    wa_final-kunag = wa_li_vbpa-kunag.
    *it_final-VSTEL = it_li_vbpa-VSTEL.
    wa_final-traty = wa_li_vbpa-traty.
    wa_final-vbeln1 = wa_li_vbpa-vbeln.
    wa_final-posnr = wa_li_vbpa-posnr.
    wa_final-matnr = wa_li_vbpa-matnr.
    wa_final-arktx = wa_li_vbpa-arktx.
    wa_final-lfimg = wa_li_vbpa-lfimg.
    wa_final-netpr = wa_li_vbpa-netpr.
    *wa_final-GEWEI = it_li_vbpa-GEWEI.
    *it_final-VOLUM = it_li_vbpa-VOLUM.
    *it_final-VOLEH = it_li_vbpa-VOLEH.
    wa_final-vgbel = wa_li_vbpa-vgbel.
    wa_final-vbeln3 = wa_li_vbpa-vbeln.
    *wa_final-PARVW = wa_li_vbpa-PARVW.
    wa_final-kunnrb = wa_li_vbpa-kunnrb.
    read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnr.
    if sy-subrc = 0.
    wa_final-name1 = wa_kna1-name1.
    wa_final-ort01 = wa_kna1-ort01.
    wa_final-adrnr1 = wa_kna1-adrnr.
    endif.
    read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunag.
    if sy-subrc = 0.
    wa_final-name2 = wa_kna1-name1.
    wa_final-ort02 = wa_kna1-ort01.
    wa_final-adrnr2 = wa_kna1-adrnr.
    endif.
    read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnrb.
    if sy-subrc = 0.
    wa_final-name3 = wa_kna1-name1.
    wa_final-ort03 = wa_kna1-ort01.
    wa_final-adrnr3 = wa_kna1-adrnr.
    endif.
    append wa_final to it_final.
    clear wa_final.
    endloop.
    endform.

  • Error while creating billing document using VF04 transaction

    Hi All,
    User is trying to create billing document using VF04 with ference to delivery number. When pressing save in invoice creation system SAP gives invoice document number (No accouting document generated). but no documents are actually created. When user trying for second time log is showing this sales order is currently processed by the user(user is same who is trying to create invoice)
    Please let us know what is causing this issue since this issue is happening in production and we can not debug this.
    We checked for number range also but its not.
    Waiting for your inputs.
    Regards,
    Jyothi CH.

    When pressing save in invoice creation system
    SAP gives invoice document number (No accouting document generated).
    but no documents are actually created
    Check there is any clash with internal number range of billing type vs other billing types ?
    Try to create billing document using VF01,see any messages were poping while saving ?
    Check for abap dump in ST22 ?
    Edited by: Jeyakanthan A on Feb 9, 2011 9:52 PM

  • Create Excise invoice(J1IIN) document while creating billing document using bapi BAPI_BILLINGDOC_CREATEMULTIPLE

    Dear Experts,
    My scenario is:
    We have batch split scenario, where the parent line item of billing document has 0 quantity and its subsequent item (item with batch number) holds actual quantity data.
    When we create billing document using VF01 against delivery document, system creates billing document along with excise invoice document (J1IIN Document). And in excise document contain same number of line items that of billing document. Please see the below attachment: 
    Biiling document screen shot:
    While creating billing document, the J1IIN Document created automatically. Below is the screen-shot for the same.
    Now the issue is:
    When we create billing document using BAPI: BAPI_BILLINGDOC_CREATEMULTIPLE system creating only billing document and not creating excise invoice document.
    When we create excise document manually using J1IIN the zero quantity line items are excluded in excise invoice document.
    Please see the below screen-shot for the same; The z quantity line items are missing.
    We want excise document to be created while creating billing document using BAPI BAPI_BILLINGDOC_CREATEMULTIPLE. Or is there any other BAPI for the same purpose.
    Customization is also maintained for creating excise invoice document automatically.
    Regards,
    Rajesh Sadula.

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • Create delivery  document for line item 5 only manually

    Hi Sap Experts,
    We have scenario, we have created sales order with 10 line items while creating delivery we don’t want to show all the 10 line item to delivery creator (creating delivery manually).
    We will send him mail saying that create delivery  document for line item 5 and we will provide him material number and delivery date and shipping point with sales order number.
    We don’t want to use partial delivery option that split the delivery and we don’t want to use VL10C tcode also.
    What are options we have and how to customize this scenario?
    Kindly suggest.
    Regards,
    Kotli

    Can you be clear in your requirement?
    One requirement is user should not select line items other than the one instructed to them
    The other requirement is delivery split should happen based on item category
    If your requirement is first one, you need to go with user exit USEREXIT_MOVE_FIELD_TO_LIPS in include MV50AFZ1 but I am not sure, on what logic, coding to be included in this exit.  If your requirement is second one, then just try in your system and share the outcome how system is functioning.  You will come to know how standard SAP works.
    G. Lakshmipathi

  • Assign external delivery number using BAPI_DELIVERYPROCESSING_EXEC

    Hi Experts,
    How to assign the external delivery number using "BAPI_DELIVERYPROCESSING_EXEC?
    For internal no, the BAPI works and I try to pass the parameters "tbl_request-EXTDELV_NO = XXX" to the BAPI , it prompt an error "Unexpected issue of error message (output NR 751)"
    Thanks

    Hi,
    Please check the external number which you are giving is within the number  Range defined  in Configuration  .
    regards
    Deepak.

  • I am using Pages 4.3. I created a Document using Pages 4.3 that is 280 MB (it is 350 pages long). Will I be able to open it in Pages 5.0?

    I am using Pages 4.3. I created a Document using Pages 4.3 that is 280 MB (it is 350 pages long). Will I be able to open it in Pages 5.0?

    Hi,
    WARNING
    it´s impossible (for me) to open Pages 5 documents in Pages 4, which is absolutely no go. You can open any f..... word.doc but no pages 4.
    Apple is getting worser every day, it´s a shame. There is no information about this before you buy it.
    So now you have to ask your friends or colleagues to convert a pages 5 document to a word document, so you can open it with pages 4. Hoiw ridiculous is that?
    Pages 5 is a joke. In 5.0 they forgot to manage the task-bar, which came shortly after 4 weeks or so in 5.1.
    The only good: you can run ist parallelly to pages 4.3 but it´s not worth the money.
    APPLE MAKE A  BETTER JOB

  • Create FI documents using both amount in local currency and document

    Hi All,
    I need to create FI documents using both amount in local currency and amount in document using BAPI_ACC_DOCUMENT_POST. Please tell me how to do that.
    Chinmay

    Hi,
    Firstly get the exchange rate, do the calculation using the document currency amount and populate the local currency amount field.
    Whenever you use BAPI, use BAPI_TRANSACTION_COMMIT to commit the changes.
    Thanks & regards.

  • Getting error while trying to create a document using oracle web ADI resp.

    Hi All,
    When I am trying to create a document using Oracle Web ADI Responsibility and using "Ben Ri Process Bnf" integrator, it is showing me error
    "The following error has occurred
    Exception Name: oracle.apps.bne.exception.BneParameterException - No parameter list definition at parameter list id 800:PER_RI_JPG_PARAM_LIS
    Log File Bookmark: 868035"
    Can anybody tell me the cause of this error?
    Thanks.

    Please see the solution in (The Descriptive Flexfield With Application Name Receivables (AR) and Name Party Site Information (HZ_PARTY_SITES) Is Not Frozen [ID 743262.1]).
    Thanks,
    Hussein

  • Problem in Creating Delivery Note using DI API

    i am using DI Api with Delphi Language to Create a Sales Delivery Note based on the sales Order.
    But Each time when i add, a new Record gets Created rather than the new Line.
          Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
          Document.CardCode         := 'A001'
          Document.Lines.BaseType   := 17;
          Document.Lines.BaseEntry  := 84;
          Document.Lines.BaseLine   := 4;
          Document.Lines.ItemCode := '001A';
          Document.Lines.Quantity := 10;
          Result := FODLN.Add;
    In this case,new rows are added each time in the tables ODLN and RDR1.
    How to avoid this.As this creates a individual Delivery Note for each time i add than to the Order Number.

    HI,
    The problem : Do not specify ItemCode if you specify Base document.
    So
    1st case
    Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
    Document.CardCode := 'A001'
    Document.Lines.BaseType := 17;
    Document.Lines.BaseEntry := 84;
    Document.Lines.BaseLine := 4;
    Document.Lines.Quantity := 10;
    Result := FODLN.Add;
    or
    2nd case
    Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
    Document.CardCode := 'A001'
    Document.Lines.ItemCode := '001A';
    Document.Lines.Quantity := 10;
    Result := FODLN.Add;
    1st case creates delivery note with only one row with reference to Sales Order
    Take care: BaseLine comes from 0
    2dn case creates delivery note with only one row WITHOUT reference.
    if you have more than one rows, use the
    Document.Lines.Add to enter another row
    Regards,
    J.

  • Error in creating delivery document from stock transport order

    hi sd gurus plz help i m nt able to create delivery in vl10b from stock transport order me21n after giving shipping point and  po number also. can u help me out and can u tell me how to maintain copy control from stock tarnsport to delivery docu.

    Hi Debesh,
    The settings for Delivery type for STO is maintained using the following path:
    Materials Management>Purchasing>Purchase Order>Set up Stock Transport Order>Assign Delivery Type and Checking Rule . Here you assign the Delivery type to Stock Transport order (with reference of Suplying Plant)
    For creation of STO for delivery creation use T-code- VL04. Enter the Relevant Shipping Point and the Delivery Creation Date. Also tick mark the option Purchase order. If you already have a Purchase order enter the no.
    System will show the details of the STO here by using the Main Menu > Delivery> Create Deliveries you can create the Delivery against the STO. Then by using the VL02n option you can do the Picking / PGI for the Delivery.
    Hope the above helps you.
    REWARD if it helps you!!
    Regards,
    Ajinkya

  • During cancellation of delivery document using VL09

    Hi,
    I want to cancel only 3 items out of 5 items from the delivery document at the time of cancellation by using VL09..
    How can i do that??
    Rgds,
    Pavan.

    No. Not other way out. The method suggested above is the best possible method.
    As PGI is done for whole Delivery Document, Cancel / reverse of PGI is also done for the whole Delivery Document. You cannot cancel / Reverse partial Line items in Delivery.
    Hope this clarifies,
    Thanks,
    Jignesh Mehta

  • Problems in Windows 8 creating PDF documents using Adobe Acrobat Pro 9.5.5

    I am running Windows 8 with the latest version of MS Office (version 14) and Adobe Acrobat Pro 9.5.5.  I was not having any problems making/printing PDF documents until about 30 days ago.  The only things that I can think of that have changed during this time period is 1) I updated my Office Suite to version 14 from the previous version and, most recently, 2) my Adobe Acrobat Reader program was automatically updated to the latest version.  I ended-up uninstalled Adobe Reader becuase the new program became my default for openning all Adobe PDF files, even when I tried to force my computer to use Adobe Acrobat Pro as the default (becuase doing so allows me to edit docments with features not available in the free Reader version).  When I go to print a Word document, for example, to Adobe Acrobat, the process stalls/stops at the point where you are supposed to choose a location to print/safe the new PDF document file.  All I get is the Save-As Screen with most of the buttons and folder tree blank (see example below).  After 5-10 seconds, "not responding" shows up in the title of the Save-As Screen and I have to click the "X" box in the upper right corner to abort.  This problem seems to have first started when trying to print pictures from the Windows picture viewer.  After a while long, I noticed that the same problem occured when printing from my internet browser (Firefox), but I coudl still print from Word or Excel.  Now, as of the last couple of days, I can't print from any program except the basic Paint software program.  I think this may actually be a Windows issue because when trying to toublshoot this problem, I re-installed Adobe Acrobat Pro and it did not help. I also tried making PDF documents using the free PrimoPDF software and had the exact same problem.  I have no idea where to go from here.  All I know is that I desperately need to create PDF documents and cannot!  Please help!!

    You're asking a lot of ancient Acrobat to work with an Office that never existed when it was made. "Just updated my office suite" is a massive change, and Window 8 didn't exist at that time either...

  • Creating pdf documents using c#

    how to create a pdf document using C# ? i have used pdf creator pilot but i want to directly create it from code.does adobe have any tools for doing this using c#.

    For desktop-based solutions, look at the Adobe Acrobat SDK which enables development around Acrobat itself. Or if you wish a stand-alone solution (for either desktop or server), we offer the Adobe PDFLibrary, which is the same technology used by all of Adobe's applications.
    For the server, we have our LiveCycle products including LC Generator.
    Leonard

  • Acrobat Pro version 8 doesn't create pdf documents using Windows 7

    I run Windows 7 on my PC and have installed Acrobat Professional 8.  When I try to create a pdf (or using the pdf printer), it just hangs up and won't create the document.  Any fixes for this?
    Thanks.

    You likely have a 64-bit system. Do the updates and you might be successful. Several folks have reported success on 32-bit Win7 installations and a few with 64-bit systems. However, the updates are critical. If you have trouble doing the updates from the help menu, use http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows and install the updates in order (a few can be skipped and you can note those by downloading from the most recent that tells the previous version required). You can also save time by rebooting only after the last update.

Maybe you are looking for

  • Support for non-western character sets

    I've been reading docs for WL portal and for WL server, but basically I need to know...what needs to be set/installed for a Weblogic Portal 10.3 running on Weblogic Server 10.3 to have non-western characters display in the content of any portlet we m

  • The proceedure entry point sqlite3_wal_checkpoint could not be found in the dynamic link library SQLiite3.dll

    After downloading a new version of iTunes, I keep getting an error message when I turn on my computer.  The proceedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll

  • Only half my contacts sync with Outlook 2013!!

    I have an iPhone 4 (OS 7.1) with 950 contacts on it. I am wanting to back them up. It seems I can only back up to outlook or windows contacts. I have chosen Outlook and it syncs about half of my contacts fine. I am not sure what has happened to the r

  • Is there any zen player that WON'T BREAK

    ...when you drop it's I bought a Zen Xtra 40GB and dropped it, and when I turned it on I got a harddisk error. Creative replaced it for me, but that one slipped out of my bag on to the floor and the same thing happened to it. Now, if these are suppos

  • Mutifilter input for a component

    Hi All, I am pretty new to Xcelsius. I have a requirement for multiple filter input which I am not able to execute. My data is coming from a BEx Query & we only have QAAWS to get the data into xcelsius Requirement: Showing data in a Column chart. I h