2009 May 30 8:21 AM
Hi Experts,
How to change push button lables dynamically in screen.
req:I have one push button say with lable "insert".
in runtime i have to change this pushbutton with lable "Modify".
depend un the requirement.
Thanks
2009 May 30 3:39 PM
Hi sdnhelp,
If you set the Output field attribute for a pushbutton, you can set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton. You must then assign the required text to the field before the screen is displayed which is done in the PBO.
Regards,
Ram.
Hi Experts,
How to change push button lables dynamically in screen.
req:I have one push button say with lable "insert".
in runtime i have to change this pushbutton with lable "Modify".
depend un the requirement.
Thanks
2009 May 30 12:41 PM
2009 May 30 3:39 PM
Hi sdnhelp,
If you set the Output field attribute for a pushbutton, you can set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton. You must then assign the required text to the field before the screen is displayed which is done in the PBO.
Regards,
Ram.
2009 Jun 01 6:06 AM
Hi
Yes , the logic given by Ram is rite and make ur field declaration under TOP include
2009 Jun 01 6:54 AM
Hello,
Please go through the below link.
[http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm]
Hope this will really pull you out of your problem.
best of luck,
Cheers,
Suvi
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |