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

FM for getting Customer Material

Former Member
0 Likes
2,570

Hi all,

I need a FM which returns customer material when i give

customer number, sales organization, distribution channel, material number as input.

Thanks and regards

Chandu.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,729

Hi Sai,

you even can use FM

RV_CUSTOMER_MATERIAL_INFO

Call on Customer-Material Inforecord maintenanace

RV_CUSTOMER_MATERIAL_PRE_READ

Read customer-material info record for pre-step

RV_CUSTOMER_MATERIAL_READ Read customer-material info record for document processing

RV_CUSTOMER_MATERIAL_UPDATE_C Posting program for customer-material info (CALL mode)

with regards,

Pravin

Hi all,

I need a FM which returns customer material when i give

customer number, sales organization, distribution channel, material number as input.

Thanks and regards

Chandu.

7 REPLIES 7
Read only

Former Member
0 Likes
1,729

Hello Sai,

Try the FM <b>RV_CUSTOMER_MATERIAL_INFO</b>.

Alternatively, you can also query the table <b>KNMT</b>.

Regards,

Anand Mandalika.

Read only

Former Member
0 Likes
1,729

Hi,

Check these Fm's.

<b>RV_CUSTOMER_MATERIAL_INFO

RV_CUSTOMER_MATERIAL_PRE_READ

RV_CUSTOMER_MATERIAL_READ

SD_CUSTOMER_MATERIAL_LIST_CONV</b>

Regards

Vijay

Read only

Former Member
0 Likes
1,729

Hi Saichand,

for your purpose you can use the BAPI

'BAPI_CUSTMATINFO_GETLIST'

with regards,

Pravin

Read only

Former Member
0 Likes
1,730

Hi Sai,

you even can use FM

RV_CUSTOMER_MATERIAL_INFO

Call on Customer-Material Inforecord maintenanace

RV_CUSTOMER_MATERIAL_PRE_READ

Read customer-material info record for pre-step

RV_CUSTOMER_MATERIAL_READ Read customer-material info record for document processing

RV_CUSTOMER_MATERIAL_UPDATE_C Posting program for customer-material info (CALL mode)

with regards,

Pravin

Read only

0 Likes
1,729

Hi all,

Actually I am implementing user exit MV50AFZ1 in the routine USEREXIT_MOVE_FIELD_TO_LIPS for transaction VL02N.

When user enters material number, quantity and press enter the customer material also come automatically.

For this purpose iam asking for FM.

Is it better to use KNMT table to get the customer material or to use Fm which gives me KDMAT.

Please clarify.

Thanks and regards

Chandu.

Read only

0 Likes
1,729

Hello chandu,

It is safe to do a select on the KNMT table.

Regards,

Anand Mandalika.

Read only

0 Likes
1,729

Hi ,

try to select on KNMT to get the material.

Regards

Vijay