Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Printing dynamic text in Smartform

Former Member
0 Kudos

Hi frens,

I have got a Smartform to which I send a field containing the INCLUDE text name(maintained in so10). This text name depends on the matnr and is determined with a logic in the print program. How can I print this text in the smartform?

Ex: I have field in smartform z_itab-tmattext.

This contains a value 'z_31608_mat_text'.

I have tried with Dynamic Text option but its giving an error.

thanks

Asha

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Create a text node and choose INCLUDE TEXT option in the TEXT TYPE, here insert your variable in the name:

Text name &z_itab-tmattext&

Text object TEXT

Text ID ST

Language <LANGUAGE>

Max

2 REPLIES 2

Former Member
0 Kudos

Hi

Create a text node and choose INCLUDE TEXT option in the TEXT TYPE, here insert your variable in the name:

Text name &z_itab-tmattext&

Text object TEXT

Text ID ST

Language <LANGUAGE>

Max

messier31
Active Contributor
0 Kudos

Hi,

Check link below

<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/0c/ef1fae008c11d4b588006094192fe3/frameset.htm">SAP Smartform : Including Text Modules</a>

Let me know if it does'nt solve ur prob....

Enjoy SAP.

Pankaj Singh