Get Example source ABAP code based on a different SAP table
ABAP_DYNPRO - Processing Input and Output Fields The example shows how to process dynpro fields locally in the program.
ABAP_SOURCE_CODE ABAP_EXEC >
ABAP_DESCRIPTION The static next dynpro number of dynpro 100 is 100. The screen fields of output>, box1>, box2>, and box3> were defined as not ready for input in the Screen Painter. The length of input> is specified so that the user can enter a nine-digit integer without thousands separators. However, the display in the output> field contains up to two thousands separators. If the length of input> had remained 11 digits, a runtime error could occur if users do not set thousands separators. The user entries in the input fields are passed to the ABAP program at the PAI event raised by ENTER> and then assigned to the output fields in the dialog module user_command_100 >. The next time the dynpro appears, the output fields contain the appropriate values. The input fields are set in the dialog module init_screen_100> in the event PBO.