on 12-19-2007 7:16 AM
Hi all,
I am facing a problem while passing the data from abap progrm to sap scripts.
I have designed asap script which contains the main window and the text elements.
I have to print the line item in the text element 'LINE_ITEM'
the following :
&wa_bseg-belnr& ,, &wa_bseg-wrbtr&.
In the abap code :
I have data in my internal table,
I have used the write_form
ELEMENT = 'ITEM_LINE'
FUNCTION = 'APPEND'
TYPE = 'BODY'
WINDOW = 'MAIN'
But When i execute the pgm my data is not disaplyed in the print.
What could be the reason,.
Please help me soon
Regards,
Priya
Now, I am getting the data ,but only the last record of the itab is getting printed.
For ex : My itab has 20 records,.
The last record is getting printed 20 times.
Now to print all the data
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi can u check once the text element name in abap code and script main window 's text element name.it must be same
in script u have to give like this
\E LINE_ITEM
..........
in program
u have to pass the parameters
ELEMENT = 'LINE_ITEM'
FUNCTION = 'APPEND'
TYPE = 'BODY'
WINDOW = 'MAIN'
reward points if useful.
Thanks,
Usha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.