RFFOEDI1 program issues

We use RFFOEDI1 program to generate payment Idocs. we have a requirement to run this program seperate from the f110 payment run. When I do that, if I leave the payment run identification field blank on the selection screen, the program is not slecting any records even if I fill all the other fields in the selection screen. I tried with putting an asterisk in the payment ID field, still no records. Is there a way to run this program by leaving payment ID fields blank?
Thanks
Paul

Hi,
You need to give a payment run ID in RFFOEDI1 execution, if you are executing it outside F110.
However check if you can change the setting of the partner profile in WE20 as "Collect IDOCs" and then can trigger the program RSEOUT00 to push the IDOCs to interface.
Regards,
Gaurav

Similar Messages

  • Payment documents / Payment orders were not updated in RFFOEDI1 Program

    Hi,
    With F110 transaction i'm  printing Payment summary and Remittance form by using YDFI_RFFOEDI1 ( Copy of RFFOEDI1)
    Program variant.
    Spool is generating Payment summary and Remittance form along with Error log as below.
    Program YDFI_RFFOEDI1: No records selected
    The following payment documents/payment orders were not updated
    (Result of the payment document update)
        CoCd Payment document/Payment order
        1019 F110000001
    The accompanying payment media have not been generated
    YDFI_RFFOEDI1 Program variant is having Generate SAP Idoc check box as unchecked under Print control tab.
    Thanks
    Bhuvana

    Please help me on this issue

  • Does the RFFOEDI1 program has any implication on the ACH direct deposit?

    Hi all,
    Can any one please explain the use of RFFOEDI1 program. Is this
    program used just to generate I-Doc?
    Scenario: For Check payment method(C)
    Once F110 run is successful, then we have to run RFFOUS_C program to
    generate checks. Once this program is complete, checks will be
    generated and the check info will be available in PAYR table.
    Scenario: For ACH-CCD payment method (D)
    Once F110 run is successful with payment method D, The payment details
    will hit BSAK table.
    Now, I don't want to generate the SAP standard I-Doc with RFFOEDI1, do
    I still need to run RFFOEDI1 program???
    For the check payment, RFFOUS_C program triggers the generation of
    checks after which the check info will be available in PAYR table
    Likewise, does the RFFOEDI1 program has any implication on the ACH
    direct deposit?
    To my understanding, If you do a payment using payment method, ACH
    direct deposit in SAP, we don't generate any check numbers ???!!!
    Do we get any reference number or anything when the direct deposit is
    done??? This reference number could be used to trace the invoice
    against which this ACH payment was done!
    If it is the case, where do we get/ when do we generate the reference
    number to trace the invoice????.....any inputs?
    If we are not going to run RFFOEDI1 program, (if we are not interested
    in generating IDoc) then are we DONE with the ACH direct deposit, once
    we are done with payment run(F110)???
    Where do we get the reference number which specifies the ACH payment?
    Sorry, I have poured in lot of question at one place!
    Any inputs/ solutions/ suggestions are greatly appreciated!
    Thanks a lot!

    RFFOEDI1 is typically used when payments to vendors are to be sent by an EDI 820 file to the bank. This program generates the PEXR2002 idoc. The idocs are sent to the EDI translator where these are mapped to an EDI 820 file format and sent to the bank.
    Scenario ACH-CCD payments method (D)
    If you do not want to send EDI 820 payments, you would typically not generate the idoc - in which case - you dont have to use RFFOEDI1. This probably means that (a) you are using the RFFOUS_T program for generating the payment medium or (b) you are using the payment medium workbench to generate the ACH file (NACHA format) for your house bank.
    You do have to send an ACH file to the bank for paying your vendors - which means - you are probably using one of the above methods to generate the file.
    ACH Direct Deposit
    I am assuming that you are probably referring to ACH-PPD type payments here. You would still have to send the payment medium using one of the methods mentioned above.
    In all ACH scenarios, your payment document number, is your reference number that was used to clear the open item.
    Hope this helps.

  • How to send sap generated invoice numbers using rffoedi1 program

    Hi all
    we are generating PEXR2002 IDocs using RFFOEDI1 program . The program is populating the invoice number field in IDoc with the value from reference number field in MIRO screen. Is there any way that we can populate the SAP generated invoice number also in the IDoc.

    Hi Steve,
    Have you tried the user-exits or BADi available.
    Regards,
    Atish

  • Bank transfer program issue in Indian Payroll

    Dear Experts,
    We have successfully made ban transfer using Pc00_M40_cdta program followed by payroll run and posted the results to FI.
    But now issue is when i run the program Pc00_m40_ffom in MT100 format, there is no output coming and amount is displayed 0.
    Thats why may be, in FDTA transaction from FI side, no output coming in bank transfer tab in spite of line items showing in Data medium.
    And also i am unable to delete my bank transfer results using program RPCDTFD0 due to error in country code happening.
    Please help to resolve the issues, what are the steps i need to carry out for creating the ban transfer document is FI also and how to delete the bank transfer results in Indian scenario.
    Regards
    Tan

    Hi,
    Thanks for your reply. Actually Pre-DME is done successfully with set flag transfer and i could not delete the bank transfer results due to error in country code error as mentioned above.
    Issue is with PC00_M40_FFOM program, where while selecting my document details in MT100 format, transferred amount is showing zero in the output document.
    Please suggest how to get my transferred amount displayed there
    Regards
    Tan

  • Windows 8.1 - Microsoft Office 2013 Program Issues

    After 8.1 Windows and Malicious software updates installed, I cannot open my MS Office 2013 programs without the Error with shortcut coming up and "The item Outlook.exe that the shortcut refers to has been changed or moved, so the shortcut will no longer
    work properly.  Do you want to delete it?"  Also when just clicking on a file, a window comes up to ask how do I want to open this file (see below).  I didn't do anything.  The PC just did updates upon shut down last night. 
    System restore didn't fix issue either.  Please help.

    It sounds as though the executable (.exe) files are configured to open with notepad. Unfortunately you cannot manage .exe association with a launched application from the Default Programs Control Panel applet. You will need to reset the configuration of
    the .exe association within the registry. The default configuration is:
    Windows Registry Editor Version 5.00
    [HKEY_CLASSES_ROOT\.exe]
    @="exefile"
    "Content Type"="application/x-msdownload"
    [HKEY_CLASSES_ROOT\.exe\PersistentHandler]
    @="{098f2470-bae0-11cd-b579-08002b30bfeb}"
    I have exported these keys to a .reg file which you can download and merge on your system to replace the corrupted keys,
    the link is here.
    Disclaimer: As editing the registry can produce an unstable system or even prevent the system from booting, it is only recommended for advanced users comfortable with the ramifications. It is recommended to
    back up any keys that might be edited and to have a
    recovery environment available.                                  
    Brandon
    Windows Outreach Team- IT Pro
    The Springboard Series on TechNet

  • ABAP program issue

    Dear All,
    I have written an ABAP program by which it writes few things on application server (overwrite mode).
    I have included this program in the Process Chain but it is giving dump first time when it is running "DATASET_NOT_OPEN" whereas the path and all directories are created on application server.
    When i try to repeat the process chain it is running successfully.
    Please help on the same.
    Regards,
    SS

    Check these links.
    Re: SHORT DUMP! Exception: CX_SY_FILE_OPEN_MODE
    CX_SY_FILE_OPEN_MODE - short dump on production but not in Dev and Test
    Re: catching an exception 'CX_SY_FILE_OPEN_MODE'
    Re: Issue in Uploading file to application server
    Thanks.

  • Automatic Payment Program - issue

    Hi,
    When we are executing the foreign currency payment through F110 we are getting the below issue.
    Scenario:
    Company code currency: INR
    House bank (for example Citi Bank) and APP customization is already for local payments. Now we have done customization for foreign payments. steps are as mentioned below.
    1. SET UP PAYMENT METHODS PER COMPANY CODE FOR PAYMENT TRANSACTIONS - here we selected "foreign currency allowed"
    2. SET UP BANK DETERMINATION FOR PAYMENT TRANSACTIONS - under BAN ACCOUNTS - we have customized as mentioned below.
    House Bank            Payment method          Currency         Account ID           Bank sub-account
    CITI                                   C                              USD              CITI1                      212002
    3. Payment method is assigned to VENDOR.
    when we are running F110 that time when we are selecting the above payment method and account id that time system is throwing the below error message.
    "Only the following accounts can be used: 000"
    This "000" is the Account ID for local payments. when i select this Account ID then system is allowing the payment but when I am selecting the Account ID "CITI1" (which is having USD currency) that time it is throwing the above error.
    So friends can you please share your thoughts on this issue.
    Thanks in advance.
    Rams N

    HEllo,
    I"m not sure if I understood all you have done but I'll try to explain:
    The payment program, in bank determination-bank accounts,  can only                        
    assign one account id for every house bank, payment method and currency.
    So,  this means that for one payment method in one of your house-banks                        
    you can only use one account ID.    
    In fact, there are bank account checks are processed at document level and the         
    functionality of changing the bank account at payment document level       
    is not available in the standard system.                                             
    On the other side, you have the opportunity to define a second and                   
    third house bank with the same bank key to meet your requirements.
    REgards.
    REnan

  • Consolidating IDocs generated through RFFOEDI1 program

    Dear experts,
    We are trying to use IDocs to send payment information to our bank for further processing. Currently, the program RFFOEDI1 generates individual Idocs for each payment i.e. for each vendor.
    However, we would like to see one IDoc for each payment method which in turn should have the payment details of each vendor.
    Does anyone know how we can achieve this? OR is it even possible.
    Thanks for your help.
    Regards,
    Vishal Thakur

    Hi,
    Payment IDOC is generated at vendor level. You have the option to generate the payment IDOC at invoice level, but not possible for aggregating at payment method level for all vendors.
    You can instead create your own custom program, where you can read the data from various IDOC and can aggregrate into single IDOC. But standard does not support it.
    Regards,
    Gaurav

  • Payment Program issues

    Hi all...
    when i am creating a automatic payment program in the parameters tab, when i am entering the vendor code range, iam not able to exclude some range of vendor codes, as it was possible in any other screen with multiple selection button.why the same is not available in APP parameters screen?
    and even in free selection tab i am not able to exclude values for vendor codes? (in the field name column there is no field with name LFA1-LIFNR to exclude for the proposal?
    and what payment medium Program and Payment transfer medium can be maintained in the customisation for the payment method T (Bank Transfer).
    kindly give your valuable suggestions to fix these issues ASAP
    i will assign points to each helpful answer
    Thanks in advance
    SRINU

    Hello Srinu,
    Regarding your second question, the payment medium program normally differs from country to country.
    Please look for programs with these names...RFFO[country code]T
    Reward points if the info helps you further.
    With Regards
    Vijay Gajavalli

  • Getting a problem while executing RFFOEDI1 program

    We are running a job which has the RFFOEDI1 as the one of the steps. This program is existing in two jobs. One job is for Proposal run and the other one is for payment processing. The job which is used for Proposal run is coming out with an error -  <b>IDoc type could not be determined for the IDoc</b> whereas the job which is used for Payment processing is getting executed successfully. We are not getting any clue as both the jobs are using the same Program and values are also same except payment proposal flag unchecked in the Payment processing job.
    Can anybody suggest what would be wrong .
    Thanks & Regards
    Bhaskar Baddela

    Try uncheck "generate SAP IDOC" for proposal run.

  • ABAP program issues..Unicode program "ITAB" must have the same structure?

    Dear Expert,
    I coded below code in se38, but system give below error message, could please kindly advie issue reason? Thanks!!
         Error message: A line of "ITAB" and "LINE" are not mutually convertible. In a Unicode program "ITAB" must have the same structure layout as "LINE" independent of the length of a . Unicode character. Unicode character.          
    REPORT  ZTEST_HIHIHI.
    Data: begin of line,
    num type i,
    sqr type i,
    end of line,
    itab type standard table of line with key table_line.
    Do 5 times.
    line-num = sy-index.
    line-sqr = sy-index ** 2.
    append line to itab.
    enddo.
    loop at itab into line.
    write: / line-num, line-sqr.
    endloop.
    clear itab.

    Hello Hoo Laa,
    This is because the way you have defined LINE, it is a structure & not a data type. Hence you are facing the issue
    You have to change the data declaration to:
    itab LIKE STANDARD TABLE OF line WITH KEY table_line.
    BR,
    Suhas

  • Macbook Program Issues

    I've had my Macbook for almost two months now and so far it has been great, other than one issue. Lately I've been getting a yellow line running across random program windows and only in the windows, so when I minimize they minimize with the window. They happen randomly and during random programs. When I restart they will go away. I'm assuming this is a software issue, maybe something I installed is conflicting? Any advise would be appreciated. Should I bring it into the apple store and have them check it out?
    Thanks!

    One of the easiest steps you could take is to create a new user account, log into it and see if the problem exists there. That eliminates it as login items for your account and gives you new property lists (preferences) for that account.
    If it's still problematic you might want to take a quick look in the startup items folders in all your libraries (who knows w/ some installers) for anything you recognize as new and possibly recall installing around the time of the problem.
    If you have haxies remove those and if you rethemed your mac I consider reverting it.
    The most important thing you can do is backup your machine.
    It shouldn't take long to go through what I said, oh yeah, you can do the usual voodoo. Reset the SMU/PMU (shutdown, unplug everything, remove battery, hold down the power button for 10 seconds or something like that, put back together and restart. You can use disk utility to repair permissions, and of course you can probably restart while holding down command + option + p + r and let the machine beep at least once (zap the pram).
    Then call up apple.
    There is one other thing... you can boot from the install cd and see if the lines occur when booted from that (just in the installer or in disk utility that is on that disk. or the startup disk pref (it's all in the menus, just don't install the OS. If it's there when booted from the installer I think you may need a bit of repair action.
    Good Luck,
    -j

  • Programing issue

    Hi Gurus,
    Can someone please help me with one issue. I copied the program from this forum and adopted it with my selections and it works ok before Unicode. Now we will have an Unicode system and the program doesn't work anymore.
    The xls file is created and also send to the Pearson, but there is file without name and data just an xls blank file...
    Can anybody help me with that?
    BR
    Saso
    *& REPORT ZSENDMAIL_SIMOBIL_STOCK                                      *
    *& Example of sending external email via SAPCONNECT                    *
    REPORT zsendmail_simobil_stock .
    TABLES: mard, makt, mara, somlreci1.
    SELECT-OPTIONS: matnr FOR mard-matnr.
    SELECT-OPTIONS: werks FOR mard-werks.
    SELECT-OPTIONS: labst FOR mard-labst.
    SELECT-OPTIONS: matkl FOR mara-matkl.
    SELECT-OPTIONS: lgort FOR mard-lgort.
    SELECT-OPTIONS receiver FOR somlreci1-receiver NO INTERVALS.
    *PARAMETERS: p_email TYPE somlreci1-receiver
                                     DEFAULT '   '.
    PARAMETERS: p_subj TYPE epsf-epsfilnam.
    PARAMETERS: p_filen TYPE epsf-epsfilnam.
    TYPES: BEGIN OF t_mard,
      maktx TYPE makt-maktx,
      matnr TYPE mard-matnr,
      werks TYPE mard-werks,
      lgort TYPE mard-lgort,
      labst TYPE mard-labst,
      matkl TYPE mara-matkl,
    END OF t_mard.
    DATA: it_mard TYPE STANDARD TABLE OF t_mard WITH HEADER LINE,
          wa_mard TYPE t_mard.
    TYPES: BEGIN OF t_charekpo,
       maktx(40) TYPE c,
       matnr(18) TYPE c,
       werks(4) TYPE c,
      lgort(4) TYPE c,
      labst(18) TYPE c,
      matkl(3) TYPE c,
      kolicina(15) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    INCLUDE rfts7001.
    INITIALIZATION.
    *No intervall for value help
      CLEAR opt_list.
      MOVE 'JUST_EQ'  TO opt_list-name.
      MOVE 'X' TO opt_list-options-eq.
      APPEND opt_list TO restrict-opt_list_tab.
      CLEAR ***.
      MOVE: 'S'          TO ***-kind,
            'RECEIVER'   TO ***-name,
            'I'          TO ***-sg_main,
            'JUST_EQ'    TO ***-op_main.
      APPEND *** TO restrict-***_tab.
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
        EXPORTING
          restriction = restrict.
    *$001 ins end
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      PERFORM populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   TABLES it_message
                                          it_attach
                                   using p_email
                                     USING receiver
                                          p_subj
                                    'Naro&#269;ilnica Simobil'
                                          'XLS'
                                          p_filen
                                         'filename'
                                 CHANGING gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
    PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form MARD table and populate itab it_mard
    FORM data_retrieval.
      SELECT * FROM mard WHERE ( matnr IN matnr ) AND
                               ( labst IN labst ) AND
                               ( werks IN werks ) AND
                               ( lgort IN lgort ).
        SELECT * FROM mara WHERE ( matnr = mard-matnr ) AND
                                  ( matkl IN matkl ).
          SELECT SINGLE * FROM makt WHERE ( matnr = mard-matnr ) AND
                                          ( spras = 'E' ).
          IF sy-subrc = 0.
            CLEAR it_mard.
            MOVE mard-matnr TO it_mard-matnr.
       MOVE mard-lgort TO it_mard-lgort.
       MOVE mard-werks TO it_mard-werks.
       MOVE mard-labst TO it_mard-labst.
            MOVE mara-matkl TO it_mard-matkl.
            MOVE makt-maktx TO it_mard-maktx.
            APPEND it_mard.
          ENDIF.
        ENDSELECT.
      ENDSELECT.
    ENDFORM.                    " DATA_RETRIEVAL
    *FORM data_retrieval.
    SELECT ebeln ebelp aedat matnr
      UP TO 10 ROWS
       FROM ekpo
       INTO TABLE it_ekpo.
    *ENDFORM.
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
    CONSTANTS: con_cret TYPE x VALUE '0D',  "OK for non Unicode
                con_tab TYPE x VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    class cl_abap_char_utilities definition load.
      CONSTANTS:
          con_tab  TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
          con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
      CONCATENATE 'Opis Materiala' 'Material' 'Koli&#269;ina'
    'Skladiš&#269;e' 'Zaloga' 'obrat' 'Mat. grupa'
             INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_mard INTO wa_mard.
        CLEAR wa_charekpo.
        MOVE-CORRESPONDING wa_mard TO wa_charekpo.
        CONCATENATE wa_charekpo-maktx wa_charekpo-matnr
       wa_charekpo-lgort wa_charekpo-labst
       wa_charekpo-WERKS wa_charekpo-MAKTX wa_charekpo-MATKL
                                    INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment TABLES pit_message
                                              pit_attach
                                          USING p_email
                                        using receiver
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     CHANGING p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    ld_email   = p_email.
      ld_email   = receiver.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
        ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
         ( w_cnt + 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      LOOP AT receiver.
    t_receivers-receiver = ld_email.
        t_receivers-receiver = receiver-low.
        t_receivers-rec_type = 'U'.
        t_receivers-com_type = 'INT'.
        t_receivers-notif_del = 'X'.
        t_receivers-notif_ndel = 'X'.
        APPEND t_receivers.
      ENDLOOP.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
        EXPORTING
          document_data              = w_doc_data
          put_in_outbox              = 'X'
          sender_address             = ld_sender_address
          sender_address_type        = ld_sender_address_type
          commit_work                = 'X'
        IMPORTING
          sent_to_all                = w_sent_all
        TABLES
          packing_list               = t_packing_list
          contents_bin               = t_attachment
          contents_txt               = it_message
          receivers                  = t_receivers
        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.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.                    "send_file_as_email_attachment
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    *FORM initiate_mail_execute_program.
    WAIT UP TO 2 SECONDS.
    SUBMIT rsconn01 WITH mode = 'INT'
                   WITH output = 'X'
                   AND RETURN.
    *ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    FORM populate_email_message_body.
      REFRESH it_message.
      it_message =
      'Pozdravljeni! Želimo Vam lep in uspešen dan Sales Support'.
      APPEND it_message.
    ENDFORM.                    " POPULATE_EMAIL_MESSAGE_BODY

    hi had u appended the data to the file ...this is the problem with the append statements...after moving the data from wa to table you need to append the data...like this...
    hi check this example program which is working fine..
    REPORT  ZMAIL.
    TABLES: ekko.
    PARAMETERS: p_email   TYPE somlreci1-receiver .
      TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 10 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
      data: ld_store(50) type c.  "Leading zeros
      CONSTANTS: con_cret(5) TYPE c VALUE '0D',  "OK for non Unicode
                 con_tab(5) TYPE c VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
       con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR' INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
    *Modification to retain leading zeros
      inserts code for excell REPLACE command into ld_store
      =REPLACE("00100",1,5,"00100")
        concatenate '=REPLACE("' wa_charekpo-ebelp '",1,5,"'
                                 wa_charekpo-ebelp '")' into ld_store .
      concatenate ld_store into .xls file instead of actual value(ebelp)
        CONCATENATE wa_charekpo-ebeln ld_store  wa_charekpo-aedat wa_charekpo-matnr  INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           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.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'
                    AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    endform.                    " POPULATE_EMAIL_MESSAGE_BODY
    regards,
    venkat.

  • LSO Course Program Issues (Need Instructions)

    We are currently investigating the need for the course program functionality at our organization and have setup a few with mixed results.  We are running LSOFE603 and have been live for over a year so the portal and configuration appears to be correct.  If I subscribe to the course program then a course program can not be found error is displayed.  In addition to this I can book in the seperate course types from the learner portal but titles seems to be missing from the display.   
    Does anyone know where I can find clear step by step instructions on how to setup a course program? Everything checks out okay from our setup but we continue to have issues.  Thank you in advance for your response(s).
    Regards,
    Matt

    use lso_pvct > Create Course program
    Enter abbrev, name, language, & save
    when you save, it will ask you to manage course blocks.
    you can create sequential or non-sequential course blocks.
    You must save the blocks before you can add course types to them.
    Once saved, edit the course program > Course blocks
    add your course types to the blocks; either sequenced or non-sequenced.
    config for course programs is
    1) number range intervals
    2) relationships for the course type object EK
    3) Define object type > Structure search LSO-l-ek
    4) Followup for course type EK

Maybe you are looking for

  • "Mouse Over" issues in Logic Pro - Mountain Lion

    Hi, Since I upgraded to Mountain Lion, I spotted an issue with Logic Pro (Logic 9). In the Arrange window, when pointing the mouse at the end of a region, the pointer icon doesn't change to the looping (upper right corner of the region) or resize (lo

  • Screen turns blank all it sudden...

    I installed SL on a MBP all went normal, but now all it sudden the screen turns black. All I can do is to push the power on/off button till it reboots. All works fine and then all it sudden I loose the screen again. I was on skype with a friend while

  • Availability check for std SD query.

    Hi, I need 4 SD report (either STD/Custom) with the following requirement. Please suggest if there any STD SD query available for the same and where I can check? 1) Report for top 10 customers based on Inquiry/Order 2) Report on top sectors/Divisions

  • Blocking a material

    Hi friends, Some materials have been blocked for procurement and production. Even though deletion flag is set for a material/plant level, the order can be still entered ( with a warning message). Is there a way to block such transactions for a materi

  • Where is the kerberos database stored?  Why doesn't kadmin -l dump work?

    I'm trying to figure out where exactly OS X Server stores the passwords when using Open Directory.  Is it in LDAP?  Is it the authAuthority attribute that's in LDAP?  I don't know a whole lot about Kerberos and I was trying to figure it out and I can