on 03-15-2007 4:37 AM
Hi all.
I am fasing an issue in the script medruck.
I copied the medruck into zmedruck.
in the standard form the line items in the
main window are:'item no', 'material', 'discription'(as in first row).
these are printing through text element /E ITEM_LINE_1.
in the second row: '0rder qty', 'unit'.
printing through the text element:ITEM_LINE_3F.
my requirement is,to change the positions of; discription ;and ;order qty'.
so I moved the 'description ' to second row and 'order qty' to first row.
but in the print preview the 'description' is comming.
but the 'order qty' is not comming.( the corresponding fiels is--RM06P-PRMG1).
in the debugging while the value in the field RM06P-PRMG1 is deleting when controll comming to the text elementb ITEM_LINE_1.
Can any body help me to solve this issue.
thanks in advance,
Regards,
Eswar
Here is what I had to do.
In the MEDRUCKTOP include , declare a local variable of ekpo-menge.
lv_menge type BSTMG.
_________________________________________________________
In your custom form ZMedruck there is a function module for Print_PO. Within this function module EKPO is available to you.
after the following code
" PERFORM prepare_item_text TABLES doc-xekkn doc-xaend.
"Insert
clear lv_menge.
lv_menge = ekpo-menge
___________________________________________________________
Call the local variable in your script
&lv_menge& instead of RM06P-PRMG1).
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what you can do is comment the lines in the text element which you do not want
and copy the lines that you need to the text element you need.
i have tried..it works....
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 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.