on 04-13-2010 1:09 PM
dear all,
i have a basic question ,in my main window text editor i want to add line item(which includes 10 fields) in the same line of the text editor.that is from left to right. how do i do that any help wud be gratyefull.
problem solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naren,
You can add the fields in the 'MAIN' window text editor as below
/E LINEITEM
P1 ,,&FIELD1&,,&FIELD2&,,&FIELD3&,,&FIELD4&,,&FIELD5&,,
= &FIELD6&,,&FIELD7&,,&FIELD8&,,&FIELD9&,,&FIELD10&
,, represents tab in SAP script.
You can define paragraph format P1 with preferred Font and TAB space settings
In the print program we can call the element using the below code.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN'
element = 'LINEITEM'
EXCEPTIONS
window = 1
element = 2.
If you want to print multiple lineitem put the above code inside the loop.
Thanks,
Jeyabalasubramanian.J
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the main window make a table and loop at that internal table to display the data.
In the style which u are assigning to the data make it as left aligned.
Edited by: prachidangi on Apr 15, 2010 11:51 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.