Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

line type& row type

Former Member
0 Kudos
210

Explain row type and line type concept ?

How to close a Answered Question ?

Thanks in Advance

Krish...

1 ACCEPTED SOLUTION

Former Member
0 Kudos
153

Hi

  • LVC_T_FCAT is a table type

  • LVC_S_FCAT is a structure

DATA: i_fcat1 TYPE lvc_t_fcat.

DATA: i_fcat2 TYPE TABLE OF lvc_s_fcat.

  • Here W_FCAT1 and W_FCAT2 are same but the way they are declared are

  • different. If you are referring to a TABLE TYPE you can use TYPE LINE OF

  • method or you can directly say TYPE referring to that structure (lvc_s_fcat).

DATA: w_fcat1 TYPE lvc_s_fcat.

DATA: w_fcat2 TYPE LINE OF lvc_t_fcat.

As said earlier ROW TYPE &b LINE TYPE are mpre or less same.

For closing the thread and awarding points you can find radio buttons to the left side of each post.

Regards

Kathirvel

5 REPLIES 5

suresh_datti
Active Contributor
0 Kudos
153

<a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/0b/e06b1c2d8411d5b693006094192fe3/frameset.htm">Line Type</a>

wheras the Rotype could be the row/line in any Table/Ranges type

click on the radio button to the left to close the thread..

~Suresh

Former Member
0 Kudos
153

When you create a TABLE TYPE you need to have a structure which will have the fields of the table. That structure is referred to as the line type or row type of the table.

click on the Problem Solved start next to the answer that helped you most and the thread will be closed.

Regards,

Ravi

Note - Please mark all the helpful answers

Former Member
0 Kudos
153

Hi krish,

Row type and Line type are the same, For creating a Internal table or Table type u need a structure, that structure is called row type .

Regards,

Kasi. S

Former Member
0 Kudos
154

Hi

  • LVC_T_FCAT is a table type

  • LVC_S_FCAT is a structure

DATA: i_fcat1 TYPE lvc_t_fcat.

DATA: i_fcat2 TYPE TABLE OF lvc_s_fcat.

  • Here W_FCAT1 and W_FCAT2 are same but the way they are declared are

  • different. If you are referring to a TABLE TYPE you can use TYPE LINE OF

  • method or you can directly say TYPE referring to that structure (lvc_s_fcat).

DATA: w_fcat1 TYPE lvc_s_fcat.

DATA: w_fcat2 TYPE LINE OF lvc_t_fcat.

As said earlier ROW TYPE &b LINE TYPE are mpre or less same.

For closing the thread and awarding points you can find radio buttons to the left side of each post.

Regards

Kathirvel

Former Member
0 Kudos
153

Hi

Line Type : When you create a TABLE TYPE you need to have a structure which will have the fields of the table. That structure is referred to as the line type or row type of the table.

The height of a table depends of the amount of data to be displayed or printed in a table. Therefore, you cannot use the line types in the Table Painter alone to describe the table layout, as you do it with line types for templates:

Using the Line Types

After defining line types for a table in the Table Painter, you can reuse them. To do this, create table lines in the navigation tree of the Form Builder and assign line types to them (see: Specifying Table Output). The diagram below illustrates how you can use line types of tables for output:

L3 could be a line type for the header, L2 for table items in the main area, L1 for subtotals, and L4 for the footer. The sequence of the line types in the Table Painter does not have to correspond to the sequence in which they are used. As the diagram shows, boxes and shading are connected to the line type. (See also: Setting Boxes and Shading).

<b> Goto to right hand side Clik Your Questions. Open the question, Then Tick the check box, Which contains points.</b>

If you satisfy Reward points

Cheers

Manju