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

BAPI, FM or Program to classify equipment

Former Member
0 Likes
1,725

Hi!

We need make an Program to classify in mass equipments (IE02), that they can have or not already the classes attributed.

We need to add existing class's and set the characteristics values or if the class is already attributed, only set the value of the characteristics.

Someone has a program to do something similar or know a FM or BAPI to do this?

All Inputs are Rewarded .

Thanks,

Carlos Duarte

Edited by: Carlos Duarte on Jan 14, 2008 5:54 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
825

Try this FM.. Worked for me

CALL FUNCTION 'EQUIPMENT_CLASSIFY'

EXPORTING

EQ_CLASS = w_class

COMMIT_NEW = 'X'

TABLES

ITAB_EVAL = lit_char

CHANGING

S_EQUI = w_equi

EXCEPTIONS

ERR_CLASSIFY = 1

OTHERS = 2.

4 REPLIES 4
Read only

Former Member
0 Likes
826

Try this FM.. Worked for me

CALL FUNCTION 'EQUIPMENT_CLASSIFY'

EXPORTING

EQ_CLASS = w_class

COMMIT_NEW = 'X'

TABLES

ITAB_EVAL = lit_char

CHANGING

S_EQUI = w_equi

EXCEPTIONS

ERR_CLASSIFY = 1

OTHERS = 2.

Read only

0 Likes
825

Hi,

I have a similar requirement where I have to modify the equipment class.

For ex an equipment has class and the charactristics assigned. (Seen in Class Overview tab in Transaction IE03)

Now if I give an input text/ excel such that the characteristics of the class are blank in the input , then the characteristics need not be modified. They should remian as they are. NO CHANGE in current values in SAP.

I tried using the FM EQUIPMENT_CLASSIFY but it makes the characterstics on the CLASS blank once the program is run.

Can u suggest?

Thanks in advance,

prajakt dhumal

Read only

Former Member
0 Likes
825

You can also use standard programs:

RCCLBI02 or RCCLBI03

OBJEK - Equipment Number

CLASS - Class

KLART - Class Type

ATNAM - Characteristic Name

ATWRT - Value

Read only

Former Member
0 Likes
825

Hi Experts,

What is teh functionality of the FM - Classify Equipments?

Can someone pls explain

Thanks in advance,

Prajakt Dhumal