Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Inheriting FL class to equipment

Hi ,

I have a FL where process characteristics and TAG number is stored . This will not be changing for long time. I have the physical equipment installed under the same FL . The equipment has its equipment specific characteristics. I want to add FL's class in the equipment so that along with the equipment class-chars , the user should also be able to see FL process class-characteristics.   But in standard SAP, you will not be able to inherit a FL class in equipment.

How can we achieve this ?

Former Member
replied

Hello Prasad,

Tough requirement. ABAPer needs to work for sometime. But looks achievable.

Route

User-exit: ILOM0001.

Target

When the Functional Location is updated with Class related fields the inheritancy code written in the above exit should function.

Logic for the code

The code selects the Equipments under the Functional location into an internal table and with a loop updates these equipments with the Class and characteristic values of the F/Locn.


FMs to help the Code

1. BAPI_OBJCL_GETCLASSES for reading the Class-Char information of the F/Location

2. BAPI_OBJCL_CHANGE for updating the Equipment Class Characteristics (Objectkey field is Equipment number and Objecttable is EQUI, other fields and tables are self-explanatory)


Here in using the 2nd FM some technical difficulty might arise for the Class information already available in the Equipment. For this Read this thread carefully where solution is also present: Problem with entering Equipment Characteristics values using BAPI/FM

Regards

KJogeswaraRao

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question