on 12-13-2007 5:52 AM
Hi all,
i want to print header text from vf03 in smartforms
bye
Hi Venkatrami,
Tcode VF03 enter Billing Doc no -
>goto header-----> select header texts
When you get the values Textname, text id, textobject to the smartform.
call the FM read_text in the programing lines to get the long text in the internal table. Another way to retrieve the long text is to use INCLUDE but for your requirement is better to uses READ_TEXT function module.
Once you get the data in the internal table.
Create table and loop the long text internal table. Now in the table when create a text node, keep a condition on the text node in the conditions column that when sy-tabix = 3. Which means you are skipping two lines (Administrative data).
Procedure:
1. Right click > create-> programming lines.
2. In the Input parameters pass TEXT NAME, TEXT ID, Text Object and Interanal table(itab) and In output paramaeters the Internal table (itab).
3. call function Read_text and pass the values.
4. create a table for Itab.
5. create a text node.
6. Keep a condition on the text node sy-tabix = 3 in the condition tab of the text node.
7. &itab-line&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Tcode VF03 enter Billing Doc no -
>goto header-----> select header texts
When you get the values Textname, text id, textobject to the smartform.
call the FM read_text in the programing lines to get the long text in the internal table. Another way to retrieve the long text is to use INCLUDE but for your requirement is better to uses READ_TEXT function module.
Once you get the data in the internal table.
Create table and loop the long text internal table. Now in the table when create a text node, keep a condition on the text node in the conditions column that when sy-tabix = 3. Which means you are skipping two lines (Administrative data).
Procedure:
1. Right click > create-> programming lines.
2. In the Input parameters pass TEXT NAME, TEXT ID, Text Object and Interanal table(itab) and In output paramaeters the Internal table (itab).
3. call function Read_text and pass the values.
4. create a table for Itab.
5. create a text node.
6. Keep a condition on the text node sy-tabix = 3 in the condition tab of the text node.
7. &itab-line&
<b>Check this link for sample program</b>
Regards,
Maha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
use READ_TEXT FM in print program,
Goto VF03>, header> texts click on the text and use Call log icon, which willl show u the Object , ID details of text
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.