on 01-15-2015 4:00 PM
Hi Experts,
We're in process of implementing PM for a new client. As part of data takeover the client wants us to record the historical installation and dismantling of equipment at functional locations.
This is an example of data:
Equipment Installation Date Dismantling Date Functional Location
20000056 08-23-2012 16:29:12 10-18-2013 15:34:19 07-3064528
20000056 10-18-2013 15:35:22 03-06-2014 15:57:15 07-3064528
20000059 08-13-2014 11:00:00 07-3044533
There are 2 IDoc that I found in LSMW
PIECEOFEQUIPMENT_INSTALLATFUNC
PIECEOFEQUIPMENT_DISMANTLEATFU
This is the problem I've. I cannot run the LSMWs to update installation on mass. When I run the 'Installation' LSMW, it will run successfully for the 1st record but it will stop for the 2nd and 3rd because it cannon install the equipment since it hasn't been dismantled. This means that I've to run the dismantling LSMW which basically defeat the purpose
Is there anyway for me to record the historical equipment installation and dismantling at FLOC using the IDOCs? Have you had such a requirement from a client previously and if so how did you upload the data in the system?
Thank you.
Cyrus Minab
Why not use a BAPI instead of an IDoc, say BAPI_EQMT_INSTALLFL.
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cyrus Minab,
Taking the idea of PeteA, why not to apply these two BAPI in some LSMW process, ie in the LSMW you can put some ABAP logic in the option "Maintain Field Mapping and Conversion Rules" step and control with some field. (this information will be in your file upload structure)
IF <> "I" so execute BAPI_EQMT_INSTALLFL
IF <> "D" so execute BAPI_EQMT_DISMANTLEFL.
You must be careful to respect the sequence as you show us above in the file. for example
I/D Equipment Date Functional Location
I 20000056 08-23-2012 16:29:12 07-3064528
D 20000056 10-18-2013 15:34:19 07-3064528
I 20000056 10-18-2013 15:35:22 07-3064528
.....
I hope that is not a crazy idea
Regards,
Xavier
Hi Cyrus,
In my point of view, please try with this option.
It is a method of creation but you will not create , only use the structure it has.
- Maintain Source Fields: with the same has when you will use with PIECEOFEQUIPMENT_INSTALLATFUNC / DISMANTLEATFU and the new "I/D"
- Maintain Field Mapping and Conversion Rules: don´t put TCODE, only put in EQUNR a new rule ABAP with the logic.
I Hope this addresses your request.
Regards,
Xavier
Hello Cyrus,
You can achieve this with LSMW and IBIP ( structure IBIPEQUI )
You need to build your source file in this way ( 1 record for install and 1 record for dismantal)
Equipment Installation Date Dismantling Date Functional Location
20000056 08-23-2012 16:29:12 07-3064528
20000056 10-18-2013 15:34:19
20000056 10-18-2013 15:35:22 07-3064528
20000056 03-06-2014 15:57:15
20000059 08-13-2014 11:00:00 07-30445
in dismantle please use IBIPEQUI-DISMANTLE = X
Regards,
Mark
User | Count |
---|---|
94 | |
11 | |
10 | |
6 | |
5 | |
5 | |
4 | |
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.