0% found this document useful (0 votes)
400 views4 pages

DYNP - GET - STEPL SAP Function Module - Current Sy-Stepl at Event POV

System Fields for SCREENS
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
400 views4 pages

DYNP - GET - STEPL SAP Function Module - Current Sy-Stepl at Event POV

System Fields for SCREENS
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

System fields for SCREENS.

System fields are set at the PAI (Process After Input) event for every screen. These can be also used for interactive list processing, except for SY-DATAR, SY-LOOPC, and SY-STEPL. SY-CUCOL Horizontal cursor position Counting starts at column 2 SY-CUROW Vertical cursor position Counting starts at row 1 SY-DATAR Set to X at time of PAI if at least one screen input field was changed by the user or other data transfer, otherwise empty. SY-LOOPC Number of rows currently displayed in a screen table (table control). SY-SCOLS Number of columns in current screen. SY-SROWS Number of rows in current screen. SY-STEPL Index of current row in a screen table (table control). Is set at every loop pass. Outside a loop, for example during the POV(Process On Value Request) event for a table row, SY-STEPL is not set appropriately.

DYNP_GET_STEPL SAP Function module - Current sy-stepl at event POV


Pattern for FM DYNP_GET_STEPL - DYNP GET STEPL Associated Function Group: SHL2 Released Date: 25.03.1997

CALL FUNCTION 'DYNP_GET_STEPL' "Current sy-stepl at event POV IMPORTING povstepl = " sy-stepl Current Step-Loop Line . " DYNP_GET_STEPL SAP Documentation for FM DYNP_GET_STEPL
FUNCTIONALITY In a module at the time Process On Value-Request (POV) or Process On Help-Request (POH), the function module defines the current step loop line from which the F4 or F1 help was called. EXAMPLE data: step_line like sy-stepl. call function 'DYNP_GET_STEPL' importing

povstepl = step_line exceptions stepl_not_found = 1 others = 2. HINTS The function module should always be called if one of the modules DYNP_VALUES_READ or DYNP_VALUES_UPDATE is used afterward. The value of the field STEP_LINE must be stored in field STEPL of table DYNPFIELDS of these two modules. Documentation extract taken from SAP system, Copyright (c) SAP AG

SY-TITLE Text that appears in the title bar of the screen. For selection screens and lists this is the program name, otherwise SAP R/3. Can be set during PBO (Process Before Output) using SET TITLEBAR. SY-UCOMM Function code that triggered the event PAI. Every user action that triggers PAI is assigned a unique function code, with one exception: Choosing Enter triggers PAI and different function codes can be transferred to SY-UCOMM: If there is an entry in the command field of the standard toolbar, this is transferred to SY -UCOMM as the function code. If there is no entry in the command field and a function code is ass igned to the ENTER key, this function code is transferred to SY-UCOMM. If the command field does not contain an entry and no function code is assigned to the ENTER key, it is empty and the content of SY-UCOMM is not affected. Selection Screens SY-SLSET Variant used to fill the selection screen.

System Fields.
SY-SUBRC SY-INDEX SY-TABIX SY-TFILL SY-LILLI SY-LSIND SY-DBCNT SY-CPROG SY-DATUM SY-DYNNR SY-TLENG SY-STEPL SY-LOOPC SY-FDPOS SY-DBSYS : RETURN VALUE AFTER ABAP STATEMENTS : LOOPS,CURRENT LOOP PASS : INTERNAL TABLE,CURRENT LINE INDEX : INTERNAL TABLE,CURRENT NO. OF LINES : LIST PROCESSING,CURRENT LIST LINE : LIST PROCESSING , DETAILS LIST INDEX : DB OPERATIONS,NO. OF TABLE LINES PROCESSED : ABAP PROGRAM,CALLER IN EXTERNAL PROCEDURES : DISPLAYS CURRENT DATE : ABAP PROGRAM,NO. OF CURRENT SCREEN : LINE LENGTH : LOOP INFORMATION IN TABLE CONTROL : LOOP INFORMATION IN TABLE CONTROL : CONTAINS OFF SETS FOR THE FOUND STRING : Database system

SY-DYNGR : Screen group of current screen SY-DYNNR : Number of current screen SY-MSGID : Message ID SY-MSGNO : Message number SY-MSGTY : Message type (E,I.W,...) SY-MSGV1 : Message variable SY-MSGV2 : Message variable SY-MSGV3 : Message variable

SY-MSGV4 : Message variable SY-PAGNO : Runtime: Current page in list SY-PFKEY : Current GUI Status SY-COLNO : Current List Column SY-LINCT : Page Length of List SY-LINNO : Current Line in List SY-LINSZ : Line width of list SY-MACOL : Number of Columns on Left Margin of Print List SY-BINPT : Program Running Under Batch Input SY-MODNO : Index of External Session

System Fields for Date and Time.


The following system fields are always set automatically. If necessary, the GET TIME statement synchronizes the application server time with that of the database server and writes it to the system field SY-UZEIT. SY-DATUM and the system fields for the local time zone, that is SY-TIMLO, SY-DATLO, and SY-ZONLO are also reset. SY-DATLO Local date of user, for example 19981129, 19990628. SY-DATUM Current (application server) date, for example 19981130, 19990627. SY-DAYST During daylight saving time X, otherwise empty. SY-FDAYW Factory calendar weekday, Sunday 0 ... Saturday 6. SY-TIMLO Local time of user, for example 154353, 225312. SY-TZONE Time difference to Greenwich Mean Time (UTC) in seconds, for example 3600, 10800. SY-UZEIT Current (application server) time, for example 164353, 215312. SY-ZONLO Time zone of user, for example CET, UTC.

System Fields in Lists


SY-LSIND SY-LISTI SY-LILLI SY-LISEL :Index of the list for current event for basic list = 0. :Index of the list level from which the event was triggered :Absolute number of the line from which the event was triggered :Contents of the line from which the event was triggered

SY-CUROW :Position of the line in the window from which the event was triggered (counting starts with 1) SY-CUCOL SY-CPAGE :Position of the column in the window from which the event was triggered (counting starts with 2) :Page number of the first displayed page of the list from which the event was triggered

SY-STARO :Number of the first line of the first page displayed of the list from which the event was triggered (counting starts with 1). This line may contain the page header. SY-STACO :Number of the first column displayed in the list from which the event was triggered (counting starts with 1) SY-UCOMM :Function code that triggered the event

SY-PFKEY

:Status of the list currently being displayed.


Edit Add Labels http://w iki.sdn.sa 78053877 ABAP

Labels parameters

Labels
Are you sure you Click to toggle the

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy