Application Development and Automation 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: 
Read only

Card_table_select_lines

Former Member
0 Likes
561

Can any one explain me this function module?

What it has to do with characteristics of configuration materials?

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
443

Hi,

Go through below link it may help you

Reward points if it helps,

Satish

Read only

0 Likes
443

I see the example bellow.

But I am still not clear what it is.

What is P_TAB?, the table that I need to pass in

and same for I_CHAR_VAL and I_VAR_TAB_N

I understand this FM is used to get characteristics values right?

-


CALL FUNCTION 'CARD_TABLE_SELECT_LINES'

EXPORTING

VAR_TAB = P_TAB "table name

FL_WITH_ENTRIES = C_X

TABLES

SELECT_WHERE_VALUES = I_CHAR_VAL "Char Values

VAR_TAB_ENTRIES = I_VAR_TAB_N

EXCEPTIONS

WARNING = 1

ERROR = 2

OTHERS = 3.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

SORT I_VAR_TAB_N BY VTLINNOINT.