<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8096579741455188082</id><updated>2011-12-18T23:01:45.752+05:30</updated><category term='abap OPEN CURSOR statement'/><category term='sap abap  ALv tree format'/><category term='abap fm REUSE_ALV_HIERSEQ_LIST_DISPLAY'/><category term='function module fm RH_OBJID_REQUEST'/><category term='sap abap oops static method'/><category term='info type 0041'/><category term='TYPE hrrootob'/><category term='offset values abap'/><category term='fm CHANGEDOCUMENT_READ_HEADERS'/><category term='SELECTION-SCREEN PUSHBUTTON USER-COMMAND'/><category term='abap fm GET_JOB_RUNTIME_INFO'/><category term='r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield .'/><category term='function module SAPGUI_SET_PROPERTY'/><category term='bdc for mm01 abap program'/><category term='Gosi Calculation Report'/><category term='max sessions in sap'/><category term='abap constructors of superclasses'/><category term='abap report program sample'/><category term='O_MAIN'/><category term='sample hrabap report program'/><category term='open a new screen in sap'/><category term='simple alv grid display program'/><category term='fm SAPGUI_PROGRESS_INDICATOR'/><category term='create variant abap'/><category term='abap fm SSF_FUNCTION_MODULE_NAME'/><category term='lf_fm_name &quot;&apos;/1BCDWB/SF00000062&apos;'/><category term='uploading csv files into ui element of tables.'/><category term='abap method constructor'/><category term='sap abap bdc'/><category term='OPEN DATASET FOR OUTPUT IN TEXT MODE'/><category term='sap abap convert date CONVERSION_EXIT_SDATE_OUTPUT'/><category term='abap REUSE_ALV_HIERSEQ_LIST_DISPLAY'/><category term='GET CURSOR FIELD VALUE'/><category term='abap POPUP_TO_DISPLAY_TEXT'/><category term='abap class implementation'/><category term='Percentage should be type char5'/><category term='ALV output with checkbox'/><category term='abap inner join mara and marc'/><category term='sap abap bdc sample code J4GD tcode'/><category term='change transport'/><category term='sap abap split the alv rows into multiple rows'/><category term='abap function module STRING_UPPER_LOWER_CASE'/><category term='abap fm ADD_TIME_TO_DATE'/><category term='abap report program with tree structure output'/><category term='sap abap use of export parameters in class method'/><category term='fm ALSM_EXCEL_TO_INTERNAL_TABLE'/><category term='sap abap report'/><category term='sap abap selection screen listbox'/><category term='export l_char l_num to memory id &apos;TEST&apos;'/><category term='call method cl_gui_frontend_services=gui_download'/><category term='importance of sql trace'/><category term='help view'/><category term='abap encoding and decoding data'/><category term='FM BX_FAVOS_WRITE_ALL_NODES'/><category term='abap SO_DOCUMENT_SEND_API1'/><category term='CALL TRANSACTION &apos;PA40&apos;'/><category term='workbench organizer'/><category term='abap raise exception type cx_sy_zerodivide'/><category term='catch cx_sy_zerodivide abap'/><category term='abap fetch next cursor statement'/><category term='abap statis variables in method programs'/><category term='AT NEW'/><category term='abap function module TR_READ_GLOBAL_INFO_OF_REQUEST'/><category term='unction module abap DX_FILE_EXISTENCE_CHECK'/><category term='static step loop sap'/><category term='call subscreen abap'/><category term='abap BAPI_OBJCL_CHANGE'/><category term='class pool.'/><category term='types of step loop'/><category term='Maintain Positions PO03 Maintain Jobs Master Data'/><category term='SELECT-OPTIONS'/><category term='DD_SIMPLE_ALV_TOP sap'/><category term='able sample programs list'/><category term='abap tips and tricks'/><category term='personnel number'/><category term='class c1 implementation'/><category term='Interest Days'/><category term='abap final methods keyword'/><category term='example of table FUPARAREF'/><category term='Method GET_INFOTYPES'/><category term='sap abap selection screen'/><category term='DD_ADD_LINK  abap'/><category term='abap use of ME statement'/><category term='fm PRINT_SELECTIONS'/><category term='abap program to create xml file in presentation server'/><category term='call function &apos;REUSE_ALV_LIST_DISPLAY&apos;'/><category term='screen tables abap'/><category term='&apos;HR_HCP_ADD_MONTH_TO_DATE&apos; function module fm'/><category term='call method viewer-open_document'/><category term='abap static constructor of a class'/><category term='examples - AT FIRST'/><category term='on value request'/><category term='function module fm &apos;REUSE_ALV_BLOCK_LIST_INIT&apos;'/><category term='pr-status in abap'/><category term='fmFIMA_DATE_CREATE'/><category term='STXFADMT'/><category term='retrieve employee list under an orgunit'/><category term='fm CONVERSION_EXIT_ALPHA_OUTPUT'/><category term='abap class definition inheriting example'/><category term='sample program on graph used in abap programs'/><category term='abap views in mm01 tcode'/><category term='function module fm ADD_TIME_TO_DATE'/><category term='example memory id sample code'/><category term='sap exit for pa30'/><category term='determine the entry date of an employee'/><category term='OIL_MONTH_GET_FIRST_LAST Gives the month first day date and last day date'/><category term='CD_READ_LAST for Reading the RGDIR directory with latest valid record'/><category term='BAPI_CATIMESHEETMGR_INSERT to create records'/><category term='abap use of set parameter id statement'/><category term='function module fm &apos;BAPI_TIMEQUOTA_GETDETAILEDLIST'/><category term='REBDAO0102 AO: Authorization Types'/><category term='RSTXTRAN abap'/><category term='create data dy_line like line of .'/><category term='WA_LAYOUT-CTAB_FNAME'/><category term='abap exception-table keyword in method programs'/><category term='report to display purchase order'/><category term='sample program to upload data to sap system'/><category term='pai'/><category term='ZXPADU01 and ZXPADU02 2 userexit'/><category term='CREATE OBJECT ALV_CONTAINER'/><category term='workflow details in alv report'/><category term='tasks in sap'/><category term='example with exceptions in constructors'/><category term='dynamic f4 dialog box'/><category term='UPLOAD EXCEL FILE TO ITAB'/><category term='alv methods'/><category term='sap FIND_TAX_SPREADSHEET'/><category term='AT THE END OF'/><category term='How to order all the organization units for a particular organization'/><category term='sap abap oops preferred parameters'/><category term='Change the personal Subarea'/><category term='ARCHIVE_OPEN_FOR_DELETE'/><category term='abap fm SO_SPLIT_FILE_AND_PATH'/><category term='retrieve family data'/><category term='function module sap'/><category term='internal table without header line'/><category term='BDC_OPEN_GROUP'/><category term='use RETURNING parameter in method sap abap'/><category term='Marcos in time management'/><category term='introduction to sap'/><category term='abap method cl_alv_table_create'/><category term='workflow abap'/><category term='bdc updates sap database'/><category term='all about module pool programs'/><category term='FILE TYPE RLGRAP-FILENAME MEMORY ID FILE'/><category term='abap select statement example'/><category term='useful bapis list in sap'/><category term='assign () to .creating a dynamic table'/><category term='O_HANDLER object'/><category term='AT SELECTION-SCREEN OUTPUT'/><category term='Creating Excel with More than one page'/><category term='sample example function module fm TYPD_GET_OBJECT'/><category term='sap abap DDIF_FIELDINFO_GET'/><category term='how to get rid of dumps'/><category term='function module DATE_CHECK_PLAUSIBILITY'/><category term='example alv report program'/><category term='function module fm REUSE_ALV_VARIANT_DEFAULT_GET'/><category term='sap tables related to different business'/><category term='abap use of get keyword'/><category term='flow logic in module pool'/><category term='transport request'/><category term='transaction code SE51'/><category term='function module abap'/><category term='subclass access public properties of superclass'/><category term='abap Changes INR amount to words'/><category term='ON VALUE-REQUEST FOR P_BUKRS'/><category term='function module RS_TREE_LIST_DISPLAY'/><category term='sap abap sample code to update infotype pa2006'/><category term='pai event'/><category term='MEREQ001 Customers&apos; Own Data in Purchase Requisition'/><category term='report for displaying check box with class cl_salv_table'/><category term='trfar trfgb trfgr FROM pa0008'/><category term='replace keyword abap'/><category term='alv sample'/><category term='delete statement'/><category term='example ON FM GUI_UPLOAD'/><category term='abap sap cl_gui_cfw method'/><category term='tool given by sap for the Real Estate Transactions.'/><category term='examples on download sap data or internal table data'/><category term='type ref to cl_abap_structdescr'/><category term='CALL FUNCTION &apos;REUSE_ALV_COMMENTARY_WRITE&apos;'/><category term='abap Delete'/><category term='abap dynamic methods in oops'/><category term='authority object abap'/><category term='REBDBE0105 BE: Field Modif per External Applic.'/><category term='MESSAGE E000 WITH'/><category term='CALL &apos;C_ENQ_WILDCARD&apos; ID &apos;TEXT&apos; FIELD'/><category term='abap simple tree report program'/><category term='sap abap Methods can raise exceptions like function modules'/><category term='strlen use in abap'/><category term='how to chnage selection screen design'/><category term='sap f1 help button'/><category term='function modules fm &apos;REUSE_ALV_EVENTS_GET&apos;'/><category term='sap abap useful bapi'/><category term='case sy-ucomm.'/><category term='fm HR_LEAVING_DATE'/><category term='abap fm FIMA_DATE_CREATE'/><category term='abap protected section'/><category term='abap watchpoint'/><category term='sap language'/><category term='CHAIN... endchain'/><category term='abap SWN_CREATE_SHORTCUT function module'/><category term='sap tcode'/><category term='data types abap'/><category term='USE OF AT SELECTION-SCREEN OUTPUT'/><category term='types of views'/><category term='how to get complete  sap screen'/><category term='REBDRO0102 RO: Authorization Types'/><category term='FUNCTION MODULE WS_DOWNLOAD'/><category term='top-of-page triggered on write statement'/><category term='function module GET_DOMAIN_VALUES'/><category term='runtime analysis tool'/><category term='programs for calling smartform'/><category term='abap SO_NEW_DOCUMENT_ATT_SEND_API1'/><category term='abap function module &apos;SCMS_FILE_COPY&apos;'/><category term='data on the selection screen'/><category term='abap ldb without macros'/><category term='sap fm SET_COUNTER'/><category term='ASSIGN p_field TO'/><category term='TRDIR table.'/><category term='program REPTRAN in se38.'/><category term='and implementing badi and enhancements in standard'/><category term='enhancement MEREQ001'/><category term='SCREEN- INPUT'/><category term='sap testing tools'/><category term='comparing two internal tabls in abap'/><category term='user-command ucomm2'/><category term='function module to convert date and month into words'/><category term='abap fm to evaluate time difference'/><category term='abap inner join of two tables'/><category term='table pa0008'/><category term='abap fm RFC_GET_TABLE_ENTRIES'/><category term='sample code to obtain records or data in a dynamic table'/><category term='sap abap class implementation'/><category term='catch cast error in abap method programs'/><category term='bapi BAPI_RE_CN_CREATE'/><category term='fm in abap'/><category term='pa0008'/><category term='sap abap graphic report program'/><category term='sample &apos;LIST_FROM_MEMORY&apos; fm Exporting list from memory'/><category term='function module fm SWF_FORMS_OF_PROGRAM_GET'/><category term='SAP_CONVERT_TO_XLS_FORMAT'/><category term='GET EBAN DATA'/><category term='transactions abap'/><category term='tool bars in abap'/><category term='error message tables in hrabap'/><category term='&apos;LIST_TO_ASCI&apos; retriving list from memory'/><category term='parameters'/><category term='create views'/><category term='icons in selection screen abap report programming'/><category term='abap function module MM_DELIVERY_ADDRESS_INIT'/><category term='SO_NEW_DOCUMENT_ATT_SEND_API1'/><category term='marc and mard'/><category term='MIGRATE THE FILE FROM PRES. SERV. TO INTERNAL TABLE'/><category term='sap abap report program'/><category term='module pool'/><category term='fm BDC_OPEN_GROUP'/><category term='using BAPI BAPI_CATIMESHEETMGR_INSERT to update the Tcode CAT2'/><category term='st05 sql trace'/><category term='TOP-OF-PAGE.'/><category term='abap delete internal table example'/><category term='abap hotspot keyword'/><category term='hide statement'/><category term='Sample HR Abap report program'/><category term='example code sample fm &apos;SAVE_LIST&apos;'/><category term='subroutine pool'/><category term='ABAP code for validation contained in PAI module'/><category term='abap checkbox in alv grid display'/><category term='abap function module GET_DOMAIN_VALUES'/><category term='abap use of get cursor field'/><category term='fm HR_BEN_READ_EE_BENEFIT_DATA'/><category term='snippets to solve issues related to HR ABAP'/><category term='sample set pf-status &apos;CHECK&apos;. top-of-page during line-selection.'/><category term='function module fm RH_STRUC_GET'/><category term='REBDPR0107 PR: Where-Used List: Views'/><category term='REGC0006'/><category term='endat.'/><category term='Function module TMP_GUI_CREATE_DIRECTORY'/><category term='display report program in list'/><category term='ALV in a Pop up window and ALV in a dialog box'/><category term='function module fm &apos;CU_READ_RGDIR&apos;'/><category term='abap function module BAL_LOG_CREATE'/><category term='AT END OF'/><category term='CALL METHOD r_top- initialize_document.'/><category term='i_callback_html_top_of_page = &apos;HTML_TOP_OF_PAGE&apos;'/><category term='abap update quota for hr infotype pa2006'/><category term='spell out numbers'/><category term='abap function module WS_DOWNLOAD'/><category term='employee~get_infotypes'/><category term='abap method CL_GUI_FRONTEND_SERVICES'/><category term='create a field catalog from this dynamic table'/><category term='abap fm HR_IN_CHG_INR_WRDS'/><category term='abap running bdc code for J4GD tcode'/><category term='abap sap RSPO_R_RDELETE_SPOOLREQ'/><category term='REBDRO0100 RO: Field Modification per Activity'/><category term='t-codes'/><category term='abap READ_EXCHANGE_RATE'/><category term='function module fm LVC_FIELDCATALOG_MERGE'/><category term='abap fm TH_REDISPATCH'/><category term='ALV-multiple language output'/><category term='abap subclasses using inherited method of superclasses'/><category term='AT LAST commands'/><category term='passing internal table through perform statement.'/><category term='sap abap &apos;/SAPDMC/LSM_PATH_FILE_SPLIT&apos;'/><category term='fm RS_REFRESH_FROM_SELECTOPTIONS'/><category term='development workbench'/><category term='abap display funds allocated to funds center'/><category term='at new statement abap'/><category term='CALL TRANSACTION &apos;MIR4&apos; AND SKIP FIRST SCREEN.'/><category term='abap compare itbs'/><category term='prelp_to_pnnnn'/><category term='sap tables related with sd module'/><category term='example hrabap'/><category term='abap pointer tables in oops'/><category term='abap table rodir'/><category term='An ABAP macro reads the time data.'/><category term='sap abap internal table as parameters in method class'/><category term='MESSAGE W000 WITH'/><category term='nested try catch sample code in abap'/><category term='CLASS LCL_HANDLER IMPLEMENTATION'/><category term='abap color in report program'/><category term='examples to hr abap codes'/><category term='time as a pop up window'/><category term='internal table with header line'/><category term='MODIFY tbl_kna1 TRANSPORTING icon color.'/><category term='sap abap selection screen with pushbutton'/><category term='leave to screen abap'/><category term='dwinactiv-uname.'/><category term='abap clipboard to hold texts or program code'/><category term='display sapscripts with sales order details'/><category term='abap function module RP_CALC_DATE_IN_INTERVAL'/><category term='CONVERSION_EXIT_ALPHA_INPUT'/><category term='abap methods for events'/><category term='parameters: p_check as checkbox'/><category term='function module fm RKD_WORD_WRAP'/><category term='abap function module RSAQ_DELETE_ONE_VARIANT'/><category term='how to create a subscreen'/><category term='strlen keyword abap'/><category term='CALL TRANSACTION &apos;ME22N&apos; AND SKIP FIRST SCREEN.'/><category term='function module fm &apos;REUSE_ALV_GRID_DISPLAY_LVC&apos;'/><category term='hr tcodes'/><category term='abap generate random numbers'/><category term='abap fm CONVERSION_EXIT_ABPSP_INPUT'/><category term='sap'/><category term='dynamic alv sample code'/><category term='Yellow and Green)'/><category term='pa0021'/><category term='&apos;PYXX_READ_PAYROLL_RESULT&apos;'/><category term='oops sample abap with local classes'/><category term='lock objects'/><category term='abap tables STXFADM'/><category term='inner join on mara'/><category term='sample example fm gui_download'/><category term='info type number'/><category term='abap FM for sending email through SAP'/><category term='sap abap alv example color code'/><category term='CALLING TRABSACTION CODE &apos;MBO3&apos;'/><category term='sap abap RECEIVE RESULTS FROM FUNCTION'/><category term='&apos;USER_COMMAND&apos;'/><category term='modify itab index'/><category term='REBDPR0008 PR: GUI Standard Functions'/><category term='abap method pointing itself'/><category term='views in abap'/><category term='function module abap SWN_CREATE_SHORTCUT'/><category term='submit YTESTSTSSTS exporting list to memory and return'/><category term='TABLES: pa0001'/><category term='create a prstatus sap'/><category term='abap &apos;SCMS_FILE_COPY&apos;'/><category term='RP-PROVIDE-FROM-LAST P0002'/><category term='function module fm REUSE_ALV_LIST_DISPLAY'/><category term='/nex transaction code'/><category term='company code'/><category term='create dynamic fields'/><category term='Field symbol into ALV'/><category term='pop up screen'/><category term='SELECT KUNNR HKUNNR FROM KNVH'/><category term='ENQUEUE-EZN and DEQUEUE-EZN'/><category term='CELLCOLOR TYPE LVC_S_SCOL'/><category term='component of sapscript'/><category term='it is possible to have a radio button as one column in an ALV grid'/><category term='sap abap hr tables'/><category term='DOWNLOAD SAP DATA INTO EXCEL'/><category term='selection screen'/><category term='9 session sap'/><category term='contract bapi'/><category term='abap ARCHIVE_NEW_OBJECT'/><category term='transaction sari idoc archive'/><category term='fm CONVERSION_EXIT_LDATE_OUTPUT'/><category term='abap three level interactive program using hotspot'/><category term='Uploading Absence records for employees from'/><category term='ca02 bdc program'/><category term='CHECKBOX USER-COMMAND check'/><category term='SAMPLE FUNCTION MODULE GUI_DOWNLAOD SAP ABAP'/><category term='simple program for understanding the PNP LDB'/><category term='at line-selection event'/><category term='sap abap fm GUI_REMOVE_DIRECTORY'/><category term='fm HR_READ_INFOTYPE'/><category term='CALL METHOD OF GS_SELECTION &apos;TypeText&apos;'/><category term='abap fm REUSE_ALV_EVENTS_GET'/><category term='example'/><category term='abap defining static dynamic methods'/><category term='bapi BAPI_CUSTOMERRETURN_CREATE abap'/><category term='bapi property tax'/><category term='abap'/><category term='fm SO_DOCUMENT_SEND_API1'/><category term='earch the hardcoded text into Z reports'/><category term='abap function module MONTH_NAMES_GET'/><category term='alv grid/list report program with popup window'/><category term='tcodes sap'/><category term='RBDMANIN'/><category term='abap function module DATE_CONVERT_TO_FACTORYDATE'/><category term='upload records to table from sheet'/><category term='sapscript layout sets'/><category term='abap standard programs'/><category term='function module fm &apos;REUSE_ALV_HIERSEQ_LIST_DISPLAY&apos;'/><category term='grid and normal display'/><category term='sample program using Bapi BAPI_CATIMESHEETMGR_INSERT'/><category term='commands abap AT FIRST'/><category term='abap polymorphism in method programming'/><category term='RP-PROVIDE-FROM-LAST P0001'/><category term='call method alvtreebar- delete_button'/><category term='SELECTION-SCREEN COMMENT 01(20) v_text FOR FIELD p_test'/><category term='report program to get all details regarding any fm in abap'/><category term='table HRP1000'/><category term='function module fm CONVERT_OTF'/><category term='function module example REUSE_ALV_GRID_DISPLAY'/><category term='SLIS_T_FIELDCATALOG_LV'/><category term='abap fm MM_DELIVERY_ADDRESS_FOR_BAPI'/><category term='define subroutine'/><category term='Function Module To Get the URL of Image'/><category term='REOROF0103 OF: Field Groups for Authorization'/><category term='call method myapp-get_table'/><category term='which is heart of HR Employee Master data'/><category term='ways of logging off the r/3 system'/><category term='sy-lsind'/><category term='Time Data (PA-PAD)'/><category term='abap fm RP_CALC_DATE_IN_INTERVAL'/><category term='Read Employee/Applicant Data From Infotypes'/><category term='FM for rounding off a decimal value'/><category term='sample example code'/><category term='abap WRITE_LF_AFTER_LAST_LINE'/><category term='variants abap'/><category term='replace command syntax'/><category term='CALL METHOD GRID-SET_TABLE_FOR_FIRST_DISPLAY'/><category term='all about sap'/><category term='syntax of table control'/><category term='matchcode abap'/><category term='Download all reports from sap system to a file in presentation server'/><category term='function module fm REUSE_ALV_FIELDCATALOG_MERGE&apos;'/><category term='handle system exceptions using catch statement'/><category term='bdc codes'/><category term='CALL METHOD R_TOP- ADD_GAP'/><category term='fetch name of the month abap'/><category term='external data types abap'/><category term='REBDRO0018 RO: Activities'/><category term='abap DB_TABLE_DATA_READ'/><category term='macros in hrabap programming'/><category term='fm MWGT_SEARCH_INCLUDES'/><category term='sap abap fm CV120_DOC_CHECKOUT'/><category term='call method cl_hr_pnnnn_type_cast=prelp_to_pnnnn badi for hr infotypes'/><category term='with more than one radiobutton'/><category term='REUSE_ALV_COMMENTARY_WRITE&apos;'/><category term='abap RP_CALC_DATE_IN_INTERVAL'/><category term='display exceptions of a given fm in report format'/><category term='fm DYNP_VALUES_READ'/><category term='download sap data into files and sheets.'/><category term='abap SWN_CREATE_SHORTCUT'/><category term='split the alv rows into multiple rows'/><category term='FUNCTION MODULE ABAP WS_EXECUTE'/><category term='subroutine in abap'/><category term='abap subclasses with friend classes'/><category term='interface pool'/><category term='f &apos;MONTHS_BETWEEN_TWO_DATES&apos; &apos;HR_99S_INTERVAL_BETWEEN_DATES&apos;'/><category term='create object viewer'/><category term='modif id used to modify screen element'/><category term='function library'/><category term='fm PFL_CHECK_OS_FILE_EXISTENCE'/><category term='sap abap report header alignment write left justified'/><category term='check request transported to quality or production server'/><category term='create TAB-STRIP without T-code SE51'/><category term='create a dynamic internal table'/><category term='function module fm CONVERSION_EXIT_ALPHA_INPUT'/><category term='HR_IMAGE_EXISTS'/><category term='popup error while Posting documents in fbvo'/><category term='trace sap'/><category term='sap abap fm GUI_CREATE_DIRECTORY'/><category term='select endselect abap'/><category term='&apos;F4IF_INT_TABLE_VALUE_REQUEST function module fm'/><category term='function module fm SELECT_OPTIONS_RESTRICT'/><category term='function module ALSM_EXCEL_TO_INTERNAL_TABLE&apos;'/><category term='sap browsers'/><category term='ref_descr ?= cl_abap_typedescr=describe_by_name( p_table )'/><category term='sample code for goods movement abap'/><category term='abap calculator in screen painter'/><category term='Syntax sample to define radiobutton'/><category term='fm GET_PRINT_PARAMETERS'/><category term='TYPE sscr_restrict'/><category term='sap abap sample programs on OOPS'/><category term='abap Program to Download all Text Symbols'/><category term='abap samples on select statements or queries'/><category term='sap r/3 system'/><category term='create a module pool program'/><category term='abap fm WS_UPLOAD'/><category term='function module AUTHORITY_CHECK_TCODE'/><category term='print screen in html layout'/><category term='icons in alv'/><category term='abap use of static event in method programming'/><category term='assign object-it_tab to'/><category term='PERNRS UNDER AN ORGANIZATION'/><category term='FM to convert amount in words'/><category term='replace abap statement'/><category term='sample replace all occurrences of'/><category term='types of data objects sap'/><category term='sample program  on use of strings'/><category term='fm WS_FILENAME_GET'/><category term='function module fm VRM_SET_VALUES'/><category term='function module RS_TREE_LIST_DISPLAY....'/><category term='abap sapscripts'/><category term='abap RAISING CX_SY_ZERODIVIDE.'/><category term='use of field symbols'/><category term='example of HIDE command in sap abap'/><category term='sap abap alv sample program'/><category term='How to find user exits for any transaction'/><category term='abap HRCM ORGUNIT MANAGER GET'/><category term='&apos;OIL_LAST_DAY_OF_MONTH&apos;'/><category term='function module fm GET_GLOBAL_SYMBOLS'/><category term='sap abap SWNC_COLLECTOR_GET_AGGREGATES'/><category term='unction module abap ARCHIVE_OPEN_FOR_MOVE'/><category term='table name RODIR'/><category term='FUNCTION MODULE ABAP BX_FAVOS_READ_ALL_NODES'/><category term='Report ... List of Emp. who Completed Certain Yrs of Service'/><category term='determine whether a year  is a leap year or not'/><category term='PA30 is HR Master Data Maintenance'/><category term='abap  fm BDS_BUSINESSDOCUMENT_CREATEF'/><category term='measure performance abap'/><category term='SAPLSLVC_FULLSCREEN'/><category term='DATA: STRING TYPE CHAR100'/><category term='Append'/><category term='abap fm POPUP_TO_CONFIRM_STEP'/><category term='abap function module SO_OBJECT_SEND'/><category term='how to create an implementation for an already existing BADI in ECC'/><category term='sap abap WEEK_GET_FIRST_DAY'/><category term='abap class defination'/><category term='split keyword example'/><category term='display subtotals in alv list reports'/><category term='sap client'/><category term='dumps in sap abap RECEIVE RESULTS FROM FUNCTION'/><category term='call method viewer-create_toolbar'/><category term='use of shift command abap'/><category term='function module fm LIST_FROM_MEMORY'/><category term='sap abap bdc sample code ie02 tcode'/><category term='object oriented programs on abap'/><category term='abap sample program to create a folder on presentation server'/><category term='gui_upload abap'/><category term='abap interface keyword'/><category term='multiple field on a dynpro screen via a PAI module call'/><category term='hr database table'/><category term='CHECK alv_container IS INITIAL.'/><category term='abap how to paas an internal table to a subroutine'/><category term='abap running bdc code for ie02 tcode'/><category term='sap abap download pdf file'/><category term='read the data from wage types from info type 0008'/><category term='abap subclass access superclass'/><category term='syntax update command'/><category term='function module HRHAP_DOCUMENT_GET_DETAIL'/><category term='sap alv styles in a program'/><category term='hrp1000-objid'/><category term='OBJTYPE = &apos;REPS&apos;'/><category term='tcodes abap'/><category term='sap abap currency formatting in sapscript'/><category term='sap abap KD_GET_FILENAME_ON_F4'/><category term='sap databse interface'/><category term='abap oops program'/><category term='advantages of bdt sap 6.0'/><category term='give  name of  function module  get details of that sap abap'/><category term='abap standard tables with description'/><category term='CEIL() functions'/><category term='convert month in words'/><category term='sap abap bdc sample code ie01 tcode'/><category term='abap HR ENTRY DATE'/><category term='how to get the status of a abap program'/><category term='SELECT carrid carrname url INTO TABLE it_sflight FROM scarr'/><category term='function module fm REUSE_ALV_COMMENTARY_WRITE'/><category term='OPEN DATASET path FOR INPUT IN TEXT MODE ENCODING DEFAULT'/><category term='checkbox as a radiobutton sap abap'/><category term='fm GET_GLOBALS_FROM_SLVC_FULLSCR'/><category term='data objects'/><category term='Example HR ABAP'/><category term='abap fm to retreive authorization object on a date'/><category term='sap editors'/><category term='abap set handler'/><category term='fm  hr_read_infotype'/><category term='abap performance tuning'/><category term='abap program will create a tab delimit'/><category term='PAGE-SCRLLINE = SYST-LILLI - ( SYST-CUROW - PAGE-HDRLINES ).'/><category term='abap method calling a method'/><category term='CLASS lcl_alv_toolbar IMPLEMENTATION.'/><category term='Input Only Through the f4 help'/><category term='fm HRHAP_SEL_OBJECTS_OF_EVAL_PATH'/><category term='at end of command abap'/><category term='abap submit using selection-screen'/><category term='abap performance'/><category term='badi in standard transaction'/><category term='sap abap oops alv selection screen'/><category term='QCE1_CONVERT'/><category term='CALL METHOD g_grid- set_drop_down_table'/><category term='REGC0009 GUI Additional Functions'/><category term='call screen abap'/><category term='&apos;CONVERSION_EXIT_LDATE_OUTPUT&apos;'/><category term='button1 USER-COMMAND'/><category term='get the payroll results by calling the PYXX_READ_PAYROLL_RESULT'/><category term='abap CLASS c1 IMPLEMENTATION'/><category term='sap abap table usr02'/><category term='t-codes sap'/><category term='abap CLOI_PUT_SIGN_IN_FRONT'/><category term='transaction codes'/><category term='different function modules to obtain employee information'/><category term='function group'/><category term='abap fm SO_OBJECT_READ'/><category term='sample abap report program'/><category term='cl_alv_table_create for dynamic internal table'/><category term='sample bdc program to upload om relation tcode PO13'/><category term='abap fm REPS_OBJECT_ACTIVATE'/><category term='fm F4_DATE'/><category term='t-code se51'/><category term='abap fetch week number of the year for date input'/><category term='function module HR_IN_CHG_INR_WRDS'/><category term='tcode SM62'/><category term='modify internal table in a loop'/><category term='tables:pernr'/><category term='example on field-symbols abap'/><category term='ind tables using a specific data element'/><category term='function module fm FIRST_AND_LAST_DAY_IN_YEAR_GET'/><category term='SCREEN-OUTPUT'/><category term='&apos;CD_READ_LAST'/><category term='stock details for a given period with Goods Receipt'/><category term='abap collect example'/><category term='abap select statement'/><category term='CALL FUNCTION &apos;GET_COUNTER&apos;'/><category term='CREATE OBJECT alv_grid'/><category term='abap call method'/><category term='example at new lifnr.'/><category term='BAPI_RE_BE_GET_LIST'/><category term='abap select statement using dynamic where clause'/><category term='function module fm HR_ENTRY_DATE'/><category term='function module fm &apos;HR_SGPBS_YRS_MTHS_DAYS&apos;'/><category term='function module fm &apos;REUSE_ALV_COMMENTARY_WRITE'/><category term='Infotypes 0000'/><category term='bapi sample'/><category term='TABLE OF struc'/><category term='abap class definition inheriting'/><category term='abap recording bdc for tcode ks01'/><category term='abap running bdc code for ie27 tcode'/><category term='REUSE_ALV_GRID_DISPLAY_LVC'/><category term='example selection screen'/><category term='Payroll results using FM &apos;CU_READ_RGDIR&apos;'/><category term='fm HR_GET_EMPLOYEE_DATA&apos;'/><category term='gui_download function module sap abap'/><category term='default &apos;X&apos; user-command comm'/><category term='program to list employees taking unauthorized leave'/><category term='HR_BEN_READ_HEALTH_PLANS'/><category term='classical report abap'/><category term='TYPE SLIS_ALV_EVENT'/><category term='table abap PTREQ_HEADER'/><category term='Abap instance constructors in oops'/><category term='set screen abap'/><category term='how to validate mail address in abap'/><category term='fm LIST_SCROLL_LINE_TOPMOST'/><category term='standard tool bar sap'/><category term='function module fm to upload huge data or records'/><category term='BEGIN OF SCREEN 500 AS WINDOW TITLE title'/><category term='sample report programs'/><category term='fieldname = &apos;GLTGB&apos;'/><category term='SCMS_DOC_URL_READ'/><category term='Example table TRKORR Contains the names of the change requests'/><category term='data entry to hashed table in sap system'/><category term='abap fm DDIF_TABL_GET'/><category term='step loop abap'/><category term='upload data from sheet to table'/><category term='menu bar sap'/><category term='abap sap &apos;WEEK_GET_FIRST_DAY&apos;'/><category term='example define check box in selectionscreen'/><category term='LIST_FREE_MEMORY'/><category term='abap keyword modify'/><category term='workflow sbwp transaction'/><category term='REBDAO0103 AO: Field Groups for Authorization'/><category term='download abap source code to pc using ws_download'/><category term='use SALV methods'/><category term='abap fm SO_USER_READ_API1'/><category term='inserting deleteing updating values from work area'/><category term='database view'/><category term='TABLE OF bsip'/><category term='abap function module to fill select-options table'/><category term='abap program to reset user&apos;s password history'/><category term='Sap Abap'/><category term='alv abap'/><category term='version management'/><category term='transaction codes in sap'/><category term='RLSEU0_DOK-STATUS'/><category term='abap running bdc code for J3G$ tcode'/><category term='sap function module DISPLAY_BASIC_LIST'/><category term='abap fm ENHS_AFTER_IMPORT'/><category term='sample program'/><category term='abap fm J_1BSA_COMPONENT_ACTIVE'/><category term='quality and development servers respectively'/><category term='PNP logical database'/><category term='Months'/><category term='CALL METHOD PICTURE- LOAD_PICTURE_FROM_URL_ASYNC'/><category term='logical unit of work sap'/><category term='abap fetch data from data base tables'/><category term='call function REUSE_ALV_LIST_DISPLAY'/><category term='REBDBU0105 BU: Fld Grouping Per External Appl.'/><category term='to create an hr infotype'/><category term='uploaded encoded data in database table'/><category term='function modules with description'/><category term='trace abap'/><category term='fm sample example upload'/><category term='CALL METHOD picture_control_1- load_picture_from_url'/><category term='change requests'/><category term='sap request'/><category term='function module fm &apos;REUSE_ALV_GRID_DISPLAY&apos;'/><category term='abap WS_EXECUTE fm'/><category term='abap methods with private attributes'/><category term='traffic light columns in ALV'/><category term='function module fm &apos;ROUND&apos;'/><category term='sap abap file processing'/><category term='programs provided by sap system with description.'/><category term='sap standard report program'/><category term='fm function module GET_COMPONENT_LIST'/><category term='sapscript window'/><category term='OBLIGATORY DEFAULT'/><category term='fm Function Module RH_STRUC_GET'/><category term='fm POPUP_TO_SELECT_MONTH'/><category term='CREATE OBJECT g_custom_container'/><category term='sap abap bdc sample code VK11 tcode'/><category term='define tabstrips in selection screen'/><category term='sap abap class DEFINITION DEFERRED'/><category term='abap name of week days WEEKDAY_GET'/><category term='function module CONVERSION_EXIT_LDATE_OUTPUT'/><category term='abap function module BAPI_ENTRYSHEET_CREATE'/><category term='MODIFY TABLE csg_gt_list from l_wa_modify_check.'/><category term='fm VRM_SET_VALUES'/><category term='CREATE DATA o_ref TYPE TABLE Of ()'/><category term='maintenance view'/><category term='function module fm &apos;REUSE_ALV_BLOCK_LIST_APPEND&apos;'/><category term='insert records in internal table'/><category term='drop down list box in the Selection Screen'/><category term='sap abap bdc sample code J3G$ tcode'/><category term='use of split command in abap'/><category term='TABstrip for selection screen'/><category term='macro to ferch hr data'/><category term='Reads the Last Result (Check Date) in a Period'/><category term='display all tables of mara table in alv grid display'/><category term='abap submit keyword'/><category term='sap abap SAPGUI_SET_PROPERTY'/><category term='bapi abap'/><category term='abap delete itab'/><category term='CATCH cx_sy_move_cast_error'/><category term='abap submit statement'/><category term='sample checkbox alv report'/><category term='abap method program static variable'/><category term='select single statement'/><category term='create subscreens in abap'/><category term='open sql abap'/><category term='function module &apos;WEEK_GET_FIRST_DAY&apos;'/><category term='abap create data example'/><category term='Function Module RH_READ_INTFY'/><category term='scc1 to transport text elements between clients'/><category term='open dataset for input in text mode encoding default.'/><category term='sap abap table archiving'/><category term='logo in sapscripts'/><category term='abap collect keyword'/><category term='CALL METHOD cl_salv_table= factory'/><category term='transaction in abap has two steps'/><category term='types of locks sap'/><category term='abap fm modify internal table'/><category term='uploading zip files to appl. server.'/><category term='retrieve a spool request and email it as a PDF document'/><category term='PYXX_READ_PAYROLL_RESULT Fm to extract payroll results'/><category term='sap abap fm UPLOAD_FILES'/><category term='sample HR_MAINTAIN_MASTERDATA example code'/><category term='abap detailed drilldown list report sample program'/><category term='abap fm BAPI_PROJECT_MAINTAIN'/><category term='abap polymorphism through interface'/><category term='printing the data on the selection screen'/><category term='abap authorization object'/><category term='abap popup_to_decide fm'/><category term='RSEINB00'/><category term='SELECTION-SCREEN USER-COMMAND'/><category term='field checks in module pool'/><category term='RSISP_DDIC_F4_VALUES function module fm'/><category term='passing data to table control'/><category term='fm DDIF_NAMETAB_GET'/><category term='abap fm CONVERSION_EXIT_LDATE_OUTPUT'/><category term='function module fm &apos;HR_99S_INTERVAL_BETWEEN_DATES&apos;'/><category term='fm &apos;WWW_GET_MIME_OBJECT&apos;'/><category term='abap all about debugger'/><category term='t001p'/><category term='sap abap downlaod to excel file'/><category term='ON VALUE-REQUEST FOR p_name.'/><category term='abap sap cl_gui_frontend_services Method'/><category term='build_layout'/><category term='constructor in method programs'/><category term='Screen-Exit ME51n or ME52n or ME53n'/><category term='how to get the manager of an employee in an org.'/><category term='dd02l-tabname'/><category term='example sample code &apos;HR_GET_EMPLOYEE_DATA&apos;  fm'/><category term='function module fm REUSE_ALV_POPUP_TO_SELECT'/><category term='sap hr abap'/><category term='radiobutton group abap'/><category term='maintaining dynamically created tables'/><category term='abap fm DATE_GET_WEEK'/><category term='FM &apos;WWW_HTML_FROM_LISTOBJECT&apos; used to convert List to HTML'/><category term='endda begda orgeh ename FROM pa0001'/><category term='fm HR_MAINTAIN_MASTERDATA&apos; example'/><category term='sap abap bdc sample code J3GH tcode'/><category term='abap using set parameter id'/><category term='fm F4IF_INT_TABLE_VALUE_REQUEST'/><category term='REBDBE0017 BE: External Applications'/><category term='write centered'/><category term='abap using ME keyword in methods'/><category term='CD_READ_LAST'/><category term='close dataset p_file.'/><category term='abap POPUP_TO_CONFIRM'/><category term='sap abap fm C13Z_APPL_TO_FRONT_END'/><category term='bdc on ks01 transaction abap'/><category term='abap creating zip file'/><category term='function module CONVERT_ABAPSPOOLJOB_2_PDF'/><category term='sap abap different ways of calling a method using classes'/><category term='fm upload example sample code'/><category term='abap raise event exporting'/><category term='bdc for tcode VA01 USING bdcdata'/><category term='abap &apos;SSF_ABAP_SERVICE'/><category term='abap modify internal table'/><category term='function module to get the last date of any month'/><category term='PUSHBUTTON 2(10) but1 USER-COMMAND'/><category term='abap fm spell_amount'/><category term='sap hrabap info types and tables'/><category term='abap &apos;TOP_OF_PAGE&apos;.'/><category term='abap ASSIGN COMPONENT statement'/><category term='Marcos in personnel administration'/><category term='sap abap hr transactions'/><category term='HR_IN_CHG_INR_WRDS&apos;'/><category term='abap Delete from internal table'/><category term='function module fm RS_TOOL_ACCESS'/><category term='example start-of-selection.'/><category term='&apos;REUSE_ALV_LIST_DISPLAY&apos;'/><category term='abap try catch block example'/><category term='assign ls_foo to'/><category term='function module fm HRWPC_RFC_STRUCTURE_GET&apos;'/><category term='ASSIGN new_table-* TO .'/><category term='RP_READ_ALL_TIME_ITY PN-BEGDA PN-ENDDA.'/><category term='REBDRO0012 RO: Field Modification Criteria'/><category term='upload a DBF (DBAse File) to SAP'/><category term='sql trace'/><category term='MAKT'/><category term='sample programs on bdc'/><category term='display statement on selection screen'/><category term='analyse sql trace'/><category term='select with dynamic where condition'/><category term='mard'/><category term='abap /IBS/RB_FI_FIRST_LAST_DAY'/><category term='double click alv grid'/><category term='abap event handler in the same class in method programming'/><category term='alv with class cl_salv_table'/><category term='create a field catalog from this dynamc table'/><category term='DEQUEUE_E_TABLE'/><category term='bapi PT_ARQ_REQUEST_EXECUTE'/><category term='PDF form from ABAP List Output'/><category term='user defined help abap'/><category term='example on creating an infotype'/><category term='/SAPDMC/LSM_F4_SERVER_FILE'/><category term='fm in abap to get random numbers'/><category term='Interview questions in abap'/><category term='PTREQ_HEADER'/><category term='abap fm SSF_GET_DEVICE_TYPE'/><category term='abap function module SO_OBJECT_READ'/><category term='updating value of another field on the screen'/><category term='function module J_1B_NF_PO_DISCOUNTS'/><category term='i_callback_html_end_of_list ='/><category term='DD_SHLP_CALL_FROM_DYNP to display all possible values for the field'/><category term='abap recording bdc for tcode ka01'/><category term='marc'/><category term='get the checkbox checked in ALV report'/><category term='abap exception handling in method programming'/><category term='USER-COMMAND abap'/><category term='abap BAPI_USER_ACTGROUPS_ASSIGN sample code'/><category term='screen painter sap'/><category term='sample program on fm OIL_MONTH_GET_FIRST_LAST'/><category term='abap function module ARCHIVE_OPEN_FOR_DELETE'/><category term='abap local class used as listener to ALV events'/><category term='makt.'/><category term='SCREEN-ACTIVE'/><category term='function module ADD_TIME_TO_DATE'/><category term='retrieve data from logical db.'/><category term='download file in presentation server'/><category term='abap create  object'/><category term='list box in selection screen using macros'/><category term='tips and tricks in abap'/><category term='REUSE_ALV_LIST_DISPLAY'/><category term='abap fm SAPGUI_PROGRESS_INDICATOR in sap.'/><category term='abap table ust12'/><category term='function module DATE_COMPUTE_DAY abap'/><category term='CALL METHOD document- new_line'/><category term='sap abap programs using oops concept'/><category term='Program to create/delete table contents from a flat file'/><category term='REGC0016 Tables'/><category term='process on help request abap'/><category term='abap running bdc code for VK11 tcode'/><category term='function module to obtain name of the month'/><category term='where trkorr = trkorr and trstep = &apos;&apos; .'/><category term='trace file'/><category term='t510n'/><category term='REBDBU0100 BU: Field Modification per Activity'/><category term='abap fm OCS_GET_FILE_INFO'/><category term='abap running bdc code for J3GH tcode'/><category term='abap data selection from database'/><category term='sap dictionary'/><category term='BAPI_EMPLOYEE_CHECKEXISTENCE'/><category term='double click to display a secondary  list'/><category term='function module UPLOAD'/><category term='hr compensation Statement management test report'/><category term='List in dialog box to choose one or more entries (or display only)'/><category term='abap CONVERSION_EXIT_LDATE_OUTPUT fm'/><category term='function module fm STRING_UPPER_LOWER_CASE'/><category term='abap ASTAT-AGGREGATE STATISTICS TOOL'/><category term='abap /4 development workbench'/><category term='sap spool system'/><category term='io_alv_grid TYPE REF TO cl_gui_alv_grid'/><category term='examples on alv programming'/><category term='Gives the difference between dates in Day'/><category term='Gets all of the global data types.'/><category term='screen flow logic'/><category term='sap function module to find time difference'/><category term='parameters example'/><category term='function module fm &apos;RS_GET_MAINPROGRAMS&apos;'/><category term='sap table rodir to find obsolete function modules'/><category term='sap abap fm FILE_GET_NAME'/><category term='snippets'/><category term='HR_SGPBS_YRS_MTHS_DAYS'/><category term='DB_GET_TABLE_FIELDS'/><category term='tcode sbwp'/><category term='start-of-selection introduction'/><category term='abap gui_download function module'/><category term='fm gui_download'/><category term='CALL METHOD R_TOP- INITIALIZE_DOCUMENT'/><category term='abap assisgning roles to users'/><category term='syntax insert command'/><category term='sap abap replace all occurrences of'/><category term='Calendar Days'/><category term='sample report program to list out all the obsolete fm'/><category term='BAPI_RE_RO_GET_LIST'/><category term='cl_abap_typedescr=describe_by_name( p_table ).'/><category term='BAPI_RE_BU_GET_LIST'/><category term='generic functions'/><category term='creating matchcode objects'/><category term='create dynamic internal table'/><category term='all  include programs in abap'/><category term='Reuse_alv_grid_display'/><category term='abap function module HR_GBSSP_GET_WEEK_DATES'/><category term='function module &apos;/SAPDMC/LSM_PATH_FILE_SPLIT&apos;'/><category term='shift statement abap'/><category term='i_logo ='/><category term='SAP ABAP fm for date conversions'/><category term='comment 40(20) icon1'/><category term='rp_provide_from_frst p0001 space pn-begda pn-endda .'/><category term='example abap selection query'/><category term='function module fm REUSE_ALV_GRID_DISPLAY'/><category term='include program'/><category term='ABAP interactive repoting'/><category term='abap fm DAY_ATTRIBUTES_GET'/><category term='abap methods pointing to dynamic tables'/><category term='abap at end of statement in sap'/><category term='tcode or program'/><category term='purchase requisition at plant'/><category term='sap abap R/3 server'/><category term='fm CU_READ_RGDIR'/><category term='abap sap AT SELECTION-SCREEN ON VALUE-REQUEST FOR'/><category term='how to use table rodir example'/><category term='Sap Abap alv'/><category term='fm RS_TREE_CONSTRUCT'/><category term='sapscripts include program list'/><category term='sap abap bdc for hr tcode po13'/><category term='sap script'/><category term='BAPI examples'/><category term='sap abap fm GUI_DELETE_FILE'/><category term='how can we hide a report program in sap'/><category term='FROM  LEFT OUTER JOIN'/><category term='ls_stylerow-style = cl_gui_alv_grid= mc_style_disabled.'/><category term='abap fm RZL_READ_DIR_LOCAL'/><category term='abap using submit keyword'/><category term='function module SO_DOCUMENT_SEND_API1 abap'/><category term='fm HRCM_ORGSTRC_EMPLOYEE_LIST_GET'/><category term='production system'/><category term='oops abap sap public privaTE  and protected simple program'/><category term='sample alv grod display program'/><category term='Snippets on abap programs'/><category term='fm RPY_DOMAIN_READ'/><category term='abap find standard smartform'/><category term='F4_DXFILENAME_TOPRECURSION'/><category term='sap r/3 architecture'/><category term='CALL METHOD alv_grid- set_table_for_first_display'/><category term='convert amount into words'/><category term='transfer data to excel sheet using ole automation.'/><category term='fm LDB_PROCESS'/><category term='sapscripts'/><category term='PA30 transaction'/><category term='funtion module DYNP_VALUES_UPDATE'/><category term='abap find hardcoded text in report programs'/><category term='hr example using macros'/><category term='email  simple program'/><category term='GET CURSOR FIELD VALUE.'/><category term='sap abap fm TMP_GUI_GET_FILE_EXIST'/><category term='CALL METHOD R_TOP- VERTICAL_SPLIT'/><category term='sapscript to pdf file'/><category term='sap abap report fm ALSM_EXCEL_TO_INTERNAL_TABLE'/><category term='fm LVC_FIELDCATALOG_MERGE'/><category term='analysis'/><category term='WORKBENCH REQUEST'/><category term='CALL METHOD document- add_gap'/><category term='abap fm RPY_DOMAIN_READ'/><category term='function module FIMA_DATE_CREATE'/><category term='sample &apos;SO_NEW_DOCUMENT_SEND_API1&apos;'/><category term='i_save = &apos;A&apos;.'/><category term='ON VALUE-REQUEST FOR p_file'/><category term='abap aliases keyword object programming'/><category term='tables: hrp1000'/><category term='abap fm calculate_date'/><category term='abap bapi'/><category term='sample example on alv grid display'/><category term='abap constructor with exporting gives error'/><category term='create a step loop'/><category term='bapis in real estate business'/><category term='standard layout sets'/><category term='rp_provide_from_frst p0008 space pn-begda pn-endda .'/><category term='function module made easy'/><category term='sap abap DX_FILE_EXISTENCE_CHECK'/><category term='hide command syntax'/><category term='ALV developed using OOPS'/><category term='gui_download function module sap'/><category term='CONT_DOCKING TYPE REF TO CL_GUI_DOCKING_CONTAINER'/><category term='abap sample code on try catch block'/><category term='function module'/><category term='abap SEND_FILE_AS_EMAIL_ATTACHMENT'/><category term='abap keyword assign component'/><category term='HR Master Record- Infotype Family data'/><category term='INFOTYPES : 0001.'/><category term='abap use of at end of statement'/><category term='fm &apos;KD_GET_FILENAME_ON_F4'/><category term='REUSE_ALV_EVENTS_GET'/><category term='PYXX_READ_PAYROLL_RESULT&apos;'/><category term='abap constructors raising exceptions'/><category term='abap creating the BOM'/><category term='delete command abap'/><category term='Alv Tree With Checkbox Sap Abap'/><category term='bdc on ka01 transaction abap'/><category term='at line selection gets triggered on double click'/><category term='CONVERSION_EXIT_ALPHA_INPUT fm'/><category term='macros on selection screen'/><category term='internal table abap'/><category term='runtime'/><category term='user_command USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.'/><category term='TYPE sscr_opt_list'/><category term='display the data through custom container'/><category term='sap fm BAL_LOG_MSG_ADD'/><category term='GET_COMPONENT_LIST'/><category term='sap abap function module ADK_CCMS_GET_TABLES'/><category term='example of using macros in hr abap report program.'/><category term='abap unction module BAPI_AR_ACC_GETSTATEMENT'/><category term='at user-command sap abap'/><category term='tables associated with real estate'/><category term='display logo on selection screen'/><category term='use of condense command'/><category term='date type sy-datum'/><category term='abap how to userexits for any transaction'/><category term='fm WWW_GET_MIME_OBJECT'/><category term='sap abap  ARCHIVE_GET_NEXT_RECORD'/><category term='menge meins netpr peinh'/><category term='function module fm RH_STRUC_HELP_ROOTS_GET&apos;'/><category term='symbols in alv grid'/><category term='function module fm F4_STATUS_LIST'/><category term='abap function module /IBS/RB_FI_FIRST_LAST_DAY'/><category term='abap OCS_GET_FILE_INFO'/><category term='abap chnage sign of values fm'/><category term='abap use of abstract methods in oop'/><category term='FM GUI_DOWNLOAD SAP ABAP'/><category term='tables:pa0002'/><category term='AT LAST'/><category term='top of page in alv'/><category term='abap fm WEEKDAY_GET'/><category term='CLASS cx_my_exception abap'/><category term='sap help r/3'/><category term='fetching the data from HR database tables'/><category term='abap bapi &apos;BAPI_RE_CN_CHANGE sample'/><category term='function module CV120_DOC_CHECKOUT_VIEW'/><category term='Sending data from internal table to excel sheet'/><category term='select statement aggregate expressions'/><category term='pa0041.'/><category term='abap program to create jobs in application server'/><category term='function module convert date into words'/><category term='Returns week for a date'/><category term='bdc pp module for bom table control'/><category term='function module fm &apos;GRAPH_MATRIX_3D&apos;'/><category term='create a gui status in abap'/><category term='abap friend class'/><category term='at first...endat statement'/><category term='SSF_FUNCTION_MODULE_NAME fm to call smartform in program'/><category term='tcodes associated with alv grid display'/><category term='AS LISTBOX VISIBLE LENGTH 60 MODIF ID DAT.'/><category term='transport request from one server to another'/><category term='function module DATE_COMPUTE_DAY'/><category term='Initialize Tab Selection Screen'/><category term='example code for Listing Icons'/><category term='RS_TREE_CONSTRUCT&apos;'/><category term='begin of tabbed block tabb1 for 9 lines'/><category term='dynamic step loop'/><category term='SSF_FUNCTION_MODULE_NAME'/><category term='drop down list in alv'/><category term='call method cl_alv_table_create=create_dynamic_table'/><category term='for all entries in it_marc'/><category term='abap function module Calculate_date'/><category term='shift keyword abap'/><category term='abap how to find used transactions for the entered date'/><category term='&apos;CONVERT_OTF&apos;  function module'/><category term='insert data into dynamically created internal table'/><category term='sample program hr abap'/><category term='abap static attributes in method'/><category term='Macro for getting US pernrs Info'/><category term='abap performance tuning indexing'/><category term='SYSTEM FIELDS IN ABAP LANGUAGE'/><category term='sap abap bdc sample code ie27 tcode'/><category term='in the Top of the pages of a List'/><category term='Increase/decrease DATE by a specific number of Days/Months'/><category term='&apos;CU_READ_RGDIR'/><category term='direct document objects  abap'/><category term='abap delete program RS_DELETE_PROGRAM'/><category term='&apos;CU_READ_RGDIR&apos;'/><category term='abap PARAMETER_TABLE in oop'/><category term='fm BDC_INSERT'/><category term='User clicks a transaction code and that tcode is called from ALV'/><category term='REGC0001'/><category term='sap abap multiple table control on a single screen'/><category term='sap communication interface'/><category term='ALV report displays tables CDHDR and CDPOS'/><category term='class lclapp implementation.'/><category term='luw abap'/><category term='abap disabale the sap user password'/><category term='class CL_PT_EMPLOYEE'/><category term='sap abap FLOOR()'/><category term='fm ALSM_EXCEL_TO_INTERNAL_TABLE used  for uploading .dbf file format'/><category term='abap fetch from logical data base'/><category term='function module to create the list box'/><category term='select-options modif id'/><category term='CATCH SYSTEM-EXCEPTIONS dataset_cant_open = 1.'/><category term='CALL METHOD o_grid- set_table_for_first_display'/><category term='it_fieldcat = it_fieldcatalog[]'/><category term='CALL METHOD gr_alv-display'/><category term='debugging abap'/><category term='abap fm'/><category term='all about barcode priniting in smart forms'/><category term='fm FILE_GET_NAME'/><category term='Duplicate Invoice Check'/><category term='abap sample code for hr tcode po13'/><category term='abap function module SWNC_COLLECTOR_GET_AGGREGATES'/><category term='fm BDC_CLOSE_GROUP'/><category term='parameters os listbox.'/><category term='native sql abap'/><category term='abap  submit example code'/><category term='sap logon'/><category term='abap assign statement'/><category term='Derive dates during the SSP week'/><category term='report program on email with attachments.Send new document with attachments using RFC'/><category term='fm GRAPH_MATRIX_3D'/><category term='poh event'/><category term='release request'/><category term='sample bdc report program for tcode PO10'/><category term='abap fm HR_GBSSP_GET_WEEK_DATES'/><category term='types of matchcodes'/><category term='sap function module SO_FOLDER_READ_API1'/><category term='condense command'/><category term='abap function module RZL_READ_DIR_LOCAL'/><category term='abap function module CONVERT_DATE_TO_INTERNAL'/><category term='sample program for displaying lights (Red'/><category term='create object h_excel EXCEL.APPLICATION'/><category term='fm REUSE_ALV_GRID_DISPLAY'/><category term='view virtual table'/><category term='abap color in list programming'/><category term='use of modif id in abap'/><category term='REBDRO0104 RO: Screen Configuration'/><category term='sap hr abap report program'/><category term='at selection-screen output.'/><category term='how to call a screen abap'/><category term='FM GET_GLOBALS_FROM_SLVC_FULLSCR to get the Global data of the ALV'/><category term='types of locks in sap'/><category term='Employee Group'/><category term='fm rh_read_infty'/><category term='checkbox in selection screen.'/><category term='activate lock object'/><category term='sap system table'/><category term='abap nested interface in oop'/><category term='PT_ARQ_REQUEST_EXECUTE'/><category term='abap in method programming class implement methods'/><category term='abap split command'/><category term='function modules used for alv programming'/><category term='convert Xstring to binary table by function module SCMS_XSTRING_TO_BINARY'/><category term='FUNCTION MODULE RS_TESTFRAME_CALL'/><category term='call method cl_gui_frontend_services=file_save_dialog'/><category term='using matchcode'/><category term='abap type ref to cx_sy_zerodivide'/><category term='bdc  to trigger the jobs from ABAP'/><category term='bdc program to handle multiple line items'/><category term='abap CALCULATE_TAX_ITEM'/><category term='sap screen'/><category term='abap function module CONVERT_OTF_2_PDF'/><category term='abap ARCHIVE_PUT_RECORD'/><category term='barcode in smartforms'/><category term='pov event'/><category term='info type 0025'/><category term='translate str using &apos;%'/><category term='abap modify itab'/><category term='PYXX_READ_PAYROLL_RESULT use of function module'/><category term='all about sapscripts'/><category term='REUSE_ALV_COMMENTARY_WRITE'/><category term='standard programs in sap system'/><category term='se93 tcode'/><category term='ebeln ebelp statu aedat matnr menge meins netpr peinh'/><category term='abap example OPEN DATASET'/><category term='sap abap logical database name PNP'/><category term='Marcos in applicant data.'/><category term='importance of subroutine'/><category term='abap last class cant have subclass'/><category term='abap bapi BAPI_RE_BE_CHANGE'/><category term='abap fm RS_CREATE_VARIANT'/><category term='tables and classes'/><category term='function module fm ENQUEUE_E_TABLE'/><category term='SELECTION-SCREEN PUSHBUTTON (25) w_but2 USER-COMMAND BUT2'/><category term='gui_upload fm used to upload CSV files to Internal tables'/><category term='fieldname = &apos;BNAME&apos;'/><category term='abap interface in methods'/><category term='bapi BAPI_BUS2002_SET_STATUS'/><category term='use of shift statement'/><category term='function module fm ICON_CREATE'/><category term='sap tables related to mm module'/><category term='pbo event'/><category term='bapi  sample'/><category term='Overloaded functions'/><category term='fm HRCM_ORGUNIT_MANAGER_GET'/><category term='features of table controls'/><category term='Usage of Radio buttons in ALV Report output'/><category term='REUSE_ALV_POPUP_TO_SELECT fm'/><category term='t528t.'/><category term='ELECTION-SCREEN COMMENT 40(20) icon'/><category term='call function fm_name'/><category term='method set_table_for_first_display'/><category term='creating objects lock abap'/><category term='i_inclname = sy-repid'/><category term='sap abap table maintenance tool'/><category term='abap fm CONVERT_OTF'/><category term='changing position of selection options on selection screen'/><category term='table vrsd'/><category term='formatting grid display'/><category term='development system'/><category term='debugger watchpoint'/><category term='abap at last keyword'/><category term='function module to read the complete data of  employee'/><category term='select ebeln ebelp statu aedat matnr'/><category term='upload images to sap system'/><category term='abap select queries samples'/><category term='round the decimal number to an integer in ABAP report'/><category term='abap create object list of tranport request.'/><category term='projection view'/><category term='CALL METHOD o_grid- free'/><category term='at last abap'/><category term='create a lock object'/><category term='update statement'/><category term='abap condense'/><category term='sap abap ARCHIVE_OPEN_FOR_WRITE'/><category term='create a view'/><category term='function module fm &apos;REUSE_ALV_LIST_DISPLAY&apos;'/><category term='Show absense records for the current year for each bukrs'/><category term='&apos;CU_READ_RGDIR&apos; to read the directory and loop at RGDIR'/><category term='sample programs on selection screen'/><category term='mara'/><category term='RADIOBUTTON GROUP G1'/><category term='employees those who are having experience between 5 to 6 years'/><category term='fm WS_DOWNLOAD'/><category term='what for TYPD_GET_OBJECT used for in abap'/><category term='display in alv grid'/><category term='debugger abap'/><category term='CALL METHOD GRID- SET_DROP_DOWN_TABLE'/><category term='fm &apos;DP_CREATE_URL&apos;'/><category term='abap split example'/><category term='abap bdc'/><category term='fm NAMETAB_GET'/><category term='rh_struc_get'/><category term='Traffic Lights in ALV to display status'/><category term='Column fields in alv in bold letter'/><category term='bdc tcode IB01'/><category term='fm HRHAP_DOCUMENT_GET_LIST'/><category term='create matchcode ids'/><category term='writing data into a  page  with ole'/><category term='top of page event abap'/><category term='Modify'/><category term='release request via se10'/><category term='abap SWI_DURATION_DETERMINE to find duration between two dates'/><category term='syntax strlen'/><category term='BAPI_RE_CN_GET_LIST'/><category term='CALL METHOD OF GS_TABLE &apos;Cell&apos;'/><category term='abap F4IF_INT_TABLE_VALUE_REQUEST'/><category term='views sap'/><category term='bukrs belnr gjahr FROM bsip'/><category term='sap help function'/><category term='DYNP_VALUES_READ'/><category term='sap abap set parameter id example'/><category term='abap class having methods that uses private attributes of another method'/><category term='abap transforming internal table data into xml data'/><category term='ASSIGN COMPONENT OF STRUCTURE'/><category term='abap create the object using CATCH INTO'/><category term='&apos;CD_READ_LAST&apos;'/><category term='sap abap report programming'/><category term='abap program to reduce number of transport request'/><category term='rsdxx-objname'/><category term='exit button on r/3 system'/><category term='workflow mass approval for leave'/><category term='CL_SALV_TABLE class'/><category term='bapi'/><category term='F4IF_INT_TABLE_VALUE_REQUEST fm function module'/><category term='abap fm SO_DOCUMENT_SEND_API1'/><category term='CLASS lcl_alv_toolbar DEFINITION.'/><category term='bdc to send mails'/><category term='begin of tabbed block tabb1'/><category term='I_CALLBACK_HTML_TOP_OF_PAGE = &apos;TOP_OF_PAGE_SPLIT&apos;'/><category term='popup screen with checkbox option'/><category term='hide command stores content of clicked field'/><category term='fbv0 foreground and background'/><category term='fm HELP_VALUES_GET'/><category term='tables related to a transaction code in sap'/><category term='Tables related to HR ABAP'/><category term='importing r_salv_table = gr_table'/><category term='REOROF0104 OF: Screen Configuration'/><category term='abap sap MONTH_NAMES_GET'/><category term='abap using PARAMETER-TABLE in methods'/><category term='Use macro RP-READ-ALL-TIME-ITY to fill infotype table'/><category term='function module fm &apos;VRM_SET_VALUES&apos;'/><category term='CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER'/><category term='call selection-screen 100'/><category term='abap download data in an internal table with a delimiter'/><category term='Marcos in payroll'/><category term='calling tcode in new window sample program abap'/><category term='SAP HR Transaction Codes'/><category term='abap append itab'/><category term='abap fm CURRENCY_AMOUNT_SAP_TO_DISPLAY'/><category term='sap workbench'/><category term='fm &apos;GET_GLOBAL_SYMBOLS&apos;'/><category term='Determines New Date from a Date'/><category term='abap sum of fields in report programming'/><category term='radio button in selection screen'/><category term='TABLES: dwinactiv'/><category term='abap running bdc code for ie01 tcode'/><category term='sap business data toolset'/><category term='example for working with radio buttons in alv oops'/><category term='fm CALL METHOD ref_grid-check_changed_data editable alv'/><category term='examples on bdc programs'/><category term='fm TR_READ_GLOBAL_INFO_OF_REQUEST'/><category term='examples on abap programming'/><category term='SAP ABAP SYSTEM FIELDS'/><category term='ref to cl_gui_docking_container'/><category term='for all entries in it_mara'/><category term='sap r/3 sessions'/><category term='bdc tcode ca02'/><category term='ADD TIME TO DATE abap'/><category term='abap fm RS_DELETE_PROGRAM'/><category term='abap abstract method keyword'/><category term='customize toolbar for ALV Display'/><category term='abap event handler for different class in method programming'/><category term='check table VRSD table with field entries objtype'/><category term='fm INCREMENT_COUNTER'/><category term='abap transport request'/><category term='abap fm  IDOC_READ_COMPLETELY'/><category term='sample code Interactive ALV Report'/><category term='pbo'/><category term='matchcodes'/><category term='SO_NEW_DOCUMENT_ATT_SEND_API1  sap'/><category term='introduction of interactive reports'/><category term='sap abap class with static attribute'/><category term='abap bapis list'/><category term='abap sample exercise questions'/><category term='fm DP_CREATE_URL'/><category term='Whether program is an executable program'/><category term='bapi for goods movement'/><category term='test a function module'/><category term='function module spell_amount'/><category term='insert statement'/><category term='gr_functions type ref to cl_salv_functions.'/><category term='write right justified'/><category term='using c program codes in sap systems'/><category term='hr report program to retrieve employees having experience in an org unit'/><category term='simple oops abap program'/><category term='function module fm ALSM_EXCEL_TO_INTERNAL_TABLE example'/><category term='abap table containing user information'/><category term='examples on selection-screen'/><category term='retrieve managers for orgunits.sap hr abap'/><category term='end of page in alv'/><category term='abap use od dynamic selections'/><category term='fm POPUP_TO_DISPLAY_TEXT&apos;'/><category term='select-options sample program'/><category term='abap multiple event handler in method programming'/><category term='example for FUPARAREF-FUNCNAME'/><category term='layout set'/><category term='tcode ppci'/><category term='Fm CD_READ_LAST to get the sequence no'/><category term='display alv rows in columns format'/><category term='p_email type somlreci1-receiver default'/><category term='CALL TRANSACTION &apos;SBWP&apos;'/><category term='function module ARCHIVE_OPEN_FOR_READ'/><category term='abap fm SAPGUI_PROGRESS_INDICATOR'/><category term='find out status of request created in production'/><category term='SELECT DISTINCT carrid FROM sflight'/><category term='AT SELECTION SCREEN event'/><category term='abap maintaining table dynamically'/><category term='creating enhancements in standard tcodes'/><category term='abap class-events'/><category term='plvar otype objid istat langu seqnr short FROM hrp1000'/><category term='type t009b-bdatj'/><category term='Read Type-pools into internal table'/><category term='abap sample use of interface in programs'/><category term='tables:mara'/><category term='abap provide statement'/><category term='sample questions on internal tables'/><category term='AS LISTBOX VISIBLE LENGTH'/><category term='sap abap tables for a tcode'/><category term='sample alv report program'/><category term='displaying final records from tables'/><category term='fm HR_BEN_READ_CREDIT_PLANS'/><category term='How to upload .DBF file from PC to SAP'/><category term='sap abap validate email format'/><category term='TYPE objid'/><category term='fm KD_GET_FILENAME_ON_F4'/><category term='alv style program'/><category term='&apos;REUSE_ALV_GRID_DISPLAY'/><category term='function module fm UNIT_CONVERSION_SIMPLE'/><category term='LIKE SY-TABIX OCCURS 10 WITH HEADER LINE'/><title type='text'>Learn ABAP Programming With Examples And Sample Programs.</title><subtitle type='html'>Here you can find examples and sample programs related to ABAP Report Programs, ALV Grid/List Programs, BDC, HR ABAP, Function Modules, BAPIs, BADIs, Smartforms, SapScripts, etc.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.abapprograming.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default?start-index=101&amp;max-results=100'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>702</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6444418398907641706</id><published>2011-08-19T22:19:00.003+05:30</published><updated>2011-12-01T10:37:42.079+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='workflow abap'/><category scheme='http://www.blogger.com/atom/ns#' term='abap'/><category scheme='http://www.blogger.com/atom/ns#' term='table abap PTREQ_HEADER'/><category scheme='http://www.blogger.com/atom/ns#' term='workflow mass approval for leave'/><category scheme='http://www.blogger.com/atom/ns#' term='PTREQ_HEADER'/><category scheme='http://www.blogger.com/atom/ns#' term='PT_ARQ_REQUEST_EXECUTE'/><category scheme='http://www.blogger.com/atom/ns#' term='bapi PT_ARQ_REQUEST_EXECUTE'/><category scheme='http://www.blogger.com/atom/ns#' term='/SAPDMC/LSM_F4_SERVER_FILE'/><category scheme='http://www.blogger.com/atom/ns#' term='function module'/><title type='text'>Mass Approval For The Leave Workflow Data - PT_ARQ_REQUEST_EXECUTE</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;When there is a requirement for approving the mass approvals for the leave request workflow , then use the below function module &lt;strong&gt;PT_ARQ_REQUEST_EXECUTE&lt;/strong&gt; to approve it.&lt;br /&gt;&lt;br /&gt;Before running the functional module check the record status in the table PTREQ_HEADER with field status. It has the status 'SENT' .&lt;br /&gt;&lt;br /&gt;data : EX_MESSAGES TYPE  PTARQ_UIA_MESSAGES_TAB,&lt;br /&gt;EX_COMMANDS TYPE  PTARQ_UIA_COMMAND_TAB.&lt;br /&gt;&lt;br /&gt;CALL FUNCTION &lt;b&gt;'PT_ARQ_REQUEST_EXECUTE'&lt;/b&gt;&lt;br /&gt;EXPORTING&lt;br /&gt;im_request_id  =  'E079F211C65FEFF188150050569A609B' "PTREQ_HEADER-REQUEST_ID&lt;br /&gt;IM_COMMAND           =  'EXECUTE_APPROVE'&lt;br /&gt;im_pernr             =  '00000001'&lt;br /&gt;im_modus             =  'R'&lt;br /&gt;*   IM_DEBUG             =&lt;br /&gt;* IMPORTING&lt;br /&gt;*   EX_REQUEST           =&lt;br /&gt;*   EX_HAS_ERRORS        =&lt;br /&gt;*   EX_SHOW_CHANGE       =&lt;br /&gt;tables&lt;br /&gt;ex_messages          =  EX_MESSAGES&lt;br /&gt;ex_commands          =  EX_COMMANDS&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;After running this function module the status become 'APPROVED' in the table &lt;b&gt;PTREQ_HEADER&lt;/b&gt; , and if u check in the workflow the workflow would be completed. for detailed data run the report RPTARQDBVIEW.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6444418398907641706?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6444418398907641706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/05/mass-approval-for-leave-workflow-data.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6444418398907641706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6444418398907641706'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/05/mass-approval-for-leave-workflow-data.html' title='Mass Approval For The Leave Workflow Data - PT_ARQ_REQUEST_EXECUTE'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-2608596284320048541</id><published>2011-07-28T19:31:00.006+05:30</published><updated>2011-12-01T10:46:24.385+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='sapscripts'/><category scheme='http://www.blogger.com/atom/ns#' term='layout set'/><category scheme='http://www.blogger.com/atom/ns#' term='component of sapscript'/><category scheme='http://www.blogger.com/atom/ns#' term='sapscript window'/><category scheme='http://www.blogger.com/atom/ns#' term='sap script'/><category scheme='http://www.blogger.com/atom/ns#' term='logo in sapscripts'/><category scheme='http://www.blogger.com/atom/ns#' term='all about sapscripts'/><category scheme='http://www.blogger.com/atom/ns#' term='abap sapscripts'/><category scheme='http://www.blogger.com/atom/ns#' term='standard layout sets'/><category scheme='http://www.blogger.com/atom/ns#' term='sapscript layout sets'/><title type='text'>SAP - All About SAP Scripts / Layout Sets / Forms</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div&gt;If the user wants to print documents such as invoices, purchase order, all such documents are printed with the use of forms. SAP allows the user to define these forms by using &lt;b&gt;layout sets&lt;/b&gt;. &lt;b&gt;SAP script is the tool used to create the layout set.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In order to print the document, the SAP system runs a program that collects the data for the document and feeds it into the layout set. &lt;b&gt;This is called as Print Program.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;SAP Provides a &lt;b&gt;standard layout set&lt;/b&gt; for every printable document and usually there is no need to create layout sets as such. User just modifies the existing layout sets as per requirement of client. Following are some standard layout sets provided by SAP:&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;RVORDER&lt;/b&gt; 01   Sales order confirmation&lt;br /&gt;• &lt;b&gt;RVDELNOTE&lt;/b&gt;  Picking List&lt;br /&gt;• &lt;b&gt;RVPICKSIN&lt;/b&gt;   Picking List&lt;br /&gt;• &lt;b&gt;RVINVOICE&lt;/b&gt; 01  Invoice&lt;br /&gt;• &lt;b&gt;MEDRUCK&lt;/b&gt;   Purchase Order&lt;br /&gt;• &lt;b&gt;F110_PRENUM_CHCK&lt;/b&gt; Pre-numbered check&lt;br /&gt;&lt;br /&gt;Usually you don’t create layout sets, instead, you copy the existing layout sets with some modification to the existing layout sets. SAP doesn’t allow you to modify the layout sets. You need to copy the existing layout set to your own layout set and then do all the modification.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Procedure to copy the existing layout sets:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Tools  Word processing  Layout sets.&lt;br /&gt;Utilities  Copy from client&lt;br /&gt;• Enter the name of the layout set in layout name.&lt;br /&gt;• Enter target layout set name&lt;br /&gt;• Click execute&lt;br /&gt;&lt;br /&gt;The SAP standard layout &lt;b&gt;set uses D German as the original language&lt;/b&gt;. In order to modify the copied layout set, the original language of the set must be changed to the language in which you are working.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To convert language:&lt;/b&gt;&lt;br /&gt;Utilities – Convert original language&lt;br /&gt;Click OK.&lt;br /&gt;Layout Set&lt;br /&gt;&lt;br /&gt;Layout set is used to design the document. Layout set on its own does not contain any data. The selection of data for the document is done through the print program i.e. the print program selects the data from database table and feeds it to the layout set. The document is printed after the print program gets executed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;A layouts set consist of following components:&lt;/b&gt;&lt;br /&gt;• Header&lt;br /&gt;• Paragraph&lt;br /&gt;• Character String&lt;br /&gt;• Windows&lt;br /&gt;• Pages&lt;br /&gt;• Page Window&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Header:&lt;/b&gt; The header consists administrative information for the layout sets and default settings for the various other components of the layout sets like page, paragraph. You give all the administrative information for the header when you create the layout set, while all default settings are specified when all the components are created.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Paragraphs&lt;/b&gt;: A Paragraph contains all the information needed to format a paragraph of text and font. Tabs are important for paragraphs. Specifying the list of tabs is the way to create columns for outputting line items of a document.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Character string:&lt;/b&gt; is used to override paragraph settings for specific words in a paragraph. For example you might want to use Bold for a single word but not the entire paragraph. The only important thing that is defined with the character string is the font.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Windows:&lt;/b&gt; A window mainly contains the SAP scripts text and the variable to be printed. There is one special window, MAIN, which contains the output of the line item of a document and is created by the system. The window can be of type VAR or CONST except for the MAIN. But in the present version, SAP system does not distinguish between these two types. The content of variable window is regenerated on every page. The content of a constant window is generated once at the beginning and later printed on every page.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Printing a company logo:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;There are two ways to print a company logo:&lt;br /&gt;1. The logo can be included in the layout set.&lt;br /&gt;2. It can be a macro on PCL – 5 printers.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Including a logo in the layout sets:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;• Create logo with a graphics program and save it as tiff file.&lt;br /&gt;• From editor run the program RSTXLDMC.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Parameters to be passed are:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;• File name&lt;br /&gt;• File type&lt;br /&gt;• BMON – For a black and white image.&lt;br /&gt;• BCOL – For a color image.&lt;br /&gt;• Text name – The standard text in layout set&lt;br /&gt;&lt;br /&gt;This text can be included in a layout set by including &lt;text name=""&gt;. Using PCL – 5 printers, can also print the logo. In R3, the printer types are IIPLJIIID, IIPLJ4, LX4039 and SM120XXS.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; CONTROL COMMANDS:&lt;/b&gt;&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt; All script control commands are entered in the SAP Script editor.&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;&lt;br /&gt;• All &lt;b&gt;commands are indicated by /:&lt;/b&gt; in the tag column.&lt;br /&gt;• Only one control command is allowed per line.&lt;br /&gt;• Lines with &lt;b&gt;control commands are not affected by the editor formatting.&lt;/b&gt;&lt;br /&gt;• If control command is unknown or incorrect, command line is treated as comment line.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; ADDRESS: &lt;/b&gt;This command formats and address according to the postal standards of the country.&lt;br /&gt;&lt;br /&gt;&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;Syntax:&lt;br /&gt;/: Address&lt;br /&gt;/: Title ‘Company’&lt;br /&gt;/: Name ‘Intelligroup’&lt;br /&gt;/: Street ‘115’&lt;br /&gt;/: P.O. BOX `  `&lt;br /&gt;/: Postcode&lt;br /&gt;/: City&lt;br /&gt;/: Region&lt;br /&gt;/: Country&lt;br /&gt;/: End Address&lt;br /&gt;&lt;br /&gt;&lt;b&gt; BOTTOM-ENDBOTTOM: &lt;/b&gt;For the Main window you can determine lines, which are always output automatically at the bottom of that window. This is called footer text.&lt;br /&gt;Syntax:&lt;br /&gt;/: BOTTOM&lt;br /&gt;/: ENDBOTTOM&lt;br /&gt;&lt;br /&gt;&lt;b&gt; BOX, POSITION, &amp;amp; SIZE:&lt;/b&gt; These commands are used for drawing boxes and are used only during creating output.&lt;br /&gt;Syntax:&lt;br /&gt;/: BOX [Xpos]  [Ypos]  [Width]  [Height] [Frame]  [Intensive]&lt;br /&gt;&lt;br /&gt;X &amp;amp; Y – Upper left corner of the box.&lt;br /&gt;Width – Width of the box&lt;br /&gt;Ht – Height of the box&lt;br /&gt;Frame – Thickness of the box (Default is full black)&lt;br /&gt;&lt;br /&gt;Units used for Width, Height and Thickness are TW, PT, IN, CM, CH, LN.&lt;br /&gt;&lt;br /&gt;Ex., /: BOX WIDTH ‘20’ CM HEIGHT 1 IN&lt;br /&gt;FRAME 10 TW INTENSIFY 15.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt; POSITION:&lt;/b&gt;&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt; Syntax:&lt;br /&gt;/: POSITION [X Origin] [Y Origin] [Window] [Page]&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;&lt;br /&gt;X &amp;amp; Y  - Sets the origin for x 7 y parameters for the box command.&lt;br /&gt;&lt;br /&gt;&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;Window - Sets the default values for the left and upper edges.&lt;br /&gt;&lt;br /&gt;&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;Pages  - Sets the values for the left and upper edges of the current page.&lt;br /&gt;&lt;br /&gt;&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;Basically used to set default setting for the box command.&lt;br /&gt;/: Position x Origin ‘1.5’ cm y origin ‘1’ cm&lt;br /&gt;&lt;br /&gt;&lt;b&gt; SIZE:&lt;/b&gt;&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt; Syntax:&lt;br /&gt;/: SIZE [WIDTH]  [HEIGHT]  [WINDOW]  [PAGE]&lt;br /&gt;&lt;br /&gt;Sets width and height parameters for the box command.&lt;br /&gt;&lt;br /&gt;CASE: It is similar to ABAP/4 editor command ‘CASE’ only symbol can be queried.&lt;br /&gt;Syntax: &lt;br /&gt;/: CASE SYMBOL&lt;br /&gt;/: WHEN 1&lt;br /&gt;/: WHEN 2&lt;br /&gt;/: WHEN OTHERS&lt;br /&gt;/: ENDCASE&lt;br /&gt;&lt;b&gt;&lt;br /&gt;DEFINE:&lt;/b&gt; Values can be assigned to text symbol by DEFINE keyword. The assigned value may have a maximum 60 characters. It can also contain further symbols.&lt;br /&gt;Syntax:&lt;br /&gt;/: DEFINE &amp;amp; SYMBOL &amp;amp; = ‘XXXX’&lt;br /&gt;&lt;br /&gt;IF:  With IF command you can define the lines that are output only under certain conditions.&lt;br /&gt;Syntax:&lt;br /&gt;/: IF &amp;amp;var&amp;amp; = ‘char val’&lt;br /&gt;/: ENDIF&lt;br /&gt;&lt;br /&gt;&lt;b&gt; INCLUDE: &lt;/b&gt;Contents of another text can be included in text by INCLUDE command. The contents are copied only at the time of the output formatting. You can also specify language and the paragraph irrespective of the language in which the calling text is created. The language which is used in include test is used for output.&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;&lt;br /&gt;Syntax:&lt;br /&gt;/: INCLUDE MYTEXT&lt;br /&gt;&lt;br /&gt;&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;&lt;b&gt;NEW–PAGE:&lt;/b&gt; SAP Script automatically carries out a page break if window MAIN of one page is filled with NEW-PAGE command. You can face page break at any point. The current page is completed and the text in the following line is written on new page. If no name is defined, then, the next page attributes from page setup is taken.&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;&lt;br /&gt;Syntax:&lt;br /&gt;/: NEW – PAGE [PAGE-NAME]&lt;br /&gt;&lt;br /&gt;&lt;b&gt; NEW–WINDOW: &lt;/b&gt;You can have &lt;b&gt;99 MAIN windows on one page.&lt;/b&gt; If MAIN window is filled, then the next MAIN window is accessed automatically. With NEW-WINDOW command, &lt;b&gt;you can call next main window even if the current MAIN window is not yet completely filled.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt; PROTECT:&lt;/b&gt;  You can determine that a paragraph must not be separated by a page break. The lines in this command are printed together on one page. If the space is enough on current page, then all the lines are printed on current page. If, however the space is not sufficient the PROTECT command works as a ‘NEW-PAGE’.&lt;br /&gt;Syntax:&lt;/text&gt;&lt;br /&gt;&lt;text name=""&gt;&lt;br /&gt;/: PROTECT&lt;br /&gt;/: ENDPROTECT&lt;br /&gt;&lt;br /&gt;&lt;b&gt; SET COUNTRY: &lt;/b&gt;Some field types are formatted country – specifically. E.G. date. Normally the display types are defined in the user master record with the control command set country, an alternative to that in the user master record can be chosen.&lt;br /&gt;Syntax:&lt;br /&gt;/:  SET COUNTRY &lt;country key=""&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;SET DATE MASK: &lt;/b&gt;Standard display of date can be changed&lt;br /&gt;Syntax:&lt;br /&gt;e.g. SET DATE MASK = ‘MM DDDD (Day in full) yyyy’&lt;br /&gt;&lt;br /&gt;You can switch back to default display of date by&lt;br /&gt;/: SET DATE MASK = ‘  ‘&lt;br /&gt;&lt;br /&gt;&lt;b&gt; SET TIME MASK:&lt;/b&gt; Standard display of time can be changed&lt;br /&gt;Syntax:&lt;br /&gt;/: SET TIME MASK = ‘HH:MM’.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; TOP-ENDTOP:&lt;/b&gt; For main window, you can determine lines, which are always O/P automatically at the top of the window.&lt;/country&gt;&lt;/text&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-2608596284320048541?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/2608596284320048541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/sap-scriptslayout-setsforms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2608596284320048541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2608596284320048541'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/sap-scriptslayout-setsforms.html' title='SAP - All About SAP Scripts / Layout Sets / Forms'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4973398892788762425</id><published>2011-07-28T19:29:00.004+05:30</published><updated>2011-12-01T10:50:28.397+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='release request'/><category scheme='http://www.blogger.com/atom/ns#' term='WORKBENCH REQUEST'/><category scheme='http://www.blogger.com/atom/ns#' term='change transport'/><category scheme='http://www.blogger.com/atom/ns#' term='transport request'/><category scheme='http://www.blogger.com/atom/ns#' term='sap request'/><category scheme='http://www.blogger.com/atom/ns#' term='version management'/><category scheme='http://www.blogger.com/atom/ns#' term='release request via se10'/><category scheme='http://www.blogger.com/atom/ns#' term='tasks in sap'/><category scheme='http://www.blogger.com/atom/ns#' term='change requests'/><category scheme='http://www.blogger.com/atom/ns#' term='abap transport request'/><title type='text'>SAP - Transport System, Transport Request &amp; Version Management.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Transport System&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;• Developers are in charge of creating or correcting data objects and will create change request, which can be for individual object or common request for a project.&lt;b&gt;  When the change request is released the system performs transport&lt;/b&gt;&lt;br /&gt;• R/3 administrator is the person who sets up the transport system. &lt;b&gt;This group works both at the R/3 application level and at the operating system level, using transport control (tp) program.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Change Request:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A Change request is a list in the system, &lt;b&gt;which mainly contains the object to be transported.&lt;/b&gt; It also contains the transport type, the request category and the target system.&lt;br /&gt;&lt;br /&gt;When the &lt;b&gt;change request is created either manually or automatically, the system assigns a number to it automatically.&lt;/b&gt; This number is known as change request number.&lt;br /&gt;&lt;br /&gt;The format of this number is normally&lt;br /&gt;&lt;sid&gt;K&lt;number&gt;&lt;br /&gt;&lt;br /&gt;E.g., DD1K&amp;lt;900002&amp;gt;&lt;br /&gt;Where DD1 is System Identification Number (SID)&lt;br /&gt;K is keyword&lt;br /&gt;The number is automatically generated by system and starts with 900001.&lt;br /&gt;&lt;br /&gt;The change request records all modifications made to development object.&lt;br /&gt;&lt;br /&gt;When the changes are made and the change task (will be discussed) has been released, the change request can be released.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; SEO9 transaction&lt;br /&gt;Or&lt;br /&gt;Tools -&amp;gt; ABAP/4 W.B -&amp;gt; overview -&amp;gt; W.B. organizer&lt;/b&gt; &lt;br /&gt;Will display and check all the change requests.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; Tasks:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A task in the workbench organizer is an activity in which user either creates an object or modifies the same. In workbench organizer,&lt;b&gt; task can be either development or repair task.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A task is related to single user while change request contains tasks belonging to different users. You cannot transport task as such, but as a part of request. Each task is associated with task number, which is similar to change request number.&lt;br /&gt;&lt;br /&gt;Usually, when a development work starts, &lt;b&gt;a system administrator or project manager creates a change request to define tasks for all users involved in the project&lt;/b&gt;. Later, user starts modifying objects or create new object. Once user finishes his task, they must release them. A change request can be released for transporting, only when all tasks under the same change request are released.&lt;br /&gt;&lt;br /&gt;Objects included in task become locked against other development work on the same object.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; Version Management:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;ABAP/4 workbench and the organizer provide a version management for all the objects in the system. With version management user can compare current version object and object with the previous version.&lt;br /&gt;&lt;br /&gt;To display the version for a object,&lt;br /&gt;&lt;br /&gt;Locate your object through the change request number of workbench organizer. Click on the object and from menu.&lt;br /&gt;Or&lt;br /&gt;Utilities  display version.&lt;br /&gt;&lt;br /&gt;It displays what has been modified and who did it.&lt;br /&gt;&lt;br /&gt;Version management is &lt;b&gt;important for developers also as it allows user to compare previous programs with the current one.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt; Transport:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A transport means the process of moving something from one place to another. In R/3 system this ‘something’ means change request. &lt;b&gt;To transport the objects you need to create the change request. It can be done with the help of workbench organizer. &lt;/b&gt;Transport System and workbench organizer are closely linked to each other.&lt;br /&gt;&lt;br /&gt;An object original is a development object that has been created in the system in which you are working.&lt;br /&gt;DD1     PP1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Suppose you transport object Zsus001 to another system, Zsus001 is object original for system DD1. If anyone tries to modify the program, he will be making repair to it, provided he has access key for the same. R/3 system offers this security measure to ensure that development object remain consistent for all system, thus preventing parallel work on the same objects. Correction of objects and development of objects can be only in original system.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; The difference between Repair and Correction is as follows:&lt;/b&gt;&lt;/number&gt;&lt;/sid&gt;&lt;br /&gt;&lt;sid&gt;&lt;number&gt;&lt;br /&gt;• If you modify an object in a system in which it is created, you are making Correction to it.&lt;br /&gt;• If you modify an object in a system in which it was not created, then you are making Repair task.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; Releasing Tasks and Request:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When new development or correction is complete, developer must release their task and request.&lt;br /&gt;To release a task:&lt;br /&gt;• Find a task from the Workbench initial screen.&lt;br /&gt;• Position the cursor over the task.&lt;br /&gt;• Click on the release button&lt;br /&gt;A &lt;b&gt;request is released by either system Administrator or Project Managers&lt;/b&gt;, once all the tasks are released&lt;br /&gt;&lt;br /&gt;&lt;/number&gt;&lt;/sid&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4973398892788762425?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4973398892788762425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/transport-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4973398892788762425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4973398892788762425'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/transport-system.html' title='SAP - Transport System, Transport Request &amp; Version Management.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-2706321516492369455</id><published>2011-07-28T19:27:00.003+05:30</published><updated>2011-12-01T10:53:58.095+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='workbench organizer'/><category scheme='http://www.blogger.com/atom/ns#' term='production system'/><category scheme='http://www.blogger.com/atom/ns#' term='development system'/><category scheme='http://www.blogger.com/atom/ns#' term='development workbench'/><category scheme='http://www.blogger.com/atom/ns#' term='transport request from one server to another'/><category scheme='http://www.blogger.com/atom/ns#' term='sap workbench'/><title type='text'>SAP - All About Workbench Organizer.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;SAP recommends &lt;b&gt;three types of systems for implementation purpose:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;• Development System&lt;br /&gt;• Test System&lt;br /&gt;• Production System&lt;br /&gt;&lt;br /&gt;Though number of systems used by an organization depends upon many factors such as size of implementation, budget etc. However &lt;b&gt;even in the smallest installation, a second system is a must.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Development system&lt;/b&gt;&lt;br /&gt;Development system is the system where the actual development takes place. Normally the development is carried out for objects and these objects are original for these systems.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Test system&lt;/b&gt;&lt;br /&gt;Also known as quality assurance system and are used to test the objects. You can test objects on development system also, but on Test System the object is tested against real data. When the tests are validated the development objects are transported to the production system.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Production System&lt;/b&gt;&lt;br /&gt;The production system is where the end user enters real business data and where the actual business runs. No development takes place in this system. You need to transfer the object from test system to production system.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Developer creates the objects in the development system&lt;/b&gt;, these objects are transported to the Test system to test them against the real data and when validated, these objects are transported to the Production System.&lt;br /&gt;&lt;br /&gt;To transport these objects from one system to another, &lt;b&gt;ABAP/4 development work bench provides the tool called Work bench organizer which is also used to manage activities that are important in the overall development environment. &lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Example, for these activities are.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;• The management and control of new development requests.&lt;br /&gt;• Modification of objects&lt;br /&gt;• Version management&lt;/div&gt;&lt;div&gt;&lt;br /&gt;In a distributed environment, &lt;b&gt;workbench Organizer transports the development object between different SAP systems. &lt;/b&gt;In the following example, the objects are transported from the development system to production system.&lt;br /&gt;&lt;br /&gt;E.g., between development and Production System&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Develop System: New Development  No development&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Workbench Organizer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The most puzzling topic of R3 system is intended to help functions for system development.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Concepts of workbench:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Development objects:&lt;/b&gt; Workbench records and controls change to existing development objects as well as new objects. A development object is an object created in R/3 system. (Program, Screens, Function modules.)&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Dictionary objects:&lt;/b&gt; Tables, Domains, Match code objects, Data Elements.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The workbench is fully integrated into the ABAP/4 development workbench:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;• &lt;b&gt;Development Classes:&lt;/b&gt; A Development class classifies the objects belonging to the same development project.  When a user creates a object in R/3 system, the object needs to be stored in a particular development class. The development class are objects themselves.  In R/3 system you can store objects.&lt;br /&gt;&lt;br /&gt;• In local object i.e. object is stored in&lt;b&gt; $tmp class and cannot be transported from one system to another.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;• User can assign his own development class and can be transported.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-2706321516492369455?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/2706321516492369455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/workbench-organizer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2706321516492369455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2706321516492369455'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/workbench-organizer.html' title='SAP - All About Workbench Organizer.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3573353715528508778</id><published>2011-07-28T19:26:00.005+05:30</published><updated>2011-12-01T10:57:30.425+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='maintenance view'/><category scheme='http://www.blogger.com/atom/ns#' term='help view'/><category scheme='http://www.blogger.com/atom/ns#' term='view virtual table'/><category scheme='http://www.blogger.com/atom/ns#' term='database view'/><category scheme='http://www.blogger.com/atom/ns#' term='sap'/><category scheme='http://www.blogger.com/atom/ns#' term='abap'/><category scheme='http://www.blogger.com/atom/ns#' term='projection view'/><category scheme='http://www.blogger.com/atom/ns#' term='views sap'/><category scheme='http://www.blogger.com/atom/ns#' term='types of views'/><category scheme='http://www.blogger.com/atom/ns#' term='create views'/><category scheme='http://www.blogger.com/atom/ns#' term='views in abap'/><category scheme='http://www.blogger.com/atom/ns#' term='create a view'/><title type='text'>SAP ABAP - VIEWS - Introduction, Types &amp; Creating It.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;A &lt;b&gt;view is an aggregated dictionary object.&lt;/b&gt; Aggregate object or complex object are objects, which are created by using object. E.g., Table is created using data element and domain. &lt;b&gt;A view is created using tables.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A view is an &lt;b&gt;imaginary table or virtual table.&lt;/b&gt; Using &lt;b&gt;one or more tables can create a view. &lt;/b&gt;Physically, view does not contain any data. The &lt;b&gt;view is filled dynamically during runtime.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;View is mainly used to restrict or limit, access to information or data by employees, area, plant and so on. By using view, you can display information specific to a particular user or to their work or the information for which they have the right to access.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Types of Views:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;R/3 System offers following types of views:&lt;br /&gt;• &lt;b&gt;Database View:&lt;/b&gt; You can create this view on transparent table. It supports all the three operations like Selection, Projection &amp;amp; Join&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Projection View:&lt;/b&gt; This type allows you to suppress some fields from the transparent table. This view is defined only with relational operator projection.&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Help View:&lt;/b&gt; These views are exclusively used by the SAP help system. All relational operators are supported. These views are generated when the user presses F4 function key on the field on selection screen. You can see these views only with SAP help and not with open SQL statements.&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Maintenance View: &lt;/b&gt;This type of view enables the maintenance of a group of related tables using SM30 Transaction, which is for extended table maintenance.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Creating View:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;• From initial screen of data dictionary, enter the name of object i.e. view.&lt;br /&gt;• Select view radio button and click on the push button.&lt;br /&gt;• Dialog box is displayed for types of views.&lt;br /&gt;• Select the view type.&lt;br /&gt;• On the next screen, you have to pass following parameters.&lt;br /&gt;• Short text&lt;br /&gt;• In the table box you need to enter the table names, which are to be related.&lt;br /&gt;• In join table box you need to join the two tables.&lt;br /&gt;• &lt;b&gt;Click on the TABFIELD&lt;/b&gt;. System displays the dialog box for all the table fields and user can select the fields from this screen. These fields are displayed in the view fields box.&lt;br /&gt;• Save and Activate: When the view is activated, view is automatically created in the underlying database system. As long as the table exists in the database, the view also exists (Unless you delete it).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3573353715528508778?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3573353715528508778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/what-are-views-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3573353715528508778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3573353715528508778'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/what-are-views-in-sap-abap.html' title='SAP ABAP - VIEWS - Introduction, Types &amp; Creating It.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6429061126845248473</id><published>2011-07-28T19:24:00.003+05:30</published><updated>2011-12-01T11:00:31.698+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql trace'/><category scheme='http://www.blogger.com/atom/ns#' term='trace sap'/><category scheme='http://www.blogger.com/atom/ns#' term='analyse sql trace'/><category scheme='http://www.blogger.com/atom/ns#' term='st05 sql trace'/><category scheme='http://www.blogger.com/atom/ns#' term='importance of sql trace'/><category scheme='http://www.blogger.com/atom/ns#' term='trace file'/><category scheme='http://www.blogger.com/atom/ns#' term='trace abap'/><title type='text'>SAP - SQL Trace &amp; It's Importance (ST05).</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The &lt;b&gt;SQL trace is a tool&lt;/b&gt;, which allows displaying and analyzing the contents for the database calls, which are made by the reports and transactions written in ABAP/4.&lt;b&gt; It monitors programs and transactions on the database level.&lt;/b&gt; With the help of this facility for every open SQL instructions, you can display, about which SQL Embedded (DECLARE, OPEN, FETCH) Statement have been executed, besides analyzing the system performance.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Steps to Creation:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;• From R3 screen, select system –-&amp;gt; Utilities –-&amp;gt; SQL trace. Or &lt;b&gt;Enter transaction ST05.&lt;/b&gt;&lt;br /&gt;• Click the trace on button.&lt;br /&gt;• Enter the user name whose programs are going to be traced.&lt;br /&gt;• Execute the program or transaction you want to trace.&lt;br /&gt;• Return to SQL trace initial screen and press the button SQL trace off. This switching off is necessary because if it is not done then SQL trace will trace each and every program executed by a particular user. And it is quite expensive in terms of memory and time of the system.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Analyzing The Trace File:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To analyze the created trace, press the button list trace. Using this file you can see exactly how the system handles database requests. The first screen of the SQL trace data file displays each measured database requests, the application made. The trace file records when the request occurred and its duration.&lt;br /&gt;&lt;br /&gt;To display &lt;b&gt;dictionary definition information about the table field, position the cursor on the table field and click on the DDIC info button.&lt;/b&gt; When this button is clicked, it displays system information like object name, table class, whether buffering is allowed or not i.e. information related to dictionary.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Explain SQL: &lt;/b&gt;This button provides the functionality, which includes the utility for providing detailed information about the SQL Operation Strategy followed by the underlying database system. You need to click on Explain SQL button. The system displays the execution plan for SQL statements. Here you can display the actual SQL statement like Select, which fields are being accessed, Table being accessed, all where conditions.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ABAP/4 Display Gives you the actual ABAP/4 code.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;More information &lt;b&gt;gives the detailed information for time, select statement, client, number of records selected etc.&lt;/b&gt; Replace variable will display the SQL statement with another variables.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6429061126845248473?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6429061126845248473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/sql-trace-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6429061126845248473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6429061126845248473'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/sql-trace-in-sap-abap.html' title='SAP - SQL Trace &amp; It&apos;s Importance (ST05).'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5693466529429249050</id><published>2011-07-28T19:15:00.004+05:30</published><updated>2011-12-01T11:03:43.146+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='runtime analysis tool'/><category scheme='http://www.blogger.com/atom/ns#' term='abap performance'/><category scheme='http://www.blogger.com/atom/ns#' term='analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='abap'/><category scheme='http://www.blogger.com/atom/ns#' term='runtime'/><category scheme='http://www.blogger.com/atom/ns#' term='measure performance abap'/><title type='text'>SAP - Measure Performance Of ABAP Program - RunTime Analysis.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;How do you measure the performance of a program in ABAP?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The runtime analysis is an additional&lt;b&gt; development workbench tool &lt;/b&gt;that is quite useful for analyzing performance of an ABAP / 4 Program or transaction. With this tool, the system can display information about:&lt;br /&gt;&lt;br /&gt;• Executed instruction&lt;br /&gt;• Accessed execution time.&lt;br /&gt;• Tables and Types of access.&lt;br /&gt;• Chronological execution flow&lt;br /&gt;&lt;br /&gt;The &lt;b&gt;runtime analysis tool creates lists that reveal expensive statements, summarize table accesses. Runtime analysis is specifically designed for tuning individual programs and transactions.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The Runtime Analysis tool measures ABAP/4 statements that are potentially expensive in terms of CPU time. The most significant of these are:&lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Statement used for database access like select.&lt;/li&gt;&lt;li&gt;Statement used for modularization such as module, perform, call function.&lt;/li&gt;&lt;li&gt;Internal table statements like append, collect.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Starting Runtime Analysis:&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;• From ABAP/4 development workbench select Test – Runtime Analysis.&lt;br /&gt;• From ABAP/4 editor, select utilities – more utilities – Runtime Analysis.&lt;br /&gt;• From ABAP/ source code screen, select Execute – Runtime Analysis.&lt;br /&gt;• From R3 screen, select System – Utilities – Runtime Analysis.&lt;br /&gt;• Entering Transaction code SE30 in the command field.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On the initial screen, &lt;b&gt;select the needed object you want to analyze i.e. program or transaction. Enter the name of the object. &lt;/b&gt;Click on execute. The system will execute the specified object and will generate a trace file or performance data file, which can then be analyzed when the transaction or program is finished.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Analyzing a performance data file:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;These files are created at operating system level and many times occupy large memory space, so be sure to remove the files, which are no longer needed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;To analyze the files:&lt;/b&gt;&lt;br /&gt;• Click on Analysis&lt;br /&gt;• Following screen is displayed&lt;br /&gt;• From GOTO option you can get overview of runtime analysis.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;The options are as follows:&lt;/b&gt;&lt;br /&gt;• Hit List – Displays a list with the most system expensive instructions.&lt;br /&gt;• Tables – Displays the most important tables, the number of accesses and the time needed for the accesses.&lt;br /&gt;• Group hit list – Displays a list with the performed instructions classified by instruction type.&lt;br /&gt;• Call hierarchy – Presents a chronological listing with the flow of calls during the execution of a program.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;During Runtime Analysis,&lt;/b&gt; the system measures the statements and stores these measurements in a performance data file. If you measure the same program or transaction several times, the data can vary. Many factors make it difficult to reproduce identical result. E.g., Network traffic.&lt;br /&gt;&lt;br /&gt;When you evaluate this file, the system displays the overview - &lt;b&gt;Runtime Analysis Evaluation screen&lt;/b&gt; including a bar chart for total execution time. From this screen, you can analyze several types of information like:&lt;br /&gt;&lt;br /&gt;•&lt;b&gt; Hit list:&lt;/b&gt; displays the list with the most `system-expensive’ instructions.&lt;br /&gt;• &lt;b&gt;Tables:&lt;/b&gt; displays the most important tables, the number of accesses and the time needed for the accesses.&lt;br /&gt;• &lt;b&gt;Group hit list:&lt;/b&gt; displays a list of performed instruction classified by its type.&lt;br /&gt;• &lt;b&gt;Call hierarchy:&lt;/b&gt; presents a chronological listing with the flow of calls during the execution of program.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-5693466529429249050?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/5693466529429249050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-runtime-analysis-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5693466529429249050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5693466529429249050'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-runtime-analysis-in-sap-abap.html' title='SAP - Measure Performance Of ABAP Program - RunTime Analysis.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1382084885018162893</id><published>2011-07-08T20:05:00.002+05:30</published><updated>2011-12-01T11:07:39.549+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='types of locks sap'/><category scheme='http://www.blogger.com/atom/ns#' term='types of locks in sap'/><category scheme='http://www.blogger.com/atom/ns#' term='luw abap'/><category scheme='http://www.blogger.com/atom/ns#' term='create a lock object'/><category scheme='http://www.blogger.com/atom/ns#' term='lock objects'/><category scheme='http://www.blogger.com/atom/ns#' term='activate lock object'/><category scheme='http://www.blogger.com/atom/ns#' term='ENQUEUE-EZN and DEQUEUE-EZN'/><category scheme='http://www.blogger.com/atom/ns#' term='creating objects lock abap'/><title type='text'>Lock Objects Concept In SAP ABAP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In a system where many users can access the same data,&lt;b&gt; it becomes necessary to control the access to the data&lt;/b&gt;. In R/3 system this &lt;b&gt;access control is built-in on database tables.&lt;/b&gt; Developers can also lock objects over table records.&lt;br /&gt;&lt;br /&gt;To lock an object you need to call standard functions, which are automatically generated while defining the lock object in ABAP/4 dictionary. &lt;b&gt;This locking system is independent of the locking mechanism used by the R/3 system.&lt;/b&gt; This &lt;b&gt;mechanism also defines LUW i.e. Logical Unit of Work. &lt;/b&gt;Whenever an object is locked, either by in built locking mechanism or by function modules, it creates corresponding entry in global system table i.e. table is locked. The system automatically releases the lock at the end of transaction. The &lt;b&gt;LUW starts when a lock entry is created in the system table and ends when the lock is released.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Creating Lock Objects:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Lock object is an aggregated dictionary object and can be defined by using the following steps:&lt;br /&gt;&lt;br /&gt;o From initial data dictionary screen, enter the name for the object, Click Lock object radiobutton and then click on Create. The system displays a dialog box for Maintain Lock Objects screen&lt;br /&gt;o Enter short text as usual and the name for primary table.&lt;br /&gt;o Save&lt;br /&gt;o Select Tables option&lt;br /&gt;&lt;br /&gt;&lt;b&gt;From this screen you can:&lt;/b&gt;&lt;br /&gt;Select secondary tables, if any, linked by foreign key relationship.&lt;br /&gt;Fields for the lock objects. This option allows you to select fields for objects (R/3  system allows locking up to record level). Lock object argument are not selected by user but are imposed by the system and includes all the primary keys for the table.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Types of locks:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;You can lock the table or record by using following types of locking:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Exclusive (E) the locked data&lt;/b&gt; can only be displayed or modified by single user i.e the owner of the object. Access to other users is denied.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Shared (S) several users can access&lt;/b&gt; the same record simultaneously, but only in display mode and except the first one, who has asked for the data in update mode.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Exclusive not cumulating (X) &lt;/b&gt;it is similar to exclusive lock. It allows only a single user access. E can be called several times from the same transaction. In contrast, a lock type X can be called only once during the transaction. Any other call for this lock is rejected.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Activation of Lock Object:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When you activate the lock object, the functions are automatically generated. And these are ENQUEUE-EZN and DEQUEUE-EZN. EZN is name of the lock object.&lt;br /&gt;&lt;br /&gt;While ENQUEUE is used in program to set the code over the selected data depending upon the lock object arguments. DEQUEUE is used to release the lock.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1382084885018162893?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1382084885018162893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/lock-objects-concept-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1382084885018162893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1382084885018162893'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/lock-objects-concept-in-sap-abap.html' title='Lock Objects Concept In SAP ABAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5342625050302564322</id><published>2011-07-08T20:04:00.002+05:30</published><updated>2011-12-01T11:12:22.984+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='using matchcode'/><category scheme='http://www.blogger.com/atom/ns#' term='types of matchcodes'/><category scheme='http://www.blogger.com/atom/ns#' term='matchcode abap'/><category scheme='http://www.blogger.com/atom/ns#' term='creating matchcode objects'/><category scheme='http://www.blogger.com/atom/ns#' term='matchcodes'/><category scheme='http://www.blogger.com/atom/ns#' term='create matchcode ids'/><title type='text'>Working With Matchcode Objects In Sap ABAP.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;A &lt;b&gt;Matchcode is an aggregated object and it gives list of possible values for the user.&lt;/b&gt; A matchcode is a collection of search terms on which you retrieve a data from the database table.&lt;br /&gt;&lt;br /&gt;All matchcode &lt;b&gt;are associated with either selection criteria or parameters.&lt;/b&gt; When an input field has a little triangle in the right-hand corner, it indicates that it has an associated matchcode. When you click on &lt;b&gt;drop-down arrow or press F4 button,&lt;/b&gt; it gives a list of all possible values. For example Matnr field i.e. material number from MARA table, user might not know all the material number, but they might know other details like material description, type or any other details. You can create matchcode, which has all these search terms i.e. you can &lt;b&gt;create matchcode with description as search term or matchcode&lt;/b&gt; with type as search term.&lt;br /&gt;&lt;br /&gt;R/3 system includes many predefined matchcode but developers can create new matchcode as is created in following case. Usually,&lt;b&gt; system displays list of possible values for all the primary keys &lt;/b&gt;with particular search term. Usually you create matchcode in following cases:&lt;br /&gt;&lt;br /&gt;When you use non-primary key of input.&lt;br /&gt;You need different search term for the primary key.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Creating Matchcode object:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Entire Matchcode object is created in two steps:&lt;br /&gt;&lt;br /&gt;Defining of Matchcode object.&lt;br /&gt;Defining one or more search ids for the object.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Defining Matchcode Object:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;It &lt;b&gt;includes all the tables and fields, &lt;/b&gt;which make up the Matchcode, which are used for Matchcode Ids.&lt;br /&gt;Steps for defining Matchcode object are as follows:&lt;br /&gt;&lt;br /&gt;From dictionary, enter name (four character).&lt;br /&gt;Select Matchcode radiobutton and click on CREATE.&lt;br /&gt;Define attributes for the object i.e. description.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Select primary table.&lt;/b&gt;&lt;br /&gt;Select the fields for the table by clicking on the fields.&lt;br /&gt;&lt;b&gt;Activate the object.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;If at all you are selecting secondary table then it is done after selecting primary table.&lt;br /&gt;And steps are as follows:&lt;br /&gt;Tables  Choose secondary table. A dialog box appears, which displays list of possible secondary tales. Select the table by Choose   copy.&lt;br /&gt;&lt;br /&gt;To activate the object,  Matchcode object  -     activate&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Creating Matchcode ID's:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Once the object is created, you need to define search term for the object and steps are as follows:&lt;br /&gt;&lt;br /&gt;Click on the Matchcode ID from maintenance screen.&lt;br /&gt;Enter attributes for the Matchcode  Id.&lt;br /&gt;Short text.&lt;br /&gt;Update type  - Default is 1 for logical updating. It means that at the moment when you access the &lt;b&gt;Matchcode object, the table is created like view.&lt;/b&gt; Unlike logical updating, physical updates are:  A,S,P.&lt;br /&gt;System Matchcode:  If you click this particular field, it indicates a system matchcode, which is used by SAP software and cannot be changed by the end user.&lt;br /&gt;&lt;b&gt;Autho.checks:&lt;/b&gt; If it is checked, the system performs authorization checks for this matchcode Id.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Selecting Secondary Tables:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Position the cursor on the base table of the ID.&lt;br /&gt;Edit  Choose secondary tables&lt;br /&gt;A dialog box appears listing the tables linked to the table by foreign keys&lt;br /&gt;Select table.&lt;br /&gt;Save.&lt;br /&gt;Selecting fields for Matchcode ID&lt;br /&gt;&lt;br /&gt;Select fields.&lt;br /&gt;Choose fields.&lt;br /&gt;Once all the fields are selected, click on copy fields.&lt;br /&gt;Fields are transferred to the matchcode ID.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Activation of ID:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A corresponding database view is created in the database during activation for the Ids of update type I. During activation, a check is made to see whether the corresponding index to support view selection exists in the database. If it doesn’t, a warning is displayed.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Testing the Matchcode ID.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To test the matchcode Id:&lt;br /&gt;&lt;br /&gt;Maintain matchcode object.&lt;br /&gt;Utilities  display matchcode data.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Using Matchcode:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When the user do not know which matchcodes are available for a field, user can find the matchcode by:&lt;br /&gt;&lt;br /&gt;Positioning the cursor on a field and clicking on drop arrow or pressing the F4 key.&lt;br /&gt;A dialog box appears &lt;b&gt;with a list of available matchcode.&lt;/b&gt;&lt;br /&gt;User can select another matchcode by clicking on the NEW selection button.&lt;br /&gt;&lt;b&gt;Double click on a matchcode to use it.&lt;/b&gt; If you want to use this as default matchcode, click on standard button. If user does this once, the selected matchcode is proposed automatically the next time.&lt;br /&gt;You can enter the search term and press ENTER. If search term is not specified, the system displays all the records for the specific matchcode.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-5342625050302564322?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/5342625050302564322/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/working-with-matchcode-objects-in-sap.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5342625050302564322'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5342625050302564322'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/working-with-matchcode-objects-in-sap.html' title='Working With Matchcode Objects In Sap ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3154285869445075462</id><published>2011-07-08T20:03:00.002+05:30</published><updated>2011-07-24T20:43:43.573+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SCREEN-OUTPUT'/><category scheme='http://www.blogger.com/atom/ns#' term='SCREEN- INPUT'/><category scheme='http://www.blogger.com/atom/ns#' term='SCREEN-ACTIVE'/><title type='text'>Changing The Screen During Runtime / At-Selection Screen Output Command.</title><content type='html'>The attributes are assigned to the screen field when the screen is designed in full screen editor.  Such kind of assignment is static, which means that these attributes are fixed. But many times the need to change the attributes of the screen arises. And this has to be done during runtime.&lt;br /&gt;&lt;br /&gt;Need To Change Screen&lt;br /&gt;&lt;br /&gt;There can be a requirement in the transaction that, certain fields on the screen&lt;br /&gt;&lt;br /&gt;Appear only in certain conditions.&lt;br /&gt;Are in Change/display mode according to user inputs&lt;br /&gt;Become mandatory subject to specific inputs.&lt;br /&gt;Changes its format depending upon certain conditions.&lt;br /&gt;&lt;br /&gt;Modifying the screen&lt;br /&gt;&lt;br /&gt;At the runtime, attributes for each screen field is stored in system defined internal table, with header line, called as SCREEN TABLE. It contains name of field and its attributes. This tab le can be modified during the runtime i.e. through module pool program. Screen table has following fields:&lt;br /&gt;&lt;br /&gt;Field Name   Length  Description&lt;br /&gt;NAME   30   Name of screen field&lt;br /&gt;GROUP1  3   Field belongs to field group1&lt;br /&gt;GROUP2  3   Group 2&lt;br /&gt;GROUP3  3   Group 3&lt;br /&gt;GROUP4  3      Group 4&lt;br /&gt;ACTIVE  1   Hide/Show&lt;br /&gt;REQUIRED  1   Field input is mandatory                    &lt;br /&gt;INPUT  1   Enable/Disable&lt;br /&gt;OUTPUT  1   Field for display only&lt;br /&gt;INTENSIFIED 1   Field is highlighted.&lt;br /&gt;INVISIBLE  1   Field is suppressed.&lt;br /&gt;LENGTH  1   Field output length is reduced&lt;br /&gt;DISPLAY 3D  1   Field is displayed with 3-D Frame&lt;br /&gt;VALUE_HELP 1                         Field is displayed with Value help&lt;br /&gt;&lt;br /&gt;E.g., SCREEN-ACTIVE     = 0   has the same effect as the following statements.&lt;br /&gt;       SCREEN- INPUT       = 0.&lt;br /&gt;       SCREEN-OUTPUT    = 0.&lt;br /&gt;       SCREEN-INVISIBLE = 1.&lt;br /&gt;The fields SCREEN-NAME and SCREEN-GROUP 1 through SCREEN-GROUP4 tell you which field and / or field group has the attributes.&lt;br /&gt;You can assign up to 4 groups to a field.&lt;br /&gt;You need to program screen modifications in module, which is processed during the event PROCESS BEFORE OUTPUT.&lt;br /&gt;&lt;br /&gt;`SCREEN’ is an internal table and, in order to change the field values, LOOP statement has to be used so that the header-line can be populated with the new values, changing the earlier values, the SCREEN table consisted for the specific screen. Finally the changed record in the header-line is NOT APPENDED, but is MODIFIED to the SCREEN table. That is, we first use `LOOP AT SCREEN’ and then assign the values. And finally PRIOR TO ENDLOPP give `MODIFY SCREEN’.&lt;br /&gt;&lt;br /&gt;PROCESS BEFORE OUTPUT.&lt;br /&gt;MODULE MODIFY_SCREEN OUTPUT.&lt;br /&gt;&lt;br /&gt;MODULE MODIFY_SCREEN.&lt;br /&gt; LOOP AT SCREEN.&lt;br /&gt;   IF SCREEN-NAME = ‘SFLIGHT-CARRID’.&lt;br /&gt;     SCREEN-INPUT = 1.&lt;br /&gt;     MODIFY SCREEN.&lt;br /&gt;   ENDIF.&lt;br /&gt; ENDLOOP.&lt;br /&gt;ENDMODULE.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3154285869445075462?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Changing The Screen During Runtime / At-Selection Screen Output Command.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3154285869445075462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/changing-screen-during-runtime-at.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3154285869445075462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3154285869445075462'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/changing-screen-during-runtime-at.html' title='Changing The Screen During Runtime / At-Selection Screen Output Command.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-7133252272759928319</id><published>2011-07-08T20:00:00.001+05:30</published><updated>2011-07-25T21:01:22.283+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='user defined help abap'/><category scheme='http://www.blogger.com/atom/ns#' term='process on help request abap'/><category scheme='http://www.blogger.com/atom/ns#' term='on value request'/><title type='text'>Help &amp; Value Request In Sap ABAP.</title><content type='html'>In any transaction, When the user presses F1 or ? on a field, System provides the help  facility for that particular field. In dialog program, when F1 is pressed, help provided by R3 system is sourced from data element documentation. If this documentation is not present for that particular field or if user needs to display additional information for that particular field, then user defined help can be provided through PROCESS ON HELP REQUEST.&lt;br /&gt;&lt;br /&gt;In ABVP/4 help can be provided to the user by:&lt;br /&gt;&lt;br /&gt;Data element documentation: The F1 help can be enhanced, by adding an additional text for the data element in ABAP/4 dictionary.&lt;br /&gt;It can be done with the help of following steps:&lt;br /&gt;Place cursor on the screen field,&lt;br /&gt;GOTO  DOCUMENTATION  DATA ELEMENT DOCUMENT&lt;br /&gt;You can now extend the existing help.&lt;br /&gt;USING THE PROCESS ON HELP-REQUEST.&lt;br /&gt;If you don’t have this event in a program, then the documentation of the field in the ABAP/4 dictionary is taken into consideration. If this event exits in the program then it is executed.&lt;br /&gt;&lt;br /&gt;Process on HELP-REQUEST event&lt;br /&gt;&lt;br /&gt;This event is triggered when user presses F1 on a screen field. You need to handle this event in flow-logic by specifying the fields and attaching the module to it.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;PROCESS ON HELP –REQUEST.&lt;br /&gt;FIELD SFLIGHT-CARRID MODULE HELP-FOR-CARRID.&lt;br /&gt;In module pool program&lt;br /&gt;&lt;br /&gt;MODULE HELP.&lt;br /&gt;Write   : `This is field is from sflight table’&lt;br /&gt;Write   : /  ‘It is of four Character’.&lt;br /&gt;ENDMODULE.&lt;br /&gt;&lt;br /&gt;When the user presses F1 on this particular field, then this message will be displayed on the screen.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Value Request&lt;br /&gt;&lt;br /&gt;Whenever the user presses F4 on the screen field list of possible values, particular fields are displayed. If the standard value-help is inadequate or if you want to display additional fields or with different combination of fields, developer can program this in PROCESS ON VALUE-REQUEST event in the flow-logic and subsequent module in the module pool program. When the user presses F4, list of possible values are displayed either from matchcode objects or check table or help view or domain. Each one of them is explained briefly.&lt;br /&gt;&lt;br /&gt;Matchcode objects: Are aggregated dictionary objects and detailed procedure to create these objects is explained in the later part of the material.&lt;br /&gt;Check Table:  If a check table is assigned to the table field and if the user presses F4 for that particular field, then all the key fields are displayed.&lt;br /&gt;Domain Values: The values defined in the domain are displayed. These values are set in domain when the domain is created in the dictionary.&lt;br /&gt;Help views:  In cases where the check table is not sufficient, you can create a help view with this check table, which gives additional information like explanatory text for the fields of the check table.&lt;br /&gt;PROCESS ON VALUE_REQUEST.&lt;br /&gt;&lt;br /&gt;Each time the user presses F4 on the screen field, following algorithm is called internally.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-7133252272759928319?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Help &amp; Value Request In Sap ABAP.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/7133252272759928319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/help-value-request-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7133252272759928319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7133252272759928319'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/help-value-request-in-sap-abap.html' title='Help &amp; Value Request In Sap ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-779703152274207723</id><published>2011-07-08T19:59:00.001+05:30</published><updated>2011-07-25T21:05:03.333+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='how to create a subscreen'/><category scheme='http://www.blogger.com/atom/ns#' term='call subscreen abap'/><category scheme='http://www.blogger.com/atom/ns#' term='create subscreens in abap'/><title type='text'>Creating A Subscreen -SAP ABAP.</title><content type='html'>A subscreen is a screen within screen. Consider the following case.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If user clicks on FIRST pushbutton, you want to display details of MARA table and if user clicks on the SECOND pushbutton, you want to display details of MARD table.  You can do this by calling two different screens. But the information will be displayed on the next screen. Displaying data on the same screen is possible by using SUBSCREENS.&lt;br /&gt;&lt;br /&gt;Step to create a subscreen are as follows:&lt;br /&gt;&lt;br /&gt;• Create a subscreen area on MAIN screen and name it.&lt;br /&gt;• Create a separate screen of subscreen type.&lt;br /&gt;• Arrange the fields on this screen so that they fit in subscreen area exactly. Only when it is larger, the part of the screen that fits in the main area will be visible.&lt;br /&gt;• Write code for calling subscreen in flow logic.&lt;br /&gt;&lt;br /&gt;To call subscreen, from your flow logic, you need to include the statement both in PAI and PBO.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;PBO.&lt;br /&gt;Call subscreen &lt;area&gt; including &lt;prg name=""&gt; &amp;lt;’screen no’&amp;gt;.&lt;br /&gt;&lt;br /&gt;PAI.&lt;br /&gt;&lt;br /&gt;Call subscreen &lt;area&gt;.&lt;br /&gt;Area - is the name of the area on main screen.&lt;br /&gt;Prg. Name - is the name of the module pool program.&lt;br /&gt;Screen number - is subscreen screen number.&lt;br /&gt;&lt;br /&gt;Some of the don’ts with subscreen are:&lt;br /&gt;&lt;br /&gt;GUI status cannot be set to the subscreen&lt;br /&gt;• OKCODE is not applicable to the subscreen.&lt;br /&gt;• Subscreen cannot call another screen.&lt;br /&gt;• It cannot contain AT EXIT-COMMAND.&lt;br /&gt;&lt;br /&gt;You can call multiple subscreen in the same area (at any given point of time, only one subscreen can be called in the subscreen area) and is done dynamically during runtime by using variable screen number.&lt;/prg&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-779703152274207723?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Creating A Subscreen -SAP ABAP.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/779703152274207723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/subscreens-concept-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/779703152274207723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/779703152274207723'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/subscreens-concept-in-sap-abap.html' title='Creating A Subscreen -SAP ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-2733557523508306106</id><published>2011-07-08T19:57:00.001+05:30</published><updated>2011-07-25T21:12:26.033+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='create a step loop'/><category scheme='http://www.blogger.com/atom/ns#' term='step loop abap'/><category scheme='http://www.blogger.com/atom/ns#' term='static step loop sap'/><category scheme='http://www.blogger.com/atom/ns#' term='dynamic step loop'/><category scheme='http://www.blogger.com/atom/ns#' term='types of step loop'/><title type='text'>SAP ABAP - Step Loops - Types &amp; How To Create.</title><content type='html'>Step Loops are type of screen table as already mentioned. Step loops are repeated blocks of field in a screen. Each block contains one or more fields and these blocks are repeated. Step loops aren’t like actual table. You can scroll vertically but not horizontally. Three steps are associated with creation of step loops:&lt;br /&gt;&lt;br /&gt;• Creation of step loops on screen, which includes declaring fields on the screen and then defining the step, loops for these fields.&lt;br /&gt;• Passing data to the step loop is exactly similar to the passing of data to table controls.&lt;br /&gt;• In step loop, you don’t need to define the step loop as such in the module pool program but the cursor needs to be defined in the program.&lt;br /&gt;&lt;br /&gt;Types of Step Loops&lt;br /&gt;&lt;br /&gt;• Static – Static Step Loop (SSL) have fixed size that cannot be changed during the runtime. If user resizes the window, the size of the static step loop is not changed.&lt;br /&gt;• Dynamic – Dynamic Step Loop (DSL) is variable in size. When the user resizes the window, the system increases or decreases the number of the step loop blocks. &lt;br /&gt;&lt;br /&gt;You can have only one dynamic step loop and can have as many static loops in your    transaction.&lt;br /&gt;&lt;br /&gt;Programming with the Static and dynamic step loop is exactly same.  For the system or for the user it doesn’t make any difference whether it is static or dynamic step loop.  Only attribute, which you fix during designing of the step loop, is type attribute for step loop F for fixed i.e static and V for variable i.e. dynamic.&lt;br /&gt;&lt;br /&gt;Writing code for Step Loop in the flow logic.&lt;br /&gt;PBO.&lt;br /&gt; Loop at itab cursor cl.&lt;br /&gt; Module set.&lt;br /&gt;    Endloop.&lt;br /&gt;PAI.&lt;br /&gt; Loop at itab.&lt;br /&gt; Endloop.&lt;br /&gt;* Empty loop is must for both table control and step loop&lt;br /&gt;LOOP AT statement for step loops and Table controls is similar. Loop At statement transfers the data to screen table. You need to have the Module to assign the values for the screen table.&lt;br /&gt;&lt;br /&gt;In module pool program you need to define the cursor.&lt;br /&gt;Date:   CL TYPE   i.&lt;br /&gt;* Cursor parameter tells which line of step loop display should start.&lt;br /&gt;“Module Set” in module pool program assigns the values to step loop fields, which is similar to table controls.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-2733557523508306106?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='SAP ABAP - Step Loops - Types &amp; How To Create.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/2733557523508306106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/step-loops-concept-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2733557523508306106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2733557523508306106'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/step-loops-concept-in-sap-abap.html' title='SAP ABAP - Step Loops - Types &amp; How To Create.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6836128674474423726</id><published>2011-07-08T19:56:00.004+05:30</published><updated>2011-07-25T21:30:26.177+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='call screen abap'/><category scheme='http://www.blogger.com/atom/ns#' term='how to call a screen abap'/><category scheme='http://www.blogger.com/atom/ns#' term='set screen abap'/><category scheme='http://www.blogger.com/atom/ns#' term='leave to screen abap'/><title type='text'>Difference Between Call Screen, Set Screen &amp; Leave Screen.</title><content type='html'>Call Screen&lt;br /&gt;&lt;br /&gt;Usually used for pop up screens. Many times, there is a need for user to enter additional information or secondary information on another screen or pop up screen. Once the user enters the data, he should be able to go back to main screen or to the screen where he started. This is not possible by using SET SCREEN. CALL SCREEN achieves this functionality.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;Call Screen 200.&lt;br /&gt;&lt;br /&gt;Will simply call a screen number 200 from a main screen. Once the screen is displayed the user can enter all the data and return to the main screen by clicking BACK button.&lt;br /&gt;&lt;br /&gt;To call screen as pop up screen the syntax is&lt;br /&gt;&lt;br /&gt;Call screen starting at &lt;col.no.&gt; &lt;line no=""&gt;&lt;br /&gt;    Ending at  &lt;line no=""&gt;.&lt;br /&gt;&lt;br /&gt;In this case window will be popped as window and user can close it by using BACK button.&lt;br /&gt;&lt;br /&gt;Leave to screen&lt;br /&gt;&lt;br /&gt;To SET a new screen without processing current screen, you need to use the following two statements together:&lt;br /&gt;&lt;br /&gt;SET SCREEN 200.&lt;br /&gt;LEAVE SCREEN.&lt;br /&gt;&lt;br /&gt;Or a Single statement&lt;br /&gt;&lt;br /&gt;LEAVE TO SCREEN 200.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Subscreens&lt;br /&gt;&lt;br /&gt;A subscreen is a screen within screen. Consider the following case.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If user clicks on FIRST pushbutton, you want to display details of MARA table and if user clicks on the SECOND pushbutton, you want to display details of MARD table.  You can do this by calling two different screens. But the information will be displayed on the next screen. Displaying data on the same screen is possible by using SUBSCREENS.&lt;br /&gt;&lt;br /&gt;Step to create a subscreen are as follows:&lt;br /&gt;&lt;br /&gt;• Create a subscreen area on MAIN screen and name it.&lt;br /&gt;• Create a separate screen of subscreen type.&lt;br /&gt;• Arrange the fields on this screen so that they fit in subscreen area exactly. Only when it is larger, the part of the screen that fits in the main area will be visible.&lt;br /&gt;• Write code for calling subscreen in flow logic.&lt;br /&gt;&lt;br /&gt;To call subscreen, from your flow logic, you need to include the statement both in PAI and PBO.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;PBO.&lt;br /&gt;Call subscreen &lt;area&gt; including &lt;prg name=""&gt; &amp;lt;’screen no’&amp;gt;.&lt;br /&gt;&lt;br /&gt;PAI.&lt;br /&gt;&lt;br /&gt;Call subscreen &lt;area&gt;.&lt;br /&gt;Area - is the name of the area on main screen.&lt;br /&gt;Prg. Name - is the name of the module pool program.&lt;br /&gt;Screen number - is subscreen screen number.&lt;br /&gt;&lt;br /&gt;Some of the don’ts with subscreen are:&lt;br /&gt;&lt;br /&gt;GUI status cannot be set to the subscreen&lt;br /&gt;• OKCODE is not applicable to the subscreen.&lt;br /&gt;• Subscreen cannot call another screen.&lt;br /&gt;• It cannot contain AT EXIT-COMMAND.&lt;br /&gt;&lt;br /&gt;You can call multiple subscreen in the same area (at any given point of time, only one subscreen can be called in the subscreen area) and is done dynamically during runtime by using variable screen number.&lt;/prg&gt;&lt;/line&gt;&lt;/line&gt;&lt;/col.no.&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6836128674474423726?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Difference Between Call Screen, Set Screen &amp; Leave Screen.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6836128674474423726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/calling-screen-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6836128674474423726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6836128674474423726'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/calling-screen-in-sap-abap.html' title='Difference Between Call Screen, Set Screen &amp; Leave Screen.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1048464392501807581</id><published>2011-07-08T19:56:00.003+05:30</published><updated>2011-07-25T21:23:16.861+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='syntax of table control'/><category scheme='http://www.blogger.com/atom/ns#' term='features of table controls'/><category scheme='http://www.blogger.com/atom/ns#' term='passing data to table control'/><category scheme='http://www.blogger.com/atom/ns#' term='screen tables abap'/><title type='text'>SAP ABAP - Table Control - Introduction, Syntax &amp; Example.</title><content type='html'>A table can be created in transaction. These tables when designed on the screen are called as SCREEN TABLES. These screen tables are of two types viz.&lt;br /&gt;• Table controls&lt;br /&gt;• Step loops&lt;br /&gt;Though these are tables when code is written to handle them, the  tables are treated  as loops. &lt;br /&gt;&lt;br /&gt;Features of Table Controls&lt;br /&gt;&lt;br /&gt;• Data is displayed in the form of table when many records match the criteria.&lt;br /&gt;• Table control gives user the feeling of an actual table.&lt;br /&gt;• You can scroll through the table vertically and horizontally.&lt;br /&gt;• You can select rows and columns&lt;br /&gt;• Resize the width of a column&lt;br /&gt;• You can have separator lines in between rows and columns&lt;br /&gt;• Automatic resizing of the table when the user resizes the window.&lt;br /&gt;&lt;br /&gt;In general table control includes all the features of an actual table and user gets the feeling that he is actually working with table. You can update information in table control and it can be updated in the database table by writing code for it.&lt;br /&gt;&lt;br /&gt;Steps associated for creating complete screen table are as follows:&lt;br /&gt;&lt;br /&gt;• Declaration of table control in module pool program.&lt;br /&gt;• Designing of table control on the screen.&lt;br /&gt;• Passing data to table in flow logic.&lt;br /&gt;&lt;br /&gt;Declaring of Table Control in the Module Pool Program&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;Controls TCI type Tableview using screen &lt;screen&gt;&lt;br /&gt;&lt;br /&gt;When you use table control in a screen you must declare the structure in module pool program. Important fields of tableview are as follows:&lt;br /&gt;&lt;br /&gt;• Lines – number of displayable rows in a table.&lt;br /&gt;• Top_line – the row of table where the screen displays start.&lt;br /&gt;• Current_line – The row currently being processed inside a loop.&lt;br /&gt;&lt;br /&gt;When you process the table control in flow logic depending upon where you want to start display of rows, you need to use these variables.&lt;br /&gt;&lt;br /&gt;Designing Table Control on Screen&lt;br /&gt;• To design table control on the screen, you need to click on Table in control bar and place it on the screen. You can adjust the length and width of table control.&lt;br /&gt;• Name the table control. (Here you need to use same name which you have used for declaration of table control in module pool program)&lt;br /&gt;• From dictionary object, select table fields and place them in the table control.&lt;br /&gt;&lt;br /&gt;Passing data to Table Control&lt;br /&gt;&lt;br /&gt;As already mentioned, table controls are tables but are treated like loops. Usually transfer of data from program to screen is automatic. But in case of table control, transfer of data is not automatic. You need to explicitly transfer the data to table control. ABAP/4 provides loop statement, which is associated with flow logic to transfer the data. Because table control is treated like a loop, data from where it is transferred should be a loop. You cannot transfer the data by only select statement; you need to put the data into internal table. ABAP/4 provides the LOOP statement, which is associated with the flow logic and allows you to loop through the table control and internal tables. In between LOOP-ENDLOOP, you can use most of the flow logic keywords like field values.  Module etc.&lt;br /&gt;&lt;br /&gt;You need to code a LOOP statement in both PBO and PAI event of the screen. With LOOP statement, you can transfer the data from program to table control and vice versa.  That is, if user updates the value in the table control, you can update database table with its value. And this can be done in PAI event. So even if you are not updating database table through the table control, you need to put the LOOP statement in the PAI event also.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;PBO.&lt;br /&gt;LOOP AT &lt;internal table=""&gt; with control  cursor &lt;scroll variable=""&gt;&lt;br /&gt;&lt;br /&gt;PAI.&lt;br /&gt;Loop at itab.&lt;br /&gt;&lt;br /&gt;Proper usage of Table Control is as follows:&lt;br /&gt;&lt;br /&gt;In flow logic.&lt;br /&gt;&lt;br /&gt;PBO.&lt;br /&gt;LOOP AT ITAB WITH CONTROL TC1 CURSOR TC1-TOP_LINE.&lt;br /&gt;MODULE ASSIGN.&lt;br /&gt;ENDLOOP.&lt;br /&gt;&lt;br /&gt;PAI.&lt;br /&gt;LOOP AT ITAB.&lt;br /&gt;ENDLOOP.&lt;br /&gt;&lt;br /&gt;Considering, we have following fields in table control and the screen looks like this:&lt;br /&gt;&lt;br /&gt;In module pool program&lt;br /&gt;&lt;br /&gt;CONTROL TC1 Type tableview using screen 200.&lt;br /&gt;&lt;br /&gt;Module assign.&lt;br /&gt;Sflight – carrid = itab – carrid.&lt;br /&gt;Sflight - connid= itab -  connid.&lt;br /&gt;Sflight - fldate= itab – fldate.&lt;br /&gt;Endmodule.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The transfer of the data from program to table control takes place in steps and these steps are as follows:&lt;br /&gt;• With LOOP AT statement the first row is picked up and placed in the header of the internal table.&lt;br /&gt;• Whatever statements you have in between LOOP-ENDLOOP are executed.  In this case, you have Module statement. In Module statement, value of internal table is assigned to table control field.&lt;br /&gt;• The row in internal table is transferred to the first line of the table control as stated in the LOOP AT statement.&lt;br /&gt;• The system encounters the ENDLOOP statement and Control is passed to the next line of the internal table.&lt;br /&gt;• In the same way, all the records of the internal table are passed to the table control.&lt;br /&gt;&lt;/scroll&gt;&lt;table control="" name=""&gt;&lt;/table&gt;&lt;/internal&gt;&lt;/screen&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1048464392501807581?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='SAP ABAP - Table Control - Introduction, Syntax &amp; Example.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1048464392501807581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/what-are-table-controls-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1048464392501807581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1048464392501807581'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/what-are-table-controls-in-sap-abap.html' title='SAP ABAP - Table Control - Introduction, Syntax &amp; Example.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-8938574339915568333</id><published>2011-07-08T19:54:00.004+05:30</published><updated>2011-07-25T21:45:56.962+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pai event'/><category scheme='http://www.blogger.com/atom/ns#' term='poh event'/><category scheme='http://www.blogger.com/atom/ns#' term='pbo event'/><category scheme='http://www.blogger.com/atom/ns#' term='screen flow logic'/><category scheme='http://www.blogger.com/atom/ns#' term='pov event'/><category scheme='http://www.blogger.com/atom/ns#' term='screen painter sap'/><title type='text'>SAP ABAP - Screen painter &amp; How To Use It (SE51 t-code).</title><content type='html'>A dynpro refers to the screen + flow logic. With screen painter you can develop screen and flow logic. The relationship between screen, flow logic, and program can be shown as follows:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dynpro, as figure indicates consist of screen and flow logic and places exactly one call to module pool program. A transaction consists of many screens and for each screen flow logic is attached. When the transaction is executed, the screen places a call to flow logic and flow logic in turn places a call to module pool program.&lt;br /&gt;&lt;br /&gt;• A module program is usual ABAP/4 program that consist of modules and data declaration.&lt;br /&gt;• ABAP/4 is an event driven language. In module pool program too, events get triggered and these events are handled in flow logic. Flow logic editor is subset of ABAP/4 editor. The system automatically displays the two important events for the flow logic.&lt;br /&gt;• Screen is the important component of dynpro and can be created, designed by screen painter.&lt;br /&gt;&lt;br /&gt;Screen Painter&lt;br /&gt;&lt;br /&gt;A screen painter can be started by&lt;br /&gt;&lt;br /&gt;Development workbench  Screen Painter&lt;br /&gt;Or&lt;br /&gt;SE51 transaction code.&lt;br /&gt;&lt;br /&gt;Using Screen Painter&lt;br /&gt;&lt;br /&gt;The process of creating a dynpro includes the creation and definition of all the needed screen components.&lt;br /&gt;&lt;br /&gt;The steps involved in creating the dynpro are as follows:&lt;br /&gt;&lt;br /&gt;• Create screen and attributes by using screen attribute screen.&lt;br /&gt;• Select and place the needed fields within the screen by using dict/program fields.&lt;br /&gt;• Establish the field attributes to which the screen belongs by using field list.&lt;br /&gt;• Define the flow logic respect to the transaction to which it belongs by using flow logic.&lt;br /&gt;&lt;br /&gt;Creating a new Screen&lt;br /&gt;&lt;br /&gt;Steps involved are as follows:&lt;br /&gt;&lt;br /&gt;• Enter the name of program and number of the screen&lt;br /&gt;• Click on Create&lt;br /&gt;• On “screen attribute” screen enter short description&lt;br /&gt;• Enter screen type. Normally, you select NORMAL option for usual R/3 screen. Other options available are SUBSCREEN &amp;amp; MODAL DIALOG BOX. Modal dialog box is used to establish independent and interactive dialog box while subscreen is screen within screen. &lt;br /&gt;• Next attribute to be passed is NEXT SCREEN. Here you need to specify the next screen number, which must be processed after the current one.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Designing of Screen&lt;br /&gt;&lt;br /&gt;Screen can be designed by using FULL SCREEN EDITOR. You can go to full screen editor.&lt;br /&gt;&lt;br /&gt;From screen attribute screen&lt;br /&gt;By pressing full screen editor pushbutton&lt;br /&gt;Or&lt;br /&gt;From initial screen of screen painter.&lt;br /&gt;&lt;br /&gt;There are two modes available with full screen editor.&lt;br /&gt;&lt;br /&gt;• Graphical mode. The graphical mode works similarly to typical window application.&lt;br /&gt;• Alphanumeric mode (rarely used).&lt;br /&gt;&lt;br /&gt;Elements of screen&lt;br /&gt;&lt;br /&gt;• Text – Standard text or field labels.&lt;br /&gt;• Entry  - display field.&lt;br /&gt;• Radiobutton – All radiobutton must be associated with one group.&lt;br /&gt;• Checkbox – Normally used for YES/NO operations.&lt;br /&gt;• Pushbutton – Used for activating particular function.&lt;br /&gt;• Boxes – grouping together many screen elements.&lt;br /&gt;• Subscreens – This is a screen area in which you can display another screen.&lt;br /&gt;• Table controls – This area of screen is similar to table but should be treated as a loop.&lt;br /&gt;• Status - Display output fields containing icon.&lt;br /&gt;&lt;br /&gt;All these elements are on the control bar of full screen editor and can be placed on the screen work area by clicking and placing them wherever needed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Selecting Screen Fields&lt;br /&gt;&lt;br /&gt;Screen field can be either dictionary objects or program fields. Steps involved in the placing of fields on the screen are as follows:&lt;br /&gt;&lt;br /&gt;Click the pushbutton Dict/program fields on the full screen editor&lt;br /&gt;Or&lt;br /&gt;Goto  dict/prog fields.&lt;br /&gt;&lt;br /&gt;• Enter table name.&lt;br /&gt;• Click Get from dictionary.&lt;br /&gt;• Select fields.&lt;br /&gt;• Click copy pushbutton.&lt;br /&gt;• Position the cursor where you want those fields to be placed.&lt;br /&gt;&lt;br /&gt;To adjust various screen elements, you can use drag and drop facility for screen elements.&lt;br /&gt;&lt;br /&gt;Attributes of Screen Elements&lt;br /&gt;&lt;br /&gt;The entire element of a screen has some attributes, which determines their behavior.&lt;br /&gt;&lt;br /&gt;• General – These attributes are directly managed by the screen painter like name of the element, or text of element or column width and various things associated with the screen.&lt;br /&gt;• Dictionary – These attributes are applicable to fields, which are from dictionary. Various components of dictionary can be attached to this element like search help, foreign key.&lt;br /&gt;• Program.&lt;br /&gt;• Display – Behavior of the element with respect to their display feature.&lt;br /&gt;&lt;br /&gt;Attribute dialog box can be displayed by&lt;br /&gt;&lt;br /&gt;• Clicking on the ATTRIBUTE push button on the application tool bar.&lt;br /&gt;• Double clicking on the element.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Field List&lt;br /&gt;&lt;br /&gt;This list displays a list of all screen elements together with their screen attributes.  One important element of Field list is OKCODE. Any pushbutton is associated with function code as in menu item in menu painter. When the user clicks the pushbutton this code is stored in OKCODE. This OKCODE is created by system without a name and is not visible on the screen. In ABAP/4 this field is work field and is nothing but an area wherein system stores the variable and is the last field of the field list and is invisible, hence user needs to give the name OKCODE. It is not mandatory to give the name OKCODE; developer can give any name to this field.&lt;br /&gt;&lt;br /&gt;Screen Flow Logic&lt;br /&gt;&lt;br /&gt;You can go to this screen either by&lt;br /&gt;&lt;br /&gt;Initial screen of Screen painter  Flow logic&lt;br /&gt;Or&lt;br /&gt;From Screen attribute screen  Flow logic&lt;br /&gt;&lt;br /&gt;When transaction is executed, the screen is displayed, user enters few fields, selects few functions. Later the screen is processed and processing of screen is done by flow logic.    The events that are associated with screen are as follows:&lt;br /&gt;&lt;br /&gt;• Process before Output (PBO)&lt;br /&gt;• Process after input (PAI)&lt;br /&gt;• Process on value request (POV)&lt;br /&gt;• Process on help request (POH)&lt;br /&gt;&lt;br /&gt;The system automatically displays two very important events or modules in flow logic i.e. PAI and PBO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PBO event&lt;br /&gt;&lt;br /&gt;This event is triggered before the screen is displayed. The processing of screen before the display of screen is done in this event. For example, filling in default values in the screen fields. &lt;br /&gt;&lt;br /&gt;PAI event&lt;br /&gt;&lt;br /&gt;This event is responsible for processing of screen after the user enters the data and clicks the pushbutton. The processing of screen can include displaying another screen, or just displaying list or quitting the transaction itself and many more things. Usually it is displaying another screen. These operations can be carried out in the PAI event. OKCODE plays an important role in this operation.&lt;br /&gt;&lt;br /&gt;POV event&lt;br /&gt;&lt;br /&gt;Process on value request is triggered when the user clicks F4 key. You can handle this event when the user presses F4 key by writing code for the same in module pool program. Normally when the user presses F4, list of possible values is displayed.  The standard list produced by system is adequate for applications you develop yourself.  However, you can also have the option of setting up your own documentation and lists of possible values that are more detailed.&lt;br /&gt;&lt;br /&gt;POH event&lt;br /&gt;&lt;br /&gt;Normally when the user places the cursor on the field and presses F1 function key, the system displays its own Help for that particular field. You can add your own functionality to the Help button by writing code for the same in the POH event.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-8938574339915568333?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='SAP ABAP - Screen painter &amp; How To Use It (SE51 t-code).'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/8938574339915568333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/dynpro-concept-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8938574339915568333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8938574339915568333'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/dynpro-concept-in-sap-abap.html' title='SAP ABAP - Screen painter &amp; How To Use It (SE51 t-code).'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-7277236944678586353</id><published>2011-07-08T19:54:00.003+05:30</published><updated>2011-07-25T21:38:51.807+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='flow logic in module pool'/><category scheme='http://www.blogger.com/atom/ns#' term='create a module pool program'/><category scheme='http://www.blogger.com/atom/ns#' term='pai'/><category scheme='http://www.blogger.com/atom/ns#' term='all about module pool programs'/><category scheme='http://www.blogger.com/atom/ns#' term='pbo'/><category scheme='http://www.blogger.com/atom/ns#' term='field checks in module pool'/><title type='text'>Introduction To Module Pool Programming.</title><content type='html'>This component though is not attached to the screen painter, plays important role in transaction. Normally, for reports, on line executable programs are written but for transaction, Module Pool Programs are written. The module pool program contains only modules to handle various events associated with screen and data declaration statements.&lt;br /&gt;&lt;br /&gt;System divides the module pool program into several include program. These are global field, PBO modules, and PAI modules. It is entirely user’s decision whether to use these modules or write directly into main program.&lt;br /&gt;&lt;br /&gt;Creation of Module Pool Program&lt;br /&gt;&lt;br /&gt;You can create module pool program either through&lt;br /&gt;&lt;br /&gt;Object browser&lt;br /&gt;&lt;br /&gt;System automatically creates the module pool program and for these program which are created through object browser, system creates the include modules.&lt;br /&gt;Or&lt;br /&gt;ABAP/4 editor&lt;br /&gt;&lt;br /&gt;It is similar to normal program creation. Type of program should be given ‘M’ and is not created by system.&lt;br /&gt;&lt;br /&gt;Communication between Dynpro and Module Program&lt;br /&gt;&lt;br /&gt;For each screen, the system executes the flow logic, which contains corresponding events. The control is passed to Module Pool Program. Module Pool Program handles the code for these events and again passes back control to the flow logic and finally to screen. Unlike on line program, in this case, the control remains with flow logic. The switching of control between flow logic and module pool program and back is common process when user executes transaction.&lt;br /&gt;&lt;br /&gt;Creation of a Complete Transaction&lt;br /&gt;&lt;br /&gt;Steps involved to create a complete transaction&lt;br /&gt;&lt;br /&gt;• Create module pool program.&lt;br /&gt;• From screen painter create screens.&lt;br /&gt;• Write flow logic for each screen.&lt;br /&gt;• Write code for all the events in module pool program.&lt;br /&gt;• Check for any error in screen and flow logic.&lt;br /&gt;• Generate each and every component of screen i.e. flow logic and screen.&lt;br /&gt;• Single screen can be tested using Screen Painter.&lt;br /&gt;• Create transaction code through object browser.&lt;br /&gt;• Generate the transaction code.&lt;br /&gt;• User can execute the transaction by entering the transaction code in the command field.&lt;br /&gt;&lt;br /&gt;Handling Function Code&lt;br /&gt;&lt;br /&gt;The function code or OKCODE is the last field of Field list. Function code can be handled as follows:&lt;br /&gt;During the Designing of the screen, a function code is assigned to pushbutton.&lt;br /&gt;&lt;br /&gt;• In field list, developer needs to specify OKCODE as last field.&lt;br /&gt;• In module program it is a global field and can be evaluated in the PAI event.&lt;br /&gt;• A function code is treated in the same way, regardless it comes from pushbutton, menu item or any other GUI element.&lt;br /&gt;&lt;br /&gt;A complete example for transaction is shown below:&lt;br /&gt;&lt;br /&gt;If you have a screen like the one below:&lt;br /&gt;&lt;br /&gt;When the user clicks on the Display button, you want to display details of sflight, with corresponding carrid and connid (which is entered by the user).&lt;br /&gt;&lt;br /&gt;Module pool program to handle this particular screen is as follows:&lt;br /&gt;&lt;br /&gt;Program YVTEST7.&lt;br /&gt;TABLES: SFLIGHT.&lt;br /&gt;DATA: OKCODE (4).&lt;br /&gt;&lt;br /&gt;MODULE INPUT1 INPUT,&lt;br /&gt;CASE OKCODE.&lt;br /&gt;  WHEN ‘DISP’.&lt;br /&gt;    SELECT * FROM SFLIGHT&lt;br /&gt;           WHERE CARRID =  SFLIGHT – CARRID AND&lt;br /&gt;                          CONNID = SFLIGHT – CONNID.&lt;br /&gt;    ENDSELECT.&lt;br /&gt;    LEAVE TO SCREEN 200.&lt;br /&gt;  WHEN ‘EXIT’.  LEAVE TO SCREEN 0.&lt;br /&gt; ENDCASE.&lt;br /&gt;ENDMODULE.   “INPUT1 INPUT&lt;br /&gt;MODULE USER_COMMAND_0200 INPUT.&lt;br /&gt;CASE OKCODE.&lt;br /&gt;WHEN ‘BACK’. LEAVE TO SCREEN 100.&lt;br /&gt;ENDCASE.&lt;br /&gt;ENDMODULE.    “USER_COMMAND_0200 INPUT&lt;br /&gt;&lt;br /&gt;When the user clicks on display, control is transferred to screen no. 200 on which you display sflight details &amp;amp; on the same screen, when user clicks on BACK button, he comes back to main screen.&lt;br /&gt;Flow logic for screen 100 is as follows:&lt;br /&gt;&lt;br /&gt;PROCESS AFTER INPUT.&lt;br /&gt;MODULE INPUT.&lt;br /&gt;Flow logic for screen 200&lt;br /&gt;&lt;br /&gt;PROCESS AFTER INPUT.&lt;br /&gt;USER_COMMAND_0200.&lt;br /&gt;&lt;br /&gt;MODULES: Modules are handled in module pool program.&lt;br /&gt;&lt;br /&gt;You need to write flow logic for screen 200 and design screen 200.&lt;br /&gt;In case of transaction transfer of data from program to screen is automatic i.e. you need not transfer the data from program to screen explicitly. The fields, which you define in the screen receives the data from program and displays the same.&lt;br /&gt;&lt;br /&gt;The Field Checks&lt;br /&gt;&lt;br /&gt;As already mentioned Transaction is the only method, which SAP recommends to update the database tables. Data entered in the database table should be valid and correct. Data entered is validated at each and every point. ABAP/4 offers various methods to validate data and those are as follows:&lt;br /&gt;&lt;br /&gt;• Automatic field checks&lt;br /&gt;• Checks performed in the flow logic&lt;br /&gt;• Checks performed in the ABAP/4 module pool program&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Automatic Field Checks&lt;br /&gt;&lt;br /&gt;These checks are based on the field information stored in the dictionary. These checks are performed by the system automatically when the user enters the data for the screen field. System performs these checks before PAI event is triggered. Types of field checks performed by system are as follows:&lt;br /&gt;• Required input&lt;br /&gt;While designing the screen, for particular screen field if you click the Req. Entry checkbox, the field becomes mandatory. When the transaction is executed if user leaves this particular field blank, the system displays error message. User cannot proceed until the user enters some data.&lt;br /&gt;• Proper Data Format&lt;br /&gt;Each field has its own data format whether it is table field or screen field. Whenever data is entered, system checks for the proper format of the data. For example date. Each user has its own format for date, which is defined in the user master record. If the date defined in the user master record is in the format DD/MM/YYYY, if the user enters the date, say, in YY/DD/MM, the user displays the error message. System also checks for the value of month or days. For example if month entered is greater than twelve then the error message is displayed.&lt;br /&gt;• Valid Value for the Field&lt;br /&gt;In data dictionary two tables are related by Primary key-Foreign key relationship.  Whenever the user enters the data, the system checks for the check table values.   Also in Domain, if you have fixed values, then the system checks for these values.&lt;br /&gt;&lt;br /&gt;Automatic field checks are repeated each time the user enters the data.&lt;br /&gt;&lt;br /&gt;About at Exit – Command&lt;br /&gt;&lt;br /&gt;Automatic field checks can be avoided by AT EXIT-COMMAND, which works exactly the same way as Cancel works on application tools bar. In the R/3 screen, if you want to quit the processing of that particular screen without entering the mandatory fields, user can click the Cancel button. Same functionality can be incorporated in the user-defined transaction by using AT EXIT-COMMAND. This module can be called before the system executes the automatic field checks and it goes without saying that before PAI event. Code for AT EXIT-COMMAND in flow logic and in module pool program can be written as follows:&lt;br /&gt;&lt;br /&gt;In Flow Logic&lt;br /&gt;&lt;br /&gt;Process After Input.&lt;br /&gt;Module exit AT EXIT-COMMAND.&lt;br /&gt;        In module pool program.&lt;br /&gt;Module exit.&lt;br /&gt;Case okcode.&lt;br /&gt;When ‘Exit’.&lt;br /&gt;Leave to screen 0.&lt;br /&gt;&lt;br /&gt;To achieve this kind of functionality a pushbutton or menu item should be assigned a function type ‘E’. It tells the system to process this particular module before carrying out any field checks.&lt;br /&gt;&lt;br /&gt;Flow Logic Validations&lt;br /&gt;&lt;br /&gt;Consider the case where you want user to enter only ‘LH’ and ‘SQ’ for sflight-carrid. In this case, you are restricting value of a screen field. This cannot be achieved by automatic field check. Hence there is a need of additional validation. It can be done in flow logic by using following statement:&lt;br /&gt;&lt;br /&gt;Field --------------- Values&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;PAI.&lt;br /&gt;Field sflight-carrid values (‘LH’).&lt;br /&gt;&lt;br /&gt;For multiple values&lt;br /&gt;&lt;br /&gt;PAI.&lt;br /&gt;Field sflight-carrid values (‘LH’ ‘SQ’).&lt;br /&gt;Field sflight-price values (between 1000 and 2000).&lt;br /&gt;&lt;br /&gt;In this case when the user enters the value, PAI is triggered  and field is checked for  that particular value. If the value entered happens to be wrong, that field is enabled for user to enter. If you have multiple Field statements in your flow logic, it is sequential execution.&lt;br /&gt;&lt;br /&gt;Consider the following case:&lt;br /&gt;&lt;br /&gt;PAI.&lt;br /&gt;Module  assign.&lt;br /&gt;Field sflight-carrid values (‘LH’ ‘SQ’).&lt;br /&gt;&lt;br /&gt;In ABAP/4&lt;br /&gt;&lt;br /&gt;Module  assign.&lt;br /&gt;Data: carrid1 like sflight-carrid.&lt;br /&gt;Carrid1 = sflight-carrid.&lt;br /&gt;Endmodule.&lt;br /&gt;&lt;br /&gt;In this case, Sflight-carrid is used in the flow logic before the field statement. The system will give invalid value or some previous value as the field sflight-carrid is used in module before it is checked i.e., field statement is after the module in which sflight-carrid is being used. The field is not available to the system unless it executes the field statement. Field statement transfers the values to the program and is done only once. If you don’t have Field statement in your flow logic, transfer of values takes place in PAI event.&lt;br /&gt;&lt;br /&gt;Consider one more case where you have multiple field statement.&lt;br /&gt;&lt;br /&gt;PAI.&lt;br /&gt;Field Sflight-carrid values (‘LH’).&lt;br /&gt;Field Sflight-connid values (‘0400’ ‘0500’).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In this case if the user enters only carrid wrong, then this particular field is enabled and rest of the fields are disabled for user to input. Many times if the user enters wrong value for one field, then you might want to give option to user to enter all the fields, which is not possible by using Field statement only. This functionality can be achieved by CHAIN – ENDCHAIN.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;Chain.&lt;br /&gt;Field sflight-carrid value (‘LH’).&lt;br /&gt;Field sflight-connid values (between ‘200’ and ‘500’).&lt;br /&gt;Endchain.&lt;br /&gt;&lt;br /&gt;Field sflight-price values (‘100’ ‘1000’).&lt;br /&gt;&lt;br /&gt;In this case, if the user enters wrong value only for carrid, both the fields i.e. carrid and connid are enabled as they are grouped together in the Chain statement. The field price will be disabled for input. Usually, logically related fields are grouped together with Chain-Endchain statement.&lt;br /&gt;&lt;br /&gt;Module Pool Program Validations&lt;br /&gt;&lt;br /&gt;Checking fields ABAP/4 program includes&lt;br /&gt;&lt;br /&gt;• Field statement in flow logic.&lt;br /&gt;• Module statement in ABAP/4 module pool Program.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;PAI.&lt;br /&gt;Field sflight-carrid module &lt;name&gt;.&lt;br /&gt;This module can be handled in the main program i.e. module pool program.&lt;br /&gt;&lt;br /&gt;In ABAP/4 program&lt;br /&gt;&lt;br /&gt;Module Check.&lt;br /&gt;Select single * from sflight where carrid = sflight-carrid.&lt;br /&gt;If sy-subrc ne 0.&lt;br /&gt;Message e001.&lt;br /&gt;Endif.&lt;br /&gt;&lt;br /&gt;In this case, field sflight-carrid is checked in the table for its existence.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dynamically Calling the Screens&lt;/name&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-7277236944678586353?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Introduction To Module Pool Programming.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/7277236944678586353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/module-pool-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7277236944678586353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7277236944678586353'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/module-pool-programming.html' title='Introduction To Module Pool Programming.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-8765629024236914269</id><published>2011-07-08T19:52:00.002+05:30</published><updated>2011-12-01T11:14:17.965+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='luw abap'/><category scheme='http://www.blogger.com/atom/ns#' term='logical unit of work sap'/><title type='text'>Logical Unit of Work (LUW) - SAP ABAP.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The R/3 system is multi user system and many users access the same information at the same time, which is mainly DATA. Consider the case where one user is modifying a record, and second user is trying to delete the same record. If the second user is successful in deleting the record then the first user will face problem for modifying the record that is already deleted.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt; The avoid such situation, R/3 system has provided Logical Unit of Work, which is defined as a locking mechanism to protect transaction integrity. &lt;/b&gt;Of course, there are other measures, which ensures data integrity like check table i.e. foreign key relationship. Within SAP system there are three types of transaction and may be distinguished as:&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Database transaction known as LUW.&lt;/b&gt;  It can be defined as a period in which operation requested must be performed as a unit, i.e. all or nothing operation.&lt;b&gt;  At the end of LUW, either of the database changes are committed or rolled back.&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;• &lt;b&gt;Update transaction or SAP LUW. &lt;/b&gt; One &lt;b&gt;SAP LUW can have several databases LUW&lt;/b&gt;. So a set of a database is either committed or rolled back. The special ABAP/4 command COMMIT WORK, marks the end of a SAP LUW.&lt;br /&gt;&lt;br /&gt;• ABAP/4 transaction. Is made up of a set of related task combined under one transaction code. ABAP/4 transactions are for programming environment, in which &lt;b&gt;ABAP/4 transaction functions like one complete object containing screens, menus and transaction codes.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;R/3 system &lt;b&gt;has provided in built locking mechanism, which defines the Logical Unit of Work. &lt;/b&gt;Also user can set his own locking mechanism. The &lt;b&gt;LUW starts when a lock entry in the system table is created, and it ends when the lock is released.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;To provide the user the facility to communicate with the table in order to modify or delete or insert data, R/3 has provided tool called SCREEN PAINTER. This tool allows you to design screen, process screen through program and update the database table.  SAP has provided one and only one way to update the database table, i.e. transaction.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Though you can update database table by using open SQL statement through program, SAP usually doesn’t recommend this kind of updating.  Many standard transactions are available to update standard table but if the need arises, the developer should be able to develop new transaction, which allows the updating of database tables. This can be achieved by using various components of screen painter.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-8765629024236914269?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/8765629024236914269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/logical-unit-of-work-luw-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8765629024236914269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8765629024236914269'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/logical-unit-of-work-luw-in-sap-abap.html' title='Logical Unit of Work (LUW) - SAP ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-8157516022159358038</id><published>2011-07-08T19:50:00.001+05:30</published><updated>2011-07-27T19:37:29.527+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='transaction in abap has two steps'/><category scheme='http://www.blogger.com/atom/ns#' term='transactions abap'/><category scheme='http://www.blogger.com/atom/ns#' term='se93 tcode'/><title type='text'>Introduction To Transaction(T-Codes / SE93) In SAP ABAP.</title><content type='html'>Transaction, in R/3 system is an operation that lets the user make necessary changes to the database. The entire R/3 system is nothing but set of business transaction. The data transfer from old system to SAP R/3 database, or modifying data, or deleting data, which is not required, is done through transaction.&lt;br /&gt;&lt;br /&gt;For SAP system, Transaction is nothing but sequence of steps called as dialog steps and for user it is sequence of screens that appears one after the other depending upon the option he selects. The special transaction monitor called the SAP dispatcher handles the sequence of steps that takes place in any transaction. The main task of transaction is to update database table. The database table is not updated until a transaction is completed. All changes can be rolled back if the transaction has not finished.&lt;br /&gt;&lt;br /&gt;The transaction contains two steps which are as following:&lt;br /&gt;&lt;br /&gt;• Interactive phase: In this step, user enters the data, which needs to be inserted or deleted or modified on to the screen. There can be single screen or multiple screens depending upon the transaction. So this step can consist of single step or multiple steps.  In this phase you prepare database record.&lt;br /&gt;&lt;br /&gt;• Update phase: This phase processes the database record and updates the database table. Actual updating of database table takes place in this phase.&lt;br /&gt;&lt;br /&gt;All the transactions are associated with transaction code. And all these codes are stored in a table TSTC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-8157516022159358038?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Introduction To Transaction(T-Codes / SE93) In SAP ABAP.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/8157516022159358038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/introduction-to-transaction-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8157516022159358038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8157516022159358038'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/introduction-to-transaction-in-sap-abap.html' title='Introduction To Transaction(T-Codes / SE93) In SAP ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-2053811418782481087</id><published>2011-07-08T19:48:00.004+05:30</published><updated>2011-07-27T19:40:39.565+05:30</updated><title type='text'>Important System Fields For Reports - ABAP.</title><content type='html'>Sy-linct - Gives total line numbers for a page.&lt;br /&gt;Sy-linno - Gives current line number on the list&lt;br /&gt;Sy-lsind - Index of the lists created in interactive report&lt;br /&gt;Sy-listi - Index of the list from where event was triggered, usually previous list&lt;br /&gt;Sy-lilli - Line number of a list from where event was triggered&lt;br /&gt;Sy-lisel - Contents of a line from where event was triggered&lt;br /&gt;Sy-ucomm - Holds the function code of clicked menu item or function key&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-2053811418782481087?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Important System Fields For Reports - ABAP.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/2053811418782481087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/important-system-fields-for-reports-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2053811418782481087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2053811418782481087'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/important-system-fields-for-reports-sap.html' title='Important System Fields For Reports - ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-8311299395636692173</id><published>2011-07-08T19:48:00.003+05:30</published><updated>2011-07-27T19:39:51.087+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='abap sample exercise questions'/><category scheme='http://www.blogger.com/atom/ns#' term='sample questions on internal tables'/><title type='text'>ABAP Sample Exercise - 1.</title><content type='html'>EXERCISES&lt;br /&gt;&lt;br /&gt;INTERNAL TABLES and REPORTS&lt;br /&gt;&lt;br /&gt;1 Create an internal table taking all the fields from BKPF and display fields Company code, Document number, Document type and date of document.&lt;br /&gt;&lt;br /&gt;2 Create an internal table taking fields’ Company code, Document number, Account type and Tax code from table BSEG and display the same with column headings.&lt;br /&gt;&lt;br /&gt;3 Create an internal table with following fields:&lt;br /&gt;Sales Document and Material from table VBAP.&lt;br /&gt;Date, Name of the user and sales document type from table VBAK and&lt;br /&gt;Price group and customer group from table VBKD.&lt;br /&gt;Sort the table according to Material number and display the contents.&lt;br /&gt;&lt;br /&gt;4 Create an internal table called T_BSIS having a similar structure as table BSIS.  Explore all possible methods to create the internal table with header line / without header line.  (use data types, data … begin of ….end of, data ….  data …. Include structure … etc.)&lt;br /&gt;Also create a field string F_BSIS.  Populate the internal code and display contents of BSIS.  Sort the table according to company code and display contents.&lt;br /&gt;&lt;br /&gt;5 Determine for each material type (MTART) the 5 table entries with the highest gross weight (as a ranked list).&lt;br /&gt;To do this, read the table MARA and store the material type (MTART), material number (MATNR), unit of measure (MEINS) and gross weight (BRGEW) into an internal table.&lt;br /&gt;Allow the user to specify the Material type as a parameter on the selection screen.&lt;br /&gt;&lt;br /&gt;6 Create a list of the maximum number of available seats for each carrier. To do this, read the table SFLIGHT and store the airline carrier id (CARRID) and maximum number of seats (SEATSMAX) in an internal table.  Determine the total number of seats for each airline carrier when filing the int’ table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;7 Read the table SFLIGHT into an internal table and then output the internal table with the fields CARRID, FLDATE and PRICE.&lt;br /&gt;Delete all the internal table entries where the airline carrier (CARRID) is not equal to LH.  Read the internal table with entry with the key CARRID = LH and CONNID = 0400, multiply the price by 3 and write the modified entry back to the internal table.  Then Output the internal table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8 Read table TABNA into internal table and output the fields Country, Id, Name1, and Sales. Sort the table with Country.&lt;br /&gt;Delete all internal table lines with sales lower than 50,000.&lt;br /&gt;Read internal table with key ‘GB’ and ‘00000003’ and multiply the sales by 3 and change table entry.&lt;br /&gt;Insert any one record of your choice.&lt;br /&gt;Find out how many lines are there in the internal table.&lt;br /&gt;Remove all the contents of the table.&lt;br /&gt;De-allocate the memory associated with table.&lt;br /&gt;&lt;br /&gt;9 Use tables LFA1, LFB1 and LFM1.&lt;br /&gt;Define an internal table with the following:&lt;br /&gt;Lifnr like Lfa1-lifnr,&lt;br /&gt;Bukrs like Lfb1-bukrs,&lt;br /&gt;Ekorg like Lfm1-ekorg.&lt;br /&gt;Add data from these table into the internal tables.&lt;br /&gt;Sort the internal table Lifnr.&lt;br /&gt;Read the internal table with Lifnr = ‘A5’ and change name to trainee.&lt;br /&gt;Put back the record into the table.&lt;br /&gt;Delete first three records of internal table.&lt;br /&gt;Clear header for internal table each time you access a record.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;10 Create a report, which will give the existing stock for a material.  The report should have subtotal of the stock for each storage location and Grand total of the stock at the end of the plant.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Plant data should start at new page.&lt;br /&gt;Input: Selection screen which will allow one to select a range of materials.&lt;br /&gt;Materials:&lt;br /&gt;Output Report format as follows:&lt;br /&gt;&lt;br /&gt;Plant Storage location Material number Description Stock&lt;br /&gt;(unrestricted)&lt;br /&gt;  &lt;br /&gt;  &lt;br /&gt; Grand total  * * * * * *&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tables and fields:&lt;br /&gt;Material Number MARA-MATNR&lt;br /&gt;Description MAKT-MAKTX&lt;br /&gt;Plant  MARC-WERKS&lt;br /&gt;Storage location MARD-LGORT&lt;br /&gt;Stock   MARD-LABST&lt;br /&gt;Use Standard Formatting colors.&lt;br /&gt;Exception handling:&lt;br /&gt;Error message “ Material not found “ – if Material not present.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;11 Generate a report to list the following details from the tables LFA1 &amp;amp; LFB1 vendor no., vendor name, city, state, telephone no., fax no., company code and terms of payment.  User shall have options to select the vendor number range for which the report is generated.&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;Report title: Vendor Master Listing 2&lt;br /&gt;Vendor Name: _____________                     Vendor no. : _____________&lt;br /&gt;Address: __________________&lt;br /&gt;Telephone no. _______________                    Fax no  : ______________&lt;br /&gt;Company code                        Terms of payments&lt;br /&gt;_____________                      _________________&lt;br /&gt;&lt;br /&gt;All text used in the report shall be generated using text elements only.&lt;br /&gt;The output list shall have a footer showing page no., date and Intelligroup’(left corner)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;12 Generate a report for displaying material description, plant &amp;amp; storage data.&lt;br /&gt;Input: Material number (MARA-MATNR)&lt;br /&gt;Data to be displayed for the following three materials only.&lt;br /&gt;   1. BP770M15&lt;br /&gt;   2. FP56790031&lt;br /&gt;   3. FP28652011&lt;br /&gt;&lt;br /&gt;Output format:&lt;br /&gt;11/11/1998   Report to analyze material stocks&lt;br /&gt;Material No.                        Description&lt;br /&gt;FP96412101                       Meditech        Patterned       Weld Rod&lt;br /&gt;                                           Oatmeal 60’&lt;br /&gt;Plant                        Storage Loc.              Unrestricted stock&lt;br /&gt;xxxx                          xxxxxxxxxxx              xxxxxxxxxxxxxxx&lt;br /&gt;&lt;br /&gt;All texts are to be generated using Text Elements only.&lt;br /&gt;Use tables: MARA, MAKT, MARC and MARD.&lt;br /&gt;&lt;br /&gt;SUBROUTINES&lt;br /&gt;&lt;br /&gt;1. Read a number between 0 and 100 and another digit between 0 and 9. Write a subroutine that will calculate the sum of all numbers (below the limit) that end with the digit. The parameters to be passed are limit and digit both by value and sum by reference.&lt;br /&gt;&lt;br /&gt;Ex.  If limit = 67 and digit = 4 then sum should be the sum of 4,14,24,34, ..64.&lt;br /&gt;&lt;br /&gt;2. Write a subroutine CENTRE-STRING, which will output a string on the center of a line.  The subroutine will accept parameters STRING pass by value.&lt;br /&gt;&lt;br /&gt;3. Write a program extensively using subroutines to print the equivalent number in words.&lt;br /&gt;For example: if the number is 66, the output should be SIXTY SIX.&lt;br /&gt;Limit the number range from 0 – 99.&lt;br /&gt;Accept the input number as a parameter.&lt;br /&gt;&lt;br /&gt;4. Accept a date from the user.&lt;br /&gt;Write a date as dd-mm-yyyy where mm is month written as JAN/FEB/Mar…etc.&lt;br /&gt;Make use of subroutines.&lt;br /&gt;&lt;br /&gt;5 For each flight connection, calculate the sales for all flights of an airline carrier.  Use internal table for calculating the sales. Use a subroutine for the output by passing the internal table as the paramete&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-8311299395636692173?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='ABAP Sample Exercise - 1.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/8311299395636692173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/abap-sample-programs-exercises.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8311299395636692173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8311299395636692173'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/abap-sample-programs-exercises.html' title='ABAP Sample Exercise - 1.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6227042938579327328</id><published>2011-07-08T19:47:00.001+05:30</published><updated>2011-07-27T19:42:26.057+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='at user-command sap abap'/><category scheme='http://www.blogger.com/atom/ns#' term='sy-lsind'/><title type='text'>At User-Command Command With Example - ABAP</title><content type='html'>AT USER-COMMAND&lt;br /&gt;&lt;br /&gt;When the user selects the menu item or presses any function key, the event that is triggered is AT USER-COMMAND, and can be handled in the program by writing code for the same. The system variable SY-UCOMM stores the function code for the clicked menu item or for the function key and the same can be checked in the program.  Sample code would look like&lt;br /&gt;&lt;br /&gt;AT USER-COMMAND.&lt;br /&gt;&lt;br /&gt;Case sy-ucomm.&lt;br /&gt;When ‘DISP’.&lt;br /&gt;       Select * from sflight.&lt;br /&gt;       Write sflight-carrid, sflight-connid.&lt;br /&gt;       Endselect.&lt;br /&gt;&lt;br /&gt;When ‘EXIT’.&lt;br /&gt;LEAVE.&lt;br /&gt;&lt;br /&gt;If GUI status, suppose you have set menu bar for two items and the function code is ‘DISP’ and ‘EXIT’ respectively. If the user clicks the menu item ‘DISPLAY’, then function code ‘DISP’ is stored in the sy-ucomm and whatever is written under the when ‘DISP’, gets executed. This is applicable for EXIT as well.&lt;br /&gt;&lt;br /&gt;Sy-lsind for the screen increases when the user clicks the menu item.&lt;br /&gt;&lt;br /&gt;Usually you have combination of all the three navigations in your user interface, i.e., you have to create menu bar, assign function code for the function keys and write code to handle all this in addition to handling double clicking.&lt;br /&gt;&lt;br /&gt;Things to remember while using all the combinations:&lt;br /&gt;&lt;br /&gt;• Sy-lsind increases even if you select menu-item.&lt;br /&gt;&lt;br /&gt;• When the user double clicks on particular line, value of sy-ucomm is ‘PICK.&lt;br /&gt;&lt;br /&gt;• If you set sy-lsind = 2 for your 4th secondary list, when control is transferred to the 2nd secondary list, all the other lists after 2nd are lost or memory allocated to them is lost.&lt;br /&gt;&lt;br /&gt;• Sy-lisel also gives you the value of clicked line but in this case you cannot differentiate between field. To retrieve the exact field, you have to know the field length of each field.&lt;br /&gt;&lt;br /&gt;• If you use statement SY-LSIND = 1.&lt;br /&gt;&lt;br /&gt;The system reacts to a manipulation of SY-LSIND only at the end of an event, directly before displaying the secondary list. So, if within the processing block, you use statements whose INDEX options access the list with the index SY-LSIND, make sure that you manipulate the SY-LSIND field only after processing these statements. The best way is to have it always at the `as the last statement’ of the processing block.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6227042938579327328?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='At User-Command Command With Example - ABAP'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6227042938579327328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/at-user-command-in-report-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6227042938579327328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6227042938579327328'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/at-user-command-in-report-programming.html' title='At User-Command Command With Example - ABAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6247202871012453904</id><published>2011-07-08T19:45:00.001+05:30</published><updated>2011-07-27T19:45:09.057+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='pr-status in abap'/><category scheme='http://www.blogger.com/atom/ns#' term='create a gui status in abap'/><category scheme='http://www.blogger.com/atom/ns#' term='create a prstatus sap'/><category scheme='http://www.blogger.com/atom/ns#' term='tool bars in abap'/><title type='text'>Tool Bars / GUI Status / PR-STATUS - SAP ABAP.</title><content type='html'>An interactive report starts with basic list where condensed information is stored on basic list and detailed information is stored on secondary list. To implement this kind of reporting, you need to provide the user with things like menu, icons, function keys. You also need to write code, which must react, to the user’s action.&lt;br /&gt;&lt;br /&gt;For this, you need to create the interface, which interacts with the user.&lt;br /&gt;&lt;br /&gt;The user interface is independent of the program or list or screen. However both interface and list can be associated by means of GUI status. A GUI status groups together the interface components.&lt;br /&gt;&lt;br /&gt;• Menu bar&lt;br /&gt;• Application tool bar&lt;br /&gt;• Function keys&lt;br /&gt;• Title bar&lt;br /&gt;&lt;br /&gt;The last element of the user interface is independent of the GUI status i.e., titlebar.&lt;br /&gt;&lt;br /&gt;To assign status to your list the statement SET PR-STATUS.&lt;br /&gt;&lt;br /&gt;Some facts about GUI status are:&lt;br /&gt;&lt;br /&gt;• A program can have multiple GUI status and titles for different lists.&lt;br /&gt;• Multiple lists can be assigned to same GUI status.&lt;br /&gt;• Normally both GUI status and title go together.&lt;br /&gt;&lt;br /&gt;Function code&lt;br /&gt;&lt;br /&gt;An important concept, when working with user interface. Function is a four character alphanumeric code, which the system stores in the system variable called SY-UCOMM for each function key, push button, or menu option. Whenever any push button is clicked or menu option is selected, the code attached to that, is stored in SY-UCOMM and can be handled in your program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Menu painter&lt;br /&gt;&lt;br /&gt;Menu painter is the ABAP/4 workbench tool for creating and maintaining user interface.&lt;br /&gt;&lt;br /&gt;Starting Menu Painter&lt;br /&gt;&lt;br /&gt;ABAP/4 development workbench  menu painter&lt;br /&gt;Or&lt;br /&gt;Transaction SE41 in the command field.&lt;br /&gt;Or&lt;br /&gt;Through program SET PF-STATUS &lt;var&gt;&lt;br /&gt;&lt;br /&gt;If you double click on the variable, the system takes you to the menu painter screen.&lt;br /&gt;&lt;br /&gt;Creating Menu bar&lt;br /&gt;&lt;br /&gt;Steps involved are as follows:&lt;br /&gt;&lt;br /&gt;• Enter the name in the first field. It is just a name given to the menu and is not displayed anywhere in the output.&lt;br /&gt;• Enter the name of each menu item. You can create up to six menus (total eight menu items are available, out of which system and help are mandatory).&lt;br /&gt;• Enter name of the menu items and function code.  You can have fifteen menu items under one menu.&lt;br /&gt;&lt;br /&gt;If you leave function blank, the system assumes that this particular menu item will have submenu. You can create the sub menu items under this menu item. User can go up to three levels.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creating Application Tool Bar&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Assign Function Keys&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In Application tool bar you can include icon assigned for function keys.&lt;br /&gt;Procedure:&lt;br /&gt;&lt;br /&gt;• Select function key.&lt;br /&gt;• From the menu, more utilities -  change text type. The system displays a dialog box, click on icon and presses ENTER.&lt;br /&gt;• Select icon from list of icons displayed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creating GUI title&lt;br /&gt;&lt;br /&gt;From your program, you can set title for your list and SET TITLEBAR is used.&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;&lt;br /&gt;SET TITLEBAR &lt;var&gt;.&lt;br /&gt;&lt;br /&gt;Here var can be any three-character name. When developer double clicks on the var, system displays the dialog box in which you enter the title number, the description, and the actual text for title.&lt;br /&gt;&lt;br /&gt;Similar to dictionary objects, the GUI status must be generated to be accessible by program.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AT USER-COMMAND&lt;br /&gt;&lt;br /&gt;When the user selects the menu item or presses any function key, the event that is triggered is AT USER-COMMAND, and can be handled in the program by writing code for the same. The system variable SY-UCOMM stores the function code for the clicked menu item or for the function key and the same can be checked in the program.  Sample code would look like&lt;br /&gt;&lt;br /&gt;AT USER-COMMAND.&lt;br /&gt;&lt;br /&gt;Case sy-ucomm.&lt;br /&gt;When ‘DISP’.&lt;br /&gt;       Select * from sflight.&lt;br /&gt;       Write sflight-carrid, sflight-connid.&lt;br /&gt;       Endselect.&lt;br /&gt;&lt;br /&gt;When ‘EXIT’.&lt;br /&gt;LEAVE.&lt;br /&gt;&lt;br /&gt;If GUI status, suppose you have set menu bar for two items and the function code is ‘DISP’ and ‘EXIT’ respectively. If the user clicks the menu item ‘DISPLAY’, then function code ‘DISP’ is stored in the sy-ucomm and whatever is written under the when ‘DISP’, gets executed. This is applicable for EXIT as well.&lt;br /&gt;&lt;br /&gt;Sy-lsind for the screen increases when the user clicks the menu item.&lt;br /&gt;&lt;br /&gt;Usually you have combination of all the three navigations in your user interface, i.e., you have to create menu bar, assign function code for the function keys and write code to handle all this in addition to handling double clicking.&lt;br /&gt;&lt;br /&gt;Things to remember while using all the combinations:&lt;br /&gt;&lt;br /&gt;• Sy-lsind increases even if you select menu-item.&lt;br /&gt;&lt;br /&gt;• When the user double clicks on particular line, value of sy-ucomm is ‘PICK.&lt;br /&gt;&lt;br /&gt;• If you set sy-lsind = 2 for your 4th secondary list, when control is transferred to the 2nd secondary list, all the other lists after 2nd are lost or memory allocated to them is lost.&lt;br /&gt;&lt;br /&gt;• Sy-lisel also gives you the value of clicked line but in this case you cannot differentiate between field. To retrieve the exact field, you have to know the field length of each field.&lt;br /&gt;&lt;br /&gt;• If you use statement SY-LSIND = 1.&lt;br /&gt;&lt;br /&gt;The system reacts to a manipulation of SY-LSIND only at the end of an event, directly before displaying the secondary list. So, if within the processing block, you use statements whose INDEX options access the list with the index SY-LSIND, make sure that you manipulate the SY-LSIND field only after processing these statements. The best way is to have it always at the `as the last statement’ of the processing block.&lt;/var&gt;&lt;/var&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6247202871012453904?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Tool Bars / GUI Status / PR-STATUS - SAP ABAP.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6247202871012453904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/user-interface-tools-bars-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6247202871012453904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6247202871012453904'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/user-interface-tools-bars-in-sap-abap.html' title='Tool Bars / GUI Status / PR-STATUS - SAP ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-772778731878466591</id><published>2011-07-08T19:44:00.001+05:30</published><updated>2011-07-27T19:54:54.268+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='hide statement'/><category scheme='http://www.blogger.com/atom/ns#' term='hide command syntax'/><category scheme='http://www.blogger.com/atom/ns#' term='hide command stores content of clicked field'/><title type='text'>HIDE Technique In ABAP Interactive Reporting</title><content type='html'>In this case thins are much simpler. Consider the case, wherein you display fields from table sflight in basic list. When user double clicks on any sflight-carrid, you are displaying the detailed information related to that particular carrid on secondary list.  Hence there is a need to store the clicked carrid in some variable.  So that you can access this carrid for next list. ABAP/4 has facility; a statement called HIDE, which provides the above functionality.&lt;br /&gt;&lt;br /&gt;HIDE command temporarily stores the content of clicked field in system area.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;&lt;br /&gt;HIDE &lt;fields&gt;.&lt;br /&gt;&lt;br /&gt;This statement stores the contents of variable &lt;f&gt; in relation to the current output line (system field SY-LINNO) internally in the so-called HIDE area. The variable &lt;f&gt; must not necessarily appear on the current line.&lt;br /&gt;&lt;br /&gt;You have to place the HIDE statement always directly after the output statement i.e., WRITE for the variable &lt;f&gt;.  As when you hide the variable, control is passed to next record.  While writing, WRITE statement takes that record from header and writes it on to the list, but when writing onto your interactive list you will miss out 1st record.&lt;br /&gt;&lt;br /&gt;To hide several variables, use chain HIDE statement.&lt;br /&gt;&lt;br /&gt;As soon as the user selects a line for which you stored HIDE fields, the system fills the variables in the program with the values stored.  A line can be selected.&lt;br /&gt;&lt;br /&gt;• By an interactive event.&lt;br /&gt;&lt;br /&gt;For each interactive event, the HIDE fields of the line on which the cursor is positioned during the event are filled with the stored values.&lt;br /&gt;&lt;br /&gt;The HIDE area is a table, in which the system stores the names and values of all HIDE fields for each list and line number.  As soon as they are needed, the system reads the values from the table.  (Please try to find the name of this table.)&lt;br /&gt;&lt;br /&gt;Sy-lsind indicates the index of the list and can be used to handle all the secondary lists.  When the user double clicks on the line or presses F2, sy-lsind is increased by one and this new sy-lsind can be handled.  For example:&lt;br /&gt;&lt;br /&gt;Write: / ‘this is basic list’.&lt;br /&gt;• Will create a basic list.&lt;br /&gt;If sy-lsind = 1.&lt;br /&gt;Write: / ‘this is first secondary list’.&lt;br /&gt;Elseif sy-lsind = 2.&lt;br /&gt;Write: / ‘This is second secondary list’.&lt;br /&gt;Endif.&lt;br /&gt;&lt;br /&gt;When this code is executed,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;• Basic list is produced.&lt;br /&gt;• When the user clicks on the basic list, sy-lsind becomes one.&lt;br /&gt;• AT LINE-SELECTION event is triggered.&lt;br /&gt;• Whatever is written under IF Sy-lsind = 1, gets executed.&lt;br /&gt;• Secondary list is produced.&lt;br /&gt;• Again if user clicks on this list, sy-lsind becomes two.&lt;br /&gt;• AT LINE-SELECTION gets triggered.&lt;br /&gt;• Code written under IF Sy-lsind = 2, gets executed.&lt;br /&gt;&lt;br /&gt;A sample program for AT LINE-SELECTION.&lt;/f&gt;&lt;/f&gt;&lt;/f&gt;&lt;/fields&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-772778731878466591?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='HIDE Technique In ABAP Interactive Reporting'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/772778731878466591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/hide-technique-in-abap-interactive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/772778731878466591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/772778731878466591'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/hide-technique-in-abap-interactive.html' title='HIDE Technique In ABAP Interactive Reporting'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5696214202854258288</id><published>2011-07-08T19:42:00.001+05:30</published><updated>2011-07-27T19:58:36.469+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='at line-selection event'/><category scheme='http://www.blogger.com/atom/ns#' term='at line selection gets triggered on double click'/><title type='text'>AT LINE-SELECTION Event In Interactive Report Programming</title><content type='html'>Double clicking is the way most users navigate through programs. Double clicking on basic list or any secondary list triggers the event AT LINE-SELECTION. SY-LSIND denotes the index of the list currently created. For BASIC list it is always 0.  Following piece of code shows how to handle the event.&lt;br /&gt;&lt;br /&gt;Start-of-selection.&lt;br /&gt;Write: / ‘this is basic list’.&lt;br /&gt;At line-selection.&lt;br /&gt;Write : ‘this is first secondary list’.&lt;br /&gt;&lt;br /&gt;In this case the output will be displayed on basic list i.e.&lt;br /&gt;This is basic list.&lt;br /&gt;&lt;br /&gt;When user double clicks on this line, the event at line-selection gets triggered and secondary list is produced, i.e.&lt;br /&gt;&lt;br /&gt;This is first secondary list.&lt;br /&gt;&lt;br /&gt;You can go back to basic list by clicking on F3 or back icon on the standard tool bar.  For this list, the value of sy-lsind will be 1.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-5696214202854258288?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='AT LINE-SELECTION Event In Interactive Report Programming'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/5696214202854258288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/at-line-selection-event-in-interactive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5696214202854258288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5696214202854258288'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/at-line-selection-event-in-interactive.html' title='AT LINE-SELECTION Event In Interactive Report Programming'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-606363321321861336</id><published>2011-07-08T19:39:00.001+05:30</published><updated>2011-07-27T20:14:46.352+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='introduction of interactive reports'/><category scheme='http://www.blogger.com/atom/ns#' term='classical report abap'/><title type='text'>Interactive Reports - SAP ABAP.</title><content type='html'>About interactive report&lt;br /&gt;&lt;br /&gt;A classical report consists of one program that creates a single list.  This means that when the list is displayed, it has to contain all the requested data, regardless of the number of details the user want to see.  This procedure may result in extensive and cluttered lists from which the user has to pick the relevant data. The desired selections must be made before hand and the report must provide detailed information.&lt;br /&gt;&lt;br /&gt;This is not possible using the classical report and for this ABAP/4 has provided reporting feature called &lt;b&gt;INTERACTIVE REPORT&lt;/b&gt;. The list produced by classical report doesn’t allow user to interact with the system but the list produced by interactive report allows the user to interact with the system i.e., user can tell the system, that he needs further information. Depending upon what the user tells the system, the action is taken. Interactive reporting thus reduces information retrieval to the data actually required.&lt;br /&gt;&lt;br /&gt;Interactive reporting allows the user to participate in retrieving and presenting data at each level during the session.  Instead of presenting one extensive and detailed list with cluttered information, with interactive reporting you can create a condensed basic list from which the user can call detailed information by positioning the cursor and entering commands.&lt;br /&gt;&lt;br /&gt;Detailed information is presented in secondary lists. A secondary list may either overlay the basic list completely or appear in an additional dialog window on the same screen.  The secondary list can itself be interactive again. The basic list is not deleted when secondary list is created.&lt;br /&gt;&lt;br /&gt;User can interact with the system by:&lt;br /&gt;• Double clicking or pressing F2&lt;br /&gt;• Selecting menu option&lt;br /&gt;&lt;br /&gt;Like classical report, the interactive report is also event driven. Both the action mentioned above trigger events and code is written to handle these events.  The events triggered by this action are as follows:&lt;br /&gt;&lt;br /&gt;• At line-selection&lt;br /&gt;• At user-command&lt;br /&gt;&lt;br /&gt;• Top-of-Page During Line-Selection for Secondary Page Header info&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Interactive report consists of one BASIC list and 20 secondary list. Basic list is produced by &lt;b&gt;START-OF-SELECTION&lt;/b&gt; event. When the user double clicks on the basic list or chooses the menu option, the secondary list is produced. All the events associated with classical report except end-of-page are applicable only to basic list.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-606363321321861336?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Interactive Reports - SAP ABAP.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/606363321321861336/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/interactive-reports-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/606363321321861336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/606363321321861336'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/interactive-reports-in-sap-abap.html' title='Interactive Reports - SAP ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1028813348367252486</id><published>2011-07-08T19:37:00.004+05:30</published><updated>2011-07-27T20:17:57.104+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='variants abap'/><category scheme='http://www.blogger.com/atom/ns#' term='create variant abap'/><title type='text'>Using Variants With Selection Criteria In Report Programming.</title><content type='html'>In many cases you need report to execute report at regular interval for certain fixed values of selection criteria. That means each times you execute the report you need to enter its values again and again. ABAP/4 provides the facility by which you can define the values for selection screen and store it. Using VARIANTS can do this. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It can be defined as group of values used for selection criteria while executing report.  For a particular report, you create a variant which means variant created for particular report cannot be used for another report. The group of values for the selection criteria is saved and assigned a variant name.  So every time you call a report, you need not specify the values for selection criteria but instead call the variant thus avoiding extra typing. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;User can have many variants for a single report.  Each of them can be used as different type of information. For example, if a manager wants to see how an employee in personnel department or admin department has performed. He need not enter the department, one has to just execute the report with variant. In case he doesn’t know about the variant, which is available, he can display list of variants attached to the report and values assigned to each variant.&lt;br /&gt;&lt;br /&gt;Creating variant&lt;br /&gt;&lt;br /&gt;• Execute the report program. The selection screen is displayed.&lt;br /&gt;• Enter the values for selection screen and click on saves.&lt;br /&gt;- System displays the variant screen&lt;br /&gt;• Enter the variant name and description for it.&lt;br /&gt;• Save it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Usually the variants are useful when you need to execute the report in background, which will be discussed in background processing.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1028813348367252486?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Using Variants With Selection Criteria In Report Programming.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1028813348367252486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/using-variants-with-selection-criteria_08.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1028813348367252486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1028813348367252486'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/using-variants-with-selection-criteria_08.html' title='Using Variants With Selection Criteria In Report Programming.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-570184424474574319</id><published>2011-07-08T19:37:00.002+05:30</published><updated>2011-07-08T19:39:27.338+05:30</updated><title type='text'>Using Variants with selection criteria in reports of sap abap</title><content type='html'>In many cases you need report to execute report at regular interval for certain fixed values of selection criteria. That means each times you execute the report you need to enter its values again and again. ABAP/4 provides the facility by which you can define the values for selection screen and store it. Using VARIANTS can do this. It can be defined as group of values used for selection criteria while executing report.  For a particular report, you create a variant which means variant created for particular report cannot be used for another report. The group of values for the selection criteria is saved and assigned a variant name.  So every time you call a report, you need not specify the values for selection criteria but instead call the variant thus avoiding extra typing. User can have many variants for a single report.  Each of them can be used as different type of information. For example, if a manager wants to see how an employee in personnel department or admin department has performed. He need not enter the department, one has to just execute the report with variant. In case he doesn’t know about the variant, which is available, he can display list of variants attached to the report and values assigned to each variant.&lt;br /&gt;&lt;br /&gt;Creating variant&lt;br /&gt;&lt;br /&gt;• Execute the report program. The selection screen is displayed.&lt;br /&gt;• Enter the values for selection screen and click on saves.&lt;br /&gt;- System displays the variant screen&lt;br /&gt;• Enter the variant name and description for it.&lt;br /&gt;• Save it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Usually the variants are useful when you need to execute the report in background, which will be discussed in background processing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-570184424474574319?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/570184424474574319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/using-variants-with-selection-criteria.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/570184424474574319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/570184424474574319'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/using-variants-with-selection-criteria.html' title='Using Variants with selection criteria in reports of sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6920569857550387755</id><published>2011-07-08T19:37:00.001+05:30</published><updated>2011-07-08T19:37:53.013+05:30</updated><title type='text'>END-OF-PAGE event in reports of sap abap</title><content type='html'>This event is triggered at the end of page.&lt;br /&gt;&lt;br /&gt;End-of-page.&lt;br /&gt;Write : / ‘page number’, sy-pagno.&lt;br /&gt;&lt;br /&gt;In this case page number will be written on every page.&lt;br /&gt;&lt;br /&gt;Conditional triggering of EOP&lt;br /&gt;&lt;br /&gt;Consider the following case.&lt;br /&gt;&lt;br /&gt;REPORT ZDEMO1 line-count 15(3).&lt;br /&gt;Top-of-page.&lt;br /&gt;Write: ‘this line is written by top-of-page event’.&lt;br /&gt;Start-of-selection.&lt;br /&gt;Write: ‘this line is written by start-of-selection event’.&lt;br /&gt;End-of-page.&lt;br /&gt;Write : ‘this line is written by end-of-page event’.&lt;br /&gt;&lt;br /&gt;In this case EOP will never be triggered, as end of page is never reached. The total Line-count defined for page = 15 in which 3 lines are for footer area. The output of the above code will be &lt;br /&gt;&lt;br /&gt;This line is written by top of page event.&lt;br /&gt;This line is written by start of selection event.&lt;br /&gt;&lt;br /&gt;In output screen, only two lines are written and cursor remains still on 3rd line, the end-of-page event is not triggered. To trigger end of page event, cursor should reach at the last position, in this case on 11th line.&lt;br /&gt;&lt;br /&gt;Such cases are quite common, and could be overcome by conditional triggering of end of page.&lt;br /&gt;&lt;br /&gt;Sy-linct is the system variable, which gives total line count of a list.&lt;br /&gt;Sy-linno is the system variable, which gives the current line number where the cursor is placed on the list.&lt;br /&gt;&lt;br /&gt;Consider the following case:&lt;br /&gt;&lt;br /&gt;Report zdemo1 line count 20(1).&lt;br /&gt;Start-of-selection.&lt;br /&gt;Data: m type i.&lt;br /&gt;Write: / ‘this is first line’.&lt;br /&gt;Do 5 times.&lt;br /&gt;Write: / ‘the number is’, sy-index.&lt;br /&gt;Enddo.&lt;br /&gt;M = sy-linct, sy-linno – 1.&lt;br /&gt;Skip x.&lt;br /&gt;End-of-page.&lt;br /&gt;Write: / ‘page end’.&lt;br /&gt;&lt;br /&gt;The output of above example is as follows :&lt;br /&gt;This is first line.&lt;br /&gt;The number is 1&lt;br /&gt;The number is 2&lt;br /&gt;The number is 3&lt;br /&gt;The number is 4&lt;br /&gt;The number is 5&lt;br /&gt;&lt;br /&gt;After skipping 10 lines&lt;br /&gt;Page end&lt;br /&gt;&lt;br /&gt;In this case, with all write statement, you don’t reach to the end of page. After all write statement, m is calculated in this case:&lt;br /&gt;&lt;br /&gt;M = 20 – 8 – 1, So m is 12. And 11 lines are skipped after write statement and end of page is reached. (In this case you have 6 write statement so 6 lines + 1 line for page number and 1 horizontal line which is displayed for any list.  So cursor is on 8th line and is subtracted from total line count i.e, 20.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6920569857550387755?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6920569857550387755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/end-of-page-event-in-reports-of-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6920569857550387755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6920569857550387755'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/end-of-page-event-in-reports-of-sap.html' title='END-OF-PAGE event in reports of sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4021761007098962288</id><published>2011-07-08T19:35:00.003+05:30</published><updated>2011-07-27T20:18:47.624+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='top-of-page triggered on write statement'/><category scheme='http://www.blogger.com/atom/ns#' term='top of page event abap'/><title type='text'>TOP-OF-PAGE Event - SAP ABAP.</title><content type='html'>This event is triggered with first WRITE statement or whenever new page is triggered.  Advantage of using this event is that, whatever you write under this event, is applicable to all the pages. If you don’t have any write statement before TOP-OF-PAGE or in START-OF-SELECTION, this event is not triggered at all.  For example, if you want the name of company and column headers for all the pages, it can be written in this event.&lt;br /&gt;&lt;br /&gt;TOP-OF-PAGE&lt;br /&gt;Write: / ‘INTELLIGROUP ASIA PVT. LTD.’&lt;br /&gt;Write : / 10 ‘carrid’, 20 ‘connid’, 30 ‘fldate’.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4021761007098962288?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='TOP-OF-PAGE Event - SAP ABAP.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4021761007098962288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/top-of-page-event-in-sap-abap_08.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4021761007098962288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4021761007098962288'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/top-of-page-event-in-sap-abap_08.html' title='TOP-OF-PAGE Event - SAP ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5615442306982612821</id><published>2011-07-08T19:35:00.000+05:30</published><updated>2011-07-08T19:36:34.545+05:30</updated><title type='text'>TOP-OF-PAGE event in sap abap</title><content type='html'>This event is triggered with first WRITE statement or whenever new page is triggered.  Advantage of using this event is that, whatever you write under this event, is applicable to all the pages. If you don’t have any write statement before TOP-OF-PAGE or in START-OF-SELECTION, this event is not triggered at all.  For example, if you want the name of company and column headers for all the pages, it can be written in this event.&lt;br /&gt;&lt;br /&gt;TOP-OF-PAGE&lt;br /&gt;Write: / ‘INTELLIGROUP ASIA PVT. LTD.’&lt;br /&gt;Write : / 10 ‘carrid’, 20 ‘connid’, 30 ‘fldate’.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-5615442306982612821?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/5615442306982612821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/top-of-page-event-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5615442306982612821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5615442306982612821'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/top-of-page-event-in-sap-abap.html' title='TOP-OF-PAGE event in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4774924738346877744</id><published>2011-07-08T19:34:00.001+05:30</published><updated>2011-07-27T20:11:28.139+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='example start-of-selection.'/><category scheme='http://www.blogger.com/atom/ns#' term='start-of-selection introduction'/><title type='text'>START-OF-SELECTION  Event In Report Programming.</title><content type='html'>This is the first event for your list. Once all the events are triggered for selection screen, the data is retrieved from database. Data declaration, select statements are done in this event. Consider the following example:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;START-OF-SELECTION.&lt;/b&gt;&lt;br /&gt;Data:  mtype i.&lt;br /&gt;Tables: sflight.&lt;br /&gt;Select * from sflight where carrid = ‘LH’.&lt;br /&gt;  Write: / sflight-carrid,sflight-connid.&lt;br /&gt;Endselect.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4774924738346877744?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='START-OF-SELECTION  Event In Report Programming.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4774924738346877744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/start-of-selection-event-in-report-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4774924738346877744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4774924738346877744'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/start-of-selection-event-in-report-sap.html' title='START-OF-SELECTION  Event In Report Programming.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6057545944462538253</id><published>2011-07-08T19:33:00.000+05:30</published><updated>2011-07-08T19:34:36.154+05:30</updated><title type='text'>AT SELECTION-SCREEN ON  field event in reports sap abap</title><content type='html'>When you want to check for specific value of a field. For example, carrid should be in the range of ‘LH’ and ‘SQ’. This can be done in this event.  Basically, this event is for checking individual fields. You can have many AT selection-screen events in your program (i.e., for each field specified in the Select-Options).&lt;br /&gt;&lt;br /&gt;Select-Options carrid1 for sflight-carrid.&lt;br /&gt;AT SELECTION-SCREEN.&lt;br /&gt;If carrid1-low ne ‘LH’ and carrid1-high ne ‘SQ’.&lt;br /&gt;   Error message.&lt;br /&gt;Endif.&lt;br /&gt;Here the system will not proceed on entering wrong values.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6057545944462538253?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6057545944462538253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/at-selection-screen-on-field-event-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6057545944462538253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6057545944462538253'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/at-selection-screen-on-field-event-in.html' title='AT SELECTION-SCREEN ON  field event in reports sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-7420979795772412161</id><published>2011-07-08T19:32:00.000+05:30</published><updated>2011-07-08T19:33:46.569+05:30</updated><title type='text'>AT SELECTION-SCREEN event of report in sap abap</title><content type='html'>When user enters the values in the fields of selection screen and clicks on execute button, this event gets triggered. This event is basically for checking the values entered by the user for the fields of the selection screen i.e., data validity checking. This event is for entire selection screen.  For example:&lt;br /&gt;&lt;br /&gt;You are accepting carrid, connid, fldate from user and you don’t want to proceed if user enters no value for carrid and fldate.  Using AT SELECTION-SCREEN can do this.&lt;br /&gt;&lt;br /&gt;Select-options: carrid1 for sflight-carrid,&lt;br /&gt;  Connid1 for sflight-connid,&lt;br /&gt;  F1date1 for sflight-f1date.&lt;br /&gt;&lt;br /&gt;AT SELECTION-SCREEN.&lt;br /&gt;If carrid1-low ne ‘  ’ and fldate1-low = ‘  ’.&lt;br /&gt;    Error message.&lt;br /&gt;Endif.&lt;br /&gt;&lt;br /&gt;In this case, if both the fields are entered blank, then the user gets error message.&lt;br /&gt;Basically, this event is for many fields on selection screen.  Usually, it is for the fields which are logically related.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-7420979795772412161?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/7420979795772412161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/at-selection-screen-event-of-report-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7420979795772412161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7420979795772412161'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/at-selection-screen-event-of-report-in.html' title='AT SELECTION-SCREEN event of report in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-9198785290279440783</id><published>2011-07-08T19:31:00.000+05:30</published><updated>2011-07-08T19:32:43.039+05:30</updated><title type='text'>event INITIALIZATION  in sap abap reports</title><content type='html'>We have already seen how to fill default values for the selection criteria. But in many cases you need to calculate the value and then put it in selection criteria. For example, say, you are accepting date from user and you need to fill in the default value for lower range as sy-datum – 30 days and sy-datum for higher range. In this case you are calculating lower range and then filling the criteria. This can be done in INITIALIZATION event.  Piece of code to do the above task would look like the following:&lt;br /&gt;Tables: Sflight.&lt;br /&gt;Select-options: fldate1 for sflight-fldate.&lt;br /&gt;INITIALIZATION.&lt;br /&gt;Data: date1 like SY-DATUM.&lt;br /&gt;Date1 = sy-datum – 30.&lt;br /&gt;Fldate1-low = date1.&lt;br /&gt;Fldate1-high = sy-datum.&lt;br /&gt;Append fldate1.&lt;br /&gt;* Here appending is required because fldate1 is int’ table&lt;br /&gt;This event is triggered when you execute your program for the first time i.e., before selection screen is displayed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-9198785290279440783?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/9198785290279440783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/event-initialization-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/9198785290279440783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/9198785290279440783'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/event-initialization-in-sap-abap.html' title='event INITIALIZATION  in sap abap reports'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6353435621517760384</id><published>2011-07-08T19:30:00.000+05:30</published><updated>2011-07-08T19:31:43.740+05:30</updated><title type='text'>Events in Classical report in sap abap</title><content type='html'>Events in Classical report&lt;br /&gt;&lt;br /&gt;Events associated with classical report are as follows and each one will be discussed in detail.&lt;br /&gt;&lt;br /&gt;• INITIALIZATION&lt;br /&gt;• AT SELECTION-SCREEN&lt;br /&gt;• AT SELECTION-SCREEN ON &lt;field&gt; &lt;br /&gt;• START-OF-SELECTION&lt;br /&gt;• TOP-OF-PAGE&lt;br /&gt;• END-OF-PAGE&lt;br /&gt;• END-OF-SELECTION&lt;br /&gt;&lt;br /&gt;In this case first three events are associated with selection screen. Rest of the events are associated with your list.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6353435621517760384?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6353435621517760384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/events-in-classical-report-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6353435621517760384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6353435621517760384'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/events-in-classical-report-in-sap-abap.html' title='Events in Classical report in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-2566321434328924323</id><published>2011-07-08T19:29:00.000+05:30</published><updated>2011-07-08T19:30:52.279+05:30</updated><title type='text'>Selection criteria of reports in sap abap</title><content type='html'>System accepts inputs from user through SELECTION CRITERIA.&lt;br /&gt;&lt;br /&gt;Selection criteria are nothing but input fields which allows the user to restrict information given to program for processing further data. If you don’t specify any criteria for selection, your report program produces a long list of data, which might not be needed by the user. Basically, selection criteria are the fields where user enters some value for which he needs information. Through selection criteria user can enter discrete value or ranges. For example, user wants to see all the records of the employees, who have joined between 12th December 1997 and 12th May 1998. This range can be entered in selection criteria. As the user becomes more specific for mentioning the criteria, the list will be smaller and more specific.&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;&lt;br /&gt;SELECT-OPTIONS &lt;field&gt; for &lt;table field&gt;.&lt;br /&gt;&lt;br /&gt;Field is the variable, which you declare for accepting input from the user.&lt;br /&gt;&lt;br /&gt;Table field is reference field.&lt;br /&gt;&lt;br /&gt;SELECT-OPTIONS: fld1 for sflight-fldate,&lt;br /&gt;	 carrid1 for sflight-carrid.&lt;br /&gt;Maximum length of the name Select-Options variable is 8.&lt;br /&gt;When system executes this statement, the selection screen is displayed and is like this.&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;When you enter the desired information and click on execute button, rest of the program is executed, that is retrieval of data from database, which matches this information and the list is displayed.&lt;br /&gt;&lt;br /&gt;Behavior of SELECT-OPTIONS&lt;br /&gt;&lt;br /&gt;When the Select-Options statement is executed the system creates the internal table with the same variable name (in this case it will be carrid1). This table is also called as selection table. The main purpose of selection table is to store selection criteria. The table has four standard fields, which are as follows:&lt;br /&gt;&lt;br /&gt;•	SIGN is a variable, which denotes the system whether the result should be included with those particular criteria. It can contain either I or E. I denotes Inclusion. The criteria are included. &lt;br /&gt;E denotes Exclusion. The criteria are excluded from the result.&lt;br /&gt;&lt;br /&gt;•	LOW the data type of LOW is the same as the field type of the database table, for which you are using selection criteria. This acts as lower limit of the selection.&lt;br /&gt;&lt;br /&gt;•	HIGH the data type of HIGH is the same field type of the database table, for which you are using the selection criteria. This acts as higher limit. If you don’t enter HIGH value then the LOW value defines a single value selection.&lt;br /&gt;&lt;br /&gt;•	OPTION is two-character field, which contains operators like EQ, GT, LT, GE, and LE.&lt;br /&gt;When the user enters both the values i.e., high and low then this field acts as BT (between).  If you don’t enter high value then all other operators can be Applicable.&lt;br /&gt;&lt;br /&gt;For each Select-Options statement system creates internal table.&lt;br /&gt;&lt;br /&gt;Default values for select-options&lt;br /&gt;&lt;br /&gt;If you want to display default values for the selection criteria before your screen is displayed, give default values for the selection table fields i.e., low or high.&lt;br /&gt;&lt;br /&gt;SELECT-OPTIONS: CARRID1 FOR SFLIGHT-CARRID DEFAULT CARRID1-LOW = ‘LH’ AND CARRID1-HIGH = ‘SQ’.&lt;br /&gt;&lt;br /&gt;In this case selection screen is displayed with default values ‘LH’ for lower range and ‘SQ’ for higher range. User can use same values or overwrite these values with new values, whichever he needs.&lt;br /&gt; &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-2566321434328924323?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/2566321434328924323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/selection-criteria-of-reports-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2566321434328924323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2566321434328924323'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/selection-criteria-of-reports-in-sap.html' title='Selection criteria of reports in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6762143027997680803</id><published>2011-07-08T19:27:00.000+05:30</published><updated>2011-07-08T19:29:01.839+05:30</updated><title type='text'>what are reports REPORTS in sap abap</title><content type='html'>About reports&lt;br /&gt;&lt;br /&gt;Reports, in the R/3 system are online programs whose function is to retrieve data from database and display it or print it for the user. An end user often needs some information to look up, depending upon which various management decisions are taken, or to just see business results or simply to continue work. As R/3 is collection of all business applications, it has provided a very powerful feature to satisfy this crucial business need i.e., reports are involved at each and every step of business. This type of extracting, collecting and formatting data that is stored in database is done by REPORT program.&lt;br /&gt;&lt;br /&gt;The program that is written to retrieve and display data is REPORT program and the data that is displayed on the screen when you execute the program is called as LIST (output of the report).&lt;br /&gt;&lt;br /&gt;SAP has provided thousands of preprogrammed reports. User just selects a menu option or just one click here and there, displays the report. Often user is unaware that by clicking one button he is executing a complicated report program, which is actually accessing database and then displaying the result. An end user might not feel the necessity of writing a REPORT program but a developer has to develop a report manually using the functions and facilities provided by the R/3 system. How to develop a report using these facilities, is the purpose of this section.&lt;br /&gt;&lt;br /&gt;When you display data, you need to display the data, user needs. For example, user wants to see the all the employee, who has joined after 12th December 1997.  In this case user has to pass this information, to the system, that he needs only those employee records where joining data is greater than 12th December 1997. For user, it is passing information to the system but for the system it is input from the user. System takes input from the user before it retrieves the data from the database. This is very common requirement of any report as the need of any business is to display data, which is required by user.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6762143027997680803?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6762143027997680803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/what-are-reports-reports-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6762143027997680803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6762143027997680803'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/what-are-reports-reports-in-sap-abap.html' title='what are reports REPORTS in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1562851228617459583</id><published>2011-07-08T19:26:00.001+05:30</published><updated>2011-08-03T21:32:18.448+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='function library'/><category scheme='http://www.blogger.com/atom/ns#' term='function module sap'/><category scheme='http://www.blogger.com/atom/ns#' term='function module made easy'/><category scheme='http://www.blogger.com/atom/ns#' term='abap fm'/><category scheme='http://www.blogger.com/atom/ns#' term='test a function module'/><category scheme='http://www.blogger.com/atom/ns#' term='function module'/><title type='text'>SAP ABAP - Function Modules.</title><content type='html'>&lt;b&gt;Function modules &lt;/b&gt;are special external subroutines stored in a central library.  The R/3 system provides numerous predefined function modules that you can call from your ABAP/4 programs, and plus you can create your own function modules.&lt;br /&gt;&lt;br /&gt;The &lt;b&gt;main difference between a function module and a normal ABAP/4 subroutine&lt;/b&gt; is as follows:&lt;br /&gt;Function is stored in central library and has global presence while subroutines are confined to a particular program.  Subroutine cannot return values while functions can return values. Unlike functions, subroutine cannot handle exceptions. And last but not least, the difference in the way the parameters are passed to functions.&lt;br /&gt;&lt;br /&gt;Declaring data as common parts is not possible for function modules.  The calling program and the called function module have separate work in ABAP/4 Dictionary tables.&lt;br /&gt;You use the ABAP/4 Workbench to call, create, and maintain function modules.&lt;br /&gt;&lt;br /&gt;You can combine several function modules to form a function group in the function library.  Since you can define global data that can be accessed from all function modules of one function group, it is reasonable to include function modules that operate with the same data, for example internal table for sales module can be grouped, in one function group.&lt;br /&gt;&lt;br /&gt;Via the ABAP/4 Development Workbench screen, choose Development  Function Library or select Function Library in the application toolbar or use se37 transaction code.&lt;br /&gt;&lt;br /&gt;The Function Library:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The function library maintains Function Modules, the screen displays following components:&lt;br /&gt;All function names should start with Z_ or Y_ followed by any name.&lt;br /&gt;&lt;br /&gt;• Source code&lt;br /&gt;• Documentation&lt;br /&gt;• Administrative info&lt;br /&gt;• Import-export parameters&lt;br /&gt;• Table parameters and exception interface&lt;br /&gt;• Global data&lt;br /&gt;• Main program&lt;br /&gt;(Not necessarily in the same order)&lt;br /&gt;&lt;br /&gt;Documentation&lt;br /&gt;&lt;br /&gt;The documentation describes the purpose of the function module, lists the parameters for passing data to and from the module, and the exceptions.  The parameters of the parameter type I are import parameters, which are used to pass data to the function module.  Parameters of the parameter type E are export parameters, which are used to pass data from, the function module to the calling program.  Exceptions describe error scenarios, which can occur in function modules.&lt;br /&gt;&lt;br /&gt;Import-export parameters&lt;br /&gt;&lt;br /&gt;Import parameters correspond to the formal input parameter of subroutines.  They pass data from the calling program to the function module.&lt;br /&gt;&lt;br /&gt;Export parameters correspond to the formal output parameters of subroutines.  They pass data from the function module back to the calling program (which his not possible in subroutines)&lt;br /&gt;&lt;br /&gt;Table parameters&lt;br /&gt;&lt;br /&gt;Table parameters are internal tables.  Internal tables are treated like changing parameters and are always passed by reference.&lt;br /&gt;&lt;br /&gt;Exceptions&lt;br /&gt;&lt;br /&gt;Exceptions are used to handle error scenarios, which can occur in function modules.  The function module checks for any type of error and raise exception and returns SY-SUBRC to the calling program.  Main program checks this SY-SUBRC for any errors that have occurred and then takes action accordingly.&lt;br /&gt;&lt;br /&gt;Source Code&lt;br /&gt;&lt;br /&gt;The ABAP/4 Edit screen displays the ABAP/4 source code of the function module.  You can work with the source code in the same way as you would work with normal ABAP/4 programs.&lt;br /&gt;&lt;br /&gt;Import parameters, changing parameters, and table parameters can be Optional.  This means that you can omit the corresponding actual parameter when you call the function in the calling program.  If the parameter is optional and the actual parameter is not specified, you can specify a default value for use in the function module.  Export parameters are always optional.&lt;br /&gt;&lt;br /&gt;As with subroutines, you can specify the data types of the formal parameters in the field Reference type.  In the field Ref. structure, you can specify ABAP/4 Dictionary reference structures or fields.  Then, the system checks the current parameter against the structure or field at runtime.&lt;br /&gt;&lt;br /&gt;Testing of function module&lt;br /&gt;&lt;br /&gt;You can test a function module without calling it from an ABAP/4 program via the Function Library: Maintain Function Modules screen by choosing Single test.  You can assign values to the import parameters on the Test Function Modules screen.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Calling Function Modules&lt;br /&gt;&lt;br /&gt;To call a function module from an ABAP/4 program, use the CALL statement as follows:&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;&lt;br /&gt;CALL FUNCTION &lt;module&gt;&lt;br /&gt; [EXPORTING &lt;br /&gt;f1   = s1&lt;br /&gt;f2  = s2&lt;br /&gt;fn  = sn (parameters which you pass from program to function are&lt;br /&gt;s1, s2, sn)]&lt;br /&gt; [IMPORTING&lt;br /&gt;f1   = r1&lt;br /&gt;f2  = r2&lt;br /&gt;fn  = rn (parameters which program receives you pass from function in&lt;br /&gt;r1, r2, rn)]&lt;br /&gt; [TABLES  f1 = a1 … fn = an]&lt;br /&gt;EXCEPTIONS notvalid = 1&lt;br /&gt;not correct = 2&lt;br /&gt;OTHERS = 5].&lt;br /&gt;&lt;br /&gt;You can specify the name of the function module &lt;module&gt; as a literal or as a variable.  Parameters are passed to and from the function module by exactly assigning the actual parameters to the formal parameters in the lists after the EXPORTING, IMPORTING, TABLES.&lt;br /&gt;&lt;br /&gt;If in your function if you have raised exception not valid then this exception can be handled in main program.  Functions return different sy-subrc for different exceptions.&lt;/module&gt;&lt;/module&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1562851228617459583?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='SAP ABAP - Function Modules.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1562851228617459583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/functions-function-modules-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1562851228617459583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1562851228617459583'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/functions-function-modules-in-sap-abap.html' title='SAP ABAP - Function Modules.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3105424201407239049</id><published>2011-07-08T19:25:00.004+05:30</published><updated>2011-08-19T22:48:46.980+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='importance of subroutine'/><category scheme='http://www.blogger.com/atom/ns#' term='define subroutine'/><category scheme='http://www.blogger.com/atom/ns#' term='subroutine in abap'/><title type='text'>Subroutines In SAP ABAP.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The process of breaking down a large program into smaller modules is supported by ABAP/4 through subroutine, also called forms.&lt;br /&gt;&lt;br /&gt;Subroutines are programs modules, which can be called from ABAP/4 programs.  Frequently used parts of program can be put into subroutines and these subroutines can be called explicitly from the program. You use subroutines mainly to modularize and structure your program.&lt;br /&gt;&lt;br /&gt;Defining Subroutines&lt;br /&gt;&lt;br /&gt;A subroutine is block of code introduced by FORM and concluded by ENDFORM.  Following syntax is used to define a form or subroutine:&lt;br /&gt;&lt;br /&gt;FORM &lt;name&gt; &lt;parameters&gt;&lt;br /&gt;. .  …..&lt;br /&gt;…&lt;br /&gt;ENDFORM.&lt;br /&gt;&lt;br /&gt;Here parameters is optional. You can have plain subroutine without the parameters for example.&lt;br /&gt;&lt;br /&gt;FORM SUB1.&lt;br /&gt;… .  .&lt;br /&gt;… .&lt;br /&gt;ENDFORM.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Calling Subroutines&lt;br /&gt;&lt;br /&gt;You can call subroutines from program by following statement:&lt;br /&gt;&lt;br /&gt;PERFORM &lt;subr&gt; [&lt;para&gt;].&lt;br /&gt;&lt;br /&gt;Parameters are optional. i.e., you can call subroutine without passing any parameter&lt;br /&gt;&lt;br /&gt;Perform SUB1.&lt;br /&gt;&lt;br /&gt;Passing Data to Subroutines&lt;br /&gt;&lt;br /&gt;When you work with global data in subroutines, you can put a copy of the global data on a local data stack and use it to avoid accidental loss of data (In this way you protect global data.)&lt;br /&gt;&lt;br /&gt;You can pass data between calling program and subroutines by using parameters.&lt;br /&gt;&lt;br /&gt;• Parameters, which are defined during definition of a subroutine with FORM statement are called ‘formal parameter’.&lt;br /&gt;• Parameters which are specified during the call of a subroutine with the PERFORM statement are called ‘actual parameter’.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Parameters are passed to the FORM either:&lt;br /&gt;&lt;br /&gt;• By value&lt;br /&gt;• By Reference&lt;br /&gt;• By value and return.&lt;br /&gt;&lt;br /&gt;By Value&lt;br /&gt;&lt;br /&gt;Data : a type I value 20.&lt;br /&gt;Perform sub1 using a.&lt;br /&gt;Write a.&lt;br /&gt;FORM sub1 using value (p_a)&lt;br /&gt;P – a = 15&lt;br /&gt;ENDORM.&lt;br /&gt;In this case during subroutine call, the formal parameter are created as copies of actual parameter.&lt;br /&gt;The formal parameters have the memory of their own. Changes made to formal parameter have no effect on the actual parameter.&lt;br /&gt;&lt;br /&gt;Like in this case, though value of p_a is changed to 15, it has no effect on ‘a’ which remains as 20.&lt;br /&gt;&lt;br /&gt;By Reference&lt;br /&gt;&lt;br /&gt;Data: a type I value 20.&lt;br /&gt;Perform sub1 using a.&lt;br /&gt;Write a.&lt;br /&gt;FORM sub1 using value (p_a)&lt;br /&gt;P – a = 15.&lt;br /&gt;ENDORM.&lt;br /&gt;By default system calls all the forms by reference.&lt;br /&gt;&lt;br /&gt;In this case, only the address of the actual parameter is transferred to the formal parameters.  The formal parameter has no memory of its own.  If you change the formal parameter, change is visible in actual parameter also.&lt;br /&gt;&lt;br /&gt;By Value and Return&lt;br /&gt;&lt;br /&gt;Data : a type I value 20.&lt;br /&gt;Perform sub1 changing a.&lt;br /&gt;FORM sub1 changing value (p_a)&lt;br /&gt;P – a = 15.&lt;br /&gt;ENDORM.&lt;br /&gt;In this case if you change formal parameter, then the value of actual parameter is changed when the control is transferred back to the main program.&lt;br /&gt;&lt;br /&gt;Assuming A is declared by DATA statement and has value 20 and subroutine SUB1 is called by passing A.&lt;br /&gt;&lt;br /&gt;CALLING FORM VALUE OF A IN PROGRAM VALUE OF A IN FORM&lt;br /&gt;(p_a = 15)&lt;br /&gt;BEFORE CALLING FORM A = 20&lt;br /&gt;A = 20 P_A = 100&lt;br /&gt;BY VALUE&lt;br /&gt;(USING) &lt;br /&gt;&lt;br /&gt;AFTER RETURNING FROM FORM A = 20  (changing value of p_a)&lt;br /&gt;A = 20.&lt;br /&gt;BEFORE CALLING FORM A = 20&lt;br /&gt;A = 20 P_A = 100&lt;br /&gt;BY REFERENCE&lt;br /&gt;(USING) AFTER RETURNING FROM FORM A = 20 (changing value of p_a)&lt;br /&gt;A = 100&lt;br /&gt;BE VALUE AND RETURN BEFORE CALLING FORM A = 20&lt;br /&gt;A = 20 P_A = 100&lt;br /&gt;(CHANGING) AFTER RETURNING FROM FORM A = 100 (changing value of p_a)&lt;br /&gt;A = 100.&lt;br /&gt;&lt;br /&gt;Passing Table to a Subroutine&lt;br /&gt;&lt;br /&gt;You can pass internal tables as parameters USING or CHANGING in the FORM and PERFORM statements.  If you want to access the components of the internal table, you must specify the type of the corresponding formal parameter.&lt;br /&gt;&lt;br /&gt;You also must distinguish between internal tables with or without header lines. For internal tables with header lies, you must specify the table body by using square brackets [ ], after the table name to distinguish it from the header line.&lt;br /&gt;&lt;br /&gt;With internal subroutines, you can use TYPE or LIKE to refer to the internal table you want to pass directly.&lt;br /&gt;&lt;br /&gt;You can pass all internal tables as parameters in the list after TABLES in the FORM and PERFORM statements.  Internal tables passed with TABLES are always called by reference.&lt;br /&gt;&lt;br /&gt;If you pass all internal table with a header line, the table body and the table work area are passed to the subroutine. If you pass an internal table without a header line, a header line is created automatically as a local data object in the subroutine. &lt;br /&gt;&lt;br /&gt;PROGRAM ZDEMO&lt;br /&gt;DATA: Begin of itab occurs 0,&lt;br /&gt;Number type I,&lt;br /&gt;end of itab&lt;br /&gt;&lt;br /&gt;PERFORM SUB1 TABLES ITAB.&lt;br /&gt;&lt;br /&gt;LOOP AT ITAB.&lt;br /&gt;WRITE: / itab-number.&lt;br /&gt;ENDLOOP.&lt;br /&gt;&lt;br /&gt;FORM SUB1 TABLES F_ITAB LIKE ITAB [  ].&lt;br /&gt;DO 3 TIMES.&lt;br /&gt;F_itab-number = SY-INDEX.&lt;br /&gt;APPEND F_ITAB.&lt;br /&gt;ENDDO.&lt;br /&gt;ENDFORM.&lt;br /&gt;&lt;br /&gt;After starting ZDEMO the output appears as follows:&lt;br /&gt;&lt;br /&gt;1&lt;br /&gt;2&lt;br /&gt;3&lt;br /&gt;&lt;br /&gt;In this example, an internal table ITAB is declared with a header line.  ITAB is passed to the subroutine SUB1, where it is filled using the table work area F_ITAB.  And itab is written in main program.&lt;/para&gt;&lt;/subr&gt;&lt;/parameters&gt;&lt;/name&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3105424201407239049?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='Subroutines In SAP ABAP.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3105424201407239049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/subroutines-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3105424201407239049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3105424201407239049'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/subroutines-in-sap-abap.html' title='Subroutines In SAP ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1983388180334373414</id><published>2011-07-08T19:25:00.003+05:30</published><updated>2011-07-27T21:04:06.160+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='at new statement abap'/><category scheme='http://www.blogger.com/atom/ns#' term='at first...endat statement'/><category scheme='http://www.blogger.com/atom/ns#' term='at end of command abap'/><category scheme='http://www.blogger.com/atom/ns#' term='at last abap'/><title type='text'>ABAP - AT First / At New / At End Of / At Last - Syntax &amp; Example.</title><content type='html'>Control break statements are used to create statement blocks which process only specific table lines the LOOP – ENDLOOP block.&lt;br /&gt;&lt;br /&gt;You open such a statement block with the control level statement AT and close it with the control level statement ENDAT.  The syntax is as follows:&lt;br /&gt;&lt;br /&gt;Table should be sorted when you use control-break statements&lt;br /&gt;You can break the sequential access of internal tables by using these statements.&lt;br /&gt;Syntax:&lt;br /&gt;At first.&lt;br /&gt;&lt;statement block=""&gt;&lt;br /&gt;Endat.&lt;br /&gt;&lt;br /&gt;This is the first statement to get executed inside the loop (remember control break statements are applicable only inside the loop)&lt;br /&gt;&lt;br /&gt;So in this block you can write or process those statements which you want to get executed when the loop starts.&lt;br /&gt;&lt;br /&gt;At New carrid.&lt;br /&gt;Write:/ carrid.&lt;br /&gt;Endat.&lt;br /&gt;In this case whenever the new carrid is reached, carrid will be written.&lt;br /&gt;&lt;br /&gt;At End of carrid.&lt;br /&gt;Uline.&lt;br /&gt;Endat.&lt;br /&gt;&lt;br /&gt;In this case whenever the end of carrid is reached, a line will be drawn.&lt;br /&gt;&lt;br /&gt;At Last.&lt;br /&gt;Write:/ ‘Last Record is reached’.&lt;br /&gt;Endat.&lt;br /&gt;&lt;br /&gt;Processing of statements within this block is done when entire processing of entire internal table is over.  Usually used to display grand totals.&lt;br /&gt;&lt;br /&gt;You can use either all or one of the above control break statements with in the loop for processing internal table.&lt;br /&gt;&lt;br /&gt;At end of carrid.&lt;br /&gt;Sum.&lt;br /&gt;Endat.&lt;br /&gt;&lt;br /&gt;In above case the statement SUM (applicable only within AT-ENDAT) will sum up all the numeric fields in internal table and result is stored in same internal table variable.&lt;/statement&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1983388180334373414?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='ABAP - AT First / At New / At End Of / At Last - Syntax &amp; Example.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1983388180334373414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/control-break-statements-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1983388180334373414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1983388180334373414'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/control-break-statements-in-sap-abap.html' title='ABAP - AT First / At New / At End Of / At Last - Syntax &amp; Example.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4914741902213165510</id><published>2011-07-08T19:23:00.001+05:30</published><updated>2011-08-19T22:47:36.758+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='insert records in internal table'/><category scheme='http://www.blogger.com/atom/ns#' term='abap Delete'/><category scheme='http://www.blogger.com/atom/ns#' term='internal table without header line'/><category scheme='http://www.blogger.com/atom/ns#' term='abap fm modify internal table'/><category scheme='http://www.blogger.com/atom/ns#' term='internal table with header line'/><category scheme='http://www.blogger.com/atom/ns#' term='internal table abap'/><title type='text'>SAP ABAP - Internal Table - Introduction, Syntax &amp; Examples.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Consider the following cases:&lt;br /&gt;&lt;br /&gt;• You want to reorganize the contents of table.&lt;br /&gt;• You want to modify few details of table and then display the contents of table to user.&lt;br /&gt;• You want to perform table calculations on subset of database table.&lt;br /&gt;&lt;br /&gt;In above cases you need to recognize or change the database table contents.&lt;br /&gt;&lt;br /&gt;In ABAP/4 you work mainly with tables.  Long life data is stored in database tables.  You cannot afford to lose data from database table. In such cases where you can not work directly with database table (where you are modifying contents of table or reorganizing the contents of table or any other case where you are altering contents of table and then displaying output to the user) hence need of intermediate table where you put in all the data from database table and work with this data thus avoiding accidental loss of data.&lt;br /&gt;&lt;br /&gt;These intermediate tables are called INTERNAL TABLES in ABAP/4 and are created only during runtime i.e., no memory is reserved for internal tables.&lt;br /&gt;&lt;br /&gt;When you use Internal Table in a program, three steps are associated with it.&lt;br /&gt;&lt;br /&gt;1. Declaration of Internal Table&lt;br /&gt;2. Populating Internal Table&lt;br /&gt;3. Processing Internal Table&lt;br /&gt;&lt;br /&gt;Declaration of Internal Table&lt;br /&gt;&lt;br /&gt;Depending on how you create, internal tables are of two types.&lt;br /&gt;&lt;br /&gt;• Internal tables with header line.&lt;br /&gt;When you create internal tables with header line, and then default workarea or header is created.  And you can work with this header.&lt;br /&gt;&lt;br /&gt;• Internal Table without header line.&lt;br /&gt;In this case you need to create output explicit workarea to work with table.  Only advantage of internal tables without header line is that you can nest them i.e., you can have table within table, which is not possible on internal tables with header line.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Internal table can be declared in the following way:&lt;br /&gt;&lt;br /&gt;• Data : Itab like sflight occurs 0 with header line&lt;br /&gt;Here you are declaring internal table, which is similar to sflight i.e., itab like sflight i.e., you are referring to existing table (like).&lt;br /&gt;(By default internal table created with this declaration is without header line).&lt;br /&gt;&lt;br /&gt;• Data : Begin of itab occurs 0.&lt;br /&gt;Include structure sflight&lt;br /&gt;Data : End of itab&lt;br /&gt;(Internal Table created with this type of declaration is similar to declaration done in ‘a’ type the only difference is by default internal table created by this type is with header line)&lt;br /&gt;&lt;br /&gt;• Data : Begin of itab occurs 0&lt;br /&gt;carrid like sflight-carrid,&lt;br /&gt;connid like sflight-connid,&lt;br /&gt;fldate like sflight-f1date&lt;br /&gt;End of itab.&lt;br /&gt;By default internal table created by this type of declaration is with header line.  In this type of declaration, you are using only those fields from database table, which you require for processing.&lt;br /&gt;&lt;br /&gt;• Data : Begin of itab occurs 0&lt;br /&gt;carrid like sflight-carrid,&lt;br /&gt;connid like sflight-connid,&lt;br /&gt;bookid like sbook-bookid&lt;br /&gt;id like scustom-id,&lt;br /&gt;End of itab.&lt;br /&gt;Here you are combining fields from three different tables in one internal table.&lt;br /&gt;&lt;br /&gt;• Data : Begin of itab occurs 0&lt;br /&gt;Carrid1 like sflight-carrid,&lt;br /&gt;End of itab.&lt;br /&gt;Here you are specifying different field names.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Populating Internal Table&lt;br /&gt;&lt;br /&gt;• Itab-name = ‘ABCD’.&lt;br /&gt;Append Itab.&lt;br /&gt;(In this case itab is filled with one name i.e., ‘ABCD’.)&lt;br /&gt;&lt;br /&gt;• Do 5 times.&lt;br /&gt;Itab-number = sy-index.&lt;br /&gt;Append itab.&lt;br /&gt;Enddo.&lt;br /&gt;(In this case itab is filled with sy-index for 5 times)&lt;br /&gt;&lt;br /&gt;• Select * from sflight into itab.&lt;br /&gt;Append itab.&lt;br /&gt;Endselect.&lt;br /&gt;&lt;br /&gt;• Select * from sflight into table itab.&lt;br /&gt;Note: Addition of Table in INTO clause, you omit append itab and Endselect                   &lt;br /&gt;&lt;br /&gt;• Select * from sflight &lt;br /&gt;Move-corresponding sflight to itab.&lt;br /&gt;Append itab.&lt;br /&gt;Endselect.&lt;br /&gt;&lt;br /&gt;Note: While using Move-corresponding, field names of DB table &amp;amp; Int’ table should be same.&lt;br /&gt;&lt;br /&gt;• Select * from sflight.&lt;br /&gt;Move sflight to itab.&lt;br /&gt;Append itab.&lt;br /&gt;Endselect.&lt;br /&gt;Note: In this case structure of sflight and itab should be similar&lt;br /&gt;&lt;br /&gt;• Select carrid1 connid1 from sflight into (itab-carr1, itab-connid1)&lt;br /&gt;Append itab.&lt;br /&gt;Clear itab.&lt;br /&gt;Endselect.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Processing Internal Table&lt;br /&gt;&lt;br /&gt;Processing of internal table includes:&lt;br /&gt;&lt;br /&gt;• Writing: write : / itab carrid.  (will write only one field)&lt;br /&gt;Loop at itab.  (Will write whole internal table)&lt;br /&gt;Write itab&lt;br /&gt;Endloop.&lt;br /&gt;&lt;br /&gt;• Reading: You can read internal table by:&lt;br /&gt;Read table itab with key carrid = ‘LH’ (Here you are reading table with key)&lt;br /&gt;Or Read table itab with index 3. (Here you read table with index 3)&lt;br /&gt;(Note: Reading of internal table can be done inside the loop or outside the loop)&lt;br /&gt;&lt;br /&gt;Modifying: You can modify contents of internal table by specifying key or index.&lt;br /&gt;Itab-carrid = ‘LM’&lt;br /&gt;Modify table itab index 3.&lt;br /&gt;&lt;br /&gt;• Delete: delete table itab index 3.&lt;br /&gt;(Will delete record with index 3)&lt;br /&gt;&lt;br /&gt;Commands associated with clearing of internal tables are as follows:&lt;br /&gt;&lt;br /&gt;• Clear itab : Will clear header of internal table&lt;br /&gt;• Clear itab [ ] : Will clear body of table.&lt;br /&gt;• Refresh itab : Will remove contents of internal table.&lt;br /&gt;• Fee itab : Will de-allocate memory associated with internal table.&lt;br /&gt;Sorting of Internal Tables&lt;br /&gt;&lt;br /&gt;To sort contents of internal table you can use&lt;br /&gt;&lt;br /&gt;SORT ITAB&lt;br /&gt;&lt;br /&gt;This command will sort internal table on all non-numeric primary keys in ascending order.&lt;br /&gt;&lt;br /&gt;To specify internal table for given key the syntax is,&lt;br /&gt;&lt;br /&gt;SORT ITAB BY CARRID ASCENDING.&lt;br /&gt;&lt;br /&gt;In this case the table itab is sorted with carrid key in ascending order.&lt;br /&gt;You can sort table in either ASCENDING or DESCENDING order.  The default order is ASCENDING.&lt;br /&gt;&lt;br /&gt;You can sort table with multiple keys also.  The number of SORT key fields is restricted to 250.  If you specify more than one field then the system sorts the record first by f1 then by f2 and so on (Here f1, f2 are fields).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4914741902213165510?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='SAP ABAP - Internal Table - Introduction, Syntax &amp; Examples.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4914741902213165510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-internal-tables-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4914741902213165510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4914741902213165510'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-internal-tables-in-sap-abap.html' title='SAP ABAP - Internal Table - Introduction, Syntax &amp; Examples.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-7538373214110021687</id><published>2011-07-08T19:22:00.001+05:30</published><updated>2011-08-19T22:45:17.699+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='debugging abap'/><category scheme='http://www.blogger.com/atom/ns#' term='abap watchpoint'/><category scheme='http://www.blogger.com/atom/ns#' term='abap all about debugger'/><category scheme='http://www.blogger.com/atom/ns#' term='debugger abap'/><category scheme='http://www.blogger.com/atom/ns#' term='debugger watchpoint'/><title type='text'>All About Debugger &amp; Debugging In SAP ABAP.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Many times an error free program doesn’t give desired output. Behavior of program is different in different situations, with different values of variable. Such program needs additional testing, by which you can test the program by stopping at each point where you feel program is behaving abnormally.&lt;br /&gt;&lt;br /&gt;The ABAP/4 debugger is the development workbench tool, which allows you to stop a program during its execution when a particular condition is met.  When the program is stopped, you can use the debugger to display the contents of the table and variable being used by the program.  It allows you to execute the program step by step, reviewing exactly the real flow of the program execution.&lt;br /&gt;&lt;br /&gt;There are many occasions during normal system operation during which the ABAP/4 debugger can be started.  When executing program, the ABAP/4 debugger is automatically started when the system encounters a breakpoint.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Starting the ABAP/4 debugger&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;There are many ways to start debugger&lt;br /&gt;&lt;br /&gt;• By clicking the Execute button and selecting the debugging mode.&lt;br /&gt;• From the ABAP/4 editor, by executing a program choosing Program  Execute  Debugging from the menu.&lt;br /&gt;• Setting breakpoint in the program&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Components of ABAP/4 debugger&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The debugger shows the program information using six different views.&lt;br /&gt;&lt;br /&gt;• Fields: Displays the field contents.&lt;br /&gt;• Table: Allows modifying the contents of internal table.&lt;br /&gt;• Breakpoints: Displays list of Breakpoint in the Program.&lt;br /&gt;• Watchpoints: Allows dealing with Watchpoints.&lt;br /&gt;• Calls: System call status like Event, Form etc.,&lt;br /&gt;• Overview: Presents the program structure, events, subroutines, and modules.&lt;br /&gt;• Settings:  Displays the calling sequence within a particular event, up to the current breakpoint.&lt;br /&gt;All these options are shown in the following screen.&lt;br /&gt;&lt;br /&gt;Arrow indicates the breakpoint of the program i.e., where user has stopped the program.&lt;br /&gt;Breakpoints&lt;br /&gt;&lt;br /&gt;A breakpoint is the signal, which is specified in the program, tells the system to stop the program execution and to start the debugger.  Following types of breakpoint are available with ABAP/4:&lt;br /&gt;&lt;br /&gt;• Static are set up with the BREAKPOINT keyword inside the program, which you can directly display with the ABAP/4 source code editor.  To set the breakpoint in the program enters the keyboard BREAKPOINT.&lt;br /&gt;&lt;br /&gt;•&amp;nbsp;Dynamic this breakpoint is not visible in the code.  Position the cursor over the source code line to have the breakpoint and then select utilities -  breakpoint -  set.  You can delete them or display them from breakpoint list.  Or you can execute the program in the ABAP/4 debugger i.e., in debugging mode.&lt;br /&gt;&lt;br /&gt;• Watchpoints are field specific.  The program is stopped when the field reaches the value specified in the watchpoint.  Execute the program in debugging mode.  Position the cursor over the needed field.  Press the F button to get the view of field.  Select the checkbox for the needed watchpoint.  Click on the continue button.&lt;br /&gt;&lt;br /&gt;• Keywords/events The program stops just before executing a specific event or keyword.  To set breakpoint at particular event, from initial screen of debugger, select Breakpoint  Breakpoint at  at event/at keyword.  Enter the name of the keyword or event.  Click on OK.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Navigating through the breakpoint&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Following buttons are used to navigate through the program and debugger.&lt;br /&gt;&lt;br /&gt;• Single step:  Executes a single program command.&lt;br /&gt;&lt;br /&gt;• Execute:  Similar to the single step, but when a program calls a subroutine, it executes the whole subroutine unlike single step.&lt;br /&gt;&lt;br /&gt;• Continue: Executes the program until it is finished or until it finds next breakpoint.&lt;br /&gt;&lt;br /&gt;• Return:  Allows for executing the program instruction up to the end of a routine and stops in the line of code where the subroutine gives back control to the main program.&lt;br /&gt;&lt;br /&gt;• Tables:  Switches the debugger to the table view.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Displaying and modifying values&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Every time the program is stopped within a debugger, you can display and modify the contents of table field and fields.&lt;br /&gt;&lt;br /&gt;To display the fields, click on V and you can view the contents of system field, program field, ABAP/4 dictionary fields, and external program fields.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Displaying and modifying internal tables&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When you click on the Table button from the initial ABAP/4 debugger screen, the system will display the table debugger view.  Here you need to enter the name of the internal table to be displayed.  You can modify or delete or add i.e., insert the internal table Contents.  These changes are applicable only for the debugging and do not affect the structure of internal table in the program.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Setting WATCHPOINTS&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;• Execute a program in debugging mode.&lt;br /&gt;• Position the cursor over the needed field.&lt;br /&gt;• Press the F button to get a view of the fields.&lt;br /&gt;• Select the checkbox for the needed watchpoint.&lt;br /&gt;• Click on the CONTINUE button.&lt;br /&gt;• To display the active watchpoint select Goto -  Breakpoint&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-7538373214110021687?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='All About Debugger &amp; Debugging In SAP ABAP.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/7538373214110021687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-debugging-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7538373214110021687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7538373214110021687'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-debugging-in-sap-abap.html' title='All About Debugger &amp; Debugging In SAP ABAP.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5253352228593628367</id><published>2011-07-08T19:21:00.001+05:30</published><updated>2011-07-08T19:21:30.537+05:30</updated><title type='text'>CHECK BOXES AND RADIO BUTTONS programs in sap abap</title><content type='html'>Write a program with&lt;br /&gt; - Parameter as checkboxes&lt;br /&gt; - If checkbox 1 is clicked write c.b 1 clicked else c.b 1 not clicked.&lt;br /&gt; - If checkbox 2 is clicked write c.b 2 clicked else c.b 2 not clicked.&lt;br /&gt; - If checkboxes 1 &amp; 2 are clicked write c.b 1 &amp; c.b. 2 are clicked.&lt;br /&gt; - If checkboxes 1 &amp; 2 are not clicked write c.b 1 &amp; c.b. 2 are not clicked.&lt;br /&gt;&lt;br /&gt;2 Write a program with&lt;br /&gt; - Parameters as two groups of Radiobuttons (two Radiobuttons in each group).&lt;br /&gt; - Give detailed coding as above, to show the Radiobuttons and groups &lt;br /&gt; - selected&lt;br /&gt;&lt;br /&gt;3 Write a program with&lt;br /&gt; - Parameter as checkbox.&lt;br /&gt; - If you click the checkbox then display first day of the next year.&lt;br /&gt; - If the checkbox is not clicked then display last day of the current year.&lt;br /&gt;&lt;br /&gt;4. Write a program with&lt;br /&gt; - Parameter as group of 3 radio buttons&lt;br /&gt; - If first radio button is clicked, display last day of the current month.&lt;br /&gt; - If second radio button, display first day of the next month&lt;br /&gt; - If third radio button, display date after six months.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-5253352228593628367?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/5253352228593628367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/check-boxes-and-radio-buttons-programs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5253352228593628367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5253352228593628367'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/check-boxes-and-radio-buttons-programs.html' title='CHECK BOXES AND RADIO BUTTONS programs in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1566067517672609101</id><published>2011-07-08T19:20:00.001+05:30</published><updated>2011-07-08T19:20:56.810+05:30</updated><title type='text'>simple date programs in sap abap</title><content type='html'>Accept a date earlier to today’s date and find the difference in number of days.&lt;br /&gt;&lt;br /&gt;2 Accept a date from user and display first day of the month and last day of the previous month.&lt;br /&gt;&lt;br /&gt;3 Accept a date from user and add six months to the date.&lt;br /&gt;&lt;br /&gt;4 Accept a date from user and convert month part to ‘jan’, ‘feb’ etc., and display this date.&lt;br /&gt;&lt;br /&gt;5 Write a program to accept month. Display number of days in total month.&lt;br /&gt; Make use of &lt;br /&gt; - Text element for your selection screen box.&lt;br /&gt; - Selection text&lt;br /&gt;&lt;br /&gt;6 Accept birth date from user and output age in years, months and days.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1566067517672609101?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1566067517672609101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/simple-date-programs-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1566067517672609101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1566067517672609101'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/simple-date-programs-in-sap-abap.html' title='simple date programs in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3041985509750405766</id><published>2011-07-08T19:19:00.000+05:30</published><updated>2011-07-08T19:20:14.276+05:30</updated><title type='text'>STRING OPERATIONS programs in sap abap</title><content type='html'>Accept a string and determine its length&lt;br /&gt;&lt;br /&gt;2 Accept a string &amp; number.  Write the string that many number of times.&lt;br /&gt;&lt;br /&gt;3 Accept two strings and swap their contents.&lt;br /&gt;&lt;br /&gt;4 Accept two strings and concatenate into one string.&lt;br /&gt;&lt;br /&gt;5 Accept one string with delimiter ( , or ; ) and split it into two strings.&lt;br /&gt;&lt;br /&gt;6 Accept a string ‘abcdef’ and use shift &lt;string&gt;, shift &lt;string&gt; right, shift &lt;string&gt; up to ‘def’.&lt;br /&gt;&lt;br /&gt;7 Accept a string eg. Apple.  Change first occurrence of ‘p’ to ‘b’.&lt;br /&gt; (use ‘replace’ command)&lt;br /&gt;&lt;br /&gt;8 Accept a string eg. Apple.  Change all occurrences of ‘p’ to ‘b’.&lt;br /&gt; (use ‘translate’ command)&lt;br /&gt;&lt;br /&gt;9 Accept two strings and compare the two strings using ‘co’, ‘ca’, ‘cs’&lt;br /&gt; ‘cp’ (out put shall be ‘true’ or ‘false’ for each comparison.)&lt;br /&gt;&lt;br /&gt;10 Accept a string ‘ABCDEF’.  Output only ‘DEF’ using offset command.&lt;br /&gt;&lt;br /&gt;11 Accept first name, last name and middle name&lt;br /&gt; eg. Nandamuri Taraka Ramarao&lt;br /&gt;    display as N.T.Ramarao&lt;br /&gt;&lt;br /&gt;12 Accept a string.  Change all occurrences of a to b.&lt;br /&gt;&lt;br /&gt;13 Accept a number and swap first and last digit of the same.&lt;br /&gt;&lt;br /&gt;14 Accept a string and display the string in reverse order&lt;br /&gt;&lt;br /&gt;15 Accept a string and check for palindrome&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3041985509750405766?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3041985509750405766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/string-operations-programs-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3041985509750405766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3041985509750405766'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/string-operations-programs-in-sap-abap.html' title='STRING OPERATIONS programs in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-9047802493297520384</id><published>2011-07-08T19:18:00.002+05:30</published><updated>2011-07-08T19:19:22.420+05:30</updated><title type='text'>DO-ENDDO, IF-ELSEIF-ELSE-ENDIF, CASE-ENDCASE programs</title><content type='html'>Write a program with Do – Enddo loop.&lt;br /&gt; Display squares of numbers 1 to 10&lt;br /&gt;&lt;br /&gt; 1 1&lt;br /&gt; 2 4&lt;br /&gt; 3 9&lt;br /&gt;&lt;br /&gt;2 Write a program to accept a number (say 2) from user and create a multiplication table.&lt;br /&gt;&lt;br /&gt; 2 x 1 = 2&lt;br /&gt; 2 x 2 = 4&lt;br /&gt; …………&lt;br /&gt; 2 x 10 = 20&lt;br /&gt;&lt;br /&gt;3 Accept a number from user and find Factorial of the same.  If the number is negative then display some message.&lt;br /&gt;&lt;br /&gt;4 Write a program with Do – Enddo loop for first 20 numbers.&lt;br /&gt; - Output should contain only Even number&lt;br /&gt; - Odd numbers should not be displayed&lt;br /&gt;&lt;br /&gt;5 Accept numbers and choice ‘EVEN’ or ‘ODD’ from the user and display the numbers in that range according to user’s choice.&lt;br /&gt;&lt;br /&gt;6 Write a program with Do – Enddo loop for first 20 numbers.&lt;br /&gt;- Odd numbers &amp; Even numbers should be displayed with alternate intensities. (Use Format intensified – on – off)&lt;br /&gt;&lt;br /&gt;7 Create a calculator, which performs the four basic types of calculations on two whole numbers. The two values and the option are to be entered on the selection screen as parameters.  Output the result with 2 decimal places.&lt;br /&gt;&lt;br /&gt;8 Write separate programs using ‘CONTINUE’ and ‘EXIT’ statements in DO-LOOP.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-9047802493297520384?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/9047802493297520384/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/do-enddo-if-elseif-else-endif-case.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/9047802493297520384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/9047802493297520384'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/do-enddo-if-elseif-else-endif-case.html' title='DO-ENDDO, IF-ELSEIF-ELSE-ENDIF, CASE-ENDCASE programs'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1220852370756609690</id><published>2011-07-08T19:18:00.001+05:30</published><updated>2011-07-08T19:18:50.300+05:30</updated><title type='text'>GENERAL PROBLEMS in sap abap</title><content type='html'>Create an adding machine for numbers.&lt;br /&gt; The two values to be added must be entered on the selection screen as&lt;br /&gt; parameters. Output the result.&lt;br /&gt;&lt;br /&gt;2 Create the dividing machine for numbers.&lt;br /&gt; The two values must be entered on the selection screen as parameters.&lt;br /&gt; Output the result.&lt;br /&gt;&lt;br /&gt;3 Create your output as shown below.&lt;br /&gt;&lt;br /&gt; .&lt;br /&gt; .  .&lt;br /&gt; .  .  .&lt;br /&gt; .  .  .  .&lt;br /&gt; .  .  .  .  .&lt;br /&gt;&lt;br /&gt;4 Write a program to accept the two numbers from the user and swap the values.&lt;br /&gt;&lt;br /&gt;5 Declare a string ‘echo’ and design your output&lt;br /&gt;&lt;br /&gt; e&lt;br /&gt; ec&lt;br /&gt; ech&lt;br /&gt; echo&lt;br /&gt; ech&lt;br /&gt; ec&lt;br /&gt; e&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1220852370756609690?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1220852370756609690/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/general-problems-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1220852370756609690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1220852370756609690'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/general-problems-in-sap-abap.html' title='GENERAL PROBLEMS in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6351880757178577471</id><published>2011-07-08T19:17:00.000+05:30</published><updated>2011-07-08T19:18:16.577+05:30</updated><title type='text'>SYMBOLS, ICONS AND FORMATTING programs in SAP ABAP</title><content type='html'>Write a program to show the following using system variables&lt;br /&gt; (hint: use include &lt;symbol&gt; and include &lt;icon&gt;&lt;br /&gt;&lt;br /&gt; Symbols: Icons:&lt;br /&gt; Telephone Checked; okay,&lt;br /&gt; Fax machine Delete,&lt;br /&gt; Hand pointing left, Print&lt;br /&gt; Hand pointing right,&lt;br /&gt; Caution,&lt;br /&gt;&lt;br /&gt; Eg : Write sym_phone as symbol, ‘telephone’.&lt;br /&gt;&lt;br /&gt;2 Write a program to show a string with different background colours.&lt;br /&gt;&lt;br /&gt; eg.&lt;br /&gt; write ‘HEADER’ color col_heading.&lt;br /&gt; (col_heading is abap/4 name for grayish blue colour.  Other colours are&lt;br /&gt; col_key for bluish green, col_normal for bright gray, col_background for&lt;br /&gt; gray, col_positive for green, col_negative for red, col_group for violet and&lt;br /&gt; col_total for yellow)&lt;br /&gt;&lt;br /&gt;3 Use Format intensified – format intensified off.&lt;br /&gt; Format color &lt;color_name&gt; - format color off.&lt;br /&gt; Format inverse – Format inverse off&lt;br /&gt;&lt;br /&gt;4 Show current time and today’s date.&lt;br /&gt;&lt;br /&gt;5 Show a value ‘123456’ as 12:34:56 using ‘using edit mask’.&lt;br /&gt;&lt;br /&gt;6 Take a number as ‘0000011’.  Suppress all leading zeros.&lt;br /&gt;&lt;br /&gt;7 Suppress a sign before a number.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6351880757178577471?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6351880757178577471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/symbols-icons-and-formatting-programs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6351880757178577471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6351880757178577471'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/symbols-icons-and-formatting-programs.html' title='SYMBOLS, ICONS AND FORMATTING programs in SAP ABAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3999326669788397509</id><published>2011-07-08T19:16:00.001+05:30</published><updated>2011-07-27T21:16:26.159+05:30</updated><title type='text'>ABAP - Exercise Programs -2.</title><content type='html'>1 Write a program, which generates the model list as shown&lt;br /&gt;Use these system fields in your program.&lt;br /&gt;SY-DATUM, SY-UZEIT, SY-UNAME&lt;br /&gt;Maintain the list headings&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;12/12/97 FIRST PROGRAM&lt;br /&gt;______________________________________________________&lt;br /&gt;&lt;br /&gt;This list is generated&lt;br /&gt;on: 12/12/1997&lt;br /&gt;at: 13:40:35&lt;br /&gt;by: ABAP 1&lt;br /&gt;______________________________________________________&lt;br /&gt;&lt;br /&gt;2 Create a list as shown&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;XYZ Co. Pvt. Ltd.&lt;br /&gt;Date: Today’s date Page No. 1&lt;br /&gt;-------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Program name: ZDEMO&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3999326669788397509?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='ABAP - Exercise Programs -2.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3999326669788397509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/programs-with-write-statement-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3999326669788397509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3999326669788397509'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/programs-with-write-statement-in-sap.html' title='ABAP - Exercise Programs -2.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6910763227060239687</id><published>2011-07-08T19:15:00.004+05:30</published><updated>2011-07-27T21:15:54.088+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='delete statement'/><category scheme='http://www.blogger.com/atom/ns#' term='abap Delete'/><category scheme='http://www.blogger.com/atom/ns#' term='delete command abap'/><title type='text'>ABAP - Delete Statement, Syntax &amp; Example.</title><content type='html'>Delete statement&lt;br /&gt;&lt;br /&gt;To delete records from a database table, you use the DELETE statement.&lt;br /&gt;&lt;br /&gt;DELETE FROM SFLIGHT WHERE CARRID = ‘LH’ AND CONNID = ‘454’.&lt;br /&gt;&lt;br /&gt;Will delete the single record where conditions are met from SFLIGHT.&lt;br /&gt;&lt;br /&gt;You can delete the multiple records from database table by putting all the records, which you want to delete in internal table.  For example&lt;br /&gt;&lt;br /&gt;DELETE SFLIGHT FROM TABLE ITAB.&lt;br /&gt;&lt;br /&gt;In this case whatever you have in internal table will be deleted from SFLIHT.&lt;br /&gt;Note: append internal table with all the entries, which you want to delete.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6910763227060239687?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='ABAP - Delete Statement, Syntax &amp; Example.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6910763227060239687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/delete-statement-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6910763227060239687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6910763227060239687'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/delete-statement-in-sap-abap.html' title='ABAP - Delete Statement, Syntax &amp; Example.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-8667497587484808920</id><published>2011-07-08T19:15:00.003+05:30</published><updated>2011-07-27T21:15:03.236+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='syntax update command'/><category scheme='http://www.blogger.com/atom/ns#' term='update statement'/><title type='text'>ABAP - Update Statement, Syntax &amp; Example.</title><content type='html'>Update statement&lt;br /&gt;&lt;br /&gt;To update database table UPDATE statement is used.  This allows you to change either a single record or several records.&lt;br /&gt;&lt;br /&gt;You can use UPDATE when you know which record you want to change.  But if you do not know whether the primary key of the line you want to insert already exists or not, you can use the MODIFY statement. The MODIFY statement changes existing lines and inserts lines which do not exist.&lt;br /&gt;&lt;br /&gt;Sflight-carrid = ‘MN’.&lt;br /&gt;Sflight-connid = ‘454’.&lt;br /&gt;UPDATE SFLIGHT where CARRID = ‘LH’.&lt;br /&gt;Or&lt;br /&gt;TABLES SFLIGHT.&lt;br /&gt;UPDATE SFLIGHT SET PRICE = 1100&lt;br /&gt;  WHERE CARRID = ‘LH’.&lt;br /&gt;&lt;br /&gt;Here price of sflight will get updated with new price 1100.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-8667497587484808920?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='ABAP - Update Statement, Syntax &amp; Example.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/8667497587484808920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/update-statement-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8667497587484808920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8667497587484808920'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/update-statement-in-sap-abap.html' title='ABAP - Update Statement, Syntax &amp; Example.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3630685403467974410</id><published>2011-07-08T19:14:00.001+05:30</published><updated>2011-07-27T21:12:11.892+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='insert statement'/><category scheme='http://www.blogger.com/atom/ns#' term='syntax insert command'/><title type='text'>ABAP - Insert Statement, Syntax &amp; Example.</title><content type='html'>Insert statement&lt;br /&gt;&lt;br /&gt;INSERT statement inserts a single record into the database table.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;Tables: sflight.&lt;br /&gt;Sflight-carrid = ‘LH’.&lt;br /&gt;Sflight-connid = ‘234’.&lt;br /&gt;Insert sflight.&lt;br /&gt;&lt;br /&gt;Table sflight is inserted with the record.  The SY_SUBRC is returned for this statement.  If the entry already exists then the SY_SUBRC is set to non-zero value and you can do processing for existing record by giving some error message.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3630685403467974410?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='ABAP - Insert Statement, Syntax &amp; Example.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3630685403467974410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/insert-statement-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3630685403467974410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3630685403467974410'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/insert-statement-in-sap-abap.html' title='ABAP - Insert Statement, Syntax &amp; Example.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6326983713398152223</id><published>2011-07-08T19:12:00.004+05:30</published><updated>2011-08-19T22:36:49.012+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='select single statement'/><category scheme='http://www.blogger.com/atom/ns#' term='select statement aggregate expressions'/><category scheme='http://www.blogger.com/atom/ns#' term='abap select statement example'/><category scheme='http://www.blogger.com/atom/ns#' term='abap select statement'/><title type='text'>SAP ABAP - Select Statement &amp; It's Properties</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Select statement &lt;br /&gt;&lt;br /&gt;The following system fields play an important role in Open SQL operations: &lt;br /&gt;&lt;br /&gt;SY-SUBRC &lt;br /&gt;&lt;br /&gt;As with other ABAP/4 statements, the return code value in the system field SY-SUBRC indicates after each Open SQL operation whether or not the operation was successful.  If an operation is successful, SY-SUBRC = 0. If an operation is unsuccessful – SY-SUBRC &amp;lt;&amp;gt; 0 &lt;br /&gt;&lt;br /&gt;SY-DBCNT &lt;br /&gt;&lt;br /&gt;The value in the SY-DBCNT field indicates how many lines were affected by the operation or how many lines have already been processed. &lt;br /&gt;&lt;br /&gt;To read data from a database table, use the SELECT command. &lt;br /&gt;&lt;br /&gt;Syntax &lt;br /&gt;&lt;br /&gt;SELECT&lt;what&gt; FROM [INTO &lt;variable, another="" table=""&gt;] [WHERE &lt;condition&gt;].&amp;nbsp;&lt;/condition&gt;&lt;/variable,&gt;&lt;/what&gt;&lt;br /&gt;&lt;what&gt;&lt;variable, another="" table=""&gt;&lt;condition&gt;&lt;br /&gt;&lt;/condition&gt;&lt;/variable,&gt;&lt;/what&gt;&lt;br /&gt;&lt;what&gt;&lt;variable, another="" table=""&gt;&lt;condition&gt;&amp;nbsp;This statement has several basic clauses.  Each clause is described in the following table.&amp;nbsp;&lt;/condition&gt;&lt;/variable,&gt;&lt;/what&gt;&lt;br /&gt;&lt;what&gt;&lt;variable, another="" table=""&gt;&lt;condition&gt;&lt;br /&gt;&lt;/condition&gt;&lt;/variable,&gt;&lt;/what&gt;&lt;br /&gt;&lt;what&gt;&lt;variables another="" or="" table=""&gt;&lt;condition&gt;The SELECT clause defines whether the result of the selection is a single line or a whole table, or few columns.&amp;nbsp;&lt;/condition&gt;&lt;/variables&gt;&lt;/what&gt;&lt;br /&gt;&lt;br /&gt;&lt;table name=""&gt;&lt;/table&gt;The FROM clause specifies the database table or view &lt;source&gt;&lt;/source&gt; from which the data is to be selected.&lt;br /&gt;&lt;variable, another="" table=""&gt;&lt;br /&gt;&lt;/variable,&gt;&lt;br /&gt;&lt;variable, another="" table=""&gt;The INTO clause determines the target area &lt;target&gt; into which the selected data is to be read.  It can also be placed before the FROM clause.&amp;nbsp;&lt;/target&gt;&lt;/variable,&gt;&lt;br /&gt;&lt;variable, another="" table=""&gt;&lt;target&gt;&lt;br /&gt;&lt;/target&gt;&lt;/variable,&gt;&lt;br /&gt;&lt;variable, another="" table=""&gt;&lt;target&gt;If you do not specify an INTO clause, the system uses the table work area.  The table work area is a header line, which is automatically created by the TABLES statement.&lt;/target&gt;&lt;/variable,&gt;&lt;br /&gt;&lt;variable, another="" table=""&gt;&lt;target&gt;&lt;condition&gt;&lt;br /&gt;&lt;/condition&gt;&lt;/target&gt;&lt;/variable,&gt;&lt;br /&gt;&lt;variable, another="" table=""&gt;&lt;target&gt;&lt;condition&gt;The WHERE clause specifies which lines are to be read by specifying conditions for the selection.  Choosing the Lines to be Read.&amp;nbsp;&lt;/condition&gt;&lt;/target&gt;&lt;/variable,&gt;&lt;br /&gt;&lt;variable, another="" table=""&gt;&lt;target&gt;&lt;condition&gt;&lt;br /&gt;&lt;/condition&gt;&lt;/target&gt;&lt;/variable,&gt;&lt;br /&gt;&lt;variable, another="" table=""&gt;&lt;target&gt;&lt;condition&gt;&amp;nbsp;For Selecting All data from table:   i.e., read all columns and all the rows from database table   Syntax   SELECT * FROM &lt;/condition&gt;&lt;/target&gt;&lt;/variable,&gt;&lt;br /&gt;&lt;table name=""&gt;&lt;/table&gt;(Here you are not specifying WHERE condition)   Selecting All Data from a Single Line   To read all columns of a single line from a database table, use the SELECT statement as follows :&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;SELECT SINGLE * FROM&lt;br /&gt;&lt;table&gt;&lt;/table&gt;…… WHERE &lt;condition&gt; ……&amp;nbsp;&lt;/condition&gt;&lt;br /&gt;&lt;condition&gt;&lt;br /&gt;&lt;/condition&gt;&lt;br /&gt;&lt;condition&gt;&amp;nbsp;The result of this statement is a single line. To make sure you retrieve desired unique single record, you must link all the fields which form the primary key of the database table by AND in the WHERE condition.  &amp;nbsp;&lt;/condition&gt;&lt;br /&gt;&lt;condition&gt;&lt;br /&gt;&lt;/condition&gt;&lt;br /&gt;&lt;condition&gt;&lt;b&gt;Prerequisite for SELECT SINGLE&amp;nbsp;&lt;/b&gt;&lt;/condition&gt;&lt;br /&gt;&lt;condition&gt;&lt;br /&gt;&lt;/condition&gt;&lt;br /&gt;&lt;condition&gt;1.	Use all primary keys in WHERE condition.&amp;nbsp;&lt;/condition&gt;&lt;br /&gt;&lt;condition&gt;2.	Always check for SY-SUBRC.&amp;nbsp;&lt;/condition&gt;&lt;br /&gt;3.	Clear work-area for table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Aggregate Expressions:&lt;br /&gt;&lt;br /&gt;By using aggregate expressions, you can extract characteristic data from a column of the database table.&lt;br /&gt;&lt;br /&gt;MAX: returns the maximum value of the column  .&lt;br /&gt;&lt;br /&gt;MIN: returns the minimum value of the column  .&lt;br /&gt;&lt;br /&gt;AVG: returns the average value of the column  .&lt;br /&gt;&lt;br /&gt;SUM: returns the sum value of the column  .&lt;br /&gt;&lt;br /&gt;COUNT: counts values or lines as follows:  -COUNT( * ) returns the total number of lines in the selection.&amp;nbsp;  &lt;br /&gt;&lt;br /&gt;You must include spaces between the parentheses and the arguments.&lt;br /&gt;&lt;br /&gt;The arithmetic operators AVG and SUM can only work with numeric fields.&lt;br /&gt;&lt;br /&gt;Sometimes you retrieve few columns form database table i.e. you have list in the SELECT Clause and INTO Clause.   If there is a list in the SELECT clause, you must use the INTO clause with the SELECT statement. You can use either a work area &lt;wa&gt; or an internal table &lt;itab&gt; or list of variables as an argument,&amp;nbsp;&lt;/itab&gt;&lt;/wa&gt;&lt;br /&gt;&lt;condition&gt;&lt;wa&gt;&lt;itab&gt; &lt;br /&gt;Syntax &lt;br /&gt;&lt;br /&gt;&lt;/itab&gt;&lt;/wa&gt;&lt;/condition&gt;&lt;br /&gt;&lt;condition&gt;&lt;wa&gt;&lt;itab&gt;TABLES: SFLIGHT. &lt;br /&gt;DATA : CARRIDI LIKE SFLIGHT -CARRID, &lt;br /&gt;CONNID LIKE SFLIGHT –CONNID. &lt;br /&gt;SELECT CARRID CONNID FROM SFLIGHT INTO (CARRID1, CONNID1). WRITE: / CARRIDl,CONNID1. &lt;br /&gt;ENDSELECT. &lt;br /&gt;&lt;br /&gt;Many times you retrieve related data from two or more tables. In such cases you use nested selects by linking tables with common primary keys. But as far as possible avoid using nested selects as time required to access nested table is very high. &lt;br /&gt;&lt;br /&gt;Syntax &lt;br /&gt;&lt;br /&gt;TABLES: SFLIGHT, SBOOK. &lt;br /&gt;SELECT * FROM SFLIGHT WHERE CARRID = 'LH'. &lt;br /&gt;SELECT * FROM SBOOK WHERE CARRID = SFLIGHT -CARRID AND &lt;br /&gt;CONNID = SFLIGHT -CONNIID. &lt;br /&gt;WRITE: / SFLSIGHT-CARRID,SFLIGHT-CONNID,SBOOK-BOOKID,  &lt;br /&gt;ENDSELECT. &lt;br /&gt;ENDSELECT. &lt;br /&gt;&lt;br /&gt;Some performance hints for Open SQL statements &lt;br /&gt;&lt;br /&gt;•	Keep the selected dataset small &lt;br /&gt;&lt;br /&gt;Keep the number of selected data as small as possible to avoid unnecessary network transports.  Use the respective Open SQL statements always with the WHERE clause.  Avoid complex WHERE clauses. The system must split up those into single statements for the database system. &lt;br /&gt;Do not use the logical NOT in WHERE clauses but inverted operators instead. &lt;br /&gt;The logical NOT is supported by the database indexes. &lt;br /&gt;&lt;br /&gt;•	Keep the transferred data small &lt;br /&gt;&lt;br /&gt;•	Transfer only those columns of a database table that you really need.  Avoid SELECT* if you do not want to read all columns of a database.  Use a list in the SELECT clause instead.  Use aggregate expressions in the SELECT clause to perform calculations instead transporting great amounts of data and calculating thereafter. &lt;br /&gt;&lt;br /&gt;•	Keep the number of database accesses small &lt;br /&gt;&lt;br /&gt;•	Use operations on packages of data instead of operations on single data if you want to analyze selected data more than once.  To do so, transfer the data in a single operation between tables and internal tables. &lt;br /&gt;&lt;br /&gt;•	Avoid nested SELECT loops. Instead, work with internal tables and SELECT statements using the FOR ALL ENTRIES addition. &lt;br /&gt;&lt;/itab&gt;&lt;/wa&gt;&lt;/condition&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;table&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6326983713398152223?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='SAP ABAP - Select Statement &amp; It&apos;s Properties'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6326983713398152223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/select-statement-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6326983713398152223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6326983713398152223'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/select-statement-in-sap-abap.html' title='SAP ABAP - Select Statement &amp; It&apos;s Properties'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3051329226449321807</id><published>2011-07-08T19:12:00.003+05:30</published><updated>2011-07-27T21:10:06.226+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='open sql abap'/><category scheme='http://www.blogger.com/atom/ns#' term='native sql abap'/><title type='text'>Open SQL - SAP ABAP</title><content type='html'>In the R/3 System, long-life data is stored in relational database tables.  Structured Query Language (SQL) was created for accessing relational Database.  SQL has two statement types: Data Definition Language (DDL) statements and Data Manipulation Language (DML) statements.&lt;br /&gt;&lt;br /&gt;TO include SQL statements in an ABAP/4 program, use Native SQL. To avoid incompatibilities between different database tables and also to make ABAP/4 program independent of the database system in use, SAP has created a set of separate SQL statements called Open SQL.  Open SQL contains a subset of standard SQL statements as well as some enhancements, which are specific to SAP.  Using Open SQL enables you to access any database tables available to the SAP system regardless of the manufacturer be it Oracle, Informix etc.&lt;br /&gt;&lt;br /&gt;The difference between Open SQL and Native SQL is as follows:&lt;br /&gt;&lt;br /&gt;A database interface translates SAP’s Open SQL statements into SQL commands specific to the database in use.  Native SQL statements access the database directly.&lt;br /&gt;&lt;br /&gt;Open SQL keywords&lt;br /&gt;&lt;br /&gt;Keywords Used for&lt;br /&gt;• SELECT: Reading Data from Database Tables&lt;br /&gt;• INSERT: Adding Lines to Database Tables&lt;br /&gt;• UPDATE: Changing Lines in Database Tables&lt;br /&gt;• MODIFY: Adding or Changing Lines&lt;br /&gt;• DELETE: Deleting Lines from Database Tables&lt;br /&gt;&lt;br /&gt;When using Open SQL statements in an ABAP/4 program, you must ensure the following:&lt;br /&gt;&lt;br /&gt;1) The database system being addressed must be supported by SAP.&lt;br /&gt;2) The database tables being addressed must be defined in the ABAP/4 Dictionary.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3051329226449321807?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Open SQL - SAP ABAP'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3051329226449321807/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/open-sql-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3051329226449321807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3051329226449321807'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/open-sql-in-sap-abap.html' title='Open SQL - SAP ABAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6769570352270557647</id><published>2011-07-08T19:10:00.002+05:30</published><updated>2011-08-19T22:28:26.126+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='offset values abap'/><title type='text'>SAP ABAP - Offset Values / Command - Introduction With Example.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&amp;nbsp;In ABAP/4, you can specify offset values for elementary data objects in all statements, which process these data objects.&lt;br /&gt;&lt;br /&gt;To do so, specify the name of a data object in a statement as follows:&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;&lt;f&gt;[+&lt;o&gt;][(&lt;l&gt;)]&lt;br /&gt;&lt;br /&gt;The operation of the statement is performed for the part of the field &lt;f&gt; that begins at position &lt;o&gt;+1 and has a length of &lt;l&gt;.&lt;br /&gt;&lt;br /&gt;If the length &lt;l&gt; is not specified, the field is processed for all positions between &lt;o&gt; and the end of the field.&lt;br /&gt;&lt;br /&gt;String = string1+3(4).&lt;br /&gt;&lt;br /&gt;Assuming that string1 = ‘abcdefgjk’.&lt;br /&gt;Here string will contain ‘defg’.&lt;/o&gt;&lt;/l&gt;&lt;/l&gt;&lt;/o&gt;&lt;/f&gt;&lt;/l&gt;&lt;/o&gt;&lt;/f&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6769570352270557647?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='SAP ABAP - Offset Values / Command - Introduction With Example.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6769570352270557647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/offset-values-command-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6769570352270557647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6769570352270557647'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/offset-values-command-in-sap-abap.html' title='SAP ABAP - Offset Values / Command - Introduction With Example.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-8115674456736391346</id><published>2011-07-08T19:09:00.003+05:30</published><updated>2011-08-19T22:27:07.392+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='split keyword example'/><category scheme='http://www.blogger.com/atom/ns#' term='abap split example'/><category scheme='http://www.blogger.com/atom/ns#' term='abap split command'/><category scheme='http://www.blogger.com/atom/ns#' term='use of split command in abap'/><title type='text'>SAP ABAP - Split Command/Statement - Introduction, Syntax &amp; Example.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;SPLIT&lt;/b&gt; command&lt;br /&gt;&lt;br /&gt;To &lt;b&gt;split&lt;/b&gt; a character string into two or more smaller strings, use the &lt;b&gt;SPLIT&lt;/b&gt; statement:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Syntax&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;SPLIT &lt;c&gt; AT &lt;del&gt;&lt;/del&gt;&lt;/c&gt;&lt;br /&gt;INTO &lt;cl&gt;….&lt;cn&gt;.&lt;br /&gt;&lt;br /&gt;This statement searches the character field &lt;c&gt; for delimiter strings &lt;del&gt;&lt;/del&gt;&lt;/c&gt;&lt;/cn&gt;&lt;/cl&gt;&lt;br /&gt;and the parts before and after the delimiters are placed in the target fields &lt;c1&gt;….&lt;cn&gt;.&lt;br /&gt;To place all fragments in different target fields, you must specify enough target fields.  Otherwise, the last target field is filled with the rest of the field &lt;c&gt; and still contains delimiters.&lt;br /&gt;&lt;br /&gt;&lt;b&gt; SPLIT STRING AT ‘,’ INTO P1 P2 P3 P4.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Here the string is split at ‘,’ and is put into strings p1, p2, p3, p4.&lt;/c&gt;&lt;/cn&gt;&lt;/c1&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-8115674456736391346?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='SAP ABAP - Split Command/Statement - Introduction, Syntax &amp; Example.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/8115674456736391346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/split-command-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8115674456736391346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8115674456736391346'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/split-command-in-sap-abap.html' title='SAP ABAP - Split Command/Statement - Introduction, Syntax &amp; Example.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5722004171333758725</id><published>2011-07-08T19:09:00.001+05:30</published><updated>2011-07-08T19:09:48.732+05:30</updated><title type='text'>CONCATENATE command in sap abap</title><content type='html'>CONCATENATE command&lt;br /&gt;To concatenate separate character strings into one, use the CONCATENATE statement:&lt;br /&gt;Syntax&lt;br /&gt;CONCATENATE &lt;c1&gt; …&lt;cn&gt; INTO &lt;c&gt; [SEPARATED BY &lt;s&gt;].&lt;br /&gt;This statement concatenates the character fields &lt;c1&gt; to &lt;cn&gt; and assigns the result to &lt;c&gt;.&lt;br /&gt;Trailing blanks are ignored during this operation.&lt;br /&gt;&lt;br /&gt;CONCATENATE STR ‘:’ STR2 INTO STRING.&lt;br /&gt;Here str, str2 and ‘:’ is concatenated and result is stored in string.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-5722004171333758725?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/5722004171333758725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/concatenate-command-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5722004171333758725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5722004171333758725'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/concatenate-command-in-sap-abap.html' title='CONCATENATE command in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-216666602460138719</id><published>2011-07-08T19:08:00.005+05:30</published><updated>2011-08-19T22:38:12.189+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='syntax strlen'/><category scheme='http://www.blogger.com/atom/ns#' term='strlen keyword abap'/><category scheme='http://www.blogger.com/atom/ns#' term='strlen use in abap'/><title type='text'>SAP ABAP - STRLEN Command/Keyword - Introduction &amp; Syntax.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;STRLEN&lt;/b&gt;&amp;nbsp;Command:&lt;br /&gt;&lt;br /&gt;To determine the length of a character string up to the last character other than SPACE, use the built-in function STRLEN as follows:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Syntax&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;N = STRLEN ( STR ).&lt;br /&gt;Here N is defined in DATA statement as type i.&lt;br /&gt;&lt;br /&gt;STRLEN processes any operand &lt;c&gt; as a character data type, regardless of its real type. No conversions are performed.&lt;/c&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-216666602460138719?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/216666602460138719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/strlen-command-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/216666602460138719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/216666602460138719'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/strlen-command-in-sap-abap.html' title='SAP ABAP - STRLEN Command/Keyword - Introduction &amp; Syntax.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1398686730088148903</id><published>2011-07-08T19:08:00.004+05:30</published><updated>2011-08-19T22:25:16.575+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='use of condense command'/><category scheme='http://www.blogger.com/atom/ns#' term='condense command'/><category scheme='http://www.blogger.com/atom/ns#' term='abap condense'/><title type='text'>SAP ABAP - Condense Statement/Command - Introduction &amp; Syntax.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;CONDENSE&lt;/b&gt; command&lt;br /&gt;To delete superfluous blanks in character fields, use the &lt;b&gt;CONDENSE&lt;/b&gt; statement:&lt;br /&gt;Syntax&lt;br /&gt;&lt;b&gt;CONDENSE &lt;/b&gt;&lt;c&gt;&lt;b&gt; [NO-GAPS]&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;This statement removes any leading blanks in the field &lt;c&gt; and replaces other sequences of blanks by exactly one blank.  The result is a left-justified sequence of words, each separated by one blank.  If the addition NO-GAPS is specified, all blanks are removed.&lt;/c&gt;&lt;/c&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1398686730088148903?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='SAP ABAP - Condense Statement/Command - Introduction &amp; Syntax.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1398686730088148903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/condense-command-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1398686730088148903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1398686730088148903'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/condense-command-in-sap-abap.html' title='SAP ABAP - Condense Statement/Command - Introduction &amp; Syntax.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-8325309782644141119</id><published>2011-07-08T19:07:00.001+05:30</published><updated>2011-07-08T19:07:55.385+05:30</updated><title type='text'>TRANSLATE command in sap ABAP</title><content type='html'>TRANSLATE command&lt;br /&gt;Syntax&lt;br /&gt;TRANSLATE&lt;c&gt; TO UPPER CASE.&lt;br /&gt;TRANSLATE&lt;c&gt; TO LOWER CASE.&lt;br /&gt;These statements convert all lower case letters in the field &lt;c&gt; to upper case or vice versa.&lt;br /&gt;&lt;br /&gt;You can use TRANSLATE to substitute the characters in a string like replace.  But the main difference between Translate and Replace is that Replace statement replaces only one occurrence of particular character while Translate replaces all the occurrences of the character.&lt;br /&gt;&lt;br /&gt;When using substitution rules, use the following syntax:&lt;br /&gt;Syntax&lt;br /&gt;TRANSLATE &lt;c&gt; USING &lt;r&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-8325309782644141119?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/8325309782644141119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/translate-command-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8325309782644141119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8325309782644141119'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/translate-command-in-sap-abap.html' title='TRANSLATE command in sap ABAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-8179710080338019316</id><published>2011-07-08T19:05:00.001+05:30</published><updated>2011-08-19T22:39:44.159+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='replace command syntax'/><category scheme='http://www.blogger.com/atom/ns#' term='replace keyword abap'/><category scheme='http://www.blogger.com/atom/ns#' term='replace abap statement'/><title type='text'>SAP ABAP - Replace Command - Introduction, Syntax &amp; Example.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You use the &lt;b&gt;REPLACE&lt;/b&gt; statement.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Syntax:&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;REPLACE&lt;/b&gt;&lt;strl&gt;&lt;b&gt;WITH&lt;/b&gt;&lt;str2&gt;&lt;b&gt;INTO&lt;/b&gt;&lt;c&gt;&lt;b&gt;[LENGTH&amp;lt;1&amp;gt;].&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/c&gt;&lt;/str2&gt;&lt;/strl&gt;&lt;br /&gt;&lt;strl&gt;&lt;str2&gt;&lt;c&gt;ABAP/4 searches the field &lt;c&gt; for the first occurrence of the first,1 positions of the pattern &lt;str1&gt;.  If no length is specified, it searches for the pattern &lt;str1&gt; in its full length.&lt;br /&gt;&lt;br /&gt;Then, the statement replaces the first occurrence of the pattern &lt;str1&gt; in field &lt;c&gt;with the string &lt;str2&gt;. If a length &lt;l&gt; was specified, only the relevant part of the pattern is replaced.&lt;br /&gt;&lt;br /&gt;REPLACE STR1 WITH STR2 INTO STRING.&lt;br /&gt;Here whole string is searched for string1 and is replaces with str2.&lt;br /&gt;&lt;br /&gt;&lt;/l&gt;&lt;/str2&gt;&lt;/c&gt;&lt;/str1&gt;&lt;/str1&gt;&lt;/str1&gt;&lt;/c&gt;&lt;/c&gt;&lt;/str2&gt;&lt;/strl&gt;&lt;br /&gt;&lt;strl&gt;&lt;str2&gt;&lt;c&gt;&lt;c&gt;&lt;str1&gt;&lt;str1&gt;&lt;str1&gt;&lt;c&gt;&lt;str2&gt;&lt;l&gt;REPLACE ‘&amp;amp;’ WITH ‘M’&lt;br /&gt;Here the system searches string for &amp;amp; and replaces it with ‘M’.&lt;/l&gt;&lt;/str2&gt;&lt;/c&gt;&lt;/str1&gt;&lt;/str1&gt;&lt;/str1&gt;&lt;/c&gt;&lt;/c&gt;&lt;/str2&gt;&lt;/strl&gt;&lt;br /&gt;&lt;strl&gt;&lt;str2&gt;&lt;c&gt;&lt;c&gt;&lt;str1&gt;&lt;str1&gt;&lt;str1&gt;&lt;c&gt;&lt;str2&gt;&lt;l&gt;&lt;br /&gt;&lt;/l&gt;&lt;/str2&gt;&lt;/c&gt;&lt;/str1&gt;&lt;/str1&gt;&lt;/str1&gt;&lt;/c&gt;&lt;/c&gt;&lt;/str2&gt;&lt;/strl&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-8179710080338019316?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='SAP ABAP - Replace Command - Introduction, Syntax &amp; Example.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/8179710080338019316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/replace-command-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8179710080338019316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8179710080338019316'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/replace-command-in-sap-abap.html' title='SAP ABAP - Replace Command - Introduction, Syntax &amp; Example.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-7806697911206696498</id><published>2011-07-08T19:04:00.002+05:30</published><updated>2011-08-19T22:41:27.475+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='use of shift statement'/><category scheme='http://www.blogger.com/atom/ns#' term='use of shift command abap'/><category scheme='http://www.blogger.com/atom/ns#' term='shift keyword abap'/><category scheme='http://www.blogger.com/atom/ns#' term='shift statement abap'/><title type='text'>SAP ABAP - Shift Command - Introduction, Syntax &amp; Example.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;To shift the contents of a field, by one position or one character you can use the &lt;b&gt;SHIFT&lt;/b&gt; statement.  Using &lt;b&gt;SHIFT&lt;/b&gt; allows you to shift field contents, byte-by-byte or character-by- character.&lt;br /&gt;&lt;br /&gt;With the &lt;b&gt;SHIFT&lt;/b&gt; statement, you can execute the following:&lt;br /&gt;&lt;br /&gt;String = ‘HELLO’.&lt;br /&gt;String 1 = ‘ALL OF YOU’.&lt;br /&gt;String 2 = ‘WORK HARD’.&lt;br /&gt;&lt;br /&gt;Shift string&lt;br /&gt;Shift string1 by 2 places.&lt;br /&gt;Shift string2 right.&lt;br /&gt;Shift string1 by 2 places circular.&lt;br /&gt;The output will be&lt;br /&gt;&lt;br /&gt;ELLO – By default if nothing is specified then string is shifted by one position.&lt;br /&gt;L OF YOU – Here the string is shifted by 2 places.&lt;br /&gt;_WORK HARD – In this case the string is shifted to right by one place (with leading blanks)&lt;br /&gt;K HARDWOR – In this case the string is shifted to the left so that 3 characters on the left appear on the right.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-7806697911206696498?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='SAP ABAP - Shift Command - Introduction, Syntax &amp; Example.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/7806697911206696498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/shift-command-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7806697911206696498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/7806697911206696498'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/shift-command-in-sap-abap.html' title='SAP ABAP - Shift Command - Introduction, Syntax &amp; Example.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3715848778710990412</id><published>2011-07-08T19:03:00.002+05:30</published><updated>2011-07-08T19:04:12.502+05:30</updated><title type='text'>LOOPING statements in abap</title><content type='html'>Looping with DO statement&lt;br /&gt;&lt;br /&gt;If you want to write your name say for 10 times, you need to write WRITE statement for 10 times.&lt;br /&gt;When you want to process a statement more than once, you can write this statement within a loop with the DO statement as follows:&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;DO 5 times.&lt;br /&gt;  Write : / name.&lt;br /&gt;ENDDO.&lt;br /&gt;&lt;br /&gt;The system continues processing the statement block for 5 times introduced by DO and concluded by ENDDO.&lt;br /&gt;&lt;br /&gt;The system field SY-INDEX contains the number of times the loop has been processed so in this case when the loop is over value of sy-index will be 5.&lt;br /&gt;&lt;br /&gt;In this case you know that, you want to perform WRITE statement for 5 times.  But that is not the case always.  Many times you need to terminate the loop depending upon certain conditions. This can be done, by using EXIT or STOP statement.&lt;br /&gt;&lt;br /&gt;The important point to remember when you don’t you use TIMES option, is to avoid endless loops when working with the DO statement.  If you do not use the TIMES option, include at least one EXIT, STOP statement so that the system can leave the loop.&lt;br /&gt;&lt;br /&gt;EXIT and STOP takes you out of that loop.&lt;br /&gt;&lt;br /&gt;Looping with WHILE Statement&lt;br /&gt;&lt;br /&gt;If you want to process a statement block more than once as long as a condition is true, you can program a loop with the WHILE statement as follows:&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;DATA: M TYPE I VALUE 0.&lt;br /&gt;WHILE M &lt; 10.&lt;br /&gt;  WRITE: / M.&lt;br /&gt;  M = M + 1.&lt;br /&gt;ENDWHILE.&lt;br /&gt;&lt;br /&gt;The system continues processing the statement block introduced by WHILE and concluded by ENDWHILE statements as long as M is less than 10 or until the system finds an EXIT, STOP.&lt;br /&gt;&lt;br /&gt;The system field SY-INDEX contains the number of times the loop has been processed.&lt;br /&gt;&lt;br /&gt;You can nest WHILE loops any number of times and also combine them with other loops.&lt;br /&gt;&lt;br /&gt;Difference between DO loop and WHILE is that in WHILE, condition is checked first and if condition is true then loop is executed while in DO loop, the loop gets executed first if you don’t have TIMES option and then the condition is checked (if you have any).&lt;br /&gt;&lt;br /&gt;You can have nested DO and WHILE or DO and IF or IF and IF or any possible situation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3715848778710990412?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3715848778710990412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/looping-statements-in-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3715848778710990412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3715848778710990412'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/looping-statements-in-abap.html' title='LOOPING statements in abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1919612839037699149</id><published>2011-07-08T19:03:00.001+05:30</published><updated>2011-07-08T19:03:21.767+05:30</updated><title type='text'>Branching with CASE statement in sap abap</title><content type='html'>Branching with CASE statement&lt;br /&gt;&lt;br /&gt;To execute different statement blocks depending on the contents of particular data fields, you can either use IF statement or the CASE statement as follows:&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;CASE &lt;f&gt;.&lt;br /&gt;  WHEN &lt;f1&gt;.&lt;br /&gt;    &lt;statement block&gt;&lt;br /&gt;  WHEN &lt;f2&gt;.&lt;br /&gt;    &lt;statement block&gt;&lt;br /&gt;  WHEN &lt;f3&gt;.&lt;br /&gt;     &lt;statement block&gt;&lt;br /&gt;  WHEN OTHERS.&lt;br /&gt;     &lt;statement block&gt;&lt;br /&gt; ENDCASE.&lt;br /&gt;&lt;br /&gt;The system executes the statement block after the WHEN statement if the contents of &lt;f&gt; equals the contents of &lt;fi&gt;, and continues processing after the ENDCASE statement.  The statement block after the optional WHEN OTHERS statement is executed if the contents of &lt;f&gt; do not equal any of the &lt;fi&gt; contents.  The last statement block must be concluded with ENDCASE.&lt;br /&gt;&lt;br /&gt;The conditional branching using CASE is a shorter and simpler form of similar processing with IF.  When you have many conditions IF becomes more complicated in such cases CASE is used.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1919612839037699149?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1919612839037699149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/branching-with-case-statement-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1919612839037699149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1919612839037699149'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/branching-with-case-statement-in-sap.html' title='Branching with CASE statement in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-217189317968579819</id><published>2011-07-08T19:02:00.001+05:30</published><updated>2011-07-08T19:02:46.982+05:30</updated><title type='text'>Branching with IF statement in sap abap</title><content type='html'>The IF statement allows you to divert the program flow to a particular statement block, depending on a condition.  This statement block consists of all the commands which occur between an IF statement and the next ELSEIF, ELSE, or ENDIF statement.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;IF&lt;condition1&gt;&lt;br /&gt;    &lt;statement block&gt;&lt;br /&gt;ELSE&lt;br /&gt;    &lt;statement block&gt;&lt;br /&gt;ENDIF&lt;br /&gt;&lt;br /&gt;If the first condition is true, the system executes all the statements up to the end of the first statement block and then continues processing after the ENDIF statement.&lt;br /&gt; &lt;br /&gt;To introduce alternative conditions, you can use ELSEIF statements.  If the first condition is false, the system processes the following ELSEIF statement in the same way as the IF statement.  ELSE begins a statement block which is processed if none of the IF and ELSEIF conditions is true.  The end of the last statement block must always be concluded with ENDIF.&lt;br /&gt;IF &lt;condition1&gt;.&lt;br /&gt;    &lt;statement block&gt;&lt;br /&gt;ELSEIF &lt;condition2&gt;.&lt;br /&gt;    &lt;statement block&gt;&lt;br /&gt;ELSEIF &lt;condition3&gt;.&lt;br /&gt;     &lt;statement block&gt;&lt;br /&gt;ELSE.&lt;br /&gt;     &lt;statement block&gt;&lt;br /&gt;ENDIF.&lt;br /&gt;ABAP/4 allows unlimited nesting of IF – ENDIF statement blocks, but they must terminate within the same processing block.  In other words, an IF – ENDIF block cannot contain an event keyword.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-217189317968579819?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/217189317968579819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/branching-with-if-statement-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/217189317968579819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/217189317968579819'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/branching-with-if-statement-in-sap-abap.html' title='Branching with IF statement in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1010018223011410243</id><published>2011-07-08T19:01:00.000+05:30</published><updated>2011-07-08T19:02:08.391+05:30</updated><title type='text'>Branched statements in sap abap</title><content type='html'>Like other higher programming languages, ABAP/4 provides standard keywords to control the flow of a program.&lt;br /&gt;&lt;br /&gt;Usually ABAP/4 programs get executed statement by statement.  Many times you need to skip few statements depending upon certain conditions i.e., you change the flow of program.  This can be done by:&lt;br /&gt;&lt;br /&gt;• branching (IF, CASE)&lt;br /&gt;• looping (DO, WHILE)&lt;br /&gt;&lt;br /&gt;However, unlike other language where you have only internal control, ABAP/4 has internal control and external control of the program flow. &lt;br /&gt;&lt;br /&gt;• The internal control is steered by standard keywords as mentioned above.  You define this in your program code.&lt;br /&gt;• The external control is stored by events.  Events are generated either from other ABAP/4 programs or from interactive user input (like, for example, using the mouse to click on the screen).  The system does not necessarily process the statements in the same sequence as they are listed in an ABAP/4 program. This makes ABAP/4 an event-driven programming language.  The external control plays an important role mainly for report programs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1010018223011410243?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1010018223011410243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/branched-statements-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1010018223011410243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1010018223011410243'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/branched-statements-in-sap-abap.html' title='Branched statements in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-2530919241625150106</id><published>2011-07-08T18:59:00.002+05:30</published><updated>2011-07-08T19:01:10.881+05:30</updated><title type='text'>Formatting output in write statement of SAP ABAP</title><content type='html'>You can position the output of a WRITE statement on the screen by making a format specification before the field name as follows:&lt;br /&gt;&lt;br /&gt; Syntax:&lt;br /&gt;&lt;br /&gt;WRITE AT [/][&lt;pos&gt;][(&lt;len&gt;)] &lt;f&gt;,&lt;br /&gt;Where&lt;br /&gt;&lt;br /&gt;• ‘the slash’/‘ denotes a new line,&lt;br /&gt;• &lt;pos&gt; is a number or variable denoting the position on the screen,&lt;br /&gt;• &lt;len&gt; is a number or variable long denoting the output length.&lt;br /&gt;&lt;br /&gt;For variables you need to mention the AT, for direct values it is not necessary.&lt;br /&gt;&lt;br /&gt;DATA: LEN TYPE I VALUE 10,&lt;br /&gt; POS TYPE I VALUE 11,&lt;br /&gt; TEXT (10) VALUE ‘1234567890’&lt;br /&gt;WRITE AT POS (LEN) TEXT.&lt;br /&gt;&lt;br /&gt;This produces the following output on the screen;&lt;br /&gt;The text – 1234567890 – appears in the text.&lt;br /&gt;&lt;br /&gt;If the output length &lt;len&gt; is too short, fewer characters are displayed.  Numeric fields are truncated on the left and prefixed with an asterisk (*). All other fields are truncated on the right, but no indication is given that the field is shorter.&lt;br /&gt;&lt;br /&gt;DATA: NUMBER TYPE I VALUE 1234567890,&lt;br /&gt; TEXT (10) VALUE ‘abcdefghij’.&lt;br /&gt;&lt;br /&gt;WRITE: (5) NUMBER, /(5) TEXT.&lt;br /&gt;&lt;br /&gt;This produces the following output:&lt;br /&gt;7890&lt;br /&gt;abcde&lt;br /&gt;&lt;br /&gt;In the default setting, you cannot create empty lines with the WRITE statement.&lt;br /&gt;WRITE: ‘One’,&lt;br /&gt; /‘ ’,&lt;br /&gt; / ‘Two’&lt;br /&gt;&lt;br /&gt;The output looks as follows:&lt;br /&gt;One&lt;br /&gt;Two&lt;br /&gt;&lt;br /&gt;The system suppresses lines that contain nothing but empty spaces.&lt;br /&gt;&lt;br /&gt;You can use various formatting options with the WRITE statement.&lt;br /&gt;&lt;br /&gt;Syntax&lt;br /&gt;&lt;br /&gt;WRITE………… &lt;field&gt; &lt;option&gt;&lt;br /&gt;&lt;br /&gt;Formatting options for all data types&lt;br /&gt;&lt;br /&gt;Option Purpose&lt;br /&gt;LEFT-JUSTIFIED Output is left justified.&lt;br /&gt;CENTERED Output is centered.&lt;br /&gt;RIGHT-JUSTIFIED Output is right justified.&lt;br /&gt;NO-GAP The blank after the field &lt;f&gt; is omitted.&lt;br /&gt;NO-ZERO If a field contains only zeros, these are replaced by blanks.  For type C and N fields, leading zeros are replaced automatically.&lt;br /&gt;Formatting options for numeric fields&lt;br /&gt;&lt;br /&gt;Option Purpose&lt;br /&gt;NO-SIGN The leading sign is not output.&lt;br /&gt;DECIMALS &lt;d&gt; &lt;d&gt; defines the number of digits after the decimal point.&lt;br /&gt;EXPONENT &lt;e&gt; In type F fields, the exponent is defined in &lt;e&gt;&lt;br /&gt;ROUND &lt;r&gt; Type P fields are multiplied by 10**(-r) and then rounded&lt;br /&gt;CURRENCY &lt;c&gt; Format according to currency &lt;c&gt; in table TCURX.&lt;br /&gt;UNIT &lt;u&gt; The number of decimal places is fixed according to the unit&lt;br /&gt;&lt;u&gt; specified in table T006 for type P fields.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Horizontal lines&lt;br /&gt;You can generate horizontal lines on the output screen by using the following syntax:&lt;br /&gt;Syntax&lt;br /&gt;ULINE&lt;br /&gt;Will draw a horizontal line.&lt;br /&gt;ULINE (10)&lt;br /&gt;Will start drawing horizontal line from 10th column position.&lt;br /&gt;WRITE at 10(40) SY-ULINE&lt;br /&gt;This statement draws a horizontal line from 10th position.&lt;br /&gt;&lt;br /&gt;Vertical lines&lt;br /&gt;You generate vertical lines one the output screen by using the following syntax:&lt;br /&gt;Syntax&lt;br /&gt;WRITE [AT [/] [&lt;pos&gt;]] SY-VLINE.&lt;br /&gt;&lt;br /&gt;Blank lines&lt;br /&gt;You can generate blank lines on the screen by using the following syntax :&lt;br /&gt;Syntax&lt;br /&gt;SKIP [&lt;number&gt;]&lt;br /&gt;Starting on the current line, this statement generates &lt;number&gt; blank lines on the output screen.  If no value is specified for &lt;number&gt;, one blank line is output.  In the standard setting, you cannot create empty lines with the WRITE statement alone.&lt;br /&gt;To position the output on a specific line on the screen use:&lt;br /&gt;Syntax&lt;br /&gt;SKIP TO LINE &lt;number&gt;&lt;br /&gt;This statement allows you to move the output position upwards or downwards.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-2530919241625150106?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/2530919241625150106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/formatting-output-in-write-statement-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2530919241625150106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2530919241625150106'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/formatting-output-in-write-statement-of.html' title='Formatting output in write statement of SAP ABAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-473496729320742455</id><published>2011-07-08T18:59:00.001+05:30</published><updated>2011-07-08T18:59:48.017+05:30</updated><title type='text'>WRITE Statement in sap abap</title><content type='html'>The basic APAB/4 statement for outputting data on the screen is WRITE.&lt;br /&gt;&lt;br /&gt;Syntax:&lt;br /&gt;&lt;br /&gt;WRITE &lt;field&gt; &lt;option&gt;.&lt;br /&gt;&lt;br /&gt;This statement outputs the field &lt;f&gt; to the current list in its standard output format.&lt;br /&gt;By default, the list is displayed on the screen.&lt;br /&gt;The field &lt;field&gt;can be any variable or table field or just literal.&lt;br /&gt;&lt;br /&gt;PROGRAM ZDEMO&lt;br /&gt;WRITE: /‘HELLO’.&lt;br /&gt;&lt;br /&gt;When you start this program, the system leaves the current screen i.e., your editor screen and branches to the output screen, which is also called as list screen:&lt;br /&gt;&lt;br /&gt;The list screen has the same name as the title of the program specified in the program attributes.  First line on the screen contains the list header.  By default, the list header is the same as the title of the program.  The current page number (1) appears on the right.  The list header is followed by one line and then the output is displayed.&lt;br /&gt;&lt;br /&gt;Write : ‘HELLO’.&lt;br /&gt;Write : ‘WORK HARD’&lt;br /&gt;&lt;br /&gt;On the screen, the output is normally left justified.  But in above case, because we have used two WRITE statements, the output fields are displayed one after the other, each separated by one column (i.e., one blank).  If there is not enough space for an output field on the current line, a new line is started.&lt;br /&gt;&lt;br /&gt;Almost all system-defined fields are right justified except FLOAT, INTEGER, and PACKED i.e., number field.  The numeric data types F, P, and I are right justified and padded with blanks on the left.  If there is sufficient space, thousands of separators are also output.  If a type P field contains decimal places, the default output length is increased by one.&lt;br /&gt;&lt;br /&gt;With the data type D, the internal format of a date differs from its output format.  When you use the WRITE statement for outputting data, the system automatically outputs dates of type D in the format specified in the user’s master record (e.g. DD/MM/YYYY or MM/DD/YYYY).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-473496729320742455?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/473496729320742455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/write-statement-in-sap-abap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/473496729320742455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/473496729320742455'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/write-statement-in-sap-abap.html' title='WRITE Statement in sap abap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-768115824969572279</id><published>2011-07-08T18:58:00.001+05:30</published><updated>2011-07-08T18:59:16.734+05:30</updated><title type='text'>Parameters statement in SAP</title><content type='html'>Parameter statement is used to accept input from user.  PARAMETER statement is used when you want user to enter data and depending upon what he enters you need to take action.  The parameter statement declares the variable and also allows system to accept data into that variable.&lt;br /&gt;&lt;br /&gt;Syntax.&lt;br /&gt;Parameters: num type I.&lt;br /&gt;Here parameter statement declares the variable and creates the selection screen on which user enters the data i.e., in this case num is declared of type I and user can enter any number.  Entered value is stored in the same variable and can be used in program.&lt;br /&gt;Data: m type I&lt;br /&gt;Parameters: num type I&lt;br /&gt;M = num – 5&lt;br /&gt;Write: / ‘The number is’, m.&lt;br /&gt;You can define default values with parameter statement for example&lt;br /&gt;Parameter: num type I default 12.&lt;br /&gt;In this case when selection screen is displayed the default value is displayed.  User can either use same value or overwrite the value.&lt;br /&gt;Parameter of type character and length = 1, can be displayed as Checkbox and Radiobutton.&lt;br /&gt;Parameter: C1 as Checkbox,&lt;br /&gt;  C2 as Checkbox.&lt;br /&gt;Parameter: R1 Radiobutton group g1,&lt;br /&gt;  R2 Radiobutton group g1.&lt;br /&gt;&lt;br /&gt;When parameter is defined as Radiobutton, it needs to be attached to one group.  Only one Radiobutton of one group can be clicked.&lt;br /&gt;&lt;br /&gt;Every parameter can be associated with language dependent text that is displayed on the selection screen. This can be done with the help of text elements.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-768115824969572279?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/768115824969572279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/parameters-statement-in-sap_08.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/768115824969572279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/768115824969572279'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/parameters-statement-in-sap_08.html' title='Parameters statement in SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6379012580124179050</id><published>2011-07-08T18:58:00.000+05:30</published><updated>2011-07-08T18:59:07.546+05:30</updated><title type='text'>Parameters statement in SAP</title><content type='html'>Parameter statement is used to accept input from user.  PARAMETER statement is used when you want user to enter data and depending upon what he enters you need to take action.  The parameter statement declares the variable and also allows system to accept data into that variable.&lt;br /&gt;&lt;br /&gt;Syntax.&lt;br /&gt;Parameters: num type I.&lt;br /&gt;Here parameter statement declares the variable and creates the selection screen on which user enters the data i.e., in this case num is declared of type I and user can enter any number.  Entered value is stored in the same variable and can be used in program.&lt;br /&gt;Data: m type I&lt;br /&gt;Parameters: num type I&lt;br /&gt;M = num – 5&lt;br /&gt;Write: / ‘The number is’, m.&lt;br /&gt;You can define default values with parameter statement for example&lt;br /&gt;Parameter: num type I default 12.&lt;br /&gt;In this case when selection screen is displayed the default value is displayed.  User can either use same value or overwrite the value.&lt;br /&gt;Parameter of type character and length = 1, can be displayed as Checkbox and Radiobutton.&lt;br /&gt;Parameter: C1 as Checkbox,&lt;br /&gt;  C2 as Checkbox.&lt;br /&gt;Parameter: R1 Radiobutton group g1,&lt;br /&gt;  R2 Radiobutton group g1.&lt;br /&gt;&lt;br /&gt;When parameter is defined as Radiobutton, it needs to be attached to one group.  Only one Radiobutton of one group can be clicked.&lt;br /&gt;&lt;br /&gt;Every parameter can be associated with language dependent text that is displayed on the selection screen. This can be done with the help of text elements.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6379012580124179050?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6379012580124179050/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/parameters-statement-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6379012580124179050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6379012580124179050'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/parameters-statement-in-sap.html' title='Parameters statement in SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1362498103101615284</id><published>2011-07-08T18:57:00.001+05:30</published><updated>2011-08-19T23:18:35.084+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='types of data objects sap'/><category scheme='http://www.blogger.com/atom/ns#' term='data objects'/><category scheme='http://www.blogger.com/atom/ns#' term='data types abap'/><category scheme='http://www.blogger.com/atom/ns#' term='external data types abap'/><title type='text'>SAP ABAP - Data Types &amp; Data Objects.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;• Data objects are units created during runtime.&lt;br /&gt;• Data object cannot exist without data type.&lt;br /&gt;• Occupies memory space.&lt;br /&gt;&lt;br /&gt;Kinds of Data Objects&lt;br /&gt;&lt;br /&gt;1. INTERNAL DATA OBJECTS&lt;br /&gt;&lt;br /&gt;• Literal&lt;br /&gt;&lt;br /&gt;A literal has a fixed value.&lt;br /&gt;Ex WRITE:  “WORK HARD”&lt;br /&gt;&lt;br /&gt;• Variables&lt;br /&gt;&lt;br /&gt;DATA statement is used to create variables&lt;br /&gt;Ex DATA: NUM TYPE I&lt;br /&gt;NUM is a variable declared by DATA statement.  Any variable, which you use in program, need to be declared before you use it and can be done by DATA statement.&lt;br /&gt;&lt;br /&gt;Here variable is declared by referring to existing data type.&lt;br /&gt;&lt;br /&gt;Variable can also be declared by referring existing data object.&lt;br /&gt;Ex. We have already declared NUM by DATA statement.&lt;br /&gt;DATA: PRICE LIKE NUM.&lt;br /&gt;Here variable is declared by using LIKE parameter, which tells system that price has all the attributes of data object NUM i.e., PRICE is also of type I.&lt;br /&gt;&lt;br /&gt;The main difference between TYPE and LIKE parameter when defining or declaring the object is that TYPE is used to refer existing DATA TYPE (elementary or structured or user defined) while LIKE is used to declare data objects with reference to existing DATA OBJECTS.&lt;br /&gt;&lt;br /&gt;• Constant&lt;br /&gt;&lt;br /&gt;Constant is a data object, which contains fixed value through out the program.  Constant can be declared in program by using CONSTANT statement.&lt;br /&gt;&lt;br /&gt;Ex. CONSTANT: INT TYPE I VALUE 15.&lt;br /&gt;&lt;br /&gt;In program value of INT cannot be changed.  If you give a statement like INT = 20.&lt;br /&gt;In this case system will give error.&lt;br /&gt;&lt;br /&gt;2. EXTERNAL DATA OBJECTS&lt;br /&gt;&lt;br /&gt;Are defined in tables i.e., in ABAP/4 dictionary.  You can access this data from table.&lt;br /&gt;&lt;br /&gt;TABLES: SFLIGHT&lt;br /&gt;DATA: SEATS LIKE SFLIGHT-SEATSMAX.&lt;br /&gt;&lt;br /&gt;3. SYSTEM-DEFINED DATA OBJECTS&lt;br /&gt;&lt;br /&gt;SPACE &amp;amp; SYSTEM VARIABLES like sy-uname, sy-datum, &amp;amp; sy-repid.&lt;br /&gt;&lt;br /&gt;4. SPECIAL DATA OBJECTS&lt;br /&gt;&lt;br /&gt;PARAMETERS: are variable, which can accept value from user.&lt;br /&gt;&lt;br /&gt;SELECTIONS CRITERIA: are special internal tables to accept value range from user.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Need for Data types:&lt;br /&gt;&lt;br /&gt;Consider the following example.&lt;br /&gt;&lt;br /&gt;DATA: fname(20),&lt;br /&gt;mname(20),&lt;br /&gt;lname(20),&lt;br /&gt;add1(20),&lt;br /&gt;add2(20),&lt;br /&gt;add3(20).&lt;br /&gt;&lt;br /&gt;If you have DATA statement like above, and if you need to change the length of all the fields say from 20 to 25, then you need to change all the fields i.e., going through each and every statement.&lt;br /&gt;&lt;br /&gt;But consider the following case where TYPES has been used.&lt;br /&gt;&lt;br /&gt;TYPES:str(20)&lt;br /&gt;DATA:fname type str,&lt;br /&gt;Mname type str,&lt;br /&gt;Lname type str,&lt;br /&gt;Add1 type str,&lt;br /&gt;Add2 type str,&lt;br /&gt;Add3 type str.&lt;br /&gt;&lt;br /&gt;In this case if you need to change the length of all fields from 20 to 25.  Then just change the length of STR and change will be reflected for all the fields.&lt;br /&gt;&lt;br /&gt;If you define all the types in TYPE-POOL i.e., global definition of all the types, you can use these types anywhere and in any program.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1362498103101615284?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='SAP ABAP - Data Types &amp; Data Objects.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1362498103101615284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-data-types-and-data-objects-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1362498103101615284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1362498103101615284'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-data-types-and-data-objects-in.html' title='SAP ABAP - Data Types &amp; Data Objects.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5516027441152206634</id><published>2011-07-08T18:56:00.000+05:30</published><updated>2011-07-08T18:57:33.829+05:30</updated><title type='text'>what is a report in sap abap/ what is the use of reports in sap</title><content type='html'>• Reports are ABAP/4 programs.&lt;br /&gt;• You use reports to evaluation data from database tables.  The results of such an evaluation can be displayed on the screen or printed form.&lt;br /&gt;• Reports are stand-alone programs.&lt;br /&gt;• The user can execute reports directly via the program name, for example, by choosing System ® Utilities ® Reporting.&lt;br /&gt;• A report program contains a collection of processing blocks for different events that are always triggered externally.  In a report, you can react on events by programming the corresponding processing blocks or ignore the events by not writing the corresponding processing blocks.  A report itself never creates events.&lt;br /&gt;• Reports can use logical databases or select statements defined by developer.&lt;br /&gt;• For each application, SAP supplies logical databases.  Or you can easily create logical database yourself. &lt;br /&gt;• Event control of a report corresponds to a certain scheme:&lt;br /&gt;When a report is executed, the ABAP/4 processor creates together with the logical database used (if any) a sequence of certain events for which you can program processing blocks. The chronology of the events is (more or less) &lt;br /&gt;&lt;br /&gt;Steps involved in creating a Report:&lt;br /&gt;1. Processing the selection screen&lt;br /&gt;After starting a report, the selection screen allows the user to enter limits or control values for further report processing. The report can contain several processing blocks for events during selection screen processing, for example, for checking the input values. &lt;br /&gt;2. Reading the database&lt;br /&gt;After selection screen processing come the events for reading the database. Either the report reads data from relational databases it using the corresponding ABAP/4 statements (open SQL) or leaves this task to a logical database. In the latter case, the logical database creates a sequence of events to allow the report to copy the data.&lt;br /&gt;3. Evaluating data and creating lists&lt;br /&gt;During or after reading the database the report creates the output list. During list creation, several events allow you to layout the output list (for example, layout the page header).&lt;br /&gt;4. Outputting a list&lt;br /&gt;The last part of the processing sequence controlled by the ABAP/4 processor is the list output on the screen or printer. When displaying the list on the screen, user can trigger other reports, that are interactive and are event driven. For example, by clicking the mouse. By programming processing blocks for these events, you change a normal report to a so-called Interactive report. If a report does not contain event keywords, the entire coding of the report belongs to a single processing block, which is called by a standard event. This standard event is triggered directly after processing the selection screen.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DIALOG PROGRAMS&lt;br /&gt;&lt;br /&gt;• You use dialog programs to execute transactions.  The users of dialog programs in dialog sessions read and change database tables.  Apart from the actual data processing (Open SQL), update and enqueue concepts are of great importance when programming dialogs.&lt;br /&gt;• Dialog programs are not stand- alone&lt;br /&gt;• To execute dialog programs, they must be linked to at least one screen that itself is linked to a transaction code. The transaction code determines the initial screen with which the dialog session starts.&lt;br /&gt;• Dialog programs are controlled by screen flow logic&lt;br /&gt;• The actual ABAP/4 dialog program is a so-called module pool. A module pool contains a collection of dialog modules that are called by the screen flow logic.&lt;br /&gt;• To each module pool, at least one, but usually several screens are allocated. Each screen has flow logic. The flow logic consists of PBO (process Before output) and PAI (process After Input) blocks. This flow logic does not use the ABAP/4 programming language and the ABAP/4 Editor tool, but a special statement set and the Screen Painter tool, which you also use to layout screens.  The flow logic mainly contains the chronologically ordered calls of the modules in the corresponding module pool.&lt;br /&gt;• The collection of PBO flow logic, screen, and PAI flow logic is called Dynamic program (Dynpro).  A module pool must have at least one dynpro. Each screen of a dialog session thus is the visible part of a dynpro, to which also the flow logic belongs. The processing logic of a dialog session is stored in the corresponding module pool in the form of ABAP/4 modules.&lt;br /&gt;• The ABAP/4 modules in the module pool are separated into PBO and PAI modules. The PBO or PAI blocks of the flow logic of each dynpro of a module pool can call each PBO or PAI module of this module pool. &lt;br /&gt;• You can use ABAP/4 statements in the processing logic of the module pool to control the chronology of the different dynpros.  After starting a dialog session via the transaction code, which is firmly connected to a dynpro of the module pool, the screen flow logic passes user entries to the processing logic in the ABAP/4 module pool.  The processing logic processes the user entries (database accesses) and, if required, defines the appropriate subsequent screens.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-5516027441152206634?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/5516027441152206634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-report-in-sap-abap-what-is-use.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5516027441152206634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5516027441152206634'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-report-in-sap-abap-what-is-use.html' title='what is a report in sap abap/ what is the use of reports in sap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1445064951815842997</id><published>2011-07-08T18:55:00.002+05:30</published><updated>2011-07-08T18:56:34.271+05:30</updated><title type='text'>Structure and execution of ABAP/4 programs</title><content type='html'>Structure and execution of ABAP/4 programs are essentially different from entirely sequential programming languages such as FORTRAN, PASCAL, or C.  ABAP/4 instead shares certain similarities with modular, event-orient programming languages such as Visual Basic or JAVA.&lt;br /&gt;The two most important statements concerning structure and execution are:&lt;br /&gt;&lt;br /&gt;An ABAP/4 program has a modular structure.&lt;br /&gt;For execution, you need a special runtime environment.&lt;br /&gt;This means, that ABAP/4 source texts always consist of a collection of program modules (one single module in the easiest case) or the sequential set of statements. The individual program modules consist of sequential elements. The set of statements of a program module is also called processing block.&lt;br /&gt;The runtime environment is responsible for calling the individual program modules one after the other.  The runtime environment is the ABAP/4 processor, which can communicate with the list processor or the dialog processor, depending on the program type.&lt;br /&gt;&lt;br /&gt;Program flow within the individual processing blocks is sequential, as you know it from other sequential programming languages (for example, FORTRAN, PASCAL and C).  Within the processing blocks, you can use the general control statements for the program flow, such as IF, DOES, WHILE, ABAP/4 does not contain GOTO elements.&lt;br /&gt;&lt;br /&gt;We mainly use programs that consist of a single processing block only and, therefore, behave most likely like programs of other sequential programming languages.  For programming applications, the entirely sequential concept is not sufficient.  SAP distinguishes between two general types of application programs:&lt;br /&gt;&lt;br /&gt;Reports: You use reports to read databases and represent the results in lists.  Reports are collections of processing blocks that the system calls depending on events.&lt;br /&gt;&lt;br /&gt;Dialog programs: You can dialog programs to execute transactions, which usually read and change databases.  Dialog programs are collections of processing blocks (so-called module pools) that are called by a screen flow logic.  The third part of the User’s Guide describes dialog programming in detail.&lt;br /&gt;&lt;br /&gt;Reports can call dialog programs and vice versa.&lt;br /&gt;&lt;br /&gt;In its easiest version, an ABAP/4 program contains one single sequential piece of coding and, thus, one single processing block.&lt;br /&gt;&lt;br /&gt;Characteristics of the ABAP/4 programming languages&lt;br /&gt;• Declarative elements for declaring data of different type and structures.&lt;br /&gt;• Operational elements for manipulating data.&lt;br /&gt;• Control elements to control processing flow.&lt;br /&gt;• ABAP/4 is multi-lingual.  Text elements such as titles, headings, and text body are stored separately, independent of the program codes.  Thus, you can change, translate, and maintain text elements without having no adapt the coding.&lt;br /&gt;• ABAP/4 supports business-related data types and operations. You can execute calculations using special data and time fields.  The system automatically executes all necessary type conversions.&lt;br /&gt;• ABAP/4 provides a number of functions for processing character strings.&lt;br /&gt;• ABAP/4 allows you to define and call subroutines.  You can even call subroutines of other programs.  There are different ways of how to pass parameters to and from the Subroutines.&lt;br /&gt;• ABAP/4 contains a special type of subroutine, called function module.  Function modules are stored and maintained in a central library.  They have clearly defined data interfaces to the calling program.  You can test function modules in a stand-alone mode independent of the calling program.&lt;br /&gt;• ABAP/4 contains an SQL subset called OPEN SQL.  OPEN SQL allows you to read and change database tables independent of the underlying database system.&lt;br /&gt;• ABAP/4 allows you to define and process internal tables that exist only for the execution period of the program. Internal tables efficiently support the usage of database tables and allow you to implement complex data structures in a program. &lt;br /&gt;• ABAP/4 allows you to store data not only in databases but also as sequential files on application and presentation servers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1445064951815842997?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1445064951815842997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/structure-and-execution-of-abap4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1445064951815842997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1445064951815842997'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/structure-and-execution-of-abap4.html' title='Structure and execution of ABAP/4 programs'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3871931228748271973</id><published>2011-07-08T18:55:00.001+05:30</published><updated>2011-07-08T18:55:43.508+05:30</updated><title type='text'>General Introduction to ABAP/4</title><content type='html'>SAP originally developed the programming language ABAP/4 (Advanced Business Application Programming) for internal use to provide best working conditions for developers.  SAP constantly improves the language to adapt to the increasing requirements of the business applications.  At present, ABAP/4 is the only tool for developing applications at SAP.&lt;br /&gt;&lt;br /&gt;SAP customers use ABAP/4 for their own developments.  The ABAP/4 Development Workbench contains all tools you need to create and maintain ABAP/4 programs.  ABAP/4 programs are not complied but generated.  During generation, the system creates a so-called runtime object from the source code and the program attributes.  When you start the program, the system executes the runtime object.&lt;br /&gt;&lt;br /&gt;ABAP/4, a fourth generation language, contains all usual control structures and modularizing concepts for structured programming.  The three parts of the ABAP/4 language are:&lt;br /&gt;&lt;br /&gt;Structure and execution of ABAP/4 programs&lt;br /&gt;Basic language elements&lt;br /&gt;Programming reports&lt;br /&gt;Programming dialogs&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3871931228748271973?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3871931228748271973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/general-introduction-to-abap4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3871931228748271973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3871931228748271973'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/general-introduction-to-abap4.html' title='General Introduction to ABAP/4'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-2085181081227394248</id><published>2011-07-08T18:54:00.000+05:30</published><updated>2011-07-08T18:55:08.888+05:30</updated><title type='text'>database table creation in SAP</title><content type='html'>Parameters to be passed for creation of table:&lt;br /&gt;&lt;br /&gt;Short description: Mandatory field.&lt;br /&gt;Delivery class:  As per User Requirement&lt;br /&gt;Table fields:   Specify whether primary key.  In this case it is mandatory to enter data element.&lt;br /&gt;Data class:  Establishes the physical area of the database.&lt;br /&gt;Size category:  Allows you to specify estimated space requirement for the table.&lt;br /&gt;&lt;br /&gt;Further down under buffering square box, the system allows specifying whether table is going to be buffered.  When a table is buffered, it is loaded into the table buffer from the application server memory and it will remain there until you switch off or reboot system.&lt;br /&gt;&lt;br /&gt;If the table is to be buffered, you need to specify the type of buffering.  Full is for entire table while partial is for only those records which are being accessed.&lt;br /&gt;&lt;br /&gt;Once the table is created, it has to be generated or activated to be able to access by other objects like programs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-2085181081227394248?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/2085181081227394248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/database-table-creation-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2085181081227394248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2085181081227394248'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/database-table-creation-in-sap.html' title='database table creation in SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4156649819505677003</id><published>2011-07-08T18:53:00.000+05:30</published><updated>2011-07-08T18:54:18.595+05:30</updated><title type='text'>Creating Data Element in SAP</title><content type='html'>The second step of table creation is to create data element.  It assigns a certain meaning to the table field, which are defined using that data element. A Data element always needs to be defined over a domain and field is always defined over a data element.  This allows all fields with same technical properties to use the same data element.&lt;br /&gt;&lt;br /&gt;Parameters to be passed when creating a data element:&lt;br /&gt;Short text:  Mandatory field.&lt;br /&gt;Domain:  A mandatory field.  If the domain does not exist, SAP can take you directly to domain definition screen.&lt;br /&gt;Text element: You can enter description is short or long text for the field.  This text is used when &lt;br /&gt;entering data for these fields.&lt;br /&gt;Save and activate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4156649819505677003?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4156649819505677003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/creating-data-element-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4156649819505677003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4156649819505677003'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/creating-data-element-in-sap.html' title='Creating Data Element in SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6128757324561715151</id><published>2011-07-08T18:52:00.000+05:30</published><updated>2011-07-08T18:53:19.585+05:30</updated><title type='text'>Creating Domain in sap</title><content type='html'>Domain as already explained defines the technical properties of a field such as type and value range.  A domain can be created from initial screen of data dictionary by clicking on create and clicking domain Radiobutton. Parameters to be passed are:&lt;br /&gt;&lt;br /&gt;Data type: Where you need to enter the data type available in SAP.&lt;br /&gt;Field length:  Field length is the number of valid position.&lt;br /&gt;Value table: Name of a table to be entered.  The fields referring to this domain may only assume values contained in the value table.&lt;br /&gt;&lt;br /&gt;Once the domain is created, save and activate it, so that it can be used for further objects (basic rule of dictionary).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6128757324561715151?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6128757324561715151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/creating-domain-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6128757324561715151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6128757324561715151'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/creating-domain-in-sap.html' title='Creating Domain in sap'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4044963428855191454</id><published>2011-07-08T18:51:00.000+05:30</published><updated>2011-07-08T18:52:38.551+05:30</updated><title type='text'>Tables in ABAP/4 dictionary / Create a table in SAP</title><content type='html'>Tables are the basic objects in R/3 application. There are almost 8000 tables in R/3 system.  Following types of tables are available&lt;br /&gt;&lt;br /&gt;• Transparent tables&lt;br /&gt;• Pool tables&lt;br /&gt;• Cluster tables&lt;br /&gt;&lt;br /&gt;From user point of view, all tables are used to store data whatever be the type of table.  There is no difference in the behavior or operation of these tables.  All of them can be managed by using standard OPEN SQL.  However from an administrator point of view transparent table do exists with the same structure both in the dictionary as well as in the database, exactly with the same data and fields.  While other two are not transparent in the sense that they are not manageable directly using database system tools.  You can access these tables in R/3 environment from the ABAP/4 dictionary.  You cannot use native SQL on these tables.  Pool or cluster tables are logical tables, which are arranged as records of transparent table.&lt;br /&gt;&lt;br /&gt;A table is made up of rows and columns.  When the table is created, its columns are named; data type is supplied for each column.  There can be only one data value in each column of each row in a table.  Record or as it is called in different RDBMS is nothing but group of fields. While a column is a field of a table, a table is an indexed file.  The main index is called as primary key, which can be a single field or combination of keys or fields.  A primary key can be defined as a field, which indefinites a single unique record of the table.  A table cannot have record with duplicate primary key.&lt;br /&gt;&lt;br /&gt;In any RDBMS, tables are related to each other.  But to relate table to each other it is necessary that one of the tables contain some information of other table.  Mostly tables are related to each other through primary keys.  The primary key of one table, if it exists in other table then it is called foreign key. This type of database management system means that there is some redundancy of data. But using normalization procedures available can minimize it.  One of the most important functions of foreign key is to ensure data integrity.  For example say you have EMP table, which has fields: emp. no., emp.name, dept.code, salary and you have DEPT tables, which has dept.code and dept.desc.  Then in DEPT table dept.code is primary key while dept.code in EMP table is foreign key.  If you enter dept.code for particular employee in EMP table the dept.code should exist in DEPT table.  System will check the value for dept.code in DEPT table, and if does not exist then will flash error.  In this case DEPT is called check table while EMP is foreign key table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creation of table&lt;br /&gt;&lt;br /&gt;Steps to create a table&lt;br /&gt;• Create domain&lt;br /&gt;• Create data element&lt;br /&gt;• Create actual table&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4044963428855191454?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4044963428855191454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/tables-in-abap4-dictionary-create-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4044963428855191454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4044963428855191454'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/tables-in-abap4-dictionary-create-table.html' title='Tables in ABAP/4 dictionary / Create a table in SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1037857882843056443</id><published>2011-07-08T18:50:00.000+05:30</published><updated>2011-07-08T18:51:05.653+05:30</updated><title type='text'>what is Data Dictionary  in sap/ use of Data Dictionary</title><content type='html'>The ABAP/4dictionary is central workbench repository utility providing the data definition and the information relationship that are later used in all the business application within R/3&lt;br /&gt;&lt;br /&gt;The ABAP/4 dictionary can be seen as a logical representation or a superior layer over the physical underlying database. This database must support the relational data model. This model is strictly followed by data dictionary.&lt;br /&gt;&lt;br /&gt;About Data Dictionary&lt;br /&gt;A Data dictionary in computing terms is the source of information in which system data is defined. The data dictionary is the centralized and structured source of information for business applications. You can say that it is core of a well-structured development environment. &lt;br /&gt;&lt;br /&gt;The elements that make up a dictionary are known as metadata. Metadata is the term for the data whose function is to describe other data. Data in dictionary is not the actual data like emp. name or emp. address but rather a type of data whose function is to define the properties of the data such as type, length, and relationship.&lt;br /&gt;&lt;br /&gt;Advantages&lt;br /&gt;Advantage of using data dictionary is avoiding inconsistencies when defining data type that will later be used in different applications. This avoids redundancies.&lt;br /&gt;&lt;br /&gt;When a type is defined in the dictionary, it is available to any program in the application. A change in the definition of a type of data in the dictionary automatically affects any other data or program, which has this data.&lt;br /&gt;&lt;br /&gt;Again, data dictionary is a fast and efficient way to answer questions such as which entries exist in a table of the database, what the structure of table is.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Activation of dictionary objects&lt;br /&gt;&lt;br /&gt;For a dictionary object to be effective at runtime, that is, for a dictionary object to be available for use within a program, transaction, and so on, it must be in active status.  For objects to become active, R/3 includes the ACTIVATION function.&lt;br /&gt;&lt;br /&gt;When a table or aggregated object is activated, it is placed at the disposal of the system as a runtime object in a way that makes it available quickly for the application program to access relevant information of new activated objects. &lt;br /&gt;&lt;br /&gt;When a dictionary object is modified, that means that the object previously existed and activated.  You need to reactivate the object after modification.&lt;br /&gt;&lt;br /&gt;When mass activation is performed massively, it might take a quite a long time. Then it should be in the background system.  This type of activation is known as background activation.&lt;br /&gt;&lt;br /&gt;The ABAP/4 Data dictionary is the central component of ABAP/4 repository.  A Data dictionary is centralized and structured source of information for business application.  The ABAP/4 dictionary is the core of the R/3 development system.  It is the source of every definition, within R/3, from the very basic domain to the company data model.  It is totally integrated with other tools of the development environment like screen painter, menu painter, and editor.&lt;br /&gt;&lt;br /&gt;Some of the main available functions in the ABAP/4 dictionary are as follows:&lt;br /&gt;&lt;br /&gt;• Add, delete, modify, and manage the definition of the dictionary data.&lt;br /&gt;• Preserve the data integrity.&lt;br /&gt;• Be the central source of information e.g. from the dictionary you get the information about the defined relationship between two tables or even the directory tells whether table is active or empty.&lt;br /&gt;• It also permits documentation of system data.&lt;br /&gt;&lt;br /&gt;In the R/3 system instead of working with original objects, you work with internal representation of objects.  With this type of operation the system performance is enhanced and has the advantage that the development tools, screen interpreters always access current data.&lt;br /&gt;&lt;br /&gt;When any of the data dictionary objects are used in other parts of the development workbench for example, in program, programmer only has to enter a table name or field name.  The system automatically knows all the properties and information of the field.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To call ABAP/4 dictionary, from the main menu, Tools  ABAP/4 workbench  data dictionary or enter transaction SE11.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Data dictionary objects:&lt;br /&gt;&lt;br /&gt;• Table: is a 2D data matrix containing rows and columns.  Rows contain data while column indicates fields.  Table can contain 0 or multiple rows.&lt;br /&gt;• Structure: is a skeletal view of a table.  It contains the definition of columns and don’t have any contents. Structure is generally a template based on which a table is created. The basic difference between structure and table is that the structure does not exist at the underlying database system level.  Structure exists as definition in the dictionary.&lt;br /&gt;• Views: A view is an imaginary table.  It contains data, which is really stored in other tables.  The contents for the view are dynamically generated when called from program.&lt;br /&gt;• Data element:  is definition of the properties and type for a table field.  It is an intermediate object between the object type domain and the table field.  A field in R/3 system is always associated with a data element, which at the same time is related to domain.&lt;br /&gt;• Domain: is formal definition of the data type from a technical point of view. It sets the attributes such as data type, length, possible value range and so on.&lt;br /&gt;• Lock objects: These types of objects are used for locking the access to database records in table.  This mechanism is used to enforce data integrity that is two users cannot update the same data at the same time.  With lock objects you can lock table-field or whole table.&lt;br /&gt;• Search Help Objects: , which gives list of possible values for either primary keys or non-primary keys.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tables in ABAP/4 dictionary&lt;br /&gt;&lt;br /&gt;Tables are the basic objects in R/3 application. There are almost 8000 tables in R/3 system.  Following types of tables are available&lt;br /&gt;&lt;br /&gt;• Transparent tables&lt;br /&gt;• Pool tables&lt;br /&gt;• Cluster tables&lt;br /&gt;&lt;br /&gt;From user point of view, all tables are used to store data whatever be the type of table.  There is no difference in the behavior or operation of these tables.  All of them can be managed by using standard OPEN SQL.  However from an administrator point of view transparent table do exists with the same structure both in the dictionary as well as in the database, exactly with the same data and fields.  While other two are not transparent in the sense that they are not manageable directly using database system tools.  You can access these tables in R/3 environment from the ABAP/4 dictionary.  You cannot use native SQL on these tables.  Pool or cluster tables are logical tables, which are arranged as records of transparent table.&lt;br /&gt;&lt;br /&gt;A table is made up of rows and columns.  When the table is created, its columns are named; data type is supplied for each column.  There can be only one data value in each column of each row in a table.  Record or as it is called in different RDBMS is nothing but group of fields. While a column is a field of a table, a table is an indexed file.  The main index is called as primary key, which can be a single field or combination of keys or fields.  A primary key can be defined as a field, which indefinites a single unique record of the table.  A table cannot have record with duplicate primary key.&lt;br /&gt;&lt;br /&gt;In any RDBMS, tables are related to each other.  But to relate table to each other it is necessary that one of the tables contain some information of other table.  Mostly tables are related to each other through primary keys.  The primary key of one table, if it exists in other table then it is called foreign key. This type of database management system means that there is some redundancy of data. But using normalization procedures available can minimize it.  One of the most important functions of foreign key is to ensure data integrity.  For example say you have EMP table, which has fields: emp. no., emp.name, dept.code, salary and you have DEPT tables, which has dept.code and dept.desc.  Then in DEPT table dept.code is primary key while dept.code in EMP table is foreign key.  If you enter dept.code for particular employee in EMP table the dept.code should exist in DEPT table.  System will check the value for dept.code in DEPT table, and if does not exist then will flash error.  In this case DEPT is called check table while EMP is foreign key table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creation of table&lt;br /&gt;&lt;br /&gt;Steps to create a table&lt;br /&gt;• Create domain&lt;br /&gt;• Create data element&lt;br /&gt;• Create actual table&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creating Domain&lt;br /&gt;&lt;br /&gt;Domain as already explained defines the technical properties of a field such as type and value range.  A domain can be created from initial screen of data dictionary by clicking on create and clicking domain Radiobutton. Parameters to be passed are:&lt;br /&gt;&lt;br /&gt;Data type: Where you need to enter the data type available in SAP.&lt;br /&gt;Field length:  Field length is the number of valid position.&lt;br /&gt;Value table: Name of a table to be entered.  The fields referring to this domain may only assume values contained in the value table.&lt;br /&gt;&lt;br /&gt;Once the domain is created, save and activate it, so that it can be used for further objects (basic rule of dictionary).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Creating Data Element&lt;br /&gt;&lt;br /&gt;The second step of table creation is to create data element.  It assigns a certain meaning to the table field, which are defined using that data element. A Data element always needs to be defined over a domain and field is always defined over a data element.  This allows all fields with same technical properties to use the same data element.&lt;br /&gt;&lt;br /&gt;Parameters to be passed when creating a data element:&lt;br /&gt;Short text:  Mandatory field.&lt;br /&gt;Domain:  A mandatory field.  If the domain does not exist, SAP can take you directly to domain definition screen.&lt;br /&gt;Text element: You can enter description is short or long text for the field.  This text is used when &lt;br /&gt;entering data for these fields.&lt;br /&gt;Save and activate.&lt;br /&gt;&lt;br /&gt;Creation of actual table&lt;br /&gt;&lt;br /&gt;Parameters to be passed for creation of table:&lt;br /&gt;&lt;br /&gt;Short description: Mandatory field.&lt;br /&gt;Delivery class:  As per User Requirement&lt;br /&gt;Table fields:   Specify whether primary key.  In this case it is mandatory to enter data element.&lt;br /&gt;Data class:  Establishes the physical area of the database.&lt;br /&gt;Size category:  Allows you to specify estimated space requirement for the table.&lt;br /&gt;&lt;br /&gt;Further down under buffering square box, the system allows specifying whether table is going to be buffered.  When a table is buffered, it is loaded into the table buffer from the application server memory and it will remain there until you switch off or reboot system.&lt;br /&gt;&lt;br /&gt;If the table is to be buffered, you need to specify the type of buffering.  Full is for entire table while partial is for only those records which are being accessed.&lt;br /&gt;&lt;br /&gt;Once the table is created, it has to be generated or activated to be able to access by other objects like programs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1037857882843056443?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1037857882843056443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-data-dictionary-in-sap-use-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1037857882843056443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1037857882843056443'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/what-is-data-dictionary-in-sap-use-of.html' title='what is Data Dictionary  in sap/ use of Data Dictionary'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-493945104734466078</id><published>2011-07-08T18:48:00.004+05:30</published><updated>2011-07-27T21:23:21.342+05:30</updated><title type='text'>Three Tier Architecture Of R/3 SAP System.</title><content type='html'>Database Server&lt;br /&gt;Application Server&lt;br /&gt;Presentation Server&lt;br /&gt;&lt;br /&gt;(Unlike normal Client/server architecture where you have only two layers i.e., client and server.)&lt;br /&gt;&lt;br /&gt;Communication among the 3 tiers is accomplished by standard protocol services like TCP/IP or CPIC (Common Programming Interface Communication).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In above case database server stores the data centrally.  Basically contains database engine and associated processes.  The database layers contain the database system used by all servers.&lt;br /&gt;&lt;br /&gt;Application server contains software components to run the program.  It contains a SAP kernel, which can run ABAP/4 program.&lt;br /&gt;&lt;br /&gt;The presentation server is your client through which you send your request to application server.  It is also called as SAP graphical user interfaces known as SAPGUI and is available in windows 3.1, Windows NT, Windows 95, and Macintosh.  They all look similar whatever underlying system they are running on.&lt;br /&gt;&lt;br /&gt;The SAPGUI includes all graphical capabilities of window interface with menu bars, tool bars, focus property, and the entire mouse clicking operations.&lt;br /&gt;&lt;br /&gt;The R/3 system is open system in the sense that it can run on any operating system or any database and any communication technology.  It means that:&lt;br /&gt;• R/3 system can run on any operating system platform such as UNIX, NT, 95, AS/400.&lt;br /&gt;• It supports various RDBMS such as SQL server, Oracle, Informix, DB2.&lt;br /&gt;• Standard GUIs supported by R/3 are Windows 95, NT, Windows 3.1, and Macintosh.&lt;br /&gt;• SAP can use standard communication protocols TCP/IP, CPIC, OSF/DCE/DME for network.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-493945104734466078?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sapprograms.blogspot.com/p/sap-n-abap-basics.html' title='Three Tier Architecture Of R/3 SAP System.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/493945104734466078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/three-tier-architecture-of-r3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/493945104734466078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/493945104734466078'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/three-tier-architecture-of-r3.html' title='Three Tier Architecture Of R/3 SAP System.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4564227896463154705</id><published>2011-07-08T18:48:00.003+05:30</published><updated>2011-07-08T18:49:55.796+05:30</updated><title type='text'>ABAP/4 Development Workbench</title><content type='html'>The development environment of SAP R/3 system is fully integrated set of various development tools, data dictionary, and programming language.  Full integration of all components means that changes in any part have a direct and immediate effect on all application using those components.&lt;br /&gt;&lt;br /&gt;The screen of ABAP/4 development workbench looks like&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Tools of ABAP/4 workbench &lt;br /&gt;&lt;br /&gt;For programming:&lt;br /&gt;• ABAP/4 dictionary Defining, maintaining and storing the data dictionary of the SAP R/3 system stores all the dictionary objects including tables relationship and Help information. Transaction code for this is SE11.&lt;br /&gt;• ABAP/4 editor Creating and maintaining the ABAP/4 program, editing function modules, logical database, and screens. Transaction code is SE38.&lt;br /&gt;• Function library Defining and maintaining the ABAP/4 function modules.  Transaction code is SE37.&lt;br /&gt;• Screen painter Designing and maintaining the screens in transaction.  Transaction Code is SE51. &lt;br /&gt;• Menu painter Designing and maintaining the means for graphical user interface.  Transaction code SE41.&lt;br /&gt;&lt;br /&gt;For Navigating:&lt;br /&gt;• Object browser Managing and organizing the development object in a hierarchical form.  Transaction code is SE80.&lt;br /&gt;• ABAP/4 repository information Navigating and searching for the dictionary Objects, development objects and relationship objects. Transaction code SE84.&lt;br /&gt;• Data browser Navigating in the data tables of the database.  Transaction code is SE 16.&lt;br /&gt;&lt;br /&gt;For Debugging:&lt;br /&gt;• SOL trace tracking the database calls from the system transaction and programs.  Transaction code is ST05.&lt;br /&gt;• Debugger Stopping the program and analyzing the results of the execution of every program statement.&lt;br /&gt;• Runtime Analysis Analyzing the performance the system calls Transaction code is SE30 &lt;br /&gt;&lt;br /&gt;For Organizing:&lt;br /&gt;• Workbench organizer controlling and keeping track of development work and team related development projects and managing versions of development objects. Transaction code is SE09.&lt;br /&gt;• Transport system performing and managing the transport of development object across different system. Transaction code is SE01&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4564227896463154705?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4564227896463154705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/abap4-development-workbench.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4564227896463154705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4564227896463154705'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/abap4-development-workbench.html' title='ABAP/4 Development Workbench'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-483680954439676699</id><published>2011-07-08T18:47:00.003+05:30</published><updated>2011-12-18T23:01:45.769+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='sap spool system'/><category scheme='http://www.blogger.com/atom/ns#' term='abap /4 development workbench'/><category scheme='http://www.blogger.com/atom/ns#' term='sap r/3 architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='sap databse interface'/><category scheme='http://www.blogger.com/atom/ns#' term='sap communication interface'/><title type='text'>SAP R/3 Architecture</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The overall R/3 system includes the following components:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The &lt;b&gt;UPPER layer, the functional layer contains the different business application.&lt;/b&gt;  The integration of all application depends upon basis system. Applications are developed in ABAP/4 Lang. (Advanced Business Application – the 4th generation language)&lt;br /&gt;&lt;br /&gt;The R/3 basis software is the set of programs and tools, which interfaces with the operating, system, the underlying database, protocols and the presentation interface.  &lt;b&gt;This layer enables all the application to work exactly the same way no matter what operating system or database, &lt;/b&gt;the system is installed on.  It is an independent layer and ensures the integration of all modules.  Besides all these specific jobs, BASIS system also contains following components and thus provides more additional features.&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;ABAP/4 development workbench&lt;/b&gt;, which in turn includes many features like repository, data dictionary, workbench organizer, which will be discussed in later part of the topics.&lt;br /&gt;&lt;br /&gt;•&lt;b&gt; ABAP/4 language&lt;/b&gt;, system administrative tools, all these components are used to control, tune the R/3 system.&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Spool system manages the formatting&lt;/b&gt;&amp;nbsp;of data for printing and passing it to the host spool system.&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Mail system&lt;/b&gt; you can send and receive mail from the outside world (Internet).&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Communication interface to external system from R/3 system: &lt;/b&gt;Manages communication at the OS level (TCP/IP), at the database level &amp;amp; between applications too. (RFC, EDI, and ALE)&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Database interface&lt;/b&gt; – This component supports different Relational databases from different vendors.  The main task of database interface is to convert the &lt;b&gt;SQL request from the SAP&lt;/b&gt; development environment to the database’s own SQL environment. &lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Background processing with this facility&lt;/b&gt; you can submit your program for background execution.&lt;br /&gt;&lt;br /&gt;BASIS system contains the layered components that facilitate the development of client/server architecture.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-483680954439676699?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/483680954439676699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/r3-architecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/483680954439676699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/483680954439676699'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/r3-architecture.html' title='SAP R/3 Architecture'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-3724475754625214241</id><published>2011-07-08T18:47:00.002+05:30</published><updated>2011-07-08T18:48:02.247+05:30</updated><title type='text'>Client / Server architecture in SAP</title><content type='html'>Client/Server architecture is mainly a software concept that includes a set of service providers and service requesters.  The set of computers acts as service providers and is called as server.  The sets of software component, which act as service requester, are called as client.&lt;br /&gt;&lt;br /&gt;In the client/server architecture, the database acts like a library clerk retrieving books from the shelf.  The user programs have to request database for the data instead of searching for the data themselves.  This way there is no risk of the users putting the data out of order.  If the desired data is in use, the database makes the user wait until it is free.&lt;br /&gt;&lt;br /&gt;The major advantage of the client/server architecture is that the server is available for a number of clients and there is distribution of work between the clients and the server.  The user directs the request to the client; the client in turn understands the user’s request and redirects the request to the server.  The server retrieves the data, gives it to client.&lt;br /&gt;&lt;br /&gt;You can have client and server on the same machine or on different machines.  Each client has a corresponding process inside the server.&lt;br /&gt;&lt;br /&gt;One of the most used client/server configurations with the R/3 system is the 3 tiered architecture, which separates a system’s computer into 3 functional groups:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-3724475754625214241?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/3724475754625214241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/client-server-architecture-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3724475754625214241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/3724475754625214241'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/client-server-architecture-in-sap.html' title='Client / Server architecture in SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4144989864924615279</id><published>2011-07-08T18:46:00.004+05:30</published><updated>2011-12-18T22:58:09.734+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='9 session sap'/><category scheme='http://www.blogger.com/atom/ns#' term='sap r/3 sessions'/><category scheme='http://www.blogger.com/atom/ns#' term='open a new screen in sap'/><category scheme='http://www.blogger.com/atom/ns#' term='max sessions in sap'/><title type='text'>Working With R/3 User Sessions</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;A very important feature provided by SAP.  In&lt;b&gt; R/3 system you can work with more than one task at any given point of time, by means of opening sessions.&lt;/b&gt;  You can call sessions as independent R/3 window where you can perform other tasks.&lt;br /&gt;&lt;br /&gt;By default, a user can open NINE sessions simultaneously and can work or move around with all sessions at the same time.  Sessions can be closed at any time, without having to log off the system.&lt;br /&gt;&lt;br /&gt;User can&lt;b&gt; create new sessions from anywhere as CREATE SESSION&lt;/b&gt; comes under SYSTEM menu which is available in every R/3 window.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;SYSTEM  CREATE SESSION Or /O in command field &lt;/b&gt;&lt;br /&gt;This will open a new session or window and will place it in front of all other windows.&lt;br /&gt;&lt;br /&gt;To move among sessions&lt;br /&gt;• Just mouse click on any part of the R/3 window to make that session active.&lt;br /&gt;• Combination of ALT + TAB key.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4144989864924615279?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4144989864924615279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/working-with-r3-user-sessions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4144989864924615279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4144989864924615279'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/working-with-r3-user-sessions.html' title='Working With R/3 User Sessions'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5352733421965190427</id><published>2011-07-08T18:46:00.003+05:30</published><updated>2011-12-18T22:51:37.736+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='sap help function'/><category scheme='http://www.blogger.com/atom/ns#' term='sap f1 help button'/><category scheme='http://www.blogger.com/atom/ns#' term='sap help r/3'/><title type='text'>Getting Help In The R/3 System.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;R/3 includes many possibilities to get online help for almost every element of the system, users can get help for entire application, for specific function, for definitions of various terms used in SAP, i.e., Glossary, messages, screens, fields etc.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;You obtain HELP by using any of the following options:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Help function from the R/3 window,&lt;/b&gt; which is compulsory menu item of every R/3 window.&lt;br /&gt;• ? Icon of standard tool bar.&lt;br /&gt;• &lt;b&gt;F1 function key.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The SAP system provides help on most fields that appear on the R/3 system.  To get help on particular field, position the cursor over it and&lt;b&gt; press help button or F1 function key.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Another way in which &lt;b&gt;R/3 system provides help is when system displays error messages&lt;/b&gt; in the status bar.  Double clicking on the status bar shows additional information about the message.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-5352733421965190427?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/5352733421965190427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/getting-help-in-r3-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5352733421965190427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5352733421965190427'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/getting-help-in-r3-system.html' title='Getting Help In The R/3 System.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1713387516278262060</id><published>2011-07-08T18:44:00.005+05:30</published><updated>2011-12-18T22:38:42.278+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='transaction codes in sap'/><category scheme='http://www.blogger.com/atom/ns#' term='tcodes sap'/><category scheme='http://www.blogger.com/atom/ns#' term='t-codes sap'/><title type='text'>How To Use Transaction Codes In SAP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;The R/3 system provid&lt;b&gt;es an alternative and efficient way of selecting menu options for moving around the tasks and functions of the SAP system by using transaction&lt;/b&gt; code directly in the command field.&lt;br /&gt;&lt;br /&gt;When moving with transaction, you can go to any part of the system by merely typing a transaction code in the command field, provided you have authorization for that.  That transaction code is the four-character code associated with any task.  &lt;b&gt;By typing the transaction code and pressing ENTER key, the system takes you directly to the initial screen for transaction. &lt;/b&gt; Whenever any transaction code is entered in the command field, it gets stored in the buffer memory.  If you click on drop down arrow, system displays list of transaction code already entered and you can select from this list or enter new one.  There are almost twelve thousand and ninety four transactions in SAP.  For every task, transaction code is associated and it can be found by&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;SYSTEM  STATUS&lt;/b&gt;&lt;br /&gt;Status window is popped up which contains the transaction code in the trans field.&lt;br /&gt;&lt;br /&gt;• Through &lt;b&gt;DYNAMIC MENU.&lt;/b&gt;  It gives the list of tasks.  If you click on the top line of the application areas and pressing the search and search next button will give you the transaction code. /N will take you to initial screen of R/3&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1713387516278262060?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1713387516278262060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/how-to-use-transaction-codes-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1713387516278262060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1713387516278262060'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/how-to-use-transaction-codes-in-sap.html' title='How To Use Transaction Codes In SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5198234490263840104</id><published>2011-07-08T18:44:00.004+05:30</published><updated>2011-12-18T22:37:01.193+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='sap testing tools'/><category scheme='http://www.blogger.com/atom/ns#' term='sap editors'/><category scheme='http://www.blogger.com/atom/ns#' term='sap browsers'/><category scheme='http://www.blogger.com/atom/ns#' term='sap dictionary'/><title type='text'>Different Tools In SAP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Editors&lt;/b&gt;&lt;br /&gt;• SE37 Function Builder&lt;br /&gt;• SE38 ABAP/4 Editor&lt;br /&gt;• SE41 Menu Painter&lt;br /&gt;• SE51 Screen Painter&lt;br /&gt;• SE71 Form Painter&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Dictionary&lt;/b&gt;&lt;br /&gt;• SE11  Initial ABAP/4 dictionary maintain screen.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Browsers&lt;/b&gt;&lt;br /&gt;• SE80 Object browser.&lt;br /&gt;• SE16  Data browser.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Testing Tools&lt;/b&gt;&lt;br /&gt;• SE30 Runtime Analysis&lt;br /&gt;• ST05 SQL Trace&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-5198234490263840104?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/5198234490263840104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/different-tools-in-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5198234490263840104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/5198234490263840104'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/different-tools-in-sap.html' title='Different Tools In SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6833921969721164061</id><published>2011-07-08T18:43:00.001+05:30</published><updated>2011-12-18T22:40:26.972+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ways of logging off the r/3 system'/><category scheme='http://www.blogger.com/atom/ns#' term='/nex transaction code'/><category scheme='http://www.blogger.com/atom/ns#' term='exit button on r/3 system'/><title type='text'>Logging Off From An SAP Screen.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;User can log off the R/3 system from any screen.  There are three ways of logging off the R/3 system, which are as follows:&lt;br /&gt;&lt;br /&gt;• From the &lt;b&gt;Menu bar choose SYSTEM  LOG OFF. &lt;/b&gt; In this case, you get the log off dialog box, which informs the user that any data not saved will be lost if continuing with the log off procedure.&lt;br /&gt;&lt;br /&gt;• Use &lt;b&gt;/NEX transaction code in the command field&lt;/b&gt;.  This is dangerous, since it does not ask if you want to save the data.&lt;br /&gt;&lt;br /&gt;• Clicking on the &lt;b&gt;EXIT button on the R/3 initial screen.&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6833921969721164061?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6833921969721164061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/logging-off-from-sap-screen.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6833921969721164061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6833921969721164061'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/logging-off-from-sap-screen.html' title='Logging Off From An SAP Screen.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-2899756909417079683</id><published>2011-07-08T18:41:00.005+05:30</published><updated>2011-12-18T22:35:27.414+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='sap language'/><category scheme='http://www.blogger.com/atom/ns#' term='sap client'/><category scheme='http://www.blogger.com/atom/ns#' term='sap logon'/><category scheme='http://www.blogger.com/atom/ns#' term='abap disabale the sap user password'/><title type='text'>How To Logon To SAP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;b&gt;Client:&lt;/b&gt; Here you enter the client number.  The client is group of users who has similar rights. It can be group of users in a business entity or a whole business entity or a whole company.&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;User: &lt;/b&gt;The name of the SAP user identification.  Users of the SAP system are client-specific, which means that user belonging to one client is valid to only the particular client.&lt;br /&gt;&lt;br /&gt;•&lt;b&gt; Password:&lt;/b&gt; It is the password that has been assigned by the system administrator.&lt;br /&gt;&lt;br /&gt;• &lt;b&gt;Language: &lt;/b&gt;SAP R/3 system &lt;b&gt;supports multinational language on the same system&lt;/b&gt; at the same time, which is very useful for multinational companies with different branches in several countries and possibly using different languages.&lt;br /&gt;&lt;br /&gt;After entering all the fields &lt;b&gt;press ENTER key and system will take you to MAIN MENU screen.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;User might get different screens when he logs on, depending upon default settings of the user master record i.e., if &lt;b&gt;user is DEVELOPER then the screen which he often works on is editor screen&lt;/b&gt; and he can go directly to this screen, if system administrator sets this screen for the user.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-2899756909417079683?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/2899756909417079683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/how-to-logon-to-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2899756909417079683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2899756909417079683'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/how-to-logon-to-sap.html' title='How To Logon To SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-8530422247682681470</id><published>2011-07-08T18:41:00.004+05:30</published><updated>2011-08-19T23:20:15.771+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='standard tool bar sap'/><category scheme='http://www.blogger.com/atom/ns#' term='sap screen'/><category scheme='http://www.blogger.com/atom/ns#' term='menu bar sap'/><title type='text'>Important Features of SAP Screens.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;• R/3 standard window elements behave exactly the same, as any other standard window application would, like minimizing a screen, setting the active window etc.&lt;br /&gt;&lt;br /&gt;• From TOP to BOTTOM, R/3 window can contain typical elements such as check boxes, push buttons, input fields and following elements:&lt;br /&gt;&lt;br /&gt;• Menu bar is the first element of the every R/3 window.  It contains the menu item corresponding to the particular R/3 application.  The two menu options SYSTEM and HELP are always present in every R/3 window.  SYSTEM menu option contains all utilities and functions, and is available to user at all the times.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;The HELP menu contains all the available options for the different types and methods of obtaining online help in the system.&lt;br /&gt;&lt;br /&gt;• Standard tool bar.  The second R/3 window element is present in every R/3 window.  It is nothing but a collection of icons, which perform common functions like saving the object, exit etc.  The various icons on std. Tool bar are as follows (from left to right):&lt;br /&gt;&lt;br /&gt;Enter Command Field Save Back&lt;br /&gt;Exit Cancel Print Find&lt;br /&gt;Find Next First Page Previous Page Next Page&lt;br /&gt;Last Page Help&lt;br /&gt;&lt;br /&gt;All icons in R/3 window application support FOCUS property.  It means, if you place cursor over an icon, the system will show the function of the icon.&lt;br /&gt;&lt;br /&gt;• Application tool bar: The next part of the screen contains icons most commonly used in that particular task or transaction.&lt;br /&gt;&lt;br /&gt;• Status bar is the bottom line of the screen and usually shows errors or information messages to the user.  It also includes other information such as system id, session number, client, server name and the response time.&lt;br /&gt;&lt;br /&gt;In between application tool bar and status bar you have working area, which is different for different screens.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-8530422247682681470?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/sap-n-abap-basics.html' title='Important Features of SAP Screens.'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/8530422247682681470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/mainfeatures-of-sap-on-screens.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8530422247682681470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/8530422247682681470'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/mainfeatures-of-sap-on-screens.html' title='Important Features of SAP Screens.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6067905693609920233</id><published>2011-07-08T18:32:00.001+05:30</published><updated>2011-12-18T22:32:53.633+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='introduction to sap'/><category scheme='http://www.blogger.com/atom/ns#' term='sap r/3 system'/><category scheme='http://www.blogger.com/atom/ns#' term='all about sap'/><title type='text'>Some Facts about SAP/ Introduction SAP</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;After the Internet, &lt;b&gt;SAP R/3 is one of the hottest topics&lt;/b&gt; in the computer industry and the company that developed it.  It is targeted to most industries, manufacturing, retail, oil &amp;amp; gas, pharmaceutical, banking, insurance, telecommunication, Transport, chemical and so on.  All major hardware Vendors were fully engaged to partner with SAP: AT&amp;amp;T, BULL, Compaq, IBM, Sun have supported and certified R/3 platform.&lt;br /&gt;&lt;br /&gt;SAP has list of major consultants all over the world like Anderson Consulting, Price Waterhouse – Cooper &amp;amp; Lybrand, Ernst &amp;amp; Young, KPMG and many more.&lt;br /&gt;&lt;br /&gt;The company behind R/3 is SAP AG, founded by four former IBM employees in 1972.  The company’s headquarters are in Walldorf, a small German town.  The company name, SAP stands for SYSTEMS, APPLICATIONS and PRODUCTS in data processing.  In 1992 R/3 was introduced and in 1995 SAP AG was ranked fifth among independent software vendors.  One of the reasons for SAP’s success is that since it is a standard package, it can be configured in multiple areas and adapted to specific need of a company.  Today, more than 21,600 customers in over 120 countries run more than 69,700 installations of SAP® software. With subsidiaries in more than 50 countries, the company is listed on several exchanges, including the Frankfurt stock exchange and NYSE under the symbol “SAP”.&lt;br /&gt;&lt;br /&gt;SAP has &lt;b&gt;two main products in the business software market,&lt;/b&gt; Mainframe system R/2 and Client-server R/3.  Both are targeted to business application solutions.  Here R indicates REAL TIME.&lt;br /&gt;&lt;br /&gt;R/2 is SAP AG mainframe software that runs on IBM, Siemens and other compatible equipment.  This type of solution cannot be open, but with ALE technology,&lt;b&gt; R/2 can be linked with R/3 system and share data.  This system is mainly targeted at enterprises with data-intensive and centralized industries.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;R/3 is the product that has really placed SAP AG as the leader in the country.  This&lt;b&gt; complex Client/server system is core of our course.&lt;/b&gt;  The global acceptance of R/3 is not only because it caters all complex needs of business but also this international acceptance is because of R/3’s international applicability.  For SAP this &lt;b&gt;does not mean having software available in different languages,&lt;/b&gt; but also covering currency, taxes, Legal practice concerning HR, Import/export regulations.  SAP also values its customers and it is shown by the comprehensive set of quality services put by SAP to help customers during the process of implementing and supporting the R/3 systems.  These services include product information; training, installation and upgrade service like:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;OSS:&lt;/strong&gt; Online Service System is &lt;b&gt;one of the primary sources of service and support provided by SAP.&lt;/b&gt;  With OSS, customers can search the SAP information database and find solutions for errors and problems with R/3 systems.  You can also submit your problems to SAP.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Consulting Service:&lt;/strong&gt;&amp;nbsp;With &lt;b&gt;remote consulting service customer receives immediate and updated technical support&lt;/b&gt; and answers to their questions.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Maintenance service:&lt;/strong&gt; This is the basic and most common type of &lt;b&gt;support for customers in technical &lt;/b&gt;support and answers to their questions.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Information Service: &lt;/strong&gt;These are the various information sources for receiving detailed information about the R/3 system, marketing brochures, system documentation, training information and many more things.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Preventive services: &lt;/strong&gt;The primary one is the&lt;b&gt; Early Watch Service, which ensures successful and efficient installation of the R/3 system in all phases.&lt;/b&gt;  This service makes regular/performance checks and analyzes the system to identify potential problems, help system managers and SAP administrators to tune the system.  Soon after the &lt;b&gt;Early Watch session, SAP sends the customer a report with the result of the analysis and recommendations for avoiding potential problems such as database becoming full.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;So overall SAP R/3 is an open client/server software system, designed to manage business information needs of an entire enterprise.  The &lt;b&gt;whole dataflow of SAP R/3 works in an integrated way,&lt;/b&gt; which means the data needs to be entered just once and the system automatically updates other logically related data.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6067905693609920233?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6067905693609920233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/07/some-facts-about-sap-introduction-sap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6067905693609920233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6067905693609920233'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/07/some-facts-about-sap-introduction-sap.html' title='Some Facts about SAP/ Introduction SAP'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-1606508504811152458</id><published>2011-05-25T12:19:00.003+05:30</published><updated>2011-12-18T22:23:43.270+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bapi BAPI_RE_CN_CREATE'/><category scheme='http://www.blogger.com/atom/ns#' term='contract bapi'/><title type='text'>'BAPI_RE_CN_CREATE' Sample Code For Contract BAPI.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Report Ztest .&lt;br /&gt;&lt;br /&gt;DATA:&lt;br /&gt;ls_bapi_cn          TYPE &lt;b&gt;bapi_re_contract_dat,&lt;/b&gt;&lt;br /&gt;ld_compcode         TYPE &lt;b&gt;bapi_re_contract_key-comp_code,&lt;/b&gt;&lt;br /&gt;ld_contractnumber   TYPE &lt;b&gt;bapi_re_contract_key-contract_number,&lt;/b&gt;&lt;br /&gt;lt_bapi_error       TYPE&lt;b&gt; bapirettab,&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;* set text of CN&lt;br /&gt;ls_bapi_cn-contract_text = 'Test Contract'.&lt;br /&gt;&lt;br /&gt;CALL FUNCTION &lt;b&gt;'BAPI_RE_CN_CREATE'&lt;/b&gt;&lt;br /&gt;EXPORTING&lt;br /&gt;comp_code_ext              = '1111'&lt;br /&gt;contract_type              = 'Z111'&lt;br /&gt;contract_number_ext        = '1'&lt;br /&gt;contract                   = ls_bapi_cn&lt;br /&gt;test_run                   = 'X'&lt;br /&gt;IMPORTING&lt;br /&gt;compcode                   = ld_comp_code&lt;br /&gt;contractnumber             = ld_contractnumber&lt;br /&gt;TABLES&lt;br /&gt;return                     = lt_bapi_error.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-1606508504811152458?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/1606508504811152458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/05/bapirecncreate-sample-code-for-contract.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1606508504811152458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/1606508504811152458'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/05/bapirecncreate-sample-code-for-contract.html' title='&apos;BAPI_RE_CN_CREATE&apos; Sample Code For Contract BAPI.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4390205559197847434</id><published>2011-04-28T08:35:00.004+05:30</published><updated>2011-12-18T22:19:35.828+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='CALL TRANSACTION &apos;SBWP&apos;'/><category scheme='http://www.blogger.com/atom/ns#' term='alv sample'/><category scheme='http://www.blogger.com/atom/ns#' term='workflow details in alv report'/><category scheme='http://www.blogger.com/atom/ns#' term='Sap Abap alv'/><category scheme='http://www.blogger.com/atom/ns#' term='tcode sbwp'/><category scheme='http://www.blogger.com/atom/ns#' term='alv abap'/><category scheme='http://www.blogger.com/atom/ns#' term='workflow sbwp transaction'/><title type='text'>Displaying Workflow Items Based On The Created User.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;REPORT zworkflow.&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* T Y P E  P O O L S&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;TYPE-POOLS: slis.&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* T A B L E S&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;TABLES : swwwihead,&lt;br /&gt;usr02.&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* T Y P E S&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;TYPES: BEGIN OF ty_final.&lt;br /&gt;INCLUDE STRUCTURE swwwihead.&lt;br /&gt;TYPES: END   OF ty_final.&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* I N T E R N A L   T A B L E S&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;DATA: t_mm003  TYPE TABLE OF&lt;b&gt; swwwihead&lt;/b&gt; WITH HEADER LINE,           &lt;br /&gt;t_mm004&lt;b&gt;  TYPE TABLE OF swwwihead&lt;/b&gt; WITH HEADER LINE,           &lt;br /&gt;t_mm005&lt;b&gt;  TYPE TABLE OF swwwihead &lt;/b&gt;WITH HEADER LINE,           &lt;br /&gt;lw_swwuserwi   TYPE swwuserwi.                               &lt;br /&gt;&lt;br /&gt;DATA: t_final        TYPE TABLE OF swwwihead WITH HEADER LINE.&lt;br /&gt;&lt;br /&gt;DATA: t_fieldcat TYPE slis_t_fieldcat_alv,&lt;br /&gt;w_fieldcat LIKE LINE OF t_fieldcat,&lt;br /&gt;w_layout   TYPE slis_layout_alv,&lt;br /&gt;wa_indx    TYPE indx.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* &lt;b&gt;V A R I A B L E &amp;nbsp;D E C L A R A T I O N S&lt;/b&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* M A C R O S&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* S E L E C T - O P T I O N S   A N D   P A R A M E T E R S&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;br /&gt;&lt;br /&gt;SELECT-OPTIONS: s_date  FOR sy-datum,&lt;br /&gt;s_task  FOR swwwihead-wi_rh_task,&lt;br /&gt;s_stat  FOR swwwihead-wi_stat NO INTERVALS.&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.&lt;br /&gt;&lt;br /&gt;PARAMETERS: r_po   RADIOBUTTON GROUP g1,&lt;br /&gt;r_rfq  RADIOBUTTON GROUP g1,&lt;br /&gt;r_cont  RADIOBUTTON GROUP g1.                 &lt;br /&gt;SELECT-OPTIONS : s_userid  FOR   &lt;b&gt;usr02-bname NO-DISPLAY.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* I N I T I A L I Z A T I O N&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;INITIALIZATION.&lt;br /&gt;&lt;br /&gt;s_stat-option = 'EQ'.&lt;br /&gt;s_stat-sign   = 'I'.&lt;br /&gt;s_stat-low    = 'READY'.&lt;br /&gt;APPEND s_stat.&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* A T   S E L E C T I O N - S C R E E N&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;AT SELECTION-SCREEN.&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* S T A R T - O F - S E L E C T I O N&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;&lt;b&gt;START-OF-SELECTION.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* T O P - O F - P A G E&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;TOP-OF-PAGE.&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* E N D - O F - S E L E C T I O N&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;END-OF-SELECTION.&lt;br /&gt;&lt;br /&gt;PERFORM build_fieldcat .&lt;br /&gt;PERFORM build_layout.&lt;br /&gt;PERFORM display_alv.&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;* F O R M S&lt;br /&gt;*-----------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*&amp;amp;---------------------------------------------------------------------*&lt;br /&gt;*&amp;amp;      Form  FIELDAT&lt;br /&gt;*----------------------------------------------------------------------*&lt;br /&gt;FORM fieldat  USING    p_fieldname TYPE slis_fieldcat_main0-fieldname&lt;br /&gt;p_desc      TYPE slis_fieldcat_main1-reptext_ddic.&lt;br /&gt;&lt;br /&gt;w_fieldcat-fieldname    = p_fieldname.&lt;br /&gt;w_fieldcat-reptext_ddic = p_desc.&lt;br /&gt;&lt;br /&gt;APPEND w_fieldcat TO t_fieldcat.&lt;br /&gt;CLEAR w_fieldcat.&lt;br /&gt;&lt;br /&gt;ENDFORM.                    " FIELDAT&lt;br /&gt;*&amp;amp;---------------------------------------------------------------------*&lt;br /&gt;*&amp;amp;      Form  GET_TASKLIST&lt;br /&gt;*----------------------------------------------------------------------*&lt;br /&gt;FORM get_tasklist .&lt;br /&gt;&lt;br /&gt;IF r_po = 'X'.&lt;br /&gt;&lt;br /&gt;s_task-option  = 'EQ'.&lt;br /&gt;s_task-sign = 'I'.&lt;br /&gt;s_task-low = 'TS90000072'.                                 &lt;br /&gt;APPEND s_task.&lt;br /&gt;&lt;br /&gt;ELSEIF r_rfq = 'X'.&lt;br /&gt;&lt;br /&gt;s_task-option  = 'EQ'.&lt;br /&gt;s_task-sign = 'I'.&lt;br /&gt;s_task-low = 'TS90000078'.                                &lt;br /&gt;APPEND s_task.&lt;br /&gt;&lt;br /&gt;ELSEIF r_cont = 'X'.                                         &lt;br /&gt;s_task-option  = 'EQ'.                                     &lt;br /&gt;s_task-sign = 'I'.                                         &lt;br /&gt;s_task-low = 'TS90000077'.                                 &lt;br /&gt;&lt;br /&gt;APPEND s_task.                                         &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ENDIF.&lt;br /&gt;&lt;br /&gt;ENDFORM.                    " GET_TASKLIST&lt;br /&gt;*&amp;amp;---------------------------------------------------------------------*&lt;br /&gt;*&amp;amp;      Form  GET_WORKFLOW_ITEMS&lt;br /&gt;*----------------------------------------------------------------------*&lt;br /&gt;FORM get_workflow_items .&lt;br /&gt;&lt;br /&gt;SELECT * FROM swwwihead&lt;br /&gt;INTO TABLE t_final&lt;br /&gt;WHERE wi_cd IN s_date&lt;br /&gt;AND   wi_rh_task IN s_task&lt;br /&gt;AND   wi_stat    IN s_stat.&lt;br /&gt;&lt;br /&gt;IF sy-subrc = 0.&lt;br /&gt;SORT t_final BY wi_text.&lt;br /&gt;ELSE.&lt;br /&gt;MESSAGE i398(00) WITH 'No Data Selected for the given selection'.&lt;br /&gt;LEAVE TO SCREEN 0.&lt;br /&gt;ENDIF.&lt;br /&gt;&lt;br /&gt;LOOP AT t_final.&lt;br /&gt;&lt;b&gt;SELECT SINGLE * FROM swwuserwi&lt;/b&gt; INTO  lw_swwuserwi&lt;br /&gt;WHERE wi_id  = t_final-wi_id&lt;br /&gt;AND   user_id = sy-uname&lt;br /&gt;AND   no_sel = space.&lt;br /&gt;IF sy-subrc NE 0.&lt;br /&gt;DELETE t_final.&lt;br /&gt;ENDIF.&lt;br /&gt;ENDLOOP.&lt;br /&gt;&lt;br /&gt;ENDFORM.                    " GET_WORKFLOW_ITEMS&lt;br /&gt;*&amp;amp;---------------------------------------------------------------------*&lt;br /&gt;*&amp;amp;      Form  BUILD_FIELDCAT&lt;br /&gt;*----------------------------------------------------------------------*&lt;br /&gt;FORM build_fieldcat .&lt;br /&gt;&lt;br /&gt;PERFORM fieldat USING 'WI_TEXT'      'Work item text'.&lt;br /&gt;PERFORM fieldat USING 'WI_CD'        'Created Date'.&lt;br /&gt;PERFORM fieldat USING 'WI_CRUSER'   'Created By'.&lt;br /&gt;PERFORM fieldat USING 'WI_STAT'      'Status'.&lt;br /&gt;&lt;br /&gt;ENDFORM.                    " BUILD_FIELDCAT&lt;br /&gt;*&amp;amp;---------------------------------------------------------------------*&lt;br /&gt;*&amp;amp;      Form  BUILD_LAYOUT&lt;br /&gt;*----------------------------------------------------------------------*&lt;br /&gt;FORM build_layout .&lt;br /&gt;&lt;br /&gt;w_layout-colwidth_optimize = 'X'.&lt;br /&gt;w_layout-zebra = 'X'.&lt;br /&gt;&lt;br /&gt;ENDFORM.                    " BUILD_LAYOUT&lt;br /&gt;*&amp;amp;---------------------------------------------------------------------*&lt;br /&gt;*&amp;amp;      Form  DISPLAY_ALV&lt;br /&gt;*----------------------------------------------------------------------*&lt;br /&gt;FORM display_alv .&lt;br /&gt;&lt;br /&gt;DELETE ADJACENT DUPLICATES FROM t_final COMPARING  wi_text.&lt;br /&gt;&lt;br /&gt;v_title = sy-title.&lt;br /&gt;&lt;br /&gt;CALL FUNCTION &lt;b&gt;'REUSE_ALV_GRID_DISPLAY'&lt;/b&gt;&lt;br /&gt;EXPORTING&lt;br /&gt;i_callback_program      = sy-repid&lt;br /&gt;i_callback_user_command = 'USER_COMMAND'&lt;br /&gt;i_callback_top_of_page  = 'TOP_OF_PAGE'&lt;br /&gt;is_layout               = w_layout&lt;br /&gt;it_fieldcat             = t_fieldcat&lt;br /&gt;TABLES&lt;br /&gt;t_outtab                = t_final.&lt;br /&gt;&lt;br /&gt;ENDFORM.                    " DISPLAY_ALV&lt;br /&gt;&lt;br /&gt;*&amp;amp;---------------------------------------------------------------------*&lt;br /&gt;*&amp;amp;      Form  USER_COMMAND&lt;br /&gt;*----------------------------------------------------------------------*&lt;br /&gt;FORM user_command  USING r_ucomm     LIKE sy-ucomm&lt;br /&gt;rs_selfield TYPE slis_selfield.&lt;br /&gt;&lt;br /&gt;CASE :r_ucomm.&lt;br /&gt;&lt;br /&gt;WHEN '&amp;amp;IC1'.&lt;br /&gt;&lt;br /&gt;READ TABLE t_final INDEX rs_selfield-tabindex.&lt;br /&gt;&lt;br /&gt;SET PARAMETER ID 'WID'  FIELD t_final-wi_id.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;CALL TRANSACTION 'SBWP' AND SKIP FIRST SCREEN.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;WHEN 'OTHERS'.&lt;br /&gt;ENDCASE.&lt;br /&gt;&lt;br /&gt;rs_selfield-refresh = 'X'.&lt;br /&gt;&lt;br /&gt;ENDFORM.                    " BUILD_LAYOUT&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4390205559197847434?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4390205559197847434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/04/displaying-workflow-itens-based-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4390205559197847434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4390205559197847434'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/04/displaying-workflow-itens-based-on.html' title='Displaying Workflow Items Based On The Created User.'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-4008505747150926028</id><published>2011-04-22T18:15:00.004+05:30</published><updated>2011-12-18T22:16:26.353+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bapi sample'/><category scheme='http://www.blogger.com/atom/ns#' term='BAPI_RE_BE_GET_LIST'/><category scheme='http://www.blogger.com/atom/ns#' term='BAPI examples'/><category scheme='http://www.blogger.com/atom/ns#' term='bapi abap'/><title type='text'>BAPI BAPI_RE_BE_GET_LIST Business Entity List</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;CALL FUNCTION 'BAPI_RE_BE_GET_LIST'&lt;br /&gt;TABLES&lt;br /&gt;seloption           = t_seloption&lt;br /&gt;bus_entity          = t_bus_entity&lt;br /&gt;object_address      = t_object_address&lt;br /&gt;cosettle_param      = t_cosettle_param&lt;br /&gt;term_org_assignment = t_term_org_assignment&lt;br /&gt;measurement         = t_measurement&lt;br /&gt;partner             = t_partner&lt;br /&gt;option_rate         = t_option_rate&lt;br /&gt;cosettle_rule       = t_cosettle_rule&lt;br /&gt;obj_assign          = t_obj_assign&lt;br /&gt;arch_rel            = t_arch_rel&lt;br /&gt;arch_relms          = t_arch_relms&lt;br /&gt;resubm_rule         = t_resubm_rule&lt;br /&gt;resubm_date         = t_resubm_date&lt;br /&gt;status              = t_status&lt;br /&gt;extension_out       = t_extension_out&lt;br /&gt;return              = t_return&lt;br /&gt;infrastructure      = t_infrastructure.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-4008505747150926028?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/4008505747150926028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/04/business-entity-using-bapi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4008505747150926028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/4008505747150926028'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/04/business-entity-using-bapi.html' title='BAPI BAPI_RE_BE_GET_LIST Business Entity List'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-2446425397861588121</id><published>2011-04-22T18:14:00.001+05:30</published><updated>2011-12-18T22:15:00.531+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bapi  sample'/><category scheme='http://www.blogger.com/atom/ns#' term='BAPI examples'/><category scheme='http://www.blogger.com/atom/ns#' term='BAPI_RE_BU_GET_LIST'/><category scheme='http://www.blogger.com/atom/ns#' term='bapi abap'/><title type='text'>Building Data using BAPI BAPI_RE_BU_GET_LIST</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;CALL FUNCTION 'BAPI_RE_BU_GET_LIST'&lt;br /&gt;TABLES&lt;br /&gt;seloption           = t_seloption&lt;br /&gt;building            = t_building&lt;br /&gt;object_address      = t_object_address&lt;br /&gt;cosettle_param      = t_cosettle_param&lt;br /&gt;term_org_assignment = t_term_org_assignment&lt;br /&gt;measurement         = t_measurement&lt;br /&gt;partner             = t_partner&lt;br /&gt;option_rate         = t_option_rate&lt;br /&gt;cosettle_rule       = t_cosettle_rule&lt;br /&gt;charact             = t_charact&lt;br /&gt;obj_assign          = t_obj_assign&lt;br /&gt;arch_rel            = t_arch_rel&lt;br /&gt;arch_relms          = t_arch_relms&lt;br /&gt;resubm_rule         = t_resubm_rule&lt;br /&gt;resubm_date         = t_resubm_date&lt;br /&gt;status              = t_status&lt;br /&gt;extension_out       = t_extension_out&lt;br /&gt;return              = t_return&lt;br /&gt;infrastructure      = t_infrastructure.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-2446425397861588121?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/2446425397861588121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/04/building-data-using-bapi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2446425397861588121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/2446425397861588121'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/04/building-data-using-bapi.html' title='Building Data using BAPI BAPI_RE_BU_GET_LIST'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-6666939549740733560</id><published>2011-04-22T18:12:00.001+05:30</published><updated>2011-08-19T22:15:05.292+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='BAPI_RE_RO_GET_LIST'/><category scheme='http://www.blogger.com/atom/ns#' term='abap bapi'/><category scheme='http://www.blogger.com/atom/ns#' term='Sap Abap'/><title type='text'>Get Rental Object Data using BAPI  BAPI_RE_RO_GET_LIST</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;CALL FUNCTION '&lt;b&gt;BAPI_RE_RO_GET_LIST&lt;/b&gt;'&lt;br /&gt;TABLES&lt;br /&gt;seloption           = t_seloption&lt;br /&gt;rental_object       = t_rental_object&lt;br /&gt;object_address      = t_object_address&lt;br /&gt;cosettle_param      = t_cosettle_param&lt;br /&gt;term_org_assignment = t_term_org_assignment&lt;br /&gt;term_payment        = t_term_payment&lt;br /&gt;term_rhythm         = t_term_rhythm&lt;br /&gt;term_vacancy        = t_term_vacancy&lt;br /&gt;term_adjustment     = t_term_adjustment&lt;br /&gt;measurement         = t_measurement&lt;br /&gt;rent_obj_rel        = t_rent_obj_rel&lt;br /&gt;partner             = t_partner&lt;br /&gt;option_rate         = t_option_rate&lt;br /&gt;cosettle_rule       = t_cosettle_rule&lt;br /&gt;charact             = t_charact&lt;br /&gt;condition           = t_condition&lt;br /&gt;cond_calc           = t_cond_calc&lt;br /&gt;acc_firm            = t_acc_firm&lt;br /&gt;obj_assign          = t_obj_assign&lt;br /&gt;occupancy           = t_occupancy&lt;br /&gt;measpt              = t_measpt&lt;br /&gt;measpt_rel          = t_measpt_rel&lt;br /&gt;arch_rel            = t_arch_rel&lt;br /&gt;arch_relms          = t_arch_relms&lt;br /&gt;resubm_rule         = t_resubm_rule&lt;br /&gt;resubm_date         = t_resubm_date&lt;br /&gt;status              = t_status&lt;br /&gt;extension_out       = t_extension_out&lt;br /&gt;return              = t_return&lt;br /&gt;infrastructure      = t_infrastructure.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-6666939549740733560?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/bapi.html' title='Get Rental Object Data using BAPI  BAPI_RE_RO_GET_LIST'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/6666939549740733560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/04/get-rental-object-data-using-bapi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6666939549740733560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/6666939549740733560'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/04/get-rental-object-data-using-bapi.html' title='Get Rental Object Data using BAPI  BAPI_RE_RO_GET_LIST'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-888354561776328682</id><published>2011-04-22T18:10:00.002+05:30</published><updated>2011-08-19T22:10:23.900+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='bapi property tax'/><category scheme='http://www.blogger.com/atom/ns#' term='sap'/><category scheme='http://www.blogger.com/atom/ns#' term='abap'/><category scheme='http://www.blogger.com/atom/ns#' term='BAPI_RE_CN_GET_LIST'/><category scheme='http://www.blogger.com/atom/ns#' term='bapi'/><title type='text'>Property Tax Data using BAPI BAPI_RE_CN_GET_LIST</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;t_seloption-field_name       = 'CONTRACT_TYPE'.&lt;br /&gt;t_seloption-sign             = 'I'.&lt;br /&gt;t_seloption-option           = 'EQ'.&lt;br /&gt;t_seloption-field_value_low  = 'Z200'.&lt;br /&gt;&lt;br /&gt;APPEND t_seloption.&lt;br /&gt;&lt;br /&gt;t_seloption-field_name       = 'CONTRACT_TYPE'.&lt;br /&gt;t_seloption-field_value_low  = 'Z210'.&lt;br /&gt;APPEND t_seloption.&lt;br /&gt;&lt;br /&gt;t_seloption-field_name       = 'CONTRACT_TYPE'.&lt;br /&gt;t_seloption-field_value_low  = 'Z220'.&lt;br /&gt;APPEND t_seloption.&lt;br /&gt;&lt;br /&gt;CALL FUNCTION '&lt;b&gt;BAPI_RE_CN_GET_LIST&lt;/b&gt;'&lt;br /&gt;TABLES&lt;br /&gt;seloption                 = t_seloption&lt;br /&gt;contract                  = t_contract&lt;br /&gt;term_renewal              = t_term_renewal&lt;br /&gt;term_renewal_rule         = t_term_renewal_rule&lt;br /&gt;term_notice               = t_term_notice&lt;br /&gt;term_notice_obj           = t_term_notice_obj&lt;br /&gt;term_notice_rule          = t_term_notice_rule&lt;br /&gt;term_object_rel           = t_term_object_rel&lt;br /&gt;term_org_assignment       = t_term_org_assignment&lt;br /&gt;term_payment              = t_term_payment&lt;br /&gt;term_rhythm               = t_term_rhythm&lt;br /&gt;term_adjustment           = t_term_adjustment&lt;br /&gt;term_sr_reporting         = t_term_sr_reporting&lt;br /&gt;term_sr_sales             = t_term_sr_sales&lt;br /&gt;term_sr_peak_sales        = t_term_sr_peak_sales&lt;br /&gt;term_sr_rhythm            = t_term_sr_rhythm&lt;br /&gt;act_deposit               = t_act_deposit&lt;br /&gt;partner                   = t_partner&lt;br /&gt;option_rate               = t_option_rate&lt;br /&gt;object_rel                = t_object_rel&lt;br /&gt;meas_cn                   = t_meas_cn&lt;br /&gt;condition                 = t_condition&lt;br /&gt;cond_calc                 = t_cond_calc&lt;br /&gt;cond_dist                 = t_cond_dist&lt;br /&gt;resubm_rule               = t_resubm_rule&lt;br /&gt;resubm_date               = t_resubm_date&lt;br /&gt;status                    = t_status&lt;br /&gt;extension_out             = t_extension_out&lt;br /&gt;return                    = t_return&lt;br /&gt;term_withholding_tax      = t_term_withholding_tax&lt;br /&gt;term_withholding_tax_item = t_term_withholding_tax_item&lt;br /&gt;cosettle_param            = t_cosettle_param&lt;br /&gt;cosettle_rule             = t_cosettle_rule&lt;br /&gt;term_payment_split        = t_term_payment_split.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8096579741455188082-888354561776328682?l=www.abapprograming.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.abapprograming.com/p/bapi.html' title='Property Tax Data using BAPI BAPI_RE_CN_GET_LIST'/><link rel='replies' type='application/atom+xml' href='http://www.abapprograming.com/feeds/888354561776328682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.abapprograming.com/2011/04/property-tax-data-using-bapi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/888354561776328682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8096579741455188082/posts/default/888354561776328682'/><link rel='alternate' type='text/html' href='http://www.abapprograming.com/2011/04/property-tax-data-using-bapi.html' title='Property Tax Data using BAPI BAPI_RE_CN_GET_LIST'/><author><name>Venkateswararao Appikonda</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_HcmibO3IvHI/Si5Oq2FBtLI/AAAAAAAAAPQ/PwKm6hhbBxI/S220/untitled00000000.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8096579741455188082.post-5855805390156909496</id><published>2011-04-22T18:09:00.002+05:30</published><updated>2011-06-28T08:17:35.501+05:30</updated><title type='text'>Lease Out Master Data using BAPI BAPI_RE_CN_GET_LIST</title><content type='html'>t_seloption-field_name       = 'CONTRACT_TYPE'.&lt;br /&gt;  t_seloption-sign             = 'I'.&lt;br /&gt;  t_seloption-option           = 'EQ'.&lt;br /&gt;  t_seloption-field_value_low  = 'Z010'.&lt;br /&gt;  APPEND t_seloption.&lt;br /&gt;&lt;br /&gt;  t_seloption-field_name       = 'CONTRACT_TYPE'.&lt;br /&gt;  t_seloption-field_value_low  = 'Z020'.&lt;br /&gt;  APPEND t_seloption.&lt;br /&gt;&lt;br /&gt;  t_seloption-field_name       = 'CONTRACT_TYPE'.&lt;br /&gt;  t_seloption-field_value_low  = 'Z030'.&lt;br /&gt;  APPEND t_seloption.&lt;br /&gt;&lt;br /&gt;  t_seloption-field_name       = 'CONTRACT_TYPE'.&lt;br /&gt;  t_seloption-field_value_low  = 'Z040'.&lt;br /&gt;  APPEND t_seloption.&lt;br /&gt;&lt;br /&gt;  CALL FUNCTION 'BAPI_RE_CN_GET_LIST'&lt;br /&gt;    TABLES&lt;br /&gt;      seloption                 = t_seloption&lt;br /&gt;      contract                  = t_contract&lt;br /&gt;      term_renewal              = t_term_renewal&lt;br /&gt;      term_renewal_rule         = t_term_renewal_rule&lt;br /&gt;      term_notice               = t_term_notice&lt;br /&gt;      term_notice_obj           = t_term_notice_obj&lt;br /&gt;      term_notice_rule          = t_term_notice_rule&lt;br /&gt;      term_object_rel           = t_term_object_rel&lt;br /&gt;      term_org_assignment       = t_term_org_assignment&lt;br /&gt;      term_payment              = t_term_payment&lt;br /&gt;      term_rhythm               = t_term_rhythm&lt;br /&gt;      term_adjustment           = t_term_adjustment&lt;br /&gt;      term_sr_reporting         = t_term_sr_reporting&lt;br 
