One last step for the screen 100 configuration is assigning OK_CODE variable by adding it to the general attributes in Element list of the screen.Īdd below Process Before Output (PBO) module code or ABAP code block of the Screen 100 after all above screen element attributes are set. Second text element name as: GRS_VBELN-HIGH The first text element name: GRS_VBELN-LOW I named the two text box objects which I'll use to filter sales order documents according to document number VBELN fields as follows: The FctCode is set as "BTNLIST" and will be controlled in the PAI (Process After Input) module with the ABAP CASE statement controlling the value of OK_CODE. Please pay attention to the FctCode (function code) of the Button object BTNLIST. If you double click on the custom control to display the element attributes, you can name the control as "CC_CONTAINER_GRID" This Screen Painter example shows a Custom Control cl_gui_custom_container object and the ALV grid object cl_gui_alv_grid placed in that container. In the below screenshot you can see the layout view of the screen on the SAP Screen Painter editor. Let's continue reviewing the sample ABAP program code with the screen 100 dynpro object.ĭouble click on 100 at ABAP statement "call screen 100" to create the dynpro screen. G_Custom_Container TYPE REF TO CL_GUI_CUSTOM_CONTAINER, G_Container TYPE scrfname VALUE 'CC_CONTAINER_GRID', Gs_fieldcatalog TYPE lvc_s_fcat OCCURS 0,
0 Comments
Leave a Reply. |