REPORT/PROGRAM statement missing.

Hi,
I have a report with two includes. In both the Include Programs,i am getting a error message 'REPORT/PROGRAM statement missing, or program type is I (INCLUDE).'
Eg.
Report reportname.  " program type Report
include program1.    " program type Inlude
include program2.    " program type Inlude
start-of-selection.
Please Help.
Thanks & Regards,
Jayapal.

Hi ,
This will not be any problem Jay. Since it is a Non executable program it will always show that error. You can activate the program.
Do one thing create a test report program and call this include program in that report and execute. It will show you the result.
I've created an example program for this, please have a look
  My Report Program :
REPORT ZTEST.
INCLUDE ZTESTINCLUDE.
My Include Program :
*&  Include           ZTESTINCLUDE
data : a type i,
       b type i,
       c type i.
a = 3.
b = 2.
c = a + b.
write : / 'Result is :' , c.
Try executing the Report it will show you the result 5. Tell the client this is not a problem. Check in the attributes of your Include program ( program1 ) if it is of type Include.
Regards,
Sai

Similar Messages

  • REPORT/PROGRAM statement missing, or program type is INCLUDE error upgrade.

    Hi Experts,
    I have done the recording for FK05 and created functionmodule for the same. But when I use that function module in my custom program or if I try directly execute the FM, I am getting dump like syntax error. So I did syntax check and tried to activate, I am getting "REPORT/PROGRAM statement missing, or program type is INCLUDE error upgrade" error.
    Please help me soon to resolve this issue.
    Thanks in advance.
    Shreyansh

    Hi
    Goto main function group include name attributes tab and double click.
    once the include is opened, try to activate it. if shows errors then fix.
    regards
    Shiva

  • Error: REPORT/PROGRAM statement missing , program type is I (include).

    Hi,
    I have created a REPORT Program (Z Program) and also created a TOP INCLUDE. I am NOT using Function module. When I tried to syntex check the INCLUDE, system is giving
    following error:
    REPORT/PROGRAM statement missing, program type I (Include).
    Can you help me in resolving this error.
    Currently TOP include has only one statement to declare a Constant.
    Thanks,

    hi,
    take your program in se80.
    double click on the program name. Right click on it and press Activate. All the include will get activated and the problem will get solved.
    Regards,
    Renjith Michael.
    http://www.sourceveda.com/

  • Message class defined as part of report/program statement

    Hi,
    This is a very general question but I am not sure to what this refers to.
    "Message class defined as part of report/program statement"
    What does this mean or what is this referenced to?
    Thanks
    Edited by: David Rivera on Feb 3, 2010 10:36 PM

    Hello,
    it means when you are creating a report / program you can assign one message class to that...
    like:
    report Ztest message-id <message class>
    then you can access all the messages defined in that message class...
    Thanks
    K.

  • Error statement missing enchancement

    hai,
    i just copy stanadard mb5s and place in  zprogram. but it getting error.
    error: report//program is missing or program type is i(include).
    what can do it plz guide me?
    i want to place posting date on selection screen and made modifications as for it.
    plz guide me.
    thank u

    HI,
    You must have comment the report statement. Write report statement on the top
    it will solve your problem.
    Report zsample.
    Your code.
    Regards and Best wishes.

  • The columns are missed in Backgroup job in report program

    Hi experts,
        I have a report program and I  display it by WRITE statement. The total length of the report is about 550, and I set the line-size to 600. When I run it by backgroup job, it can not display the row completedly, the last  10 columns are missed. Do any one know what happpen and how I fixed it? Thanks in advance.
    Best Regards
    Joe

    Hi Kiran,
    I had completed the program and now I am showing you my solution in brief.
    I hvae two programs to meet the solution. First is ZSDR0087 and next is ZSDR0087_RAW_PROGRAM. The former program is just for the purpose of calliing latter program, and latter program is for handling the program logic. The transaction code link to ZSDR0087 They are using a same selection screen.
    Below is the cods of selection screen
    SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE text-001.
    PARAMETERS: p_hbad TYPE /bluesky/cshbad-hbad OBLIGATORY MEMORY ID hba."#EC EXISTS
    SELECT-OPTIONS: s_airli FOR /bluesky/mdairlz-airline MODIF ID m4,
                    s_altp FOR /bluesky/mdairlz-altp MODIF ID m4,
                    s_kunnr FOR knvv-kunnr MODIF ID m4,
                    s_prsdt FOR /bluesky/fecpost-prsdt MODIF ID m4,
    *                s_atdat FOR /bluesky/fearde-atdat OBLIGATORY,
                    s_actyp FOR /bluesky/mdacrt-actyp MODIF ID m4,
                    s_mtmcat FOR /bluesky/mdacrt-mtomcat MODIF ID m4,
                    s_regid FOR /bluesky/mdreg-regid MODIF ID m4,
                    s_fenum FOR /bluesky/fehdr-fenum MODIF ID m4.
    PARAMETERS: p_en_ex TYPE c AS LISTBOX VISIBLE LENGTH 10 MODIF ID m4.
    SELECTION-SCREEN END OF BLOCK sel1.
    SELECTION-SCREEN BEGIN OF BLOCK run WITH FRAME TITLE text-003.
    PARAMETERS: p_imm RADIOBUTTON GROUP grp1 DEFAULT 'X' USER-COMMAND comm."Run the program immdiately and show report at frontend
    PARAMETERS: p_batch RADIOBUTTON GROUP grp1, "Run in backgroup job, the result will be saved at application server as .txt file
                p_file  TYPE g_type_file LOWER CASE MODIF ID m1. ".txt File name which will be saved in application server
    PARAMETERS: p_ser RADIOBUTTON GROUP grp1. "Read the data from .txt file in application server
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(14) text-004 FOR FIELD p_txt MODIF ID m2.
    PARAMETERS: p_txt  TYPE g_type_file LOWER CASE MODIF ID m2."Source .txt file in application server
    SELECTION-SCREEN COMMENT 50(14) text-005 FOR FIELD p_del MODIF ID m2.
    PARAMETERS: p_del AS CHECKBOX MODIF ID m2. "The .txt file will be deleted once the report is generated
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK run.
    SELECTION-SCREEN BEGIN OF BLOCK sel2 WITH FRAME TITLE text-002.
    PARAMETERS: p_xls AS CHECKBOX DEFAULT '' MODIF ID m3."Generate the excel file in frontend
    SELECTION-SCREEN END OF BLOCK sel2.
    Main Code in ZSDR0083
    REPORT  zsdr0087 MESSAGE-ID zbluesky_program LINE-SIZE 530 NO STANDARD PAGE HEADING."#EC *
    INCLUDE zsdr0087_top.
    INCLUDE zsdr0087_common_blk.
    INCLUDE zsdr0087_frm.
    START-OF-SELECTION.
      PERFORM handle_report.
    FORM handle_report .
      IF p_imm = 'X' OR p_ser = 'X'.
        PERFORM run_program_without_batch.
      ELSEIF p_batch = 'X'.
        PERFORM submit_to_batch.
      ENDIF.
    ENDFORM.                    " handle_report
    FORM run_program_without_batch .
      DATA: lv_answer TYPE c.
      IF p_ser = 'X' AND p_txt IS INITIAL.
        MESSAGE s029.
        EXIT.
      ENDIF.
      IF p_ser = 'X' AND p_del = 'X' AND p_xls = ''.
        PERFORM popup_to_confirm USING 'Delete file in server' "titlebar
                                       'The file in server will be deleted, are you going to save the data in Excel file&#65311;' "question
                                       'SAVE IN EXCEL'"the text in first button
                                       'ICON_XLS' "the icon for first button
                                       'Not Save'
                                       'ICON_WARNING'"the icon for second button
                                       '1'"default button
                                       'X'"display cancel button
                                CHANGING lv_answer.
        CASE lv_answer.
          WHEN '1'.
            p_xls = 'X'.
          WHEN '2'.
            p_xls = ''.
          WHEN 'A'.
            MESSAGE s032.
            EXIT.
        ENDCASE.
      ENDIF.
      SUBMIT zsdr0087_raw_program WITH p_hbad = p_hbad
                                  WITH s_airli IN s_airli
                                  WITH s_altp IN s_altp
                                  WITH s_kunnr IN s_kunnr
                                  WITH s_prsdt IN s_prsdt
                                  WITH s_actyp IN s_actyp
                                  WITH s_mtmcat IN s_mtmcat
                                  WITH s_regid IN s_regid
                                  WITH p_en_ex = p_en_ex
                                  WITH p_imm = p_imm
                                  WITH p_batch = p_batch
                                  WITH p_file = p_file
                                  WITH p_ser = p_ser
                                  WITH p_txt = p_txt
                                  WITH p_del = p_del
                                  WITH p_xls = p_xls
                                  AND RETURN.
    ENDFORM.                    " run_program_without_batch
    FORM submit_to_batch .
      DATA: lv_job_name TYPE tbtcjob-jobname,
            lv_job_number TYPE tbtcjob-jobcount.
      lv_job_name = p_file.
      TRANSLATE lv_job_name TO UPPER CASE.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = lv_job_name
        IMPORTING
          jobcount         = lv_job_number
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF sy-subrc <> 0.
        MESSAGE e022.
      ENDIF.
      SUBMIT zsdr0087_raw_program WITH p_hbad = p_hbad
                                  WITH s_airli IN s_airli
                                  WITH s_altp IN s_altp
                                  WITH s_kunnr IN s_kunnr
                                  WITH s_prsdt IN s_prsdt
                                  WITH s_actyp IN s_actyp
                                  WITH s_mtmcat IN s_mtmcat
                                  WITH s_regid IN s_regid
                                  WITH p_en_ex = p_en_ex
                                  WITH p_imm = p_imm
                                  WITH p_batch = p_batch
                                  WITH p_file = p_file
                                  WITH p_ser = p_ser
                                  WITH p_txt = p_txt
                                  WITH p_xls = p_xls
                                  VIA JOB lv_job_name NUMBER lv_job_number
                                  AND RETURN.
      IF sy-subrc NE 0.
        MESSAGE e023 WITH 'zsdr0087_raw_program'..
      ENDIF.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = lv_job_number
          jobname              = lv_job_name
          strtimmed            = 'X'
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          OTHERS               = 8.
      IF sy-subrc NE 0.
        MESSAGE e025.
      ELSE.
        MESSAGE s026.
      ENDIF.
    ENDFORM.                    " submit_to_batch
    :OK, Below is main code in program ZSDR0087_RAW_PROGRAM
    REPORT  zsdr0087 MESSAGE-ID zbluesky_program LINE-SIZE 530 NO STANDARD PAGE HEADING."#EC *
    INCLUDE zsdr0087_top.
    INCLUDE zsdr0087_common_blk.
    INCLUDE zsdr0087_frm.
    START-OF-SELECTION.
      IF sy-tcode EQ 'SE38' OR sy-tcode EQ 'SA38'.
        MESSAGE s035.
        EXIT.
      ENDIF.
      CREATE OBJECT go_bluesky_program
        EXPORTING
          i_home_base = p_hbad.
      IF p_imm = 'X' OR p_batch = 'X'.
    ********  Get data from database
        PERFORM get_data_from_db.
        IF p_batch = 'X'.
    *******Save the data the server as .txt file, it will run at backgroup Job
          PERFORM save_data_to_server USING <gt_output>
                                            p_hbad
                                            gv_run_time
                                            gv_run_date
                                            sy-uname
                                            gv_top_folder
                                            p_file
                                            go_bluesky_program->gt_fieldcat_lvc.
          EXIT.
        ENDIF.
      ELSE.
    ******** Get data from server
        PERFORM get_data_from_server.
      ENDIF.
      IF <gt_output> IS ASSIGNED AND <gt_output> IS NOT INITIAL.
        IF p_xls = 'X' AND p_batch = ''.
          PERFORM output_excel.
        ENDIF.
        PERFORM display_report.
      ELSE.
        MESSAGE s004(zbluesky_program).
      ENDIF.
    If parameter p_batch is check, The subroutine save_data_to_server will save the internal table data as .txt file at server.This is run in backgroup.Please set your focus on the function module C13Z_TEXT_WRITE
    FORM save_data_to_server USING ut_internal_table TYPE STANDARD TABLE
                                   u_home_base
                                   u_run_time TYPE syuzeit
                                   u_run_date TYPE sydatum
                                   u_user TYPE syuname
                                   u_top_folder TYPE rsmrgstr-path
                                   u_filename   TYPE g_type_file
                                   ut_fieldcat_lvc   TYPE lvc_t_fcat.
      FIELD-SYMBOLS: <lt_table_dataset> TYPE STANDARD TABLE.
      DATA: lv_table_ref TYPE REF TO data.
      DATA: lv_filename TYPE rcgiedial-iefile.
      DATA: lv_file_pattern TYPE rsmrgstr-name.
      CALL METHOD go_bluesky_program->convert_data_to_dataset_format
        EXPORTING
          it_internal_table = ut_internal_table
          it_fieldcat_lvc   = ut_fieldcat_lvc
        IMPORTING
          et_table_ref      = lv_table_ref.
      ASSIGN lv_table_ref->* TO <lt_table_dataset>.
    *******Create file name
      PERFORM get_filename USING
                 u_home_base
                  u_user
                  u_run_date
                  u_run_time
                  u_filename
        CHANGING lv_filename
                 lv_file_pattern.
    ******Check filename again
      PERFORM check_filename_if_duplicate
                  USING
                     lv_filename
                     u_top_folder
                     lv_file_pattern.
    ******Create dataset path
      CONCATENATE u_top_folder lv_filename INTO lv_filename.
      CALL FUNCTION 'C13Z_TEXT_WRITE'
        EXPORTING
          i_file         = lv_filename
        TABLES
          i_textdata_tab = <lt_table_dataset>
        EXCEPTIONS
          no_permission  = 1
          open_failed    = 2
          ap_file_exists = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        MESSAGE e021.
      ENDIF.
    ENDFORM.                    " save_data_to_server
    If parameter p_ser is check, The subroutine get_data_from_server will read the data from .txt file in server and put it into internal table. Please focus on the DO looping in the subroutine.It is the codes for reading data from .txt file into internal table.
    FORM get_data_from_server .
      FIELD-SYMBOLS: <lt_table_dataset> TYPE STANDARD TABLE,
                     <ls_line_dataset> TYPE ANY,
                     <field_runtime> TYPE ANY,
                     <field_dataset> TYPE ANY.
      DATA: lv_table_ref TYPE REF TO data,
            lv_line_ref TYPE REF TO data.
      DATA: lv_file TYPE string.
      DATA: ls_file_record TYPE rsfillst.
      DATA: ls_fieldcat_lvc TYPE lvc_s_fcat.
      PERFORM build_output_table.
    ******Get the dataset format(all the fiels are CHAR type)
      CALL METHOD go_bluesky_program->convert_data_to_dataset_format
        EXPORTING
          it_internal_table = <gt_output>
          it_fieldcat_lvc   = go_bluesky_program->gt_fieldcat_lvc
        IMPORTING
          et_table_ref      = lv_table_ref.
      ASSIGN lv_table_ref->* TO <lt_table_dataset>.
      CREATE DATA lv_line_ref LIKE LINE OF <lt_table_dataset>.
      ASSIGN lv_line_ref->* TO <ls_line_dataset>.
      PERFORM get_file_record
                  USING
                     sy-mandt
                     sy-uname
                     p_hbad
                     gv_top_folder
                  CHANGING
                     ls_file_record.
      CONCATENATE ls_file_record-dirname ls_file_record-name INTO lv_file.
      OPEN DATASET lv_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
        MESSAGE e030 WITH p_txt.
      ENDIF.
      DO.
        READ DATASET lv_file INTO <ls_line_dataset>.
        IF sy-subrc EQ 0.
          IF <ls_line_dataset> IS NOT INITIAL.
            APPEND <ls_line_dataset> TO <lt_table_dataset>.
            CLEAR <ls_line_dataset>.
          ENDIF.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
      CLOSE DATASET lv_file.
      IF p_del = 'X'.
        DELETE DATASET lv_file.
      ENDIF.
    *  break chengr.
      LOOP AT <lt_table_dataset> ASSIGNING <ls_line_dataset>.
        LOOP AT go_bluesky_program->gt_fieldcat_lvc INTO ls_fieldcat_lvc.
          ASSIGN COMPONENT ls_fieldcat_lvc-fieldname
                             OF STRUCTURE <ls_line_dataset> TO <field_dataset>.
          ASSIGN COMPONENT ls_fieldcat_lvc-fieldname
                             OF STRUCTURE <gs_output> TO <field_runtime>.
          <field_runtime> = <field_dataset>.
        ENDLOOP.
        APPEND <gs_output> TO <gt_output>.
      ENDLOOP.
    At last, I think you understand how to display it in ALV .

  • TABLES statement in report program

    Hi,
    Is there any performance issue in using TABLES statement in report program? Because I have got an review point from QA insisting me to avoid TABLES statement. Is it recommended by SAP to avoid TABLES statement in report program?
    Thanks in advance.
    Regards,
    Balaji Viswanath.

    Balaji,
    If you use TABLE statement it will provide the work area of the given table.
    EX: Decalre  any fields of table in slection scereen
    without declarin g the tabel name in TAble statement.It will give error.
    This will give error.
    SELECT-OPTIONS : s_matnr LIKE MARA-matnr.
    This will work.
    TABLES: mara.
    SELECT-OPTIONS : s_matnr LIKE MARA-matnr.
    It means it will occupy some area.
    Don't forget to reward if useful.

  • Few questions on Report programming

    Hi guys,
    I have few questions on report programming.
    1. What is the purpose of the statement REPORT zxxx. Even if i gave a name other than my report name i don't find any difference in syntax check/Functionality.
    2. What is the purpose of list headings in report program? This option will come along with the text elements and selection texts.
    3. What is the purpose of logical data base. Even if it is efficient why don't we use it frequently in our reports? Is there any limitations?
    All usefull answers will be rewarded as usuall:-)
    Thanks,
    Vinod.

    1. As u told that you dint get any syntax errors even after changing the Report Name,there are chances of getting Runtime errors.
    2. The usage of List Headings is when you create a list in a program, you can also create your own list and column headings.
    Refer this link for further info.
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/960a05eb0711d194d100a0c94260a5/content.htm
    3. The Limitation of LDB  is the usage of GET statements which act similar to SELECT - ENDSELECT And also if you dont choose the proper LDB,a  single LDB may contain data retrieval from so many tables ,that it would make the entire process very slow and it is very hard to find LDBs for other modules than HR.
    Only in HR module the data is organized in such a way thatusing LDBs would be much simpler.
    Reward points if useful.

  • Report program in background

    Hello ppl,
    I have created a report program which will always be scheduled as a background job.
    It downloads the data to application server everytime it is executed.
    I want to know how should I display to the user any error which may occur while execution eg. file could not be opened or data not found, etc.
    Can the statement 'message e101...' be used for background also?
    If so, how will the message be displayed.
    Please help.
    Thanks.

    Hi
    If reords not found or report is not giving any result you can always send the report output to user in
    mail so that user can get the data or error message in the mail.
    You have capture and send the error message to the user in the mail.
    For example:
    *If records not found
    *get the error message pass it as a text to email function module and
    send it.
    you can use the FM CALL FUNCTION 'SO_OBJECT_SEND'
    If some problem happens while the execution of your report then your basis team will inform you about that error.
    Regards
    Neha

  • How to Populate Internal table data to Table Control in a Report Program

    Dear All,
           How to Populate Internal table data to Table Control in a Report Program? It is a pure report program with out any Module pool coding involved, which is just used to display data. Till now it is being displayed in a report. Now the user wants the data to be displayed in a table control. Could someone tell me how to go about with this.
    Thanks in Advance,
    Joseph Reddy

    If you want to use a table control, you will need to create a screen.
    In your report....
    start-of-selection.
    perform get_data.  " Get all your data here
    call screen 100. " Now present to the user.
    Double click on the "100" in your call screen statement.  This will forward navigate you to the screen.  If you have not created it yet, it will ask you if you want to create it, say yes.  Go into screen painter or layout of the screen.  Use the table control wizard to help you along the process.  It will write the code for you.  Since it is an output only table control, it will be really easy with not a lot of code. 
    A better way to present the data to the user would be to give it in a ALV grid.  If you want to go that way, it is a lot easier.  Here is a sample of the ALV function module.  You don't even have to create a screen.
    report zrich_0004
           no standard page heading.
    type-pools slis.
    data: fieldcat type slis_t_fieldcat_alv.
    data: begin of imara occurs 0,
          matnr type mara-matnr,
          maktx type makt-maktx,
          end of imara.
    * Selection Screen
    selection-screen begin of block b1 with frame title text-001 .
    select-options: s_matnr for imara-matnr .
    selection-screen end of block b1.
    start-of-selection.
      perform get_data.
      perform write_report.
    *  Get_Data
    form get_data.
      select  mara~matnr makt~maktx
                into corresponding fields of table imara
                  from mara
                   inner join makt
                     on mara~matnr = makt~matnr
                        where mara~matnr in s_matnr
                          and makt~spras = sy-langu.
    endform.
    *  WRITE_REPORT
    form write_report.
      perform build_field_catalog.
    * CALL ABAP LIST VIEWER (ALV)
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                it_fieldcat = fieldcat
           tables
                t_outtab    = imara.
    endform.
    * BUILD_FIELD_CATALOG
    form build_field_catalog.
      data: fc_tmp type slis_t_fieldcat_alv with header line.
      clear: fieldcat. refresh: fieldcat.
      clear: fc_tmp.
      fc_tmp-reptext_ddic    = 'Material Number'.
      fc_tmp-fieldname  = 'MATNR'.
      fc_tmp-tabname   = 'IMARA'.
      fc_tmp-outputlen  = '18'.
      fc_tmp-col_pos    = 2.
      append fc_tmp to fieldcat.
      clear: fc_tmp.
      fc_tmp-reptext_ddic    = 'Material'.
      fc_tmp-fieldname  = 'MAKTX'.
      fc_tmp-tabname   = 'IMARA'.
      fc_tmp-outputlen  = '40'.
      fc_tmp-col_pos    = 3.
      append fc_tmp to fieldcat.
    endform.
    Regards,
    Rich Heilman

  • Win 7 "Default Programs" does not include MS Office 2007 Programs, the missing Programs are missing ICONs as well

    I installed Windows 7 in an upgrade from Windows XP.  As part of the process MS gave me a URL to download a Office 2007 Pro I could activate with the license key I owned.  I got similar URLs for Visio Professional and Project Professional. 
    Downloaded, installed, activated, started the programs.
    From the beginning some of the icons were missing.  Like the icons for Word, Excel, Access, Outlook, Power Point, Publisher, Visio, and of course Project.  I tried most of the answers in this forum, that didn't sound like guesswork, and none of
    them solved either problem.  There must be at least 65 guesses to fix the icon problem, but none with the missing Default Programs problem.
    The programs related to the missing "Default Programs" still work, they startup when you select the related document.  If I check "Associate a File Type or Protocol with a Specific Program" the missing Office 2007 programs are listed
    there, associated with the designated programs, but are missing icons.
    I make it a habit not to pay a vendor for a product so that I can have the privilege of fixing the vendor's problems.   Google tells me these are well known problems.  The only thing missing is the answer.  I won't ever use MS chat or telephone,
    because all they do is tell me why they can't help and transfer me elsewhere.
    Does anyone have a REAL answer please?

    To restore office icons you could try this method
    http://transitionmarketing.wordpress.com/2013/01/16/restoring-microsoft-office-icons/
    I had the same problem with Office 2010 programs not showing in "Set Your Default Programs". No other "fixes" (including repair) worked. Found this thread:
    http://www.sevenforums.com/microsoft-office/222503-office-2010-not-listed-default-programs.html
    and used it as a guide. When you look at this key
    HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications
    you will see a list of software pointing to another HKEY_LOCAL_MACHINE registry key. For example, my Word program was showing up as "Word.Application.14" and pointing to Software\Clients\Word Processing\Microsoft Word\Capabilities
    (In contrast, PastorMike's fix in the link above advocates making a new entry under HKEY_LOCAL_MACHINE\Software\Microsoft\Office\14.0\Word\Capabilities. However, OneNote did appear in my "Set Your Default Programs" and it - and the other Office programs
    - were listed under ..\Software\Clients\... and not ...\Software\Microsoft\...)
    So at this point I went my own way (although maybe PastorMike's fix would also work).
    The difference between OneNote and the other programs was the existence of values for "ApplicationName"  and "ApplicationDescription" in HKEY_LOCAL_MACHINE\Software\Clients\Word Processing\Microsoft Word\Capabilities. Also, for OneNote
    there was a "FileAssociations" sub-key that was missing from the other programs.
    It is setting the values for ApplicationName and ApplicationDescription which cause the program to show up in the list in the left pane of "Set Your Default Programs". And it is the file associations in the FileAssociations key that allows resetting
    associations en masse when they are snaffled by another program.
    Below is the reg file I added for Word 2010. (i used similar for the other programs) After doing this, Word appeared after reopening "Set Default Programs" - no reboot required
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Word Processing\Microsoft Word\Capabilities]
    "ApplicationDescription"="Create and edit professional-looking documents such as letters, papers, reports, and booklets by using Microsoft Word."
    "ApplicationName"="Microsoft Word 2010"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Word Processing\Microsoft Word\Capabilities\FileAssociations]
    ".doc"="Word.Document.8"
    ".dochtml"="wordhtmlfile"
    ".docm"="Word.DocumentMacroEnabled.12"
    ".docmhtml"="wordmhtmlfile"
    ".docx"="Word.Document.12"
    ".docxml"="wordxmlfile"
    ".dot"="Word.Template.8"
    ".dothtml"="wordhtmltemplate"
    ".dotm"="Word.TemplateMacroEnabled.12"
    ".dotx"="Word.Template.12"
    ".htm"="wordhtmlfile"
    ".html"="wordhtmlfile"
    ".odt"="Word.OpenDocumentText.12"
    ".rtf"="Word.RTF.8"
    ".wbk"="Word.Backup.8"
    ".wiz"="Word.Wizard.8"
    ".wll"="Word.Addin.8"
    By using my ramblings and the link provided above you may be able fix the problem you are having with Office 2007. However, I am unsure of how to find the necessary file associations for Office 2007 except by trawling through your registry for the filetypes
    listed in the link above and the values for them in HKEY_CLASSES_ROOT.

  • Problem while fetching more records in SAP ABAP report program

    Hello Frinds,
    I have SAP ABAP report program which fetches data from usr02 table
    Now, program is working fine with less number of records, bot in production there are more than 200000 records and either report gets timed out or there is run time error like buffer area not available.
    Below is the fetch statement
    SELECT bname FROM usr02 INTO TABLE lt_user
    So, do I need to take records in small chunks, I do not think it is needed as I have worked on number of othere databases where there are number of records in single fetch statement and database itself take care of this.
    Please provide me some approach to resolve this problem.

    This will be very difficult for you.....
    Since you are getting a time out error....it looks like, you are runnning this report in foreground....................
    Try running it in background it will work...
    ELSE....you have to fetch in small chunks....but the question is how will you do it. Since the USR02 only has BNAME as primary key...
    Either put the BNAME as part of selection screen and fetch the data.....it will solve your problem....
    Only fetch for those BNAME which is entered in the selection screen...
    Hope it helps!

  • Table control in report program

    Hi all...
    Please help me to create a table control in my report program. my requirement is to enable the user to enter two fields (company code and cost center) on the selection screen. I wish to do this using table control..
    example codes will be extremely helpful..
    Thanks in advance..
    -Pranati.

    Hi,
    We can not do the Table control on the selection screen, but we can do the Tab strip control.
    To define a tabstrip area with tab pages, use the following statements in your selection screen definition:
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK <tab_area> FOR <n> LINES,
                      TAB (<len>) <tab1> USER-COMMAND <ucom1>
                                  [DEFAULT [PROGRAM <prog>] SCREEN <scrn>],
                      TAB (<len>) <tab2> USER-COMMAND <ucom2>
                                  [DEFAULT [PROGRAM <prog>] SCREEN <scrn>],
                      END OF BLOCK <tab_area>.
    See the below SAP link for the sample programs
    http://help.sap.com/saphelp_46c/helpdata/EN/00/deb23789e95378e10000009b38f8cf/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm
    See the example code
    REPORT   znr1 NO STANDARD PAGE HEADING
                LINE-SIZE 80 LINE-COUNT 60.
    TABLES : sscrfields.
    DATA  activetab(6) TYPE c .
    DATA  mat_des TYPE makt-maktx.
    DATA  pl_des  TYPE t001w-name1 .
    SELECTION-SCREEN BEGIN OF SCREEN 001 AS SUBSCREEN NO INTERVALS.
    SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-002 NO
    INTERVALS.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 14(18) text-002 FOR FIELD matnr.
    PARAMETERS matnr TYPE mara-matnr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN END OF SCREEN 001.
    SELECTION-SCREEN BEGIN OF SCREEN 002 AS SUBSCREEN NO INTERVALS.
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-003 NO
    INTERVALS.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 14(18) text-003 FOR FIELD matnr.
    PARAMETERS werks TYPE t001w-werks.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK block2.
    SELECTION-SCREEN END OF SCREEN 002.
    SELECTION-SCREEN BEGIN OF TABBED BLOCK tabb1 FOR 5 LINES NO INTERVALS.
    SELECTION-SCREEN TAB (15) tabs1 USER-COMMAND ucomm1
                         DEFAULT SCREEN 001.
    SELECTION-SCREEN TAB (15) tabs2 USER-COMMAND ucomm2.
    *                     DEFAULT SCREEN 002   .
    SELECTION-SCREEN END OF BLOCK tabb1.
    INITIALIZATION.
      tabs1 = text-002.
      tabs2 = text-003.
      activetab = 'TABS1'.
    AT SELECTION-SCREEN .
      CASE sscrfields-ucomm.
        WHEN 'UCOMM1'.
          tabb1-prog = sy-repid.
          tabb1-dynnr   = 001.
          tabb1-activetab = 'TABS1'.
          activetab = 'TABS1' .
        WHEN 'UCOMM2'.
          tabb1-prog = sy-repid.
          tabb1-dynnr   = 002.
          tabb1-activetab = 'TABS2'.
          activetab = 'TABS2'.
      ENDCASE.
    START-OF-SELECTION.
      CASE activetab.
        WHEN 'TABS1'.
          SELECT SINGLE maktx  FROM makt INTO pl_des WHERE matnr = matnr.
          WRITE: 'Material ' , matnr , mat_des .
        WHEN 'TABS2'.
          SELECT SINGLE name1  FROM t001w INTO pl_des WHERE werks = werks.
          WRITE: 'Plant ' , werks ,pl_des.
    Regards
    Sudheer

  • Customer Report or Statement

    Hi All,
    My client have a cstom program for generating Customer payment due list (payments to customer list - displays credit balance). This list uses the tables or hits the following tables: KNA1, KNB1, KNKK, T042Z, BSID.
    Now my question, is there a standard report or statement which generates this information. Basically, it should give customer master data, credit master data and customer open items. (I think these info would hit the above tables).
    Please help me with this. Does SAP offer anything?
    regards,
    Satya

    Thank you everyone for all your responses. probably, I have deviated you all from my actual requirement.
    The client has a typical scenario. They generate payment due list of customers every week - open items due till that date of the week based on customer number, accounting clerk, credit control area and risk category. Once the list is generated, the accounting clerk analyzes the total amount of open items due (may be credit or debit balance) with the total obligation (amount due in next few weeks - may be credit or debit balance) and decides whether to pay or not to the customer. Usually, client ends up paying 3 in 4 times (these are for warranties and incentives).
    Client has custom program for these which i have to replace with standard SAP. I do not have to send this payment due list to customer nor the statements (the customer views the list from a dealer portal online). So, I do not see the need of using SAP scripts or smart forms.
    Can I still use correspondence types to generate payment due list with the use of SAP08 or SAP13 and standard program RFDOR...
    Are there any other options of generating this list? Please advice me and share your thoughts. This is very critical as I have to provide the solution in couple of days.
    I really appreciate evryone for your help.
    Regards,
    Satya

  • How to register a report program ins EBS?

    HI,
    I made a new report program called APVOUCHER.rdf it is developed/tested/ and running on Reports 10g windows. Then I ftp it to my EBS R12 linux server. Then I put it under the base path of $AP_TOP/reports/us.
    Then I register it in EBS using this
    a) Define the concurrent program executable with the Oracle Application Object Library. This links the execution file and the method used to execute it with a defined concurrent program. Log into Applications as the System Administrator and navigate to Concurrent > Program > Executable
    b) Define the concurrent program with the Oracle Application Object Library along with any program parameters or any incompatibilities. Log into Applications as the System Administrator and navigate to
    Concurrent > Program > Define.
    But in the 2nd define the program APVOUCHER ca not me found in LOVs provided under region
    Excutable
    Name>
    Method>
    If I click LOV for Name the report name is not in there :(
    Anything I miss in here?
    Thanks a lot

    Hi,
    Before you define the report, navigate to Concurrent > Program > Executable and fill out the form as follows:
    Executable: <REPORT SHORT NAME> --> (Similar to the report name you have uploaded but without .rdf)
    Short Name: <REPORT SHORT NAME> --> (Same as above)
    Application: Payables
    Description: <Description>
    Execution Method: Oracle Reports
    For more details, please refer to:
    Note: 133991.1 - How to Register a Custom Report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=133991.1
    Once you are done with the above, you need to add this concurrent program to the Request Group which is attached to your responsibility.
    - Login to System Administrator responsibility
    - Navigate to Security > Responsibility > Define
    - Query the Responsibility Name
    - Write down the Request Group
    - Navigate to Security > Responsibility > Request
    - Query the Request Group
    - Add the concurrent program
    You should be able to see the concurrent program from the responsibility then.
    Regards,
    Hussein

Maybe you are looking for

  • IPhoto slideshow to DVD for TV and PC viewing

    I am creating a slideshow that needs to be able to be played on a DVD with unknow TV and a PC with a projector. Will not know exactly which one. The slideshow is simple (200 images estimated), would like to have Ken Burns effect if possible. I also h

  • Power Mac G5 frozen at Apple Screen

    I have a 2005 G5 PowerMac. It has been locking up lately. Tonight it will not boot. Everytime I turn it on I get to the apple screen and the circle keeps going round and round. I then followed the directions to reset the PMU and I disconnected the se

  • INSERTING A RECORD IN THE Z-TABLE USING PBI IN SCREE PROGRAM.

    Hi Experts!,                  I have created a z table with some fields and also I have created the screen for the input. I want to store the the record when I click on  Submit button and clear the screen while I click on reset buttons which is prese

  • Ipod mini could not restore

    i can't understand why my ipod mini can't restore it's factory settings. i tried everthing but it says "ipod could not be restored. an unknown error occured (1418)." what's happening. i can use it and all files still intact but when i connect it to t

  • Need Performance tuning in delete operation

    Hi Gurus, I am performing delete operation by following SQL query. delete from gl_account where bu_id = -99 but it take long time to execute. Table contains 1 trigger and 5 index. I have disabled the trigger and rebuild the index but still it not exe