Partner selection for delivery

Hi Forum Colleagues
I understand when we have multiple ship-to party maintained in customer master and while creating sales order, system proposes a pop up with various ship-to to select from. I have a similar similar scenario in sales order where in I have a partner say employee which is different in each line item (or may have similar partner in 2 line items). I would like to know how do I achieve the same fucntionality i.e. pop up allowing me to select parter when I deliver.
Just FYI, i include these partner in sales order manually.
Currently I have another option to use standard tcode VL10C but this does not help me in achieving what I above mentioned.
Pl. guide.
Regards
Kalpesh

Hi Kalpesh,
You can get the Pop-up if you maintain the Partner Function as Mandatory PF. Do you want the Pop-up in the Sale Order or the Delivery Document? I suppose the Partner Function Employee that should flow in the Delivery is same as that in the Sale Order. So the Partner Determination Procedure for the Order or the Delivery should have the Partner Function mandatory as per your requirement.
Regards,
Karthik.

Similar Messages

  • Partner Function for STO and relevant inbound delivery

    Dear Expert,
    i did the partner configuration for Vendor and STO with partner VN-vendor DP-delivery plant.
    When i create the STO vendor UP07, both of VN and DP are UP07, but when i create the STO for UP07, no partner data come out for the PO, the partner data didn't copy out from vendor master.For standard PO not STO, the partner data are copied from vendor master automatically. Any advice any further more setting need to do?
    I manually input the partner data for the STO, then i try to create inbound delivery, following incompleteness came out"Vendor : Account Number of Vendor or Creditor Missing",user need to manually input the partner number for LF-vendor.But when i check the partner setting for inbound delivery, LF is copied out from VN.Any more setting need to do to make sure the partner number of LF is auto copied from PO data.
    Look forward to your reply,
    Thank you and regards

    Hello,
    PLease check the vendor data created as a plant. Go to Vendor master and in purchasing view select extras -> additional Purchasing data-> in the plant assignment enter the Plant number. This will pull in the vendor details into the inbound delivery.
    Thanks!!

  • BAPI Error: No schedule lines due for delivery up to the selected date

    Hi,
    I have created a program to create delivery orders with reference to sales orders using BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After execution I get the error: No schedule lines due for delivery up to the selected date
    Please help.
    Thanks in advance!!!
    Regards,
    Sriram

    hi,
    this is to inform you that,
    please check the schedule line date in the sales order because the date is not matching here for the BAPI to upload.
    here,  for example the schedule line is 4 days after and you are running BAPI today. that will mismatch no.
    the same thing is happening in uploading case also.
    so please check the date.
    because in teh sales order if teh schedule line date is today it will accept the uploading with out throwing any errors.
    regards,
    balajia

  • No Schedule Lines for Delivery upto selected date

    Hi,
    I have a scenario for Repairs order. Following are the steps of my scenario:
    1. Create a Repair Order.
    2. Create return delivery to recieve the faulty item.
    3. Create Outbound Delivery to send a loaner item to customer (This item would be returned once the returned item is repaired and sent to customer)
    4. Send the item after repairing.
    5. Receive the loaner item.
    When I am trying to create outbound delivery for Loaner item, i am getting an error "No Schedule Lines for Delivery upto selected date".
    I have checked and verified the schedule line date.
    I have checked for Confirmed Quantity.
    Below are the screenshots. Please let me know how can this issue be resolved.

    Hi,
    With reference of your screens,I can see there is no qty in the field loner hence you are getting issue.
    1.May I know ,why you have checked indicator -Repair?
    because ,you are not going to repair the goods.You are just sending loner items to customer.In this case what is the use of to indicate repair ?.
    Thanks,
    Naren

  • Error - No GL account selected for Asset account in Business partner master

    Hi Experts,
    Scenario - While adding A/P Invoice for Asset item, the error "Error - No GL account selected for Asset account in Business partner master Message (3518-13)
    Awaiting your replies
    Regards,
    Sid

    Hi,
    You need to map the control account of that vendor(business partner).
    ->Open the respective Business Partner master data
    ->Under accounting tab
    ->Under General tab
    ->Control accounts (will be indicated with ... button),on opening this
    ->You will be prompted to map the control accounts
                                             ^ Down Payment Payables
                                             ^Assets Account
                                             ^Open Debts
    Here you need to map the Asset account which also must be a control account(control account option should be checked in the chart of accounts).
    Pls do check in the test system,understand the behavior of this account by booking ap invoice and payment,then proceed in the live system.
    Hope this is helpful

  • Error "No schedule line due for delivery upto the selected date"

    Hi Experts,
    I am getting an error while creating outbound delivery for sales order.All items have same item cat and schedule line category,same customer.
    The sales order have three items with delivery date of 18.09.2008.the material stock is available for all three material and there is no planned issue for these material.
    In sales order schedule lines for all three items is confirmed on 18.09.2008. When I create a delivery on 04.09.2008(before the chedule line),it allows to create delivery for the two items but when I create delivery for material 3 on 04.09.2008(before the chedule line),it is giving error "No schedule line due for delivery upto the selected date" .on going to help it gives information that check whether the order item to be delivered contains confirmed schedule line.I checked the confirmed schedule line is on 18.09.2008 (though we have availbe stock on 04.09.2008).
    Kindly guide me how to resolve the issue,here I want to create delivery prior to the delivery/Schedule line date in Sles order.for 2 items it works but for third it is giving error.
    Is it something to do with Material group 5 in material master sales view for the 1 and 2nd mtrl it is 14 days for for the third it is 7 days?
    Sarvesh
    Edited by: Sarvesh Vashist on Sep 5, 2008 5:31 AM

    Hi Experts,
    I am getting an error while creating outbound delivery for sales order.All items have same item cat and schedule line category,same customer.
    The sales order have three items with delivery date of 18.09.2008.the material stock is available for all three material and there is no planned issue for these material.
    In sales order schedule lines for all three items is confirmed on 18.09.2008. When I create a delivery on 04.09.2008(before the chedule line),it allows to create delivery for the two items but when I create delivery for material 3 on 04.09.2008(before the chedule line),it is giving error "No schedule line due for delivery upto the selected date" .on going to help it gives information that check whether the order item to be delivered contains confirmed schedule line.I checked the confirmed schedule line is on 18.09.2008 (though we have availbe stock on 04.09.2008).It allows to create a OBD either I change the delivery date in sales order to 04.09.2008 or create a delivery with delivery date 18.09.208.
    Kindly guide me how to resolve the issue,here I want to create delivery prior to the delivery/Schedule line date in Sles order.for 2 items it works but for third it is giving error.
    Is it something to do with Material group 5 in material master sales view for the 1 and 2nd mtrl it is 14 days for for the third it is 7 days?
    Sarvesh
    Edited by: Sarvesh Vashist on Sep 5, 2008 5:31 AM

  • Partner selection at sales order entry: ship-to's flagged for deletion

    Hi All,
    I need some inputs for the following issue.
    For Partner selection at sales order entry level: ship-to's flagged for deletion are also proposed as it is entered in customer master. I dont want to delete the ship-to's marked for deletion in the customer master.
    In short - only the ship-to's that are not marked for deletion should get populated.
    Kindly suggest if there is an userexit for the same.
    Regards
    KCB

    Hi,
    You can try Blocking option for the particular Ship to Party.
    But this will not disable it appearing in the Partner Function Selection Pop up.
    Once you block it; though it appear in the selection pop up, you cannot select & proceed, as it gives a error message.
    You can set this block in 2 ways.
    1 - Tx: XD05
    Go to the Tx give the customer number, sales area & Pres enter.
    There you can set different type of blocks depend on your scenario.
    Save
    2 - Tx: XD02
    Go to TX, Give the Customer number (Ship to Party) & go in. Since you have marked him as a delete, you'll get a warning message there too.
    Select Menu option -> Extras -> Blocking Data
    You'll coime to the same screen as above.
    Maintain relevant blocks & Save
    Check whether it satisfy your requirement.
    Best regards,
    Anupa

  • User exit for partner determination in delivery document

    Hi,
    Can some one suggest an user exit for partner determination in delivery document.
    We have a scenario of excluding certain plants for few of the partner determinations in delivery document..
    Please suggest
    Regards
    Ravikumar

    Hello Ravikumar,
    Please ceck if these userexits help
    Normally there are 2 userexits available in function kopierte_partner_pruefen:
       - EXIT_SAPLV09A_003
       - EXIT_SAPLV09A_004
    Regards,
    Raghavendra YN

  • No G/L account selected for Asset Account in Business Partner Master Data

    Hi All,
    When i tried to raise A/P invoice for an Asset Item the system is raised the following error"  why?
    " No G/L account is selected for Asset Account in Business Partner master data "
    thanks
    SV Reddy

    hi Giri,
    When you choose from list against the Asset Account in the business partner master data it is only displaying the Trade Creditors Account domestic and foreign acounts only.  which one to choose in this case?  i presume trade creditors account is the one to choose.  but what is the logic for asset items to choose this Trade Creditors Account?   Or  else can we create a separate control account for purchasing the Asset items?  what is the logic again here choosing a separate account through option create new ?
    thanks
    SV Reddy

  • No INBOX Selection for the Partner

    Hi Experts,
    Could someone please tell me where we can configure a Vendor for "No INBOX Selection for the Partner".
    Is this at some transaction level or in the Shopping cart.
    We have this field in the table CRMD_PARTNER,  Field - DISABLED
    Due to this the Vendor gets dropped and the PO goes into HELD status.
    We have implemented the Preferred to FIxed Vendor and works perfectly, except for these partners with CRMD_PARTNER-DISABLED = 'X'.
    Thank you.

    thanks

  • Error "No INBOX Selection for the Partner".

    Hi Experts,
    Could someone please tell me where we can configure a Vendor for "No INBOX Selection for the Partner".
    Is this at some transaction level or in the Shopping cart.
    We have this field in the table CRMD_PARTNER, Field - DISABLED
    Due to this the Vendor gets dropped and the PO goes into HELD status.
    We have implemented the Preferred to FIxed Vendor and works perfectly, except for these partners with CRMD_PARTNER-DISABLED = 'X'.
    Thank you.

    thanks

  • For Delivery ,RG23D selection is not complete

    Hi ,
    I am getting this error when i do billing VF01,i could create order VA01 ,then created Del VL01n ,did PGI but during Biling VF01 ,the error saying  "For delivery 80497538,RG23D selection is not complete .
    let me know what the error
    thanks
    Vishwas

    Hi,
    Goto Tcode: j1ij
    select delivery from menu
    then select RG23D
    enter the delivery number
    enter excise group
    enter series group
    enter
    press the first icon in excise invoice for delivery screen
    click on excise invoice button
    Press the selection criteria button to customize the selection screen
    Sort the excise invoice and display all the excise invoice
    press continue
    Press enter to upate the excise value calcualted for the sales order quantity
    save it.
    thanks.

  • POP UP is not coming for Partner selection in WEB UI (Service Request)

    Hi,
    I am working on Service Request right now. I have entered the customer number which has multiple bill to party's. But, on entering the customer number, the system is not displaying popup for Bill To Party. It is filling the first partner as default.
    I have checked the partner determination which is used for sales order as well. However, for sales order the popup is coming.
    I am not able to understand why the same config is working for sales order, and not working for Service Request.
    Could you please help, where I need to check, and how I need to resolve this.
    Thanks,
    Sandeep

    Hi,
    in the partner determination procedure check for bill-to-party if the field "Select. limit" is set to 0.
      Defines how many partners must be found, for this partner function, for
      a selection list to be displayed in the transaction during partner
      determination
    If this is set you should create an OSS message.
    Kind regards
    Manfred

  • No schedule lines due for delivery up to the selected date

    Dear Experts,
    My order has no block. i tried with 3 months in selection date in VL01N.
    My schedule line in order has 0 confirmed quantity,
    Kindly confirm if error in VL01n No schedule lines due for delivery up to the selected date because of 0 confirmed qty
    Thanks
    Siva

    Hi,
    I think you should use the " Back order process". Using backorder processing, you can list sales documents relevant for requirements for particular materials and confirm them manually. You can assign available-to-promise (ATP) stock to
    Outstanding order quantities. In addition, you can withdraw already confirmed quantities and reassign them to different items. The stock may be reserved for other sales order. You can reassign the stocks to your sales order material.
    To do this, go to Co06 (Back order processing) , enter the Material number, Plant and the checking rule.
    Select any sales order and choose --> Edit --> Change confirmation. Make sure the confirmed quantity is "0".
    Then select the unconfirmed sales order, then choose --> Edit --> Change confirmation. Now you can enter the "Delivery quantity manually ".
    Now you can create the delivery document.
    Hope this can help you .
    Regards
    M. Lakshmi Narasimhan

  • 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

Maybe you are looking for

  • Filename in legend

    Hello. Quite a basic question but several trials and none worked.. So in the legend I just want to display the filename without the channel as in "channel name (file name)". I tried free text with "@@ChnFileName(CurrChnNo)@@" but it did not worked ou

  • "The iPod '...' cannot be synced. The disk is locked and cannot be written to."

    Hello. I keep getting this "The iPod '...' cannot be synced. The disk is locked and cannot be written to." error when I try to sync my 11 GB of music from my very old, updated Windows XP Pro SP3 machine to an old iPod Touch 1G (iOS v3.1.3). It has a

  • Error loading xml file with sqlldr

    Hi there, I am having trouble loading an xml file via sqlldr into oracle. The version i am running is Oracle Database 10g Release 10.2.0.1.0 - 64bit Production and the file size is 464 MB. It ran for about 10 hours trying to load the file and then th

  • Using Crystal Reports on a Citrix server

    Post Author: rmarty CA Forum: Deployment I have a 2003 .net windows application that internal crystal reports built in using Crystal 11 SP2.  On a basic client the merge modules and the reports run fine without incident. This does not work on a Citri

  • Insert ATT sim card in Iphone 5 = automatically connects to cellular service?

    Hi folks, I just bought an unlocked Iphone 5 a few weeks ago. I'm using it perfectly except I don't have a nano sim inserted. I have AT&T. I had a Samsung before buying the Iphone 5 and I blocked the internet access through cellular service on the Sa