on 10-19-2006 4:29 PM
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
Hi Asha,
Is that long text getting from header or item level.If this is the question you can create text node where you can find.
Type: Include text(Select this one) provide the details and u will get it.
Venu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Asha,
As per i understand, u need to print a Standard text based on matnr. if u have specified standard text names then add a field in itab in print program like..
if iatb-matnr = '********'
itab-st_text = 'L'.
else.
itab-st_text = 'I'.
endif.
and in smartform..
before printing standard text write..
/: IF &st_text& EQ 'L'
/: INCLUDE STD_TEXT1 OBJECT TEXT ID
/: ELSE
/: INCLUDE STD_TEXT2 OBJECT TEXT ID
/: ENDIF
hope this helps..
if it is not ur requirement then pls explain more abt ur task.
Regards
CNU
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Did you try giving it as &z_itab-tmattext& ?
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.