on 05-07-2010 7:42 AM
Hi,
I have to repeat the column headings for each line item in main window.How can this be done.
For example:
ItemNo material Quantity
0001 100-100 99.00
ItemNo material Quantity
0002 100-300 99.00
ItemNo material Quantity
0003 100-300 99.00
This i need to do in the main window while printing the item details.
Hi,
It is very much possible..
Follow the steps..
1. In your print program Put write_form function module in a Loop.. pass the element as Item_line (whatever in your case)..
and the window as Main..
2. Put the below code in script editor:
/E ITEM_LINE
/: &zzItemNo&,, &zzmaterial&,, &zzQuantity&
/: &W_value-item&,, &w_value-MATNR&,, &w_value-MENGE&
One more thing for you.. There is a table calles TTDTG.. here you can maintain some user defined variables... Like zzmaterial.. maintain its text as Material Number.. and then you can use this ZZMATERIAL in sap script editor to diplay output as Material Number (On the layout)
I hope you got it....
Regs,
Lokesh.
Edited by: Lokesh Tarey on May 7, 2010 9:00 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
/E Elm
/* ItemNo material Quantity
/* your items.
What i mean to say is write your header inside element.
Regards and Best wishes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sravan,
If you can add the logic in the driver program, then it canbe done as you required.
Please try to call the header data element for every item data element.
If suppose it is not possible, then you can put the header in the item data element so that it will be called every time. but here you can provide the character format (make it bold or italic ....) but the background shading may be possible but it seems difficult.
Regards,
Selva K.
Edited by: Selvakumar Krishnan on May 7, 2010 9:29 AM
Hi,
It is also possible to braw a box..
/: BOX XPOS 1 CM YPOS 2 CM WIDTH 3 CM HEIGHT 4 CM FRAME 10 TW INTENSITY 10
Please have a look on below link.. everything is given..
[http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm]
Put the header data in that..
Regs,
Lokesh.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.