I searched the web for a few hours but found nothing in the subject, neither in English "abap component of the button Type "nor in German" abap komponententyp Drucktaste ".
I want to create a structure in which there are some buttons, which I add to a Dynpro through the "Dict / Programmfelder-Fenster F6" screen Painter and "Tables: Structure Name "There is access to a report through resp. Class which handles the process after input (pai) for me.
It is an idea that all controlling events and fields should have complete control in a controller like Design Pattern Model View Control (MVC).
* & amp; ---------------------------------------- ---------- ------------------- * * & amp; Module STATUS_2000 OUTPUT * & amp; -------------------------------------------- ------ ------------------- * * Text * --------------------- ------ ------------------------------------------- * Module status: 2000 output "PBO Set PF-Status' 2000 'SET TITLEBAR' 2000 "CareCare-> Pibo (.). AndMold." STATUS_2000 Output & amp; ------------------ -------------------------------- ------------------ - * * & amp; Module USER_COMMAND_2000 INPUT * & amp; -------------------------------------------- ------ ------------------- * * Text * --------------------- ------ ------------------------------------------- * Module user_image 2000 INPUT "PAI Caretaker-> Pai (Export iv_ok_code = ok_code). ENDMODULE. " USER_COMMAND_2000 INPUT
Handling for back-end events such as back, cancel, and END, that is the PF-like DynPro and the status of the data components, the Unname (User Name) and Works The structure can be easy to add, works fine in that way.
Thanks in advance for any help.
OK, we go here I have got a solution.
I have found the following help in German, which is present in English
If you eg Add Char1 or char7 to your dictionary structure and you add dynpro to it in the screen painter so that you can have the possibility of converting it into a button, after which a regular button is behaved.
- After adding four-input-field to the screen, you have to double-click it. A popup window will appear (screen painter: attribute). At the bottom there is a section called Attribute with three tabs (decute, program, display).
- Uncheck "Inputfield" in the tab program.
- In the screen bar in the screen painter: Edit> Convert> PushButton (Field should now change its setting)
- In the popup window in the tab program "Screen Painter: Attribute", output Deselect the field
- Set the name / scope of the button above in the field text and in the field, the function code FktCode
Now you have a button that Is part of the structure and can be seen in your category.
No comments:
Post a Comment