Program types

Hi,
Pls explain the following :
Executable program
Include program
Module pool
Function group
Sub-routine pool
Interface pool
Class pool
Type pool
XSLT program
Thanks
Mahathi

Hi,
Executable programs are made for reporting. They are the only programs that can be started via SUBMIT (which is the ABAP statement that lies behind transaction SA38!). SUBMIT starts a reporting process in the ABAP runtime environment, that is tailor made for receiving user input, selecting data from database tables, and displaying them on a list. The reporting process triggers a sequence of events -- as for example INITIALIZATION, START-OF-SELECTION etc. -- that can be handled in the executable program. Stay tuned for an upcoming Weblog about SUBMIT.
Module pools are very similar to executable programs. Except for reporting events and for being callable via SUBMIT, module pools support the same features as executable programs. In another way around, module pools could be fully replaced by executables. Traditionally, module pools are chosen to implement the application logic of so called dialog programs. Those are programs that communicate with the user via Dynpros. A Module pool Ís usually executed by calling a transaction code connected to one of its Dynpros. The dialog modules are then called from the Dynpro's flow logic.
Function pools are the only programs that can contain function modules. They are not maintained in the standard ABAP Editor, but in the Function Builder instead. Function pools and their function modules deliver reusable functions to other programs. Besides that, function pools have the same features as module pools. Especially, they can contain Dynpros and dialog modules. Therefore, function pools are the first choice, if you want to encapsulate dynpro based user dialogs (note that class pools do not support Dynpros). An application program or a class can call a function module, which then calls one of the function pool's Dynpros via CALL SCREEN.
Subroutine pools -- as the name says -- were created to contain selections of subroutines, that can be called externally from other programs. Before release 6.10, this was the only way, how subroutine pools could be used. But besides subroutines, subroutine pools can also contain local classes and interfaces. As of release 6.10, you can connect transaction codes to methods. Therefore, you can now also call subroutine pools via transaction codes. This is the closest to a Java program you can get in ABAP: a subroutine pool with a class containing a method -- say -- main connected to a transaction code!
Type pools are the precursors to general type definitions in the ABAP Dictionary. Before release 4.0, only elementary data types and flat structures could be defined in the ABAP Dictionary. All other types, that should be generally available, hat to be defined with TYPES in type pools. As of release 4.0, type pools were only necessary for constants. As of release 6.40, constants can be declared in the public sections of global classes and type pools can be replaced by global classes.
Class pools serve as containers for exactly one global class. Besides the global class, they can contain global types/data and local classes/interfaces to be used in the global class. A class pool is executed by calling a public method of its global class. This can be done from any ABAP program, but also via a transaction code connected to one of its public methods. You maintain class pools in the class builder.
Interface pools serve as containers for exactly one global interface -- nothing more and nothing less. You use an interface pool by implementing its interface in classes and by creating reference variables with the type of its interface. You maintain interface pools in the class builder.
Regards,
Omkar.

Similar Messages

  • I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be fund raising, gift p

    I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be dependent on the customer type selection from the first list. Some examples would be: fund raising, gift planning, surveys, and others. The purpose of the trip would be dependent on the program type selected from the second list. Some examples of trip purposes would be: presentation, design, prospecting. Further, the purpose of trip selection from the third drop-down box would then have to determine the values of other fields by expense type: such as commission, airfare, hotel. etc. I've tried pop-up menu but can't figure out how to "select" from the final popup list and have it populate a field for the purpose of the trip. I've tried to look at the JavaScript examples for dependent drop-down boxes, but can't find any that quite fit what I'm trying to accomplish. I am very new to all of this. No training in writing Javascripts - just trying to wing it. The form has to be very simple for our consultants to use, but also give our office the detail we need to process through the correct account numbers. I would appreciate any detailed step-by-step instructions - kind of a javascript for dummies type of info. HELP!

    An AcroForm is the name given to the type of PDF form that you create in Acrobat. An XFA form is the type of form that you create in LiveCycle Designer. Although they are both PDF files, they are very different structurally and have significant;y different scripting models. So pay attention to the information on AcroForms and ignore anything about XFA. Be sure to get the sample PDF forms so you can look at how it works and where the scripts are placed.
    What you want to do will require scripting, and if you don't have the experience and are unable to use the information in the tutorials to create what you want, you might consider getting someone who has experience do this for you. I'll often suggest code if I can do so quickly, but what you want requires more than a few minutes.

  • Doubt in Selection-Screen for Program type "Function Group"

    Hi Gurus,
    I created a Function group in that i created one screen and writtem the Screen flow logic. In that screen I called a Function module "COMPLEX_SELECTIONS_DIALOG" For Creating a selection-Screen.
    The code snippet is like below.
    CASE ok_code .
        WHEN c_clk1.
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
         EXPORTING
           title                   = text-002
           text                    = 'Material Number'
           signed                  = 'X'
            lower_case              = ' '
            no_interval_check       = ' '
             just_display            = ' '          " Un commented by Srihari
             just_incl               = 'X'          " Un commented by Srihari
            excluded_options        =
            description             =
            help_field              =
            search_help             =
           tab_and_field           = st_tab
          TABLES
            range                   = r_matnr
         EXCEPTIONS
           no_range_tab            = 1
           cancelled               = 2
           internal_error          = 3
           invalid_fieldname       = 4
           OTHERS                  = 5.
    it works fine. But the problem is if i click the multiple selection button for the select-option in selection screen and enter the values and copy those value. In the multiple selection button green button is not coming like noram report selection-screen. Please remember I used the program type as "Function Group" not "Module Pool".
    Please send your suggestions.
    Thanks,
    Srihari.

    Ok, I am not 100% sure, if I understand you correctly, you said, you created one screen to 'simulate' a standard selection screen behavior without using select-options statement?
    If that's not correct, could you please post a few more details on what exactly you are doing.
    I had to 'simulate' a select-option behavior which I did as follows:
    - I created a range variable to store the values (s_ctby)
    - on the screen I defined the LOW (s_ctby-low), HIGH (s_ctby-high) and the multiple selection field pushbutton
    - In the PBO I set the icons for the multiple selection pushbutton
      READ TABLE s_ctby INDEX 2 TRANSPORTING NO FIELDS.
      IF sy-subrc NE 0.
        gv_createby = gc_icon_enter_data.
      ELSE.
        gv_createby = gc_icon_disp_data.
      ENDIF.
    - In the PBO make sure that any values entered on the screen are transferred to the range
    * transfer any changed values into the correct range for user transaction
    * (screen 0110) because that screen just 'simulates' a selection screen
    * so we have to make sure that any data the user enters in the selection
    * fields is passed into the appropriate ranges
      IF sy-tcode EQ gc_trans_user.
    *   created by
        IF NOT s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_bt.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF NOT s_ctby-low  IS INITIAL AND
                   s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_eq.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF s_ctby-low  IS INITIAL AND
               s_ctby-high IS INITIAL.
          DELETE s_ctby INDEX 1.
        ENDIF.
    - If the user hits the multiple selection pushbutton
        WHEN gc_fc_create_by.
    *     if the user hits the multiple selection button on the screen
    *     we call the standard SAP functionality to show the multiple
    *     selection popup SAP uses on a standard selection screen
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
            EXPORTING
              title             = text-t02
            TABLES
              range             = s_ctby
            EXCEPTIONS
              no_range_tab      = 1
              cancelled         = 2
              internal_error    = 3
              invalid_fieldname = 4
              OTHERS            = 5.
          IF sy-subrc NE 0 AND NOT sy-msgty IS INITIAL.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    *     now update the header line so the screen fields display the correct values
          CLEAR s_ctby.
          READ TABLE s_ctby INDEX 1.
    Hope that helps,
    Michael

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

  • Program Type Progression v/s Program Progression

    Hi All,
    I found in SAP Help that there is a provision of Program Progression also, and they have mentioned the path <b>SAP menu, choose Campus Management ->Teaching and Examination -> Program Progression</b>, But in my system I am unable to locate this path. Is program progression is not there in ECC 6.0
    Regards . Sudhir

    Program Progression is an obsolete function that should not be used.  Program Type Progression is the only supported method.
    Michael

  • Program Progression or Program Type Progression

    Hi Gurus,
    I want to progress students but i think there is a complexity on the SLCM.
    There are two option (help.sap.com says); "Program Type Progression" and "Program Progression"..
    There are IMG activities and Easy Access steps on the SLCM for "Program Type Progression", but there isn't IMG activities and Easy Access steps for "Program Progression".
    But help.sap.com describes "Program Progression".
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/3b/5c0f51d7be11d2abf900a0c943a389/content.htm
    In addition i couldn't use  "Program Progression" transaction code: PIQPROGRESS
    If you know functionalities about these two option, could you please answer it?
    Thanks.

    Hi Vinod,
    Thank you for the answer.
    I want to progress a student who registered to two program of study.
    When i use program type progression i couldn't differentiate progression of student for each program of study.
    How can i progress student for two program?

  • Error in VSR result for program type

    Hi Experts,
    We are facing the error while running the Prog. Type Progression in student file. In student file we select tab program type progression --> in program type select gradute --> click on change progression result.
    When we click on that we are getting this error:
    1.Error@     01ST0000     GR-4 Error in VSR result for program type GR and progression category 4@35\QLong text exists@
    2.Error@     01ST0000     GR-4 GR-<> is not available; choose a progress classification     @5F\QNo long text exists@
    wat can we do to resolve it.
    Kind Regards,
    Sudhanshu

    Hi Sudhansu,
    Check you config. It is customizing error. This Progress classification category is not valid for program type. Or this progress classification category does not exits.
    Thanks,
    Prabhat Singh

  • Can i use common program type for progression

    i have many program type for undergraduate and graduate.
    sometimes student can change from program type UG to GR and in this case progression can cause problem in our case.
    we have many program type for graduate such as B0, B1 and B2 and for progression i want to have E0 for graduation but progression can not read this data which was saved as E0.
    will it be possible that i have E0 for progression while program type have different one.
    regards,
    jin dal

    Jin Dal,
    The Program Type progression will always give you the choices for program types where the student is registered.  So, it is not possible to run Progression for Program Type 'X', unless the student is actually registered in a program of that program type.
    I would normally use this opportunity to ask, "Why would you have set up so many program types when you have a common progression model?"
    I would also ask, "How can a student change Program Types?"   Normally I would expect that a student completes their Undergraduate program, and then begins a new Graduate level program.  How can an undergraduate registration turn into a graduate registration?
    Are you blueprinting something new here, or are you talking about a system already in production?
    Michael

  • Program type for investment program

    Hi guys.
    need some inputs for my understanding
    Now i am configuring IM for one of the clients. i am new to IM. As per my undestanding of IM program type, there will be one Program type.
    1. for suppose for 2010, I will make a programe type. After completion of this Year, for 2011 is it so required that i have to make a programe type for 2011??? or can i make this as master and proceed till 2020?????
    2. As profile of planning and and budgeting is done with time frame of past:1 year and future 10 years, will the programe type for 2010 can continue till 2020??
    Regards
    SURYA

    To create an IM program you need a program type
    1) for each year you can create an IM program with same type but different approval year. Program type is like project profile in PS
    2) Yes
    suggest you read SAP help or attend relevant training course AC020

  • How to know the program type?

    Hi,
    I want to know what type of execution method a certain concurrent program has, ( e.g if it is SQL*PLUS, REPORT, SPAWN, PL/SQL etc)
    I run the following sql at apps/apps
    1* select distinct execution_method_code from fnd_concurrent_programs
    SQL> /
    E
    R
    H
    P
    I
    K
    Q
    M
    A
    J
    X
    B
    S
    L
    E
    Where do I get the corresponding meaning of this code please.
    How do I query at the form level all the PROGRAM name with execution type SQL*PLUS?
    Thanks a lot

    Hi,
    Where do I get the corresponding meaning of this code please.Try the queries in the following links:
    PSP PL/SQL API for Customizations Tracking
    http://dbaanswers.blogspot.com/2007/11/psp-plsql-api-for-customizations.html
    Query 9: SQL to view all types of request Application wise
    http://knoworacle.wordpress.com/2009/01/12/oracle-application-top-useful-sql-queries/
    Display Module Wise Reports
    http://oracle-applications-rama.blogspot.com/2007/05/display-module-wise-reports.html
    Or, refer to eTRM and see if it is documented there.
    eTRM
    http://etrm.oracle.com
    How do I query at the form level all the PROGRAM name with execution type SQL*PLUS?From System Administrator responsibility, navigate to Concurrent > Program > Executable, Press F11, select "SQL*Plus", Ctrl + F11
    Regards,
    Hussein

  • Help, how to make a program type in a command in command prompt?

    I've got a small code that only works if you type in something like this (assume that the .java file is smallcode.java):
    c:\>java smallcode filename.dcm
    on the other hand, in my main program I have a if else ladder that I want to fit in this code, when my file chooser choose the file type .dcm, I want it to execute the command above, how can I do it?

    1. Not sure if your file is an absolute path name,
    like "c:\files\file.dcm". If it's not, then it has to
    be in the same directory as where your running
    picviewer from. I always use the absolute path just
    to be safe.you know what, you just point out how stupid I am, the path is relative, it depends on where the user surf into, I get the directory like this:
    FileDialog fd = new FileDialog(this, "Select Directory", 0);
    String directory = fd.getDirectory();
    String fileName = fd.getfileName();
    >
    2. Your command string is wrong, try:
    String cmd = ("cmd /c d:\\java
    project\\picviewer\\test\\java DicomViewer " +
    "\""+file+"\"");You are missing a space between DicomViewer and the
    file name. Also, to make sure that it doesn't parse
    the file name, put it in quotes (like I have done
    above).I see, I'll modify the code and come back in couple minutes.
    thanks

  • Can we use Template(Rtf) to all Concurrent Program Type.other than Reports

    Hi Frs,
    i have created Concurrent program with Method as SQL*plus and output type as XML. but when i run the Report i get output has Text Format.
    not getting XMl File.
    i need to setup rtf for this Concurrent Program.
    How to Get it.
    whether it is possible to setup RTF for concurrent Program with method as SQL*plus or RTF is only supported for Method Report.
    pls help
    Message was edited by:
    Badsha
    Message was edited by:
    Badsha

    I don think, this way you can get xml output,..
    "i have created Concurrent program with Method as SQL*plus and output type as XML. but when i run the Report i get output has Text Format.
    not getting XMl File."
    use, the same query in datatemplate , and use the seeded XDO executable as the executable.
    first get the xml out from Conc Pgm, then we can design the RTF and assign to it

  • What are program type F, M

    Hi All,
              I am not able to execute some of abap programs which are of types F and M. What exactly does this mean.. Please explain..
    Thank you
    Jason

    the   porgram type s  are  .
    1.<b>Executeable  proragm</b>    in SE38
    2.<b>Include   program</b>   not   able to execute  in any of the  tcode only  included as  sub program
    3.<b>MODULE  pool </b>   only execute  throught   tcode   create  by  you   .
    4.<b>Function  group </b>  cannot be executed    only   function  modules are executed  @  se37
    5.<b>subroutine pool</b>   again  with in the  program  called  can not be  executed
    6.<b>interface pool</b> ->can not be  executed  
    7.<b>class  pool</b> ->can  be  executed    in  tcode  se24
    8.<b>type  pool</b> ->can not be  executed    in any tcode
    reward  points  if it is usefull ...
    Girish

  • I can download firefox, but when I try to run it, windows 7 asks me to select a program type to run the *.exe file

    I am running windows 7 with IE 10. I want to switch to Firefox as my browser. I am able to download the Firefox Setup 22 0 exe, but when I try to open or run it, windows prompts me to "choose the program you want to use to open this file". This happens with both the Firefox Setup Stub 22 0 exe (274kb) and the Firefox Setup 22 0 exec (21,239Kb). I can't find any program on Windows to run this exe. Same thing happens when I try to run the troubleshooter exe.

    Hello annsboland
    Do you have also problem with others exe files ?
    try to create a new user account in Windows 7 and check it again
    see if the next articles in the links helps to create the new account:
    http://www.bleepingcomputer.com/tutorials/create-new-user-account-in-windows-vista-7/
    http://www.pcadvisor.co.uk/how-to/windows/3326039/how-add-new-user-account-in-windows-7/
    thank you

Maybe you are looking for

  • HP LaserJet P2055dn

    Hi, My problem is this: When printing to HP P2055dn (network printer) from pdf document and power point documents that have more pages (documents are not large in size), printer prints first two pages then stops (like he's having a tea break hehe) fo

  • How do i install windows 7, my superdrive is broken!

    Im on a Mid-2011 iMac, running Yosemite (version 10.10.1), trying to install Windows 7, but i have one problem. My Superdrive is broken. Please help!

  • Download issue on my lumia 520

    Whenever i try downloading on my phone it always shows me a page that i should add m'y info.the page has a drop-down bar which doesn't drop to enable me choose my data,and i cant proceed without setting my info..pls someone should help me and proffer

  • SSRS in SharePoint mode 14 hive

    Hello  I have an environment with 2 servers :  - Sharepoint Server (APP + Front),  - SQL Server (Database engine, Analysis Service (tabular+ PowerPivot, MDM). Now i am trying to install SQL Server 2012 BI features and especially Powerview for SharePo

  • Site definition DW-MX ver 6.1

    Site defintion will not let me input any information on 'create new/edit site' to FTP with. It will not recognize FTP server info. But when I input exact info. in an FTP agent like SW-FTP connection is established everything works. I really think my