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

Similar Messages

  • 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

  • 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/

  • 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.

  • 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.

  • 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.

  • Need to call another progarm in Zdriver program for a specific output type

    For billing document they had configured a Zdriver program and Zsmart form in Nace.
    Now, we had created an output type and when user clicks on that specific output type my ZXYZ program should run.
    ZXYZ program will convert the spool request into .pdf files.
    So what I had done is I have given a condition in Zdriver program saying that If output type is ZD0p.
    Submit ZXYZ program so that this program will automatically run.
    I just want to make sure that is it the right way I mean shoudl I add something else to the Submit statement...here
    and can any one tell me how can I generate spool request by giveing a billing document number in VF02--> Click on Enter > Click on Header>Click on Output-->Enter the Output type and give the communication method details and click on Save...will this generate the spool request..?

    Hi
    and can any one tell me how can I generate spool request by giveing a billing document number in VF02--> Click on Enter --> Click on Header-->Click on Output-->Enter the Output type and give the communication method details and click on Save...will this generate the spool request..
    After doing the whole porcess...re enter the vfo2 transacrion, give the document number and in Menu..Under "Billing Document"..Select issue output to...and there select the output type..and select Print button, it will generate spool request.
    Regards,
    Vishwa.

  • Submit statement in ABAP program

    Hi All,
          I am using two submit statements in my program for two different reports. When i run the program i get the output screens of the two reports at the ouptut. Is there any way i can hide the user seeing the output screens of the two programs and display only the output screen of my program. If you have any clues please post it.
    Thanks & Regards,
    Rahul Rathi

    You can call executable programs from other ABAP programs using the following statement:
    SUBMIT <rep>|(<field>) [AND RETURN] [<options>].
    You can either specify the name of the program you want to call statically by entering the program name in the code of the calling program, or dynamically by specifying the name of a field (in parentheses) containing the name of the program. If the system cannot find the specified executable program when trying to execute the SUBMIT statement, a runtime error occurs.
    If you omit the AND RETURN addition, all data and list levels of the calling program (the entire internal session) are deleted. After the called executable program has finished, control returns to the level from which you started the calling program.
    If you use AND RETURN, the system stores the data of the calling executable program and returns to the calling after processing the called program. The system resumes executing the calling program at the statement following the call.
    The SUBMIT statement has a set of additions <options> for passing data to the called program and specifying various other processing options. Some of them are described in the following sections:
    Have a look at below link. It will help you.
    http://www.sapdevelopment.co.uk/reporting/rep_submit.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9dd035c111d1829f0000e829fbfe/content.htm
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • How to use a parameter of a report program in a dialog program

    how to use a parameter of a report program in a dialog program.
    I have to fetch the value entered in the parameter of report program and display it in a dialog program

    Hi Aasim,
    Just mention like below in your ABAP report.
       PARAMETERS: p_aufnr TYPE aufnr MEMORY ID ord.
    and mention the same memory ID name in the module pool screen property it automatically populates the value to and fro

  • How to include the ordinary program in the BOR object type program

    Hi Guys, while i am trying to include a program in the BOR object type program. It is showing the following error:
    "Statement 'INCLUDE Z_ERC_SEARCH_VALOFACT_MACRO .' is not permitted in BOR".
    then, i tried to add  "<" and ">" to enclose it, but it wants the access key to create it.   anyone knows how to add the ordinary program in the BOR object type program.

    It's correct that we CAN'T insert our INCLUDES in BOR program. We CAN only use TYPE-POOLS there. So you can create Type Group with TYPES, CONSTANTS and DEFINE statements, and then use them in BOR programs.
    Using DEFINE you can construct MACROs with parameters and call your code there. It's limited, and not the easiest way, but some things can be achieved this way. Also forget about using Code Patterns while editing Type Group.
    Note: Use TYPE-POOLS statement after INCLUDE statement in BOR program .
    Best regards,
    Tomas.

  • Regarding leave program statement.

    Because of using LEAVE PROGRAM statement in LOAD-OF-PROGRAM event the BDC report is going to dump can any one tell me the alternation for LEAVE PROGRAM statement its urgent please?

    You're technically not allowed to do anything that would cause the program to exit in the LOAD-OF-PROGRAM event, STOP is also not allowed.
    The best way I know to make sure the program exits completely is to set a flag in the LOAD-OF-PROGRAM event, and then use "RETURN" or something similar to leave the event.  The next event to run will be INITIALIZATION, from which you can check the flag and call "LEAVE PROGRAM". With no problems.
    (You can also sometimes move everything to the INITIALIZATION event, depending upon your needs.)

  • How to get Runtime for each statement in abap program

    Is there any tool which tells the runtime of each statement in our program..apart from sto5 and se30
    Thanks in advance
    PRASANNA

    Determining the calculation time for calculating the tangent of 1. Since the runtime of the statement is less than a microsecond, the runtime of several executions in an inner loop is measured. The exection time for the loop itself is also measured in order to deduct it as an offset. These measurements are executed several times in an outer loop and the mean value is created using division by n0. Through division by ni, the runtime of an individual statement is determined.
    DATA: t0    TYPE i,
          t1    TYPE i,
          t2    TYPE i,
          t3    TYPE i,
          t4    TYPE i,
          tm    TYPE f,
          no    TYPE i VALUE 100,
          ni    TYPE i VALUE 1000,
          res   TYPE f.
    DO no TIMES.
      GET RUN TIME FIELD t1.
      DO ni TIMES.
        res = TAN( 1 ).
      ENDDO.
      GET RUN TIME FIELD t2.
      GET RUN TIME FIELD t3.
      DO ni TIMES.
      ENDDO.
      GET RUN TIME FIELD t4.
      t0 = t0 + ( ( t2 - t1 ) - ( t4 - t3 ) ).
    ENDDO.
    tm = t0 / ni / no.
    Source: SAP Help.
    Regards,
    Santosh

  • Program RDDTAB00 missing in ECC6.0

    Hi Everyone,
    Our clients system is upgraded from 4.6c to ECC6.0
    In upgraded system, one of the program is giving syntax error while calling
    a dialog module GET_NAMETAB.
    This dialog module references program RDDTAB00.
    This program is missing in ECC6.0
    It is there in 4.6c.
    Is there any alternative program for this?
    I'll be thankful for your kind help.

    Dear,
    Which transactions or processes are failing due to the missin RDD* program?
    Usually the RDD* reports are used internally by SAP system to handle abap dictionary operations . (as nametabs handling). They are not released for customer use.
    Looking at an ABAP/BASIS 7.00 system (as ECC 6.0) the export/import for GET_NAMETAB is in include RDDTABIN .
    I hope this helps.
    Lucio Rodrigues

  • Tcode VF02 RAISE statement in the program "SAPLCSS3" raised the exception.

    Hi,
          I am getting a short dump in my smartform attached with vf02. For few of invoice no. its working perfectly but giving dump in few invoice no.
    Below is short dump statement. Pls guide me for this issue.
    A RAISE statement in the program "SAPLCSS3" raised the exception
    condition "CALL_INVALID".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    invalid call
    Regards,
    Ranu`
    Edited by: ranu sharma on Feb 6, 2010 2:55 PM

    Hi Dipesh,
    In background SAP GUI functionalities are not available.
    This question has been asked many times on scn:
    CNTL_ERROR
    CNTL_ERROR while running a report in background mode
    Regards,
    Ashvin

  • Keep receiving a pop up from McAfee that states "Potentially Unwanted Program Blocked"

    I'm very new to owning and operating my own home computer.   Internet just recently installed.   While trying to find a safe "Minecraft" game for my grandson to pay, I now receive the message from McAfee that states "Portentially Unwanted Program Blocked".     What to do    What to do

    Hello,
    Thank you for posting in the HP Support forum.
    Most probably when you wanted to download the game, it was bundled with malicious/unwanted software, thus stopped by McAfee.
    Here you can find some information about the types of the viruses/malware/Internet attacks:
    http://kb.eset.com/esetkb/index?page=content&id=SOLN186&actp=search&viewlocale=en_US&searchid=141592...
    If you continue getting messages from McAfee that virus or unwanted program is present or deleted, double check with different utilities because McAfee may be picking-up only part of the story (aka undetected malware)
    Read this article and perform STEP 2 , 3 and 4  only   http://malwaretips.com/threads/how-to-remove-trojans-spyware-rogues-and-other-malware.6941/
    As for safe Minecraft game, there are literally hundreds of variants. Search for them using Google/Bing or ask in a gaming forum for recommendation. Use one from reputable sources.
    Best wishes,
    IT_WinSec
    Hewlett-Packard employee | HP Enterprise Services
    Although I work for HP, I express my personal opinion.
    Visit www.hp.com/makeitmatter
    --Say "Thanks" by clicking the Kudos Thumb Up in the post that you find useful.
    --Please mark the post that solves your problem as "Accepted Solution"

Maybe you are looking for

  • Copying files from an external HD extremely slow!

    Hi everybody. Thank's to read this message. I've a MacBook Pro 13" (mid 2009) core2duo 2.26 Mhz whit 2GB ram and running Snow Leopard 10.6.2 The system runs perfect until i try to copy something from an external drive, takes a lot of time to copy it,

  • Key password for the demonstration identity key

    Anybody know the key password for the cert in the DemoIdentity keystore.           I know the store passphrase but I can't find the key password documented           anywhere on BEA's web site. Anybody know the private key password?           Grant

  • Problem while calling an RFC Function Module in Background

    Hello, I have created a RFC function module for reading data from an external DB system. The FM calls an external RFC program (coded in C++ using RFC SDK), which delivers the required data. This external program is maintainged as an TCP RFC Connectio

  • I do not think Flash Player 10 is installing properly.

    OS: Dual Booth Win XP and Vista 32bit System: Quad Core Dell Precision 3400 Background:     I recently had to format my machine and now I cannot get flash player to run properly. Problem/Error:      I am a developer and I am having problems running t

  • Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase is CLS non-compliant

    I'm upgrading SSIS 2005 packages to SQL 2008 R2, and I'm running into a problem with VB.Net the Scripting Task.  In SQL 2005 SSIS VB.Net Scripting task the DTS object is instantiated implicitly at runtime and has global scope.  In SSIS 2008 VB.Net sc