on 03-16-2009 11:05 AM
Hi
in sales order smart form i have created text element(include text) for including header text named SPECIAL INSTRUCTIONS. i have proveded all the parameters like text name, text ID, Text object..
how can i restrict the heading for this text (i.e i want the heading special instructions to be appeared only when the text is maintained for that ID
Regards
DB kumar
i want the heading for header text to appeared only when i maintain the header text
how to do this
regards
DB Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can not maintain a standard text without a single line.
But, by default, default paragraph , i.e. (*) will come in that column which means an EMPTY TEXT LINE is entered.
If you want to check for the empty text line, then do th efollowing.
1. insert code lines . Take a global field : flag type c.
tables: stxl.
select single * from stxl where TDNAME EQ 'ZTEST_RAM'.
if sy-subrc eq 0.
if stxl-CLUSTR gt 81. " when no line is maintained , stxl-CLUSTR = 81. else stxl-CLUSTR > 81.
flag = 'X'.
endif.
endif.
2. For Heading Text , Maintain condition with flag as u required.
Thanks & Regards,
Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
add abap coding before headerprinting.
in the coding read the text with FM READ_TEXT. if found switch is on else switch is off.
now print header special instructions only when switch is on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.