on 03-12-2008 6:44 AM
Hi,
I have two questions. first one is..
I am asked to print a contract print format using smartforms. I need to print 15 rows per page. Please let me know how to do this.
Second one is..
I need to print freight also. I have searched in VTTK tables for freight cost. But I didn't find it. Please let me know where to find the FREIGHT data.
Thanks in Advance,
John Vikram
Hi Rajesh,
Thanks for an immediate answer. I have to print the rows from a table.
Coming to second one, could you please elaborate ur explanation as I need to print the PO Contract and how it is related to ur description..
Thanks in Advance,
John Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For printing from a talble u hav to create a table line.
calculate the total amount of length available and u hav to divide it by 18. then goto styles and create a paragraph format give line spacing as the value u got by dividing. the assign that paragraph format to text element where u r going to display the data.
For getting the frieght value u have to find out the condition record no (KNUMV) from table VBRK and Passing that value to KONV table u can get the u can get all the tax details. u hav to give the item no and condition type for getting the value from field KWERT.
for the first one can u explain how u r going to print the details. ie using template or normal display
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Change this code as per requirement
ATA : lv_kbetr TYPE kbetr.
CONSTANTS : lc_kschl TYPE kschl VALUE 'KF00'.
Select the freight from table KONV
SELECT kbetr
INTO lv_kbetr
FROM konv
UP TO 1 ROWS
WHERE knumv = is_vbdka-knumv
AND kposn = gwa_vbdpa-posnr
AND kschl = lc_kschl.
ENDSELECT.
g_freight = g_freight + lv_kbetr.
Regards
Shiva
User | Count |
---|---|
87 | |
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.