on 05-21-2015 11:15 AM
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 ?
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:
Regards
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(Just joined)
Exactly !
This is a collateral trouble (which I did not foresee). Addressing of which starts with the user exit IEQM0003 (in place of ILOM0001). Similar logic applies as before. First it has to shed the class inherited from Old F/Locn and take the class details from new one. Same FMs will work here too. Knowing these logics (if you do not know already) will be helpful for future requirements. But I do not know how much it's worth it to your present requirement.
Regards
KJogeswaraRao
Hello Prasad,
A comparatively easier solution could be through Classification Hierarchy which I haven't yet explored. Possible that a mix of this and user-exits make it easier. For this first classes (F/L and Equip) are needed to be created in a planned way.
You may like to study this material.
Good luck
KJogeswaraRao
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.