Skip to main content

Posts

modularization 1

Modularization Techniques: =========================== modularilization techniques are used to divide the business processing logic into reuseable block of statements. this is tow step procedure. =========================== 1. define the resuable block. 2.calling the resuable block. two types of modularilization techniques: ======================================== source code modularization 1. include. 2. macros. functionality modularization 1.subroutines 2. function modules. Include: ======== we cannot execute an include program independently, whereas the same include program can be included in any number of executable programs. include programs are used to improve the redeablity of the program. in the real time include programs are used to maintain the all the decleration of the program. STEPS TO CREATE INCLUDE PROGRAM: ================================= EXECUTE SE38. Provide the program name. click on create . provide the title. select the ...
Recent posts

Menu painter

WORKING WITH MENU PAINTER: ========================= Menu painter is a tool to design the user interface to the program. The transaction code for menu painter is SE41. GUI COMPONENTS: =========== 1. GUI TITLE.          2. GUI STATUS title bar                 menu bar                           standard toolbar  application tool bar function keys     note : ======= in the menu bar we can design up to 6 menu items and sap provided 2 menu items default(totally 8 menu items) system and help is the default menu items in the application tool bar we can design up to 35 buttons. object : ======== based on the given sales document numbers to display the sales document numbers , document date , customer numbers as shown in the belwo and also attach one download button in the application tool bar . ...

Intreactive reports3

SYNTAX of accessing the part of the data from variables: ======================================================== <Variable name> +x(y). x = starting postion. y = no of characters. ex: data a(30) type c value "welldone1". write a+0(5). welld. write a+6(4). one1. eg: === wa_t001 = 1000 tcs hyd           [4]  [25] [25].     wa_t001+0(4) = 1000.   wa_t001+5(25) = tcs.   wa_t001+31(25) = hyd.     when you double click in sy-lisel the value of record is stored. ex: === sy-lisel = 2000 ibm che. sy-lisel+0(4) = 2000. based on the given company code to display the company codes ,company names and cities in the basic list . if the user clicks on any record then we display the customers under company details (bukrs,kunnr,akont). in the first list , if the user click on any record on the secondary list we display the customer details. [kunnr ,name1, ort01] in the second secondary li...

Intreactive using hide technique

based on the  given purchasing document  numbers to display. purchasing document numbers document dates vendor numbers in the basic list . If the user clicks on any record then we display the PO document  item details ( ebeln, ebelp,menge,meins,netpr) in the secondary list ,by using hide technique. s_ebeln  (inputs select option) basic list : ========= ekko: ==== ebeln,bedat, lifnr. secondary list: =============== ekpo: ===== ebeln,ebelp,menge,meins,netpr. Tables ekko. select-options for ekko-ebeln. types : begin of ty_ekko,         ebeln type ekko-ebeln, bedat type ekko-bedat, lifnr type ekko-lifnr, end of ty_ekko. types : begin of ty_ekpo,         ebeln type ekpo-ebeln, ebelp type ekpo-ebelp, menge type ekpo-menge, meins type ekpo-meins, netpr type ekpo-netpr, end of ty_ekpo. data : wa_ekko type ty_ekko,        it_ekko type table of ty_ek...

Intreactive reports 1

Intreactive reports : ===================== This reports are nothing but to display the summarized information  in the basic list and detailed information in the secondary list. Note : ===== we can have only one basic list and upto 20 secondary list. Events in the intreactive reports. ================================= 1. At line-selection. 2. At User-command. 3. Top-of-page during line-selection. 4. At pf<n>. 5. set pf-status. At Line-Selection ================== This event will trigger whenever the user double click on any list line. Syntax: AT LINE-SELECTION . "Triggers line selection  At User Command: ================= This event will trigger whenever user clicks on any custom buttons of the GUI. Syntax: AT USER-COMMAND . "Triggers user command  At PF Status: ============ This event will trigger whenever user clicks on any function buttons. Syntax: AT PF. "Triggers user command Top Of Page During line selection: ====...

ATTRIBUTES OF INTERNAL TABLES

                        Attributes  of  Internal Tables: KIND: >> Kind  is the  keyword  which  returns  the  TYPE  of  the  internal  table. >> If  the  internal table    is   Standard  then  it  returns  T. >>If  the  internal table   is   Sorted  then  it  returns  S  and  if   Hashed   then it returns    H. LINES: >> Lines  is the  keyword   which returns  the  numbers  of   RECORDS  are  avaiable   in  the  internal tables. SYNTAX:  Describe  Table  <internal table >  kind  <variable 1>   lines <variable 2>. >> By  default  a  variable  is  cha...

TYPES OF INTERNAL TABLE.

Types of Internal Tables: 1. Indexed internal tables. 2.Hashed internal tables. INDEXED INTERNAL TABLES : >> Indexed  internal tables are  two types 1. STANDARD Internal tables                                                                         2.SORTED       Internal tables. STANDARD INTERNAL TABLES: >>   It  accepts  duplicate records  ,because  here ,all fields  are  non-unique. >> Pushing  data from workspace to internal table is always through  APPEND  keyword. >>Searching  of  a record  is  Linear Search(line by line). SYNTAX:  Data <internal table>  like  standard table of <workarea>. note:       ...