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

Function module to check if a material is batch managed or not

Former Member
0 Likes
1,931

Hi All,

What is the function module to check if a particular material is classified as 'batch managed' or not?

please help

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,232

Hi,

You can check this with:

SELECT XCHPF INTO W_XCHPF FROM MARC WHERE MATNR = W_MATNR

Where XCHPF = X indicate that the material is "batch managed".

Best Regards,

Leandro Mengue

3 REPLIES 3
Read only

Former Member
0 Likes
1,233

Hi,

You can check this with:

SELECT XCHPF INTO W_XCHPF FROM MARC WHERE MATNR = W_MATNR

Where XCHPF = X indicate that the material is "batch managed".

Best Regards,

Leandro Mengue

Read only

0 Likes
1,232

Thanks a lot.

Will be even more useful if u can tell me a function module.

I have awarded u points for this answer.

Read only

0 Likes
1,232

hI

Check below FM

READ_MATERIAL_BATCH_FLAG

You can see the FM documentation for input values.

Thanks

Naresh