PM Task List Operations - Export to Excel
Dear Gurus,
I would like to export the task list operation to excel file for further analysis by client (maintenance personals). How can i export all operations in a task list to a excel file.
thanks in advance
Hi Yogaraj,
Run the transaction SE11 and enter table name as PLPO as said by Rakesh.
Here in you can restrict the operation list with repsect your task list group number and execute.
After executing you can download the task list list details to local file.
Sundar
Similar Messages
-
Upload Task List Operation long Text using SAVE_TEXT-Urgent
Hi ,
I am trying to create Task List Operation Long text using the function module ..
SAVE_TEXT .I am passing the following keys
Text Name 300ATEST057 0000000900000009
Language EN
Text ID PLPO Long Text
Text Object ROUTING Texts for task list types
But the long texts are not getting updated in the Task lists operations .
Can anyone please suggest whether SAVE_TEXT will work for Operation long Texts or not Are we missing something
.This is pretty urgent requirement .Award points are assured.
Regards
Samhi,
use function module create text
check the sample code
DATA: BEGIN OF itab OCCURS 0,
asnum LIKE asmd-asnum, " Service No
text(5000) TYPE c, " Long Text
END OF itab.
*DATA: itab1 LIKE itab OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF itab1 OCCURS 0,
asnum LIKE asmd-asnum, " Service No
sequ type i, " Text Sequence
text(5000) TYPE c, " Long Text
END OF itab1.
To create Long Text lines for CREATE_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for CREATE_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras. " Language
Constants
Object ID for Long Text of Service Master
CONSTANTS:c_best TYPE thead-tdid VALUE 'LTXT',
c_material TYPE thead-tdobject VALUE 'ASMD'. " Object
for file splitting.
DATA: start TYPE i,
len TYPE i VALUE 92,
totlen TYPE i,
n TYPE i.
PARAMETERS p_file LIKE rlgrap-filename."input file
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start Of Selection
START-OF-SELECTION.
*To Upload Flat file
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = itab
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
LOOP AT itab.
itab1-asnum = itab-asnum.
CLEAR: totlen,n, start.
totlen = STRLEN( itab-text ).
n = totlen / len.
n = n + 1.
DO n TIMES.
itab1-text = itab-text+start(len).
itab1-sequ = sy-index.
start = start + len.
APPEND itab1.
ENDDO.
ENDLOOP.
delete itab1 where text is initial.
SORT itab1 BY asnum sequ.
LOOP AT itab1.
dt_lines-tdformat = '*'.
dt_lines-tdline = itab1-text.
APPEND dt_lines.
Call the Function Module to Create Text
AT END OF asnum.
dl_lan = sy-langu.
WRITE : / itab-asnum.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = itab1-asnum
IMPORTING
output = itab1-asnum.
MOVE itab1-asnum TO dl_name.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_best
flanguage = dl_lan
fname = dl_name
fobject = c_material
save_direct = 'X'
fformat = '*'
TABLES
flines = dt_lines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE:/ 'Long Text Creation failed for Service No'(001),
itab1-asnum.
ELSE.
WRITE:/ 'Long Text Created Successfully for Service No'(002),
itab1-asnum.
ENDIF.
REFRESH dt_lines.
ENDAT.
ENDLOOP.
in text file give first field records in capitals
regards
siva -
Equipment task list operation view by LSMW
Hi Experts,
We are uploading equipment task list and operation view and characteristic thru LSMW, .
I want to create LSMW for Equipment task list operation view and characteristic view.
Can anybody explain the step by step process involved in this.
STHi,
Execute the transaction LSMW. Create Project, sub project and object which your company following with naming convention
Click F8, in the next screen Under MAINTAIN OBJECT ATTRIBUTES, Choose Radio button Standard Batch/Direct Input
and enter following
This is one method you can do
Or
you can also use RECORDING method
create Recording, system will prompt for Transaction code, enter IE01 and execute
system will lead to IE01 transaction where you have to enter some test data ( dummy data ) for all your operations and characteristic view and save it
This data is save under Recording as default data.
Whatever the fields you have populated should be your source fields and you have to relate them with standard Fields and their lengths from ITOB table
Specific the field either as Excel or Text field
and try to proceed further
please execute the above and let forum know if you held up at any step
regards,
santosh -
Standard test error in the task list operations
Hi Friends,
We made a Z program in such a way that Task list operation long text through standard text key (CA10) will get updated automatically for
those associated operations, but the problem we never observed that program is overwriting the
standard text key entries on the operations while updating the long text, and unfortunately
it went to the production environment and it has been keep on executing the
program for last 3 months and suddenly we came to know that there is bug in the
code.
My main intention is how to trace till now how many reports
got corrupted and how to restore back those records which were effected in PRD environment.
Regards,
SrinikaGreetings Srinika,
I assume that the Z-program enters the Task List and re-enters the Standard Text Key KTSCH, does it call the standard transaction IA12? Maybe a good place to start is to see whether the Change Documents had been saved. Does the Z-program run as batch, as a particular user?
Query the table CDHDR on the object PLAN, then based on the Object & Document numbers query CDPOS. You can get the Task List & Operations from CDPOS field TABKEY. -
Fields in the Task List -- Operation Overview
Dear Expert,
There are few fields in the operation Overview of the Task List -
>> if we move ahead in each n evry operation -- fields like Material Grp, Cost element and Assembly....n lot more. plz tell me the appropriate use of the same.(If any)
plz guide
thanks
DMhi deepak
As you know task list is ued for easy uplaoding of operation and materials ,in tak list you can maintain internal and external operation ,hence for both the operation you will give the appropiate necessary fields.like for PM02 you will assingn the purchasing grp,cost element,material grp
regards
thyagarajan -
How to Check LT check box in IA02 - for Long text for Equipment Task list operations
Hi Experts,
I am trying to upload text for Equipment task list,i am able to upload texts at header,but not for operations.
At operations level - we have a check box LT which is grayed out - when am manually making an entry ( LT Check box - is getting checked when am creating entry manually ) - after manual entry - when i tried uploading text is working fine.
Can someone please tell me how to get the check box - checked - while saving text - using FM : SAVE_TEXT .
Cheers,
Rali KTry this:
function findNodes(vNode){
if (vNode.className === "field"){
if (vNode.isPropertySpecified("name")===true){
var myStateName=new RegExp(vNode.name);
var returnValue = GFL.search(myStateName);
if (returnValue!=-1){
this.ui.oneOfChild.border.fill.color.value="192,192,192";
this.access="readOnly";
else{
this.ui.oneOfChild.border.fill.color.value="255,255,255";//whatever colour is open access
this.access="open";
for (var a=0;a<vNode.nodes.length;a++){
findNodes(vNode.nodes.item(a));
findNodes(xfa.form);
Kyle -
Creating a query for task list operations
hello all
I checked the forum for similar questions but could not find any.
I am trying to create a task list for the following:
1) specific plant
2) generic task list
3) specific group counter
4) specific operations type (filtered by control keys)
in the display I also include the dependencies of the operations.
I also need to link the task list to a specific class and extract the characteristics value from the class, based on the task list (I think this is better with infoset: if so, in a second stage).
I am using tables
1)PLKO and PLPO joined by PLNTY and PLNNR
2) CUOB, joined to PLPO by KNOBJ and CUKB joined to CUOB by KNNUMfor the dependencies
the results tho, gave me operations that did not exist in the task list so I discovered that there were change masters to the task lists and I added table AENR, outer joined to PLKO by AENNR where I excluded inactive changes.
I still do not get correct results.
I do not get all the active change masters related to a task list, I do not manage to get the task list without changes and also the related operations and dependencies are not correct.
can someone help?Hi alisa,
Onethng was not yet touched upon in the discussion sofar. If you are not getting all the records those should come, then you need to try LEFT OUTER JOIN between tables by trial. (Trial means LOJ is not accepted on adjacent tables.) I hope you know that the default connection between fields of 2 tables in through INNER JOIN. You need to right click on this line and select LOJ for making it LOJ. This brings you all the records which are being filtered due to IJ (if any).
Try this, if you haven't done already.
KJogeswaraRao -
Item List Report : export to excel
hi there,
situation:
I generated inventory report by item group using the "Item List" in the inventory report menus.
there are 20 different item groups.
i generated 20 workbooks. ahh... very messy..
How about if more than that..???
is there any way just to use one workbook, and 20 worksheets?
or
continue using the same sheet?
if both cannot, is there any suggestions?
Bruce.Hi Bruce,
Why don't you just write a query with the same filter parameters and then let the customer export the whole report to excel which will be on one worksheet.
Hope it helps,
Adele -
LSMW to Load - Equipment Task List/Operations/Inspection Characteristics
Hello Experts,
Any suggestions on standard LSMW load program for this. The Standard batch Input - 0470/IBIP program does not have the option to load Maintenance Package and Inspection characteristics.
Any other suggestions please.
ThanksHi Ananthram,
instead of using the standard batch input program, you could also create a new recording that performs exactly the tasks you need. Mark "Batch-input-recording" and click on Overview. From there, you can start recording your transactions.
I hope this helps and solves your issue.
Marc -
LSMW IBIP Unable to upload the PM operation task list
Dear Experts,
I'm trying to use LSMW to upload Equipment (PM) task list.
I succeed in creating the Header of the task list, but not the operations.
I have created 2 new structures :ZIBIPTLST and ZIBIPTLOP
Source structure is : ZIBIPTLST
u2026u2026u2026u2026u2026 ZIBIPTLOP
Structure relation is :
IBIPTLST <<<<= ZIBIPTLST
u2026u2026u2026u2026..IBIPTLOP <<<<= ZIBIPTLOP
Field Mapping :
IBIPTLST
TCODE
RECORDNAME
EQUNR (Equipment number)
PLNNR (Key for task list group)
PLNAL (Group Counter)
u2026.
u2026u2026u2026u2026u2026u2026u2026u2026u2026..
IBIPTLOP
TCODE
RECORDNAME
VORNR (Operation)
ARBPL (work center)
u2026
Unfortunately, they sre no common fields between IBIPTLST and IBIPTLOP, as you could have between PLKO and PLPO.
I have found an answer about the same issue, explaining that you can add in the structure ZIBIPTLOP , additional fields manually in the Souce field maintenance (adding EQUNR, PLNNR, PLNALu2026).
But then , i have no idea where to make the link between these new fields and the same fields of IBIPTLST.
Can you help, and tell me how to structure my files and my LSMW in order to achieve the creation of the Task list Header and Operation in the same Batch input.
PS :in LSMW, i have created two flat files , one for the header and one for the operation.
Thanks a lot, your detailed answer will be very appreciated !!
Jean-LouisHi,
As you said, u will have to add the equipment and group counter id field in IBIPTLOP structure. U also need to identify the two structures with different ID, say header structure ID is 1 and Operation structure ID is 2. Go to step Maintain Source Field, double click on field SID which is created to enter the header and operation data identifier. In identifying field content, enter identifier as 1 for header SID and 2 for operation SID.
You will have to maintain the SID identifier in you data template as well, so that LSMW can easily identify header and operation data.
Below given is how you can create field data.
ZIA01HEADER - Equipment Task List -Header Structure
SID SID Header
EQUNR Equipment Number
PLNAL Group Counter
KTEXT Description
ARBPL Work center
WERKS Maintenance Planning Plant
VERWE Usage
VAGRP Planner Group
STATU Status
STRAT Maintenance strategy
ANLZU Syst.Condition
STTAG Key Date
ZIA01OPERATION - Equipment Task List -Operation Structure
SID SID Operation
EQUNR Equipment Number
PLNAL Group Counter
VORNR Operation/Activity Number
UVORN Suboperation
ARBPL Work center
STEUS Control key
WERKS Plant
LTXA1 Operation short text
DAUNO Duration
DAUNE Normal duration/unit
ARBEI Work
ARBEH Unit for work
ANZZL Capacity required
Hope this will work. -
Export to Excel - two lists into 1 Excel table
Hello SharePoint experts,
I have two lists with the exact same columns of data. The reason I have two lists is because they each represent a single year of data where the list contains 5,000+ items. We found we had
to "archive" old year items into a new list, otherwise we were not able to appropriately export to Excel (it wouldn't work) as well as make updates to the InfoPath from when the count was too high.
These lists are exported into Excel to leverage pivot tables and run metrics based on the data in the lists. I can bring both data connections into the same Excel file, but I am not sure if
there is a way to merge the lists so I can simply apply a filter to the pivot tables to select the appropriate year.
Any input is greatly appreciated.
Mark G.
MGIf you have both data connection files, I think you just need to make a join/merge. I think this may help:
http://office.microsoft.com/en-us/excel-help/combine-data-from-multiple-data-sources-HA103993145.aspx
Andy Wessendorf SharePoint Developer II | Rackspace [email protected] -
Print Individual task Lists from Project 2010
Hi
I have a routine which prints individual task lists from a Project Plan using VBA. This routine is currently being piloted and they have advised that not all resources have a task list produced. when I step through the code the Resource numbers
appears in this order:
1,3,18,7,8,9,11,12,13,14,18,19,20,21,22,23,24,25
Task lists are produced for each of the above resources. However this misses resource numbers 2,4,5,6,10,15,16,17 and I have no idea why. I have supplied my code below. Any advice/guidance appreciated. You will note that the task
lists are exported to a pre-defined spreadsheet template.
Sub PrintResourceCharts()
Dim xlApp As Excel.Application
Dim xlRange As Excel.Range
Dim rName As String
Dim Tsk As Task
Dim Res As Resource
Dim Ass As Assignment
Dim s As Worksheet
Dim BookNam As String
Dim Row As Integer
Dim fName As String
'Call SetSummaryTask - DB: commented out - run summaryname manually as required.
Call Task_CF_To_Assignment_CF
'Remove Existing Task List files from directory before creating new ones
On Error GoTo Finish
Kill "D:\Task List Templates\Task Lists\*.*"
Finish:
'Save File Location
fName = "D:\Task List Templates\Task Lists\"
'Start Excel and Create a new Workbook
Set xlApp = CreateObject("Excel.Application")
xlApp.Visible = True
'Export Resource and Task details
For Each Res In ActiveProject.Resources
If Res.Assignments.Count > 0 Then
Row = 5
xlApp.Workbooks.Open ("D:\Task List Templates\Task List Template.xlsm")
BookNam = xlApp.ActiveWorkbook.Name
Set s = xlApp.Workbooks(BookNam).Worksheets(1)
For Each Ass In Res.Assignments
Set xlRange = s.Range("A5")
If Ass.PercentWorkComplete < 100 Then
With xlRange
rName = Ass.ResourceName
s.Range("A" & Row).Value = Ass.ResourceName
s.Range("B" & Row).Value = Ass.TaskUniqueID
s.Range("D" & Row).Value = Ass.Text1
s.Range("E" & Row).Value = Ass.Start
s.Range("G" & Row).Value = Ass.Finish
End With
End If
Row = Row + 1
Set xlRange = xlRange.Offset(Row, 0) 'Point to next row
Next
xlApp.Visible = True
Application.DisplayAlerts = False
If rName = "" Then
GoTo Finished
End If
xlApp.ActiveWorkbook.SaveAs FileName:= _
"D:\Task List Templates\Task Lists\" & rName & ".xlsm", FileFormat:= _
xlOpenXMLWorkbookMacroEnabled, CreateBackup:=False
rName = ""
xlApp.ActiveWorkbook.Close savechanges:=False
Application.DisplayAlerts = True
End If
Next
Finished:
xlApp.Application.Quit
Set xlApp = Nothing
MsgBox ("Individual Task Lists have now been produced....")
End SubTony,
You said you step through the code and it picks up resource 1. What happens when the loop gets to resource 2? Note: since resource 1 may have several assignments and stepping through them all could take some time, I sometimes use a stop statement in the
outer loop to make it a little easier to "catch" what I'm looking for. For example, you could put this right after the For Each Res...
If Res.ID = 2 then stop
Then step through and see what happens.
John -
Criticality icons and exporting to Excel
Hello,
I want the appropriate icons to export as well as the text if I perform an export to Excel from a task dashboard or export to Excel of the table view (list display) of a project. I am getting mixed results and wonder what piece am I missing?
In our test system - I see icons when I export from task dashboard but not from the table view of a project.
In our dev system - I see icons in both places.
For a test id in our dev system - I do not see icons in either.
Do I need to look at backend security or is there something else?
Thank you,
Wendy MillerThis is related to security in the systems.
-
Error while creating configurable task list
Dear Expert,
I am trying to create configurable task list for equipments and I want to use this task list for preventive maintenance cycle. In following steps I will tell you what i did in the process.
Step1:- Characteristic is created and different values are assigned to this.
Step2:- Class with class type 300 is created, characteristic is assigned to this class
Step3:- Equipments are created and class created in above steps is assigned to them and character values are set for them
Step4:- General maintenance task list created
Step5:- Configuration profile for task list with same class is created
now while creating the object assignment in the task list operation, in the dependency basic data I am getting error ' No source code entered'. Please guide me what data do I need to enter in this basic data and where I am doing wrong.
I try to follow the previous discussion regarding the same topic, but unable to create this object dependency assignment.
Thanx in advance, for your help.
Regards,
ParagHi Parag,
See this document.Configurable Tasklist
I hope you will be able to connect and correct your process accordingly.
Step3 here (CU01) is related to your issue.
You are expected to give a code shown like that in the Editor above Assignments in the Tasklist Extras menu (Takes to CU01)
Jogeswara Rao K -
New DMS document attachment to order header - can it also be done to a task list?
With business function LOG_EAM_CI_6, you can now attach DMS documents to the order header or operation level in the 'Additional Data' tab.
Since a lot of clients use documents to list complex preventive maintenance instructions, is it also possible to attach a DMS document to a task list header (or operation) and have it show up in the new 'Additional Data' screen area of the resulting order (using a maintenance item/plan to generate the order)? Or do we still have to use the task list operation PRT functionality and have it show up in the order's operation PRT?Hi Arthur,
I have configured Task list as per the SAP note 1821916 & activated DOC_TL_GUI. This allowed me to attach documents to the Operation &/or Header of the Task Lists. The problem I am facing is when I assign the task list to the work order the documents are not transferred . You have stated that they have transferred to the work order so I am wondering if there is something I missed.
Arthur Balajthy wrote:
And I checked that by adding documents to a task list header or operation, the work order generated from a maintenance plan/item referencing that task list does have those documents attached also.
I haven't tried from a Plan but will do that now.
I assumed if they were attached to the Task List Operation they would transfer to the Work Order like everything else on the Task List
Thanks in advance
Maybe you are looking for
-
Hi all, It's been a while since I last posted, but this one's got me tearing my hair out. My MBA 2013 doesnt seem to acknowledge the existence of my external hard drive, which I'd quite like to load some home movies onto. I plug it in, and it lights
-
Converting type from SAP to Java...
Hi everyone, I am calling a BAPI wich returns me numbers like for example : 19,887.54 When I get this number in my Java code, it does not save the ",". Can someone help ???
-
Finder crashing when in Cover Flow view
I installed Leopard a few days ago and have noticed that whenever Finder is on Cover Flow view, it crashes and restarts. This happens at least 50% of the time but only in this view mode. In the other 3 view modes, it is stable. Has anyone else experi
-
Refreshing of a screen....
hi all... i have a main screen. From here i move on to the next screen. after performing manipulatons in ttable control and tree controlls in the screen, i get back to the main screen again. from there without getting totally out if i come back to th
-
Unexpected error -6584 when entering time machine
although i can mount my time machine sparse image in Finder and recover files, i receive this error radio when i request enter time machine. unexpected error -6584 when entering time machine is this fixable, or do i just have to continue entering Fin