on 02-18-2009 6:07 AM
Hi,
Iam having a text element which holds the data of an internal table which has 15 records and it prints those records in the main window. Once all these 15 records got printed i need to print a standard text.
for me what happens is it prints one record and then it prints standrad text then 2nd record and standard text klike this it goes for all 15records. Can any one tell me why this happend and how to correct it.
the code which i have written is
/E E1
P1 &IT_BKPF-BELNR& &IT_BKPF-BLDAT& &IT_BKPF-BUDAT&
/: INCLUDE ZTEXT_TEST OBJECT TEXT ID ST LANGUAGE EN.
Please help.Thanks
Regards,
Rose.
Edited by: camila phyrose on Feb 18, 2009 7:08 AM
Hi Camila
Include bottom and end bottom.
(or)
In the print program
At last.
call function 'write_form'.
Call the text element . It prints the text at end of all the records
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Create a window below main window and write the standard text there.
After every record,it will write the standard text there as u have written in the text editor
without any condition.
This is bcoz, the text elements only ends when there is another text element.
If u are sure that only after 15 records it should print the text,then give condition.
/E E1
P1 &IT_BKPF-BELNR& &IT_BKPF-BLDAT& &IT_BKPF-BUDAT&
/: If &w_temp& eq 15.
/: INCLUDE ZTEXT_TEST OBJECT TEXT ID ST LANGUAGE EN.
/: Endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
there is no specific command to end a text element.
the start of the other text element is the end of the previous one.
so keep the standard text in another text element and call it again in the driver program with write_form.
(or)
you can do as sravanthi said.
regards
sarves
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.