Structure for delivery

Hello Experts.
I need to know what is the structure name which is filled during saving delivery in printig routine (t-code VL01N).
Structure likp and lips isn't available in this step.
For header we have available for example structure KOMKBV2 but for position of delivery structure KOMPBV1, KOMPBV2, KOMPBV3 is initial.
Thanks in advance

Hello Marcin,
I would look for the VBDPL - Document Item View for Delivery Note.
Reward if helpful.
Regards,
Michal

Similar Messages

  • 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

  • Stock Transfer Order for Delivery Note

    Hello
    i have facing some problem in client
    i have seen one STO with Plant to Plant but iam afraid that the supplying plant and receiving plant are same , (took it as BP01 supplying plant BP01 receiving plant)
    in that STO they have mentioned 3 materials (three line items) for two line items he has created the Delivery Note, for third  line item  system will not allow to create delivery note why? i ahve checked the purchase order history
    1) is it possible in SAP STO (plant to plant) they are same?
    2)if no why system will alow him to create for two line items for delivery?
    3) if they were created the delivery for two line items , why not third line item?
    (i have stock of all materials is OK),

    Hi,
    It is OK for the STO to have the same issuingh and receiving plants (although if you do this deliberately it does indicate that the org structure is suspect)
    As for the third delivery not being able to be processed, there are so many reasons and so I would need the EXACT message you are getting for this.
    You say that there is enough stock but is it in the right place and is it all available (remember that available stock is not the same as unrestricted stock, there may be other requirements that have reduced the available stock even though the physical stock is still sufficient).
    But without the message details I can't be much more help.
    Steve B

  • Open Qunatity for delivery field

    Hi All,
    i need to get the Open qunatity for Delivery LFPMG.
    it is there in the structure RV50A. But i need a transparent table name which will have LFPMG.
    Can anyone tell me which table has this Open quantity field.
    is there any Fm to get the open quantity for a Delivery with Batch split.
    Thanx and Regards.
    Vikki

    Did you ever bother about SE15?finding tables from fields?

  • Distinguishing between IDocs for Delivery, Shipment and Invoice

    Hi Experts,
    I have a requirement where I am triggering IDocs from SAP for Delivery Document, Shipment and Invoice and sending them to a third-party middleware everytime they are created in SAP, by configuring output types for these documents.
    I want to know if we have any field in these IDocs's Structures that can be used to distinguish between the different documents such that we can identify which document has been received based on this field (or combination of fields)?
    I tried to use Document Category for this purpose, but this field is not available in Invoice and moreover, the IDoc Segment names are different for every IDoc's message type.
    The key point here is that I am not allowed to do any sort of Customization in SAP to achieve this and I can only go about using the Standard Functions inherently available in SAP.
    Please suggest a possible solution for this predicament of mine.
    Thanks in advance.
    Regards,
    Keerthi

    Hello Keerthi
    I do not see where the problem lies.
    We exchange via FTP share  similar documents with one of our logistics partner:
    Inbound delivery (VL33N) => sent as DESADV.DELVRY03 => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTI
    Shipping Order (VL03N) => sent as SHPORD.DELVRY03   => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTO
    I am not a fan of functional file names yet if the third-party tools is not capable to distinguish between the documents based on their contents at runtime then we need old-fashioned unique file suffixes.
    Of course the two ORDHDR messages can be distinguished based on their contents. The message contains a TYP segment with the following qualifiers:
    TYP/TYP2 = '0430' = (shipping) order (= outbound delivery)
    TYP/TYP2 = '0660' = inbound delivery
    From this logistics partner we receive two different kinds of DLCHDR (delivery confirmation) messages:
    TYP/TYP2 = '0670' = Proof of Delivery for (shipping) order => mapped to STPPOD.DELVRY03
    TYP/TYP2 = '0695' = Goods receipt for inbound delivery    => mapped to WHSCON.DELVRY03
    The files have different suffixes yet they are not evaluated. SAP-XI just picks both messages and evaluates at runtime whether it has to transform the DLCHDR into a STPPOD or WHSCON IDoc.
    Regards
      Uwe

  • Destination and departure country for 'Delivery in shipment'

    Hi,
    I have a reporting that requires field from this structure VTRLP (Delivery in Shipment: item)
    Therefore, I need to know the source of that this structure is getting from.
    Below are the fields that I need:
    1) LAND1 - destination country
    2) ORT01 - destination city
    3) ALAND - departure country
    4) VSTEL - shipping point
    5) VGBEL - reference order number
    6) BRGEW - gross weight
    I found that LIPS table contains has VBGEL and BRGEW fields, LIKP has VSTEL. I m not so sure whether I can used it or not.
    I have no idea where are the sources for these 3 fields:
    1) LAND1 - destination country
    2) ORT01 - destination city
    3) ALAND - departure country
    Appreciate some advice. Thanks.

    Hi Ravi,
    I found this table VTTS contains most the data that I need but it only has shipping number.
    I need for each delivery in the shipment, display shipping point, destination country, destination city, order number, etc.
    here is the sample report layout:
    Shipment no. 1     Delivery shipping pont 1/ destination 1     order no. 1
                       Delivery shipping pont 2/ destination 2     order no. 2
    Shipment no. 2     Delivery shipping pont 3/ destination 3     order no. 3
                       Delivery shipping pont 4/ destination 4     order no. 4
    Thanks.

  • BAPI_GOODSMVT_CREATE for mov.type 101 for Delivery

    Hi expert,ù
    I have to use the BAPI_GOODSMVT_CREATE to create a 101 referring to a delivery but I can't find wich parameters I have to set.
    If I refre to a purch.order it works correclyt, but the same settings are not applicable for delivery.
    Any documentations or example?
    Thanks

    Hi,
    Check if this is useful.
    *-Step 1: Create Inbound delivery from outbound delivery
    Input the delivery number, date & creator name
    to impkf structure
    *-- Do MIGO using Outbound delivery
      wa_imkpf-bldat = goodsrecdate.
      wa_imkpf-budat = goodsrecdate.
      wa_imkpf-xblnr = deliverynumber.
      wa_imkpf-usnam = sy-uname.
      CLEAR ws_i_cnt.
    *-- Pass all the necessary details to I_MSEG - item details
      CLEAR wa_wueb. REFRESH i_mseg.
      LOOP AT i_wueb INTO wa_wueb.
        CLEAR wa_lips. CLEAR wa_mseg.
        READ TABLE i_lips INTO wa_lips WITH KEY vbeln = wa_wueb-vbeln
                                                posnr = wa_wueb-vbelp BINARY SEARCH.
        IF sy-subrc = 0 AND wa_lips-lgnum NE space. " only for WH managed
          ws_i_cnt = ws_i_cnt + 1.
          wa_mseg-line_id = ws_i_cnt.               " Line Number
          wa_mseg-global_counter = ws_i_cnt.        " Line Number
          wa_mseg-bwart = '101'.            " Movement Type
          wa_mseg-matnr = wa_wueb-matnr.            " Material Number
          wa_mseg-werks = wa_wueb-werks.            " Plant
          wa_mseg-lgort = wa_wueb-lgort.            " Storage Loc
          wa_mseg-charg = wa_wueb-charg.            " Batch
          wa_mseg-kzbew = c_b.                      " Movement Indicator ( B indicates
    Goods movement for purchase order)
          wa_mseg-erfmg = wa_wueb-erfmg.            " Quantity
          wa_mseg-erfme = wa_wueb-erfme.            " UoM
          wa_mseg-bprme = wa_wueb-erfme.            " UoM
          wa_mseg-menge = wa_wueb-erfmg.            " Qty
          wa_mseg-meins = wa_wueb-erfme.            " UoM
          wa_mseg-ebeln = wa_wueb-ebeln.            " STO Number
          wa_mseg-ebelp = wa_wueb-ebelp.            " STO Item Number
          wa_mseg-migo_elikz = 1.                   " Delivery completion indicator( 1 - set automatically)
          wa_mseg-bstmg = wa_wueb-erfmg.            " QTY
          wa_mseg-lgnum = wa_lips-lgnum.            " WH No
          wa_mseg-vbeln = wa_wueb-vbeln.            " Delivery Number
          wa_mseg-posnr = wa_wueb-vbelp.            " Delivery Item number
          wa_mseg-lsmng = wa_wueb-erfmg.            " QTY
          wa_mseg-lsmeh = wa_wueb-erfme.            " UoM
          wa_mseg-bukrs = wa_wueb-ekorg.            " Purchase org
    *-- Get Vendor Number from STO
          CLEAR wa_ekko.
          READ TABLE i_ekko INTO wa_ekko WITH KEY ebeln = wa_wueb-ebeln BINARY SEARCH.
          IF sy-subrc = 0.
            wa_mseg-lifnr = wa_ekko-lifnr.          " Vendor number
          ENDIF.
          wa_mseg-ean11_bme = wa_wueb-ean11.        " EAN11
          wa_mseg-insmk = space.                    " Stock Type ( space - Unrestricted use)
          wa_mseg-weanz = 1.                        " Number of GR/GI Slips to Be Printed
          wa_mseg-weanzx = c_x.                     " Updated information in related user data field
          wa_mseg-wempfx = c_x.                     " Updated information in related user data field
          wa_mseg-abladx = c_x.                     " Updated information in related user data field
          APPEND wa_mseg TO i_mseg.
        ENDIF.
      ENDLOOP.
    *-- Do MIGO
      CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT'
        EXPORTING
          imkpf = wa_imkpf
          xallp = c_x
          xallb = c_x
          xallr = c_x
          ctcod = c_migo
          xlisu = c_x
        IMPORTING
          emkpf = i_emkpf
        TABLES
          emseg = i_emseg
          imseg = i_mseg.
      IF i_emkpf-subrc = 1.                  "Inbound delivery creation is success
        ws_c_indelvry = i_emkpf-msgv1.

  • User exist for delivery document save

    Dear friends,
    I want to have a custom validation function at Delivery document save action. Can anyone specify a USER EXIST that triggered at Delivery save.
    Thanks for help,
    Ramindu

    Dear Tissera,
                    Go through this these are User exits avail in the Delivery,You choose in these.
    Processing Delivery Data
    You can use the following includes to process delivery data:
    MV50AFZ1
    This include contains routines for processing delivery header and item data, as well as for changing the entrie delivery at central points during delivery processing. For more information on the exit, see note 415716.
    MV50AFZ2
    You can use this user exit to influence distribution of the delivery quantity to the batches found.
    MV50AFZ3
    You can use this user exit to control the confirmation requirement of an individual delivery item. You can only use this user exit for picking without Warehouse Management.
    MV50AFZK
    You can use this user exit to control material determination (material listing, material exclusion, product selection), by changing the communication structures for accessing the condition tables.
    MV50AFZL
    This exit allows you to control the behavior of delivery creation for order-based deliveries in the case of incomplete delivery groups.
    MV50AFZZ
    You can use this exit to influence batch determination for an individual delivery item.
    Status Updates
    Include LV50PFZA enables you to determine your own delivery item status.
    You can use the include RV45PFZA to determine your own header status. This exit is also used by other applications in Sales and Distribution (sales order, billing document).
    You can use the customer exit in enhancement V50PSTAT if you want to influence determination of the picking status in the case of rounding problems.
    Incompletion Control of Deliveries
    You can use the include FV50UZXX to program individual incompletion checks for a delivery document. Note 158807 contains more information on this.
    Dezentralized Warehouse Management System
    You can use enhancement V50S0001 to control system behavior when you create deliveries in the decentralized Warehouse Management System:
    Control of the input attributes of delivery fields for distributed deliveries
    Control of number assignment for a delivery created in the decentralized WMS
    Collective Processing of Deliveries
    You can use the customer exits in enhancements V50R0002 and V50R0004 to calculate the stocks for displaying in the delivery due list.
    You can use the FORM routines in the include MV50SFZ4 to control output of the delivery due list in the old transaction VL04.
    You can use the include RVV50TOP to branch to user exits that you can use to influence the list output in transaction VL10. For more information see note 198137.
    Stock Transfer Process
    You can use enhancement V02V0001, if you want to control sales area determination of stock transport orders in a different way to the standard system.
    Determinations in the Delivery
    You can use the following enhancements to control determination of the organizational units that control the picking or putaway process of deliveries:
    Enhancement
    Function influenced
    V02V0002
    Storage location determination
    V02V0003
    Gate and staging zone determination (Header)
    V02V0004
    Staging zone determination (item)
    Delivery Monitor
    You can use the enhancement V50Q0001 to influence the data selection for outputting the list. For more information, see note 128150.
    Constructing Wave Picks
    You can control the construction of wave picks using the customer exits in enhancement V53W0001.
    Subsequent Outbound Delivery Split
    You can use the FORM routines in the include LV53SFZ1 to enhance the functions of the subsequent delivery split. The include LV53STZ1 enables you to enhance the type group that is used by the function modlues of the delivery split. For more information see note 416765.
    Processing Delivery IDocs
    You can use the following enhancements to influence processing of delivery IDocs:
    Enhancement
    Function
    V55K0001
    Delivery (Inbound) : Copy data
    V55K0002
    Delivery (Inbound) : Prepare processing
    V55K0003
    Delivery (Inbound) : Evaluate result
    V55K0004
    Shipping notification (Inbound): Modification of IDoc control data
    V55K0005
    Purchase order (Inbound): Modification of IDoc control data
    V55K0011
    Shipping notification (Inbound): Copy data
    V55K0012
    Shipping notification (Inbound): Prepare processing
    V55K0013
    Shipping notification (Inbound): Evaluate result
    V50B0001
    User exit for BAPI replication/confirmation of deliveries
    I hope it will help you
    Regards,
    Murali.

  • Extended Idoc - User exit for delivery VL01 and Invoice VF01

    Hi Experts,
    We are developing Extended Idoc for order - cash cycle.The extended Idoc contains 4 extra fields.
    I want to know the User exits where i can populate the extended segment field values for VL01 and VF01 transactions.

    HI
    exits available for  VL01.
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc
    V53W0001                                User exits for creating picking waves
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot
    V53C0001                                Rough workload calculation in time per item
    V50S0001                                User Exits for Delivery Processing
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List
    V50R0002                                Collective processing for delivery creation
    V50R0001                                Collective processing for delivery creation
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields
    V50PSTAT                                Delivery: Item Status Calculation
    V02V0004                                User Exit for Staging Area Determination (Item)
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination
    V02V0001                                Sales area determination for stock transport order
    For VF01..
    Enhancement
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    J_3RSINV

  • User exit for Delivery Module

    Hi ,
    I had a include program in Development for Delivery module, "MV50AFZ1" in program "SAPMV50A", which is supposed to be a user exit.  So I transported that to production on clients requirement, but then its creating some problems for client, so he wants his previous program to be back.  But I can't change this "MV50AFZ1" program in development nor in Production.  So how could I bring that previous code in production. 
    Plz help, and if possible tell me how can I change "MV50AFZ1" program code.
    Thanks.
    Shailesh.

    check the below link for user exits in SD
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Some more links r here....
    User Exits In Sales Document Processing
    http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
    Get the access key from basis for the program SAPMV45A. And change the screen.
    First create a subscreen with that two fields, call that subscreen in the screen 8309.
    call subscreen s2 including 'SAPMV45A' '9002'.
    How to add custoim fields on the additiondata b tab of va01 and va02
    VA01/VA02  screen exit
    Re: Is there any enhancement  available .....for va01??
    Add a field in va01 transaction
    Additional Screen field in VA41 or VA01
    Here are the user exits available for creating PO.
    AMPL0001 - User subscreen for additional data on AMPL
    LMEDR001 - Enhancements to print program
    LMELA002 - Adopt batch no. from shipping notification when posting a GR
    LMELA010 - Inbound shipping notification: Transfer item data from IDOC
    LMEQR001 - User exit for source determination
    LMEXF001 - Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001 - Customer-Specific Source Determination in Retail
    M06B0001 - Role determination for purchase requisition release
    M06B0002 - Changes to comm. structure for purchase requisition release
    M06B0003 - Number range and document number
    M06B0004 - Number range and document number
    M06B0005 - Changes to comm. structure for overall release of requisn.
    M06E0004 - Changes to communication structure for release purch. doc.
    M06E0005 - Role determination for release of purchasing documents
    ME590001 - Grouping of requsitions for PO split in ME59
    MEETA001 - Define schedule line type (backlog, immed. req., preview)
    MEFLD004 - Determine earliest delivery date f. check w. GR (only PO)
    MELAB001 - Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1 - Enhancement to Document Overview ME21N/ME51N
    MEVME001 - WE default quantity calc. and over/ underdelivery tolerance
    MM06E001 - User exits for EDI inbound and outbound purchasing documents
    MM06E003 - Number range and document number
    MM06E004 - Control import data screens in purchase order
    MM06E005 - Customer fields in purchasing document
    MM06E007 - Change document for requisitions upon conversion into PO
    MM06E008 - Monitoring of contr. target value in case of release orders
    MM06E009 - Relevant texts for "Texts exist" indicator
    MM06E010 - Field selection for vendor address
    MMAL0001 - ALE source list distribution: Outbound processing
    MMAL0002 - ALE source list distribution: Inbound processing
    MMAL0003 - ALE purcasing info record distribution: Outbound processing
    MMAL0004 - ALE purchasing info record distribution: Inbound processing
    MMDA0001 - Default delivery addresses
    MMFAB001 - User exit for generation of release order
    MRFLB001 - Control Items for Contract Release Order
    EXIT_SAPMM06E_001 Other Number Range or Own Document Number
    EXIT_SAPMM06E_004 User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
    EXIT_SAPMM06E_005 Field Selection Control: Vendor Address Screen
    EXIT_SAPMM06E_006 Export Data to Customer Subscreen for Purchasing Document Header (PBO)
    EXIT_SAPMM06E_007 Export Data to Customer Subscreen for Purchasing Document Header (PAI)
    EXIT_SAPMM06E_008 Import Data from Customer Subscreen for Purchasing Document Header
    EXIT_SAPMM06E_009 Reset Customer Data at Beginning of New Document (Without Dialog)
    EXIT_SAPMM06E_010 Export of Service RFQ Data
    EXIT_SAPMM06E_011 Import Service Prices for Quotation
    EXIT_SAPMM06E_012 Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 Update Customer-Specific Data in Purchasing Document
    EXIT_SAPMM06E_014 Read Customer-Specific Data when Importing Purchasing Document
    EXIT_SAPMM06E_016 Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_018 Import Data from Customer Subscreen for Purchasing Document Item
    EXIT_SAPMM06E_020 User Exit: Change Document for Requisitions (Conversion into PO)
    EXIT_SAPMM06E_021 Fulfillment of Target Value: Release Orders Against a Contract
    EXIT_SAPMM06E_022 Relevant Texts for "Texts Exist" Indicator
    EXIT_SAPMM06E_023 Definition of Relevant Texts for "Texts Exist" Indicator
    EXIT_SAPMM06E_024 Customer Enhancement: Activate PReq Block
    user exit for sto
    Regards.

  • BAPI for Delivery Change

    Hi,
    There is a structure for EXTENSION1 & EXTENSION2 in the bapi's BAPI_OUTB_DELIVERY_CHANGE & BAPI_DELIVERYPROCESSING_EXEC.
    How that will help to update lips. I have created custom fields in LIPS . Will these structures help to update LIPS ?
    Thanks

    have you tried the below bapi? were they use ful
    BAPI_INB_DELIVERY_CHANGE  -  Change inbound delivery
    BAPI_INB_DELIVERY_CONFIRM_DEC  - for inbound delivery verification from a decentralized system
    BAPI_INB_DELIVERY_SAVEREPLICA - Function Module for Replication of Inbound Deliveries
    BAPI_OUTB_DELIVERY_CHANGE - for Change to Outbound Delivery
    BAPI_OUTB_DELIVERY_CONFIRM_DEC - for Outbound Delivery Verification from a Decentralized System
    BAPI_OUTB_DELIVERY_SAVEREPLICA - Function Module for Replication of Outbound Deliveries

  • Proforma invoice is created for delivery without PGI in STO(Depot sales)

    Dear Gurus,
       I am facing a strange issue, user created Purchase order with some material X of 4 quantity, and he created the replenishment delivery for 1 quantity and without doing any Picking and PGI but system allowed to create proforma invoice with 4 quantity I checked the copy control config settings for Delivery and Proforma invoice all are maintained fine (viz., billing qty as D, copying req:311 and Data VBRK\VBRP:001)( Ichecked the change log for delivery but I didnt observed any chanes in delivery) .. strange to watch ........created the same scenario in quality but system doesnt allowed to create proforma invoice without PGI and picking(Just one month before quality is refreshed with Production).
    If anyone faced the same problem let me konw the solution ate the earliest.
    Best Regards,
    Kishore.SGR

    Hi
    As already said, as per the standard the Performa Invoice do not check the Goods Issue status of a Delivery since it uses the Copying Requirement 009 in transaction VTFL.
    If you want your performa invoice to be created only after the PGI of a delivery, then use the Requirement 003 in Copying Requirement field for the combination of your Delivery Doc. and Billing doc. in transaction VTFL at Header level.
    Regards
    Amitesh Anand

  • Build XML for Custom Nested Accordian (like Tree View Structure) for SharePoint List Data

    Expected output in Xml:
    <?xml version="1.0" encoding="utf-8" ?>
    - <TopRoot>
    - <Root id="1" Name="Department">
    - <Type id="2" Name="IT">
    - <SubType id="3" Name="Technology">
      <SubSubType id="4" Name="Sharepoint" />
      <SubSubType id="5" Name="ASP.NET" />
      <SubSubType id="6" Name="HTML 5" />
      </SubType>
      </Type>
    </Root>
    </TopRoot>
    List Details:
    list details for storing category / sub category data and code to build tree structure for the same.
    1.Create Custom List named “CategoryDetails”:
    2.Create Column “Category Name” of type single line of text. Make it as required field and check Yes for Enforce Unique values.
    3.Create column “Parent Category” of type lookup. under Additional Column Settings.
    Get information dropdown, select “CategoryDetails”.
    4.Choice column ["SRTypeName"] 1.Root,2.SRTYPE,3.SubSRTYPE, 4.SUBSUBSRTYPE
    In this column dropdown, select “Category Name”:  
    Referance:
    http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data    -fine but don't want tree view just generate xml string
    i just follwed above link it work perferfectly fine for building tree view but i don't want server control.
    Expected Result:
    My ultimate goal is to generate xml string like above format without building tree view.
    I want to generate xml using web service and using xml i could convert into nested Tree View Accordian in html.
    I developed some code but its not working to generate xml /string.
    My modified Code:
    public const string DYNAMIC_CAML_QUERY =
            "<Where><IsNull><FieldRef Name='{0}' /></IsNull></Where>";
            public const string DYNAMIC_CAML_QUERY_GET_CHILD_NODE =
            "<Where><Eq><FieldRef Name='{0}' /><Value Type='LookupMulti'>{1}</Value></Eq></Where>";
            protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                 string TreeViewStr= BuildTree();
                 Literal1.Text = TreeViewStr;
            StringBuilder sbRoot= new StringBuilder();
            protected string BuildTree()
                SPList TasksList;
                SPQuery objSPQuery;
                StringBuilder Query = new StringBuilder();
                SPListItemCollection objItems;
                string DisplayColumn = string.Empty;
                string Title = string.Empty;
                string[] valueArray = null;
                try
                    using (SPSite site = new SPSite(SPContext.Current.Web.Url))
                        using (SPWeb web = site.OpenWeb())
                            TasksList = SPContext.Current.Web.Lists["Service"];
                            if (TasksList != null)
                                objSPQuery = new SPQuery();
                                Query.Append(String.Format(DYNAMIC_CAML_QUERY, "Parent_x0020_Service_x0020_Id"));
                                objSPQuery.Query = Query.ToString();
                                objItems = TasksList.GetItems(objSPQuery);
                                if (objItems != null && objItems.Count > 0)
                                    foreach (SPListItem objItem in objItems)
                                        DisplayColumn = Convert.ToString(objItem["Title"]);
                                        Title = Convert.ToString(objItem["Title"]);
                                        int rootId=objItem["ID"].ToString();
                                        sbRoot.Append("<Root id="+rootId+"
    Name="+Title+">");
                                        string SRAndSUBSRTpe = CreateTree(Title, valueArray,
    null, DisplayColumn, objItem["ID"].ToString());
                                        sbRoot.Append(SRAndSUBSRTpe);
                                        SRType.Clear();//make SRType Empty
                                        strhtml.Clear();
                                    SRType.Append("</Root>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
             StringBuilder strhtml = new StringBuilder();
            private string CreateTree(string RootNode, string[] valueArray,
          List<SPListItem> objNodeCollection, string DisplayValue, string KeyValue)
                try
                    strhtml.Appends(GetSRType(KeyValue, valueArray, objNodeCollection);
                catch (Exception ex)
                    throw ex;
                return strhtml;
            StringBuilder SRType = new StringBuilder();
            private string GetSRType(string RootNode,
            string[] valueArray, List<SPListItem> objListItemColn)
                SPQuery objSPQuery;
                SPListItemCollection objItems = null;
                List<SPListItem> objNodeListItems = new List<SPListItem>();
                objSPQuery = new SPQuery();
                string objNodeTitle = string.Empty;
                string objLookupColumn = string.Empty;
                StringBuilder Query = new StringBuilder();
                SPList objTaskList;
                SPField spField;
                string objKeyColumn;
                string SrTypeCategory;
                try
                    objTaskList = SPContext.Current.Web.Lists["Service"];
                    objLookupColumn = "Parent_x0020_Service_x0020_Id";//objTreeViewControlField.ParentLookup;
                    Query.Append(String.Format
                    (DYNAMIC_CAML_QUERY_GET_CHILD_NODE, objLookupColumn, RootNode));
                    objSPQuery.Query = Query.ToString();
                    objItems = objTaskList.GetItems(objSPQuery);
                    foreach (SPListItem objItem in objItems)
                        objNodeListItems.Add(objItem);
                    if (objNodeListItems != null && objNodeListItems.Count > 0)
                        foreach (SPListItem objItem in objNodeListItems)
                            RootNode = Convert.ToString(objItem["Title"]);
                            objKeyColumn = Convert.ToString(objItem["ID"]);
                            objNodeTitle = Convert.ToString(objItem["Title"]);
                            SrTypeCategory= Convert.ToString(objItem["SRTypeName"]);
                           if(SrTypeCategory =="SRtYpe")
                              SRType.Append("<Type  id="+objKeyColumn+" Name="+RootNode+ ">");
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SRSubTYpe")
                              SRType.Append("<SRSubType  id="+objKeyColumn+" Name="+RootNode+
    ">");  
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SubSubTYpe")
                              SRType.Append("<SubSubType  id="+objKeyColumn+" Name="+RootNode +"
    ></SubSubType");  
                        SRType.Append("</SubType>");
                        SRType.Append("</Type>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
                // Call method again (recursion) to get the child items

    Hi,
    According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
    In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
    For example, to create or delete the ECB menu for a list item in
    "Site Content and Structure", we can follow the steps below:
    To add the “My Like” menu, we can add the code below:      
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemLike"
    runat="server"
    Text="My Like"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickNavigateUrl="https://www.google.com.hk/"
    />
    To remove the “Delete” menu, we can comment the code below:
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemDelete"
    runat="server"
    Text="<%$Resources:cms,SmtDelete%>"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickScript="%SmtObjectDeleteScript%"
    />            
    The result is as below:
    More information:
    MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
    MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Report for delivery costs

    Hi,
    1.
    I need to have a report for the paid delivey costs(planned and unplanned) for the given pos.
    2.
    Is there any std transaction which can give the list of fast moving items based on movement types?
    Please help me, it is very urgent.
    Your help is appreciated.
    Regards,
    Subbu.

    Hi,
    For Delivery Cost look in Table EKBZ ,EKBZH.For Fast moving item use the T Code MCBE (also MCBA,MCBC)in which you can find the fields like number of valuated stock receipts and issue and also number of movements .Selecting a given period range if the number of movemnets is sorted in descending order the maximum moved material can be found.
    Dhruba
    Message was edited by:
            Dhruba Charan Behera

  • Sales order need to be blocked for delivery while creation

    Hi experts,
                    My requirement is to block sales orders for delivery, for the selected distribution channels, and for selected countries while creation itself, so for this I came to known that a program MV45AFZZ include, here in this at which form can I write code to block SO for delivery. and is it enough to put a reason in the field LIFSK in VBAK table to block SO for delivery.
    Thanks in advance
    Regards
    SriNivas........

    Hi,
    You can use form routine USEREXIT_SAVE_DOCUMENT_PREAPRE of user exit MV45AFZZ to update the delivery block.
    MOVE '10' to vbak-lifsk.                    "13 is the reason for block in header"
    MOVE '10' to xvbak-lifsk.                  "13 is the reason for block in header"
    Use following code to update delivery block at item level
    MOVE '10' to vbep-lifsp.                      "13 is the reason for block in item schedule line"
    MOVE '10' to xvbep-lifsp.                    "13 is the reason for block in item schedule line"
    Regards
    Vinod

Maybe you are looking for

  • Windows 8.1 update for PFD

    Hi, India_ Lumia 925 On updating my device says update has been downloaded but unable to open. Please help Gaurav

  • Itunes library wont let me sync

    I plugged my ipod into my laptop it said i needed to restore my ipod, i clicked okay and when it was done all my music and apps were gone off my ipod and only the music was still in my itunes library. I then tried to sync the music back but it wont l

  • How do i print a picture of my phone

    how do i print a picture of my phone

  • Can a RVL200 connect to BEEVPN with this config?

    Hi all, Hope someone can help me get clear on this. I'm in doubt whether I should buy a RVL200. I'm no expert in VPN or routers. I would like to know whether or not I can use a RVL200 to establish an Ipsec tunnel to BEEVPN-service (beevpn.com). They

  • How to make a beep in PC speaker

    Hi, I would like to make a sound from the PC speaker where I can choose programatically the frequency and duration of the sound. I do not want to use the sound card. I do not want to play audio files. I am looking for a method like this: void play(fl