cancel
Showing results for 
Search instead for 
Did you mean: 

Function Module to get Equipments.

Former Member
0 Kudos
962

Hi Experts,

     What is the function module to get all the equipments that uses the given material in SAP?

     Please provide me an answer.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi all,

     We found a Function module that suits my requirement.

     We can use

          1) CS_WHERE_USED_MAT

          2) CS_WHERE_USED_MAT_ANY

     Both will get in the Material Number and returns the list of Equipment that uses this material and the sub Materials too.

Thank You.

Answers (1)

Answers (1)

dejoy
Active Contributor
0 Kudos

Hello,

Have you checked report RIEQUI20/IE03.here in selection material field is available.Check bapi ALM_ME_EQUIPMENT_GETLIST.

Regards,

Former Member
0 Kudos

Thank you for your response.

I have passed Material number in EQUIPMENT_LIST table in material field. But it is asking for I_SEL_VARIANT also.So, Here what i have to pass to get the result as like when material number (p-1001) alone is passed in IH08 transaction

dejoy
Active Contributor
0 Kudos

For I_SEL_VARIANT you need to create variant of report RIEQUI20/RIEQUI21.and than pass to I_SEL_VARIANT.

Regards,

Former Member
0 Kudos

Can you tell me a function module that works similar to IH08 functionality (ie., Passing Material number alone as input in which it returns equipments corresponding to the given material number).

Thank you.

dejoy
Active Contributor
0 Kudos

Have you tried as i said.

Create a variant of ih08 with material and other required selection.Put IH08 variant name into this BAPI and check result.

               Else let me know what you have tried.

Regards,