Minimum Fields that Need to be Populated for  Delivery Note

Does anyone have a list of bare minimum fields that need to be populated when uploading a Delivery Note from another 3rd party system (e.g. a shipping system) to SAP Business One?
Thanks.
Kushal Dutta.

Hi Dhruv:
Thank you for your answer - that was helpful. Please note that I had originally posted this in SDK, and no one answered for over a week. I got an immediate reply back from you once I posted it in the Integration forum - sorry about that.
I have a related question though.
When I am posting the Delivery Note back to B1, I had expected B1 to generate the DocNum. However, it gives me an error if I do not populate the DocNum field. I have to put a value there, however, it appears to me that B1 is ignoring the value that I put and is generating a new DocNum. I am happy with that, however, need to know two things:
a) Is there a specific value that I should populate the DocNum field wth before sending the XML to B1, or just any random number will do?
b) How do I control which Sales Order the Doclivery Note gets posted against?
Thank you.
Kushal Dutta.

Similar Messages

  • Fields that needs to be populated for executing BAPI_ALM_ORDER_MAINTAIN

    Hi,
    I need to execute BAPI_ALM_ORDER_MAINTAIN to create Production Orders, Components, Operations and Equivalence numbers for co-procuts components.
    Could you please help me with the fields that needs to be populated so that the BAPI can be successfully executed to get the desired result.
    Thanks in advance !!

    Hi,
    Please check this links
    http://abap.wikiprog.com/wiki/BAPI_ALM_ORDER_MAINTAIN
    Problem with BAPI_ALM_ORDER_MAINTAIN Change Activity
    Re: Use BAPI_ALM_ORDER_MAINTAIN -  code example
    Hope it helps.
    Regards
    Hiren K.Chitalia

  • Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    Release notes for 2.16 states that there was a fix for alerts not being modal. We are using 3.0.6 and are experiencing the same issue; was there a regression to the modal fix. What version needs to be used to make sure that alert messages are modal?

    We are trying to determine why alert boxes are not modal
    The fix states it's for Firefox 2.0 - 3.7a1pre
    We are using 3.0.6 not the current version of 3.6.13.
    Add-on release notes 2.16.1
    https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/versions/
    Repeating 2.16 release notes since 2.16 was not made available for more than a couple of hours
    Fixed bug whereby some alert boxes weren't properly parented/owned. This led to some alerts not being properly modal
    with respect to the window/dialog that issued the alert.

  • HT204210 Still nothing about File Vault that needs a bug fix for almost every user. This is becoming even more disappointing!

    Still nothing about File Vault that needs a bug fix for almost every user. This is becoming even more disappointing!

    Apple Enterprise Support is aware of this issue. They have specific instructions which attempt to remediate the issue, however, attempting on two different MBP laptops, so far has not succeeded.
    The problem to be specific is - hang at login. The Filevaulted user account gets its password entered, then the "progress bar" mid screen will be seen to halt, never resuming. NVRAM resets dont necessarily cure this issue, but turning off FV2 definitely does.
    We are seeing this with 10.10.2 fully Apple-SUS updated machines.
    Feedback has been sent to Apple over this as well.
    Im recommending:
    a. turn off FV2 until such time as a Apple provided update cures it
    b. consider the Sophos WDE solution if WDE is absolutely required (disclosure: I havent attempted this, not sure about its workability)

  • Automatic form generation on creation transfer order for delivery note?

    Hi,
    I have to create a form that should automatically be generated on the creation of a transfer order for delivery note. How do I trigger this automatic creation of the form? And how can the transfer order number be passed to my print program?
    Thx!

    hi christophe,
    To issue the delivery output, go to transaction VL02N.
    Then go to EXTRAS-> OUTPUT->HEADER->EDIT
    In the Message output screen enter the relevant output type created for the delivery.
    Choose the relevant medium of output.
    Choose Simple Mail, in this case the field NAST-NACHA will be having a value of 7.
    Specify the Partner Function; in this case it is MA -> Mail partner address
    Select the Communication Method for the output type maintained.
    This will take you to the SAPOFFICE screen.
    Enter there the  E-Mail Address to which you want to send the delivery document as PDF.
    A mail will be sent to the e-mail address of the E-Mail Address specified, with the delivery output form as a PDF attachment.
    hope it will help u ..
    *& Report  ZZ_TEST                                                     *
    REPORT  zz_test                                 .
    INCLUDE zz_test_top.
    INCLUDE zz_test01.
          FORM entry                                                    *
    -->  RETURN_CODE                                                   *
    -->  US_SCREEN                                                     *
    FORM entry USING return_code us_screen.
      CLEAR retcode.
      xscreen = us_screen.
      PERFORM processing USING us_screen.
      CASE retcode.
        WHEN 0.
          return_code = 0.
        WHEN 3.
          return_code = 3.
        WHEN OTHERS.
          return_code = 1.
      ENDCASE.
    ENDFORM.                    "entry
    *&  Include           ZZ_TEST_TOP                                      *
      TABLES : nast,
               tnapr.
    TYPES : BEGIN OF t_SOUDNAMEI1.
            INCLUDE STRUCTURE SOUDNAMEI1.
    TYPES : END OF t_SOUDNAMEI1.
    Internal Table declarations
      DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
      i_tline TYPE TABLE OF tline WITH HEADER LINE,
      i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
      i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    *Objects to send mail.
      i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
      i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
      i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
      i_lips LIKE lips OCCURS 0 WITH HEADER LINE,
      i_SOUDNAMEI1 TYPE STANDARD TABLE OF t_SOUDNAMEI1.
    Work Area declarations
      DATA:w_objhead TYPE soli_tab,
      wa_control_parameters TYPE ssfctrlop,
      wa_output_options TYPE ssfcompop,
      w_return TYPE ssfcrescl,
      w_doc_chng TYPE sodocchgi1,
      w_data TYPE sodocchgi1,
      w_buffer TYPE string,"To convert from 132 to 255
      wa_SOUDNAMEI1 TYPE t_SOUDNAMEI1,
    Variables declarations
      w_form_name TYPE rs38l_fnam,
      w_len_in LIKE sood-objlen,
      w_len_out LIKE sood-objlen,
      w_len_outn TYPE i,
      w_lines_txt TYPE i,
      w_lines_bin TYPE i,
      retcode      TYPE sy-subrc,
      xscreen      TYPE c,
      w_spld TYPE usr01-spld,
      w_receiver TYPE SOXNA-FULLNAME,
      w_OBJ_RECORD TYPE OBJ_RECORD,
      w_user type sy-uname,
      w_email TYPE ad_smtpadr.
    Constants Declaration
      CONSTANTS : c_x TYPE c VALUE 'X',
                  c_atrate(1) TYPE c VALUE '@'.
    *&  Include           ZZ_TEST01                                        *
          FORM PROCESSING                                               *
    FORM processing USING proc_screen.
      SELECT * FROM lips
        INTO TABLE i_lips
        WHERE vbeln = nast-objky.
    Call Function module to Getfunction Module name Generated by Smartform
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = tnapr-sform
        IMPORTING
          fm_name            = w_form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        retcode = sy-subrc.
      ENDIF.
      CLEAR : wa_control_parameters,
              wa_output_options.
      CASE nast-nacha.
        WHEN '1'.
          wa_control_parameters-device    = 'PRINTER'.
        WHEN '7'.
          DATA: l_email TYPE ad_smtpadr.
          wa_output_options-tdnoprev = c_x.
          wa_control_parameters-getotf  = c_x.
    To get the default output device maintained in the
    User profile
         SELECT SINGLE spld FROM usr01
          INTO w_spld
          WHERE bname EQ nast-usnam.
          IF sy-subrc EQ 0.
            MOVE w_spld TO  wa_output_options-tddest   .
          ENDIF.
          wa_output_options-tdnoprev = c_x.
          wa_control_parameters-getotf  = c_x.
    To get the email address maintained for the particular output
          CALL FUNCTION 'NAST_GET_MESSAGE_OBJECT_RECV'
            EXPORTING
              pi_objkey             = nast-tdname
            IMPORTING
              pe_addr               = w_receiver
            CHANGING
              pc_objhandle          = w_obj_record
            EXCEPTIONS
              maildata_not_readable = 1
              OTHERS                = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          IF w_receiver NA c_atrate.
    To retrieve the E-Mail Id in case we get the User name from NAST
            CLEAR wa_soudnamei1.
            REFRESH i_soudnamei1.
            MOVE w_receiver TO wa_soudnamei1-fullname.
    To get the user name
            CALL FUNCTION 'SO_NAME_CONVERT_API1'
              EXPORTING
                name            = wa_soudnamei1
              TABLES
                names           = i_soudnamei1
              EXCEPTIONS
                user_not_exist  = 1
                parameter_error = 2
                x_error         = 3
                OTHERS          = 4.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
            CLEAR wa_soudnamei1.
            READ TABLE i_soudnamei1 INTO wa_soudnamei1 INDEX 1.
            MOVE wa_soudnamei1-sapname TO w_user.
    To get the e-mail Id maintained in the user profile
            CALL FUNCTION 'FTR_CORR_CHECK_EMAIL_SAP_USER'
              EXPORTING
                i_user              = w_user
              IMPORTING
                e_email_address     = l_email
              EXCEPTIONS
                mail_address        = 1
                determination_error = 2
                OTHERS              = 3.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
            MOVE l_email TO w_receiver.
          ENDIF.
          MOVE  w_receiver TO w_email.
      ENDCASE.
      wa_control_parameters-no_dialog = c_x.
      wa_control_parameters-langu     = nast-spras .
      wa_output_options-tdteleland    = nast-tland.
      wa_output_options-tdtelenum     = nast-telfx .
      wa_output_options-tdsenddate    = nast-erdat .
      wa_output_options-tdsendtime    = nast-eruhr .
      wa_output_options-tddataset     = nast-dsnam .
      wa_output_options-tdsuffix1     = nast-dsuf1 .
      wa_output_options-tdsuffix2     = nast-dsuf2 .
      wa_output_options-tdimmed       = nast-dimme .
      wa_output_options-tddelete      = nast-delet .
      wa_output_options-tdautority    = nast-tdautority.
      wa_output_options-tdcovtitle    = nast-tdcovtitle .
      wa_output_options-tdcover       = nast-tdocover .
      wa_output_options-tdreceiver    = nast-tdreceiver.
      wa_output_options-tddivision    = nast-tddivision.
      wa_output_options-tdcopies      = nast-anzal .
      wa_output_options-tdnewid       = c_x.
      wa_output_options-tdarmod       = nast-tdarmod.
      wa_output_options-tdnoarmch     = c_x.
      CALL FUNCTION w_form_name
        EXPORTING
         archive_index      = toa_dara
         archive_parameters = arc_params
          control_parameters = wa_control_parameters
          output_options     = wa_output_options
          user_settings      = ' '
        IMPORTING
          job_output_info    = w_return
        TABLES
          it_lips            = i_lips
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF nast-nacha EQ 7 AND sy-subrc EQ 0.
        i_otf[] = w_return-otfdata[].
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
            max_linewidth         = 132
          IMPORTING
            bin_filesize          = w_len_in
          TABLES
            otf                   = i_otf
            lines                 = i_tline
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 3
            OTHERS                = 4.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Convert PDF from 132 to 255.
        LOOP AT i_tline.
    Replacing space by ~
          TRANSLATE i_tline USING ' ~'.
          CONCATENATE w_buffer i_tline INTO w_buffer.
        ENDLOOP.
    Replacing ~ by space
        TRANSLATE w_buffer USING '~ '.
        DO.
          i_record = w_buffer.
    Appending 255 characters as a record
          APPEND i_record.
          SHIFT w_buffer LEFT BY 255 PLACES.
          IF w_buffer IS INITIAL.
            EXIT.
          ENDIF.
        ENDDO.
        REFRESH: i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
        CLEAR w_objhead.
    Object with PDF.
        i_objbin[] = i_record[].
        DESCRIBE TABLE i_objbin LINES w_lines_bin.
    Document information.
        w_doc_chng-obj_name = 'Smartform'.
        w_doc_chng-expiry_dat = sy-datum + 10.
        CONCATENATE 'Delivery' 'Note'
        INTO w_doc_chng-obj_descr.
    *w_doc_chng-obj_descr = 'Smart form output'.
        w_doc_chng-sensitivty = 'F'. "Functional object
        w_doc_chng-doc_size = w_lines_txt * 255.
    Pack to main body as RAW.
    Obj. to be transported not in binary form
        CLEAR i_objpack-transf_bin.
    Start line of object header in transport packet
        i_objpack-head_start = 1.
    Number of lines of an object header in object packet
        i_objpack-head_num = 0.
    Start line of object contents in an object packet
        i_objpack-body_start = 1.
    Number of lines of the object contents in an object packet
        i_objpack-body_num = w_lines_txt.
    Code for document class
        i_objpack-doc_type = 'RAW'.
        APPEND i_objpack.
    Packing as PDF.
        i_objpack-transf_bin = 'X'.
        i_objpack-head_start = 1.
        i_objpack-head_num = 1.
        i_objpack-body_start = 1.
        i_objpack-body_num = w_lines_bin.
        i_objpack-doc_type = 'PDF'.
        i_objpack-obj_name = 'Smartform'.
        CONCATENATE 'Delivery' 'Note' '.pdf'
        INTO i_objpack-obj_descr.
        i_objpack-doc_size = w_lines_bin * 255.
        APPEND i_objpack.
    Document information.
        CLEAR i_reclist.
    e-mail receivers.
        i_reclist-receiver = w_email.
        i_reclist-express = 'X'.
        i_reclist-rec_type = 'U'. "Internet address
        APPEND i_reclist.
    sending mail.
        CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            document_data              = w_doc_chng
            put_in_outbox              = 'X'
          TABLES
            packing_list               = i_objpack
            object_header              = w_objhead
            contents_bin               = i_objbin
       contents_txt               = i_objtxt
            receivers                  = i_reclist
          EXCEPTIONS
            too_many_receivers         = 1
            document_not_sent          = 2
            document_type_not_exist    = 3
            operation_no_authorization = 4
            parameter_error            = 5
            x_error                    = 6
            enqueue_error              = 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.
      ENDIF.
    ENDFORM.                    "processing

  • LT03 transfer order for delivery note

    Hi Guys,
    I try to execute the transfer order for delivery note with Lt03 after saving my delivery, but i got the error message No item that are to be picked were found. Ho can i solve that?
    Plase need ur help.
    Thanks

    hi
    then check in OVLP whether u have checked box for u r item category
    and also check the document flow it might have already picked

  • Reg : change pointer mechanism for triggering the IDOC for delivery note

    Hi ,
    I am working on a change pointer mechanism for triggering the IDOC for delivery note and will be using this message class DESADV.
    So SAP has suggested for assigning the message class DESADV with the function module in MASTERIDOC_CREATE_SMD_DESADV in BD60 transaction code.
    So I was looking to create this MASTERIDOC_CREATE_SMD_DESADV function module in SAP and SAP suggesting that  we should create this MASTERIDOC_CREATE_SMD_DESADV function module as same as the function module MASTERIDOC_CREATE_SMD_MATMAS.
    So do anyone knows that is there any tool has been provided by SAP for creating this function module MASTERIDOC_CREATE_SMD_DESADV in SAP system for triggering the change pointer mechanism for outbound Delivery.
    Thanks !
    Regards,
    Kiran

    Hi,
    When you are change pointer the system itself will take care of sending the changed master data to your partner system and the user will not have any intervention.  If you really wanted to have that then you need to use the change pointers to read the master data which is modified in a custom program and then display that on the screen.  Once the user selects that master data records then trigger an IDOC for creating the idoc for that master data and also flag that master data record as processed in the SAP BDCPS standard table, so that the same record will not be picked. If you wanted to know how the change pointers piece of code is written go through the program RBDMIDOC and you can understand how the change pointers logic is written.
    Thanks,
    Mahesh.

  • 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

  • How to reverse goods issue for delivery note by using IDoc

    Hi all,
    I would like to reverse goods issue and picking request for delivery note by using inbound IDoc.
    I used message type SHPCON and IDoc type DEVLRY03 for posting goods issue in inbound processing and it's work but I couldn't find solution for posting reverse goods issue.
    Pls let me know which IDoc type or any ways for posting goods issue reversal and cancelling picking request.
    Thanks for your time.
    Su R.

    Hello,
              For this requirements we can actually follow two Approaches that I can think of. Here they are.
    Approach 1
             Little Complex Approach. What we can do is to make use of the Same Function Module (Posting Program) IDOC_INPUT_DELVRY to do the Delivery Updates (Except reversing the Goods Issue). During this,  we can make use of one of the Customer Functions available in the Enhancement V55K0001 and satisfy our Requirement.
    Approach 2
            We can actually code a Custom Posting Program (Function Module) in which the first part will take care of updating the Delivery & if the PGI is done, then we can make use of the Function Module BAPI_GOODSMVT_CANCEL to reverse the PGI.
            I think the later Approach is much easier rather than going for the Standard Function Module (Posting Program), Exits and find a place where we have to find another Enhancement Spot / Enhancement where we can call the above FM to Cancel the Goods Movement.
    Hope these inputs were helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • WMTA output type for delivery note.

    hey experts
    we are using output type WMTA (automatic TA) for delivery note with Medium 8 (Special Function) & date/time 4 (send immdiately when saving appli).
    In production server when user save delivery  WMTA  trigger with ZPLF(std delivery outpt type) in 2nd line and print the doc.
    but
    In Dev & Qas server when i save the delivery document. it only trigger WMTA and it is not printing the delivery note
    i guess  unless until WMTA not trigger with ZPLF printing is not possile.
    i want know  how WMTA output type trigger with ZPLF output type in Production Server.
    Why WMTA not triggering the ZPLF  in DEV & QAS.
    thanks
    Edited by: manojverma on Jul 2, 2011 4:40 PM

    Hi MdZ,
       I looked at the analysis output.  ZD04 output is what i am after.  Don't understand the followings:
    Q1 - why the ordering in anaylsis is different than in output determination procedure. For example:
    In Analysis Output: i have:
    LDOO    -  Output not found
    MAIL     - manual output
    PLOO    - Output not found
    Z940    - Output found
    ZBOL   - Output not found
    ZD04   - OUTPUT NOT FOUND
    The Output Determination Procedure as:
    Step  Counter   CType
    10       1           LD00
    12       1           ZLFX
    13       0           LALE
    14       1           ZBOL
    20        2          MAIL
    75       1           ZD04
    90       1           PL00
    110      1          Z940
    Step 10 should be read , then step 12, and so on.  Why is the ordering in procedure different than in
    output analysis ?
    Q2. Why did it display ZD04 not found when ZD04 appear on the delivery output as green light ? When i drill down, it show 2 access sequence.  Access 10 stated Output found.  Access 20 stated Output not found.
    Thank you.
    Joyce

  • Printer for delivery note

    Hi ,
    How to set default printer for delivery note...
    Prashanth

    Hi There,
    Do this by  printer configuration in the spool.
    Go to T-Code SP01,
    Execute the spool request,
    Then  select the required spool and change the printer name in the option 'Print with changes parameters' from the menu option spool request.
    Thanks,
    Raja

  • EDIFACT D96A for Delivery Note

    Hi Gurus,
    Which Standard is available in spectrum of EDIFACT D96A for Delivery Note?
    I can only find 2 for Delivery Note :-
    1. DELFOR : Delivery Schedule
    2. DELJIT : Delivery JIT
    Which one to use for Delivery Note or there is someone else for Delivery Note?
    Thanks

    I do not have any such doc. Anybody in your team/org having functional knowledge about electronic transaction flow and EDIFACT may provide you such doc/mapping. I just know it because I have worked with this EDIFACT message earlier.
    Regards,
    Anuj

  • T-code for delivery note

    Hi experts,
    What is the t-code for delivery note creation.
    thanks

    Hi
    Kumar
    Tcode    
    >VL01N   Creation
    >VL02N   Change / delete
    >VL03N   Display
    >VL09      Goods issue reverse.
    Thx.

  • For delivery note

    Hi,
        can anybody send me the data how can we design the layout and print program using smart form for delivery note in sd.
    Thanks & Regards,
    sunil.

    DELIVERY NOTE
    Output type : LD00
    layout is smartform name : LE_SHP_DELNOTE
    Smartform Driver Pgm: RLE_DELNOTE
    u can modify above layout nd program according to ur needs

  • Table name  and  field name needed for delivery note

    Hi  Experts
    I need to extract the following fields for Delivery.
    company code
    Sales organization
    plant code
    shipping point
    DDL No (VBELN)
    Sales order
    Customer PO
    Customer request date
    planned GI date
    sold to code
    ship to code
    ship to name1
    ship to name 2
    ship to address1
    ship to address2
    ship to address3
    DDL Line item(posnr)
    matnr
    DDL Doc. date
    DDL Doc. Created by
    anybody knows the field name and table name for above fileds pls help me.

    Hi,
    It is possible to get the data ship-to adress of delivery.
    step1:
             Go to LIKP table which is header data.Select the record from DB for delivery you want into one field string.
    step2:
           Get the customer number of the ship-to party (in field KUNNR IN LIKP Table) into one variable.
    step3:
           Using that customer number you can get the address of ship-to party of particular delivery in KNA1 table.
      Here is some peice of code.
      TABLES: kna1 , likp.
    PARAMETERS: p_del TYPE likp-vbeln.
    DATA:
         w_ship_to_num TYPE likp-kunnr.
    SELECT SINGLE * FROM likp
    WHERE vbeln EQ p_del.
    w_ship_to_num = likp-kunnr.
    SELECT SINGLE * FROM kna1 WHERE kunnr EQ w_ship_to_num.
    WRITE : 'Name :' ,  kna1-name1,
              'City   :'  , kna1-ort01,
              'State :'   ,kna1-regio.

Maybe you are looking for