Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dynamic text for a pushbutton on the application tool bar

Hi,

I would like to create two push buttons on the application tool bar but want the texts to be determined through my program logic ...

Is it possible ? If yes. Kindly help me .

Regards,

christina.

Tags:
Former Member
Former Member replied

Yes it is possible.

data: v_fieldname(10).

v_fieldname = 'TESTBUTTON'.

call screen 100.

module STATUS_0100 output.

SET PF-STATUS 'ZTEST'.

endmodule. " STATUS_0100 OUTPUT

While setting the pf-status, i added the button in the application toolbar, there it ask for text , i will use the option Dynamic, Instead of Static which is default option, then it ask for the fieldname , you mention the fieldname which is there in Program. Conditionally populate the field.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question