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: 

report for the list of meterials with sales text .

Former Member
0 Kudos

dear all,

can any body help me in code for list of meterials with sales text as discription.

thanks &rgds

vamsee krishna yadav

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Vamsee

The table for material related Sales data is MVKE.

If you want to display materials then you may write a select query on MVKE, selecting Sales Organization and Distributuion Channel.

the concatenate mat number (with the leading zeros), Sales Org and Dist Channel into what will be the 'Name'


CALL FUNCTION 'READ_TEXT'

EXPORTING
 id = '0001'
 language = <language>
 NAME = 'Name'
 object = 'MVKE'
TABLES
 lines = li_lines.

Now read the li_lines table for the Sales Text.

Thanks

Pushpraj

3 REPLIES 3

Former Member
0 Kudos

hi

you can try these rfc's

RFC_SELECT_OBJ_VIA_MATCHCODE

RFC_DISPLAY_MATERIAL_MASTER

hope this helps

regards

Aakash Banga

Former Member
0 Kudos

Hi,

Check the below Function modules.

RFC_SELECT_OBJECTS_VIA_CLASS

RFC_SELECT_OBJ_VIA_MATCHCODE

Regards,

Anki Reddy

Former Member
0 Kudos

Hi Vamsee

The table for material related Sales data is MVKE.

If you want to display materials then you may write a select query on MVKE, selecting Sales Organization and Distributuion Channel.

the concatenate mat number (with the leading zeros), Sales Org and Dist Channel into what will be the 'Name'


CALL FUNCTION 'READ_TEXT'

EXPORTING
 id = '0001'
 language = <language>
 NAME = 'Name'
 object = 'MVKE'
TABLES
 lines = li_lines.

Now read the li_lines table for the Sales Text.

Thanks

Pushpraj