cancel
Showing results for 
Search instead for 
Did you mean: 

Freight Cost

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi vikram

Can u explain which transaction u r using

R u asking about sales Order or contract Order

Former Member
0 Kudos

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.

Former Member
0 Kudos

HI,

I am using Tcode ME32k ( PO Contract )..

Thanks in Advance,

John

Former Member
0 Kudos

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

Former Member
0 Kudos

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