DYNP_VALUES_UPDATE SAP Function module - Change screen field contents w/o PBO
Pattern for FM DYNP_VALUES_UPDATE - DYNP VALUES UPDATE
Associated Function Group:
SHL2
Released Date: 10.01.1995
CALL FUNCTION 'DYNP_VALUES_UPDATE' "Change screen field contents w/o PBO
EXPORTING
dyname = " d020s-prog Program Name
dynumb = " d020s-dnum Screen number
TABLES
dynpfields = " dynpread Screen field value reset table
EXCEPTIONS
INVALID_ABAPWORKAREA = 1 " No valid work area
INVALID_DYNPROFIELD = 2 " No valid screen field
INVALID_DYNPRONAME = 3 " No valid screen name
INVALID_DYNPRONUMMER = 4 " Invalid screen number
INVALID_REQUEST = 5 " General request error
NO_FIELDDESCRIPTION = 6 " No field description
UNDEFIND_ERROR = 7 " Undefined error
. " DYNP_VALUES_UPDATE
SAP Documentation for FM DYNP_VALUES_UPDATE Function: Reset selected screen field contents Function group: SHL2 - Help functions Person responsible: KRAFTT Release: - Functionality You can use this function module to reset selected help processor field contents in the corresponding screen fields Example Notes This function module should be used in the user-programmed help if one or more screen fields are to be given selected values, e.g. if the values are to be reset after calling Screen field contents are read by the function module The field names in DYNPFIELDS can be defined by the user, as in the above example,where the fields TABNAME and FIELDNAME occur on the screen. A Dictionary reference of these fields (... like...) is unaffected. The module All exceptions are called by the system function HELP_GET_FIELDS. Parameter description Parameter Ref.field/structure Default value Import parameters DYNAME D020S-PROG DYNUMB D020S-DNUM DYNPFIELDS DYNPREAD INVALID_ABAPWORKAREA INVALID_DYNPROFIELD INVALID_DYNPRONAME INVALID_DYNPRONUMMER INVALID_REQUEST NO_FIELDDESCRIPTION UNDEFINED_ERROR Meaning: Name of the program from which the function module is called. Set sy-prog here, rather than sy-repid. Reason: the value of sy-repid is the main program of the help processor function group. Value range: none Default : none Meaning : Number of the screen, from which the call was made. sy-dynnr can be set here. Value range: none Default : none Meaning: Before the function module call, the table contains the names of the screen fields to be read, and the values read, as well as the step-loop lines, if it is a step-loop screen. Meaning: No valid ABAP work area exists. Meaning: The screen does not contain the specified screen field. Meaning: The specified program does not exist. Meaning: The specified screen does not exist in generated form. Meaning: A system function call error occurred in the screen read request. Meaning: No description exists for the specified screen field. Meanin: An unknown error occurred when calling the system function.
|
||||||||||