Archiving equipment in PM Module
Hi,
Can any of u help. actually i need to archive these eqipment
can u tell me Tcodes and steps to be followed. to do so
Equipment 12011792 is being edited
> Measuring Point 000000069295
> Superior Equipment 000000000012011793
> Archiving not possible, usage found
We want to archive the Equipment- 12011792
and usage check saying that this equipment has the measurement point and also superior Equip.
That is why archiving not possible for that equipments.
Cheers,
Yashwanth
Dear Yashwanth,
Have you set a deletion flag to the equipment 12011792/12011793?
After applying the deletion flag, you can archive the equipments using the Archiving Object PM_EQUI (Tcode: SARA).
(As per the message 'Usage Found', try archiving the equipment 12011793 before archiving 12011792... use test runs)
But firstly check for dependencies for the equipments in the network graphic.
Also note that once you have archived the equipment, you will not be able to reload it back into the database.
For more info refer:
http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e623f462a11d189000000e8323d3a/frameset.htm
Regards,
Kaushik.
Similar Messages
-
Archiving functionality with financial modules
Hi,
When going through the concepts of archive and purge with oracle ebs , i found that we donot have archive functionality with
1. oracle payables
2.Oracle Cost Management
3.Order Management
Could some one tell me why we donot archive data from these modules alone????
Why is purge functionality alone present in all the modules??
Thanks,
Akila Manikandan.Hi,
There are two conditions that you should keep in mind while using the Archive files with errors option
1. The Processing Mode has to be Archive not Delete in case you are using the Add Time Stamp for the archived files with errors(the second check option not the first one)
2. In case the processing mode is Delete you can not use the second ADD Time Stamp option but this also can archive files with errors
Ranjit -
File adapter - Archive issue with adapter module
Hi All,
I have 2 issues here. We are currently using PI 7.11 EHp1 SP02.
1. Arhival with "add time stamp" wont work. It just gives us an error message saying simpledate format exception.
I have gone through the OSS note 1265534 and thought this will resolve the issue. But our BASIS team believes this note is only applicable for PI 7.1 SP01. Can you one using PI 7.11 SP02 comment on this?
Note: Archive option with out add time stamp works fine.
2. When I use adapter module in my sender file configuration, the archive option itself does not work. Read the official SAP help which says "To archive source files where a permanent error occurred during processing, set the indicator.
A permanent error occurs either during the conversion of the file content, or in a module in the module processor."
So the question here is, how do we make the error permanent? The only way to throw error from adapter module is using the ModuleException. It has 4 different constructors. I have used both
ModuleException me = new ModuleException ("My error Msg"); and
Module Exception me1 = new ModuleException ("Error String", new Throwable("My error Msg");
In both the cases, the archival wont happen.
Any ideas welcome.
Thanks
JaiHi,
I am using NFS protocol here not FTP. Sorry I dint mention that earlier.
Thanks
Jai
Edited by: Jaishankar on Apr 1, 2010 9:55 AM
Edited by: Jaishankar on Apr 6, 2010 11:10 AM -
Archiving using PBS Function modules
Hi All,
I am converting existing report to archiving reports.
For that I am using <b>PBS Commands FUNCTION MODULES</b>. .
ie function module like <b>'/PBS/SELECT_INTO_TABLE'</b>
Can any one send some documents related PBS and how to use these commands or function modules,and sample programs.
thanks in advance..
srinu.Hi ,
Thanks for your help and responce.
I already coded one small program using commands . but its not working properly in perticular case.
Here is the Code.
From EKKO table the fucntion module fetching the data properly.
SELECT SINGLE * FROM EKKO
INTO W_EKKO
WHERE EBELN EQ P_EBELN.
IF SY-SUBRC NE 0.
CALL FUNCTION '/PBS/SELECT_INTO_TABLE'
EXPORTING
ARCHIV 'CMM'
OPTION ''
TABNAME = 'EKKO'
SCHL1_NAME = 'EBELN'
SCHL1_VON = P_EBELN
SCHL1_BIS = P_EBELN
TABLES
I_TABELLE = TAB20
EXCEPTIONS EOF = 4
OTHERS = 2.
LOOP AT TAB20 WHERE ( EBELN EQ P_EBELN ).
MOVE-CORRESPONDING TAB20 TO W_EKKO .
EXIT.
ENDLOOP.
ENDIF.
<b><u>But when I use the function module to fetch from EKPO, its considering only EBELN , but not considering the EBELP .</u></b>
Its fetching all the line items related to this EBELN.
SELECT * UP TO 1 ROWS
INTO CORRESPONDING FIELDS
OF TABLE TAB23
FROM EKPO
WHERE EBELN EQ W_EKKO-EBELN
AND EBELP EQ P_EBELP.
ENDSELECT.
if sy-subrc ne 0.
CALL FUNCTION '/PBS/SELECT_INTO_TABLE'
EXPORTING
ARCHIV = 'CMM'
OPTION = ''
TABNAME = 'EKPO'
SCHL1_NAME = 'EBELN'
SCHL1_VON = W_EKKO-EBELN
SCHL1_BIS = W_EKKO-EBELN
SCHL2_NAME = 'EBELP'
SCHL2_VON = P_EBELP
SCHL2_BIS = P_EBELP
TABLES
I_TABELLE = TAB23
EXCEPTIONS EOF = 4
OTHERS = 2.
LOOP AT TAB23 WHERE ( EBELN EQ W_EKKO-EBELN AND
EBELP EQ P_EBELP ).
MOVE TAB23-ebelp TO W_EKPO-ebelp.
ENDLOOP .
endif.
<u>Please check my code and give me some inputs.
Is there any pre-conditions are needed.</u>
Thanks and Regards,
Srinivas Kalva. -
Calibration Equipment -PM & QM Module
Hi Guys,
We are doing the calibration of some equipment and generating Order and Notification by PM Scheduling in PM Module.I want to know can anybody tell me what is the benefits available for the same in QM Module.I mean to say is there is anything related to calibration of equipment in QM also.
AR.Hi Amit
Well about QM.... see you have many testing equipment in the industry. All equipments will have a caliberation dates and it has to be caliberated. In audit you have to show that all equipments are caliberated before the dead line.
For this purpose we have QM...
QM can have all the certificate details abt the equipment... caliberation done internally or externally... you should maintain certificates.... in QM you will be entering the values which u have caliberated and maintain it..
Once u have done.. u will have a reference of all the certificates and results...
- Pithan -
Hi All,
In my scenario in source directory i am getting some 30 to 40 files, but in this i need to send only 4 files to receiver remaining files should not be processed in integration server.
I am able send only files to receiver based on condition..
I also want to archive all 40 files in one directory, if i choose archive option in processing mode this can be achieved but the files which is not matching the condition will be processed in integration server..
So is it possible to archive the files using module so that files which is not matching condition will not be processed.Hi
Try with this links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50
http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/80553b4d53273de10000000a114084/content.htm
Message Archiving
Archiving - how does it work? -
Hello Experts,
We are archiving the PDF function modules from the Application Server (unix) into Archive LInk.
For this we are using these three function modules in the same order.
1. ARCHIV_METAINFO_GET
2. ARCHIVOBJECT_CREATE_FILE
3. ARCHIV_CONNECTION_INSERT .
The Function module ARCHIVOBJECT_CREATE_FILE causes performance issue as it takes too much time say 4 seconds to archive each PDF file.
Then we tried with another function module " ARCHIVOBJECT_CREATE_SYNCHRON " , but it also took the same time to archive .
Can any one suggest any other similar FM to serve this Purpose PLease ?.
Regards
Swarna.Hi Swarna,
The performance of archiving PDF file from mentioned FM depends on the size of PDF file.
Different FM will not help in imporving the performance.
What is the purpose of archiving these PDF files? Do you want to assign these PDF files to any existing SAP business documents?
If so you can use standard SAP functionality of Archivelink - Document Archiving concept.
In additional you can also check the FM in Debug mode - For transaction OAWD while storing the physical documents.
OAWD functionality - It will help in storing the document from local system - file directory to archive server. This functional module will match for your requirement.
Note: In OAWD you can only process archiving of physical documents for single SAP business document at a time.
Since you are doing mass archiving of Physical documents so performance of your program will be long hours (as it depends on size of your PDF docuemnt).
-Thanks,
Ajay
Edited by: Ajay Kumar on Mar 8, 2010 3:00 AM -
Hi,
We are undergoing the archiving project for HR module. For PD data, we can use object BC_HROBJ, for PCL4 data, we can use PA_LDOC. What about 2000 series infotypes data, such as PA2001, PA2002, PA2003, etc.? Because all changes to these infotypes are stored in PCL4 cluster LA, we only need to purge the data from these tables. What is the best way to purge PA2xxx data? We cannot use transaction PA30/PA61 to delete records because user exit edits prevent any action against old data beyond certain time frame.
Thanks very much,
LiThis is not directly related to SAP NetWeaver MDM. You may find more information about data archiving on SAP Service Marketplace at http://www.service.sap.com/data-archiving or http://www.service.sap.com/slo.
Regards,
Markus -
Retrieving the file name in the adapter module in the sender file adapter
hi,
i need to retrieve the file name, in the adapter module. This module is placed in the sender file channel.
After the file adapter has picked up the file from the file directory, the file is placed in the archived directory.Custom adapter mofule is place in the file shanel. i need to retrieve the file name of the file in the adapter module. Is it possible to retrieve the file name?
Also is it possible to retrieve the archive directory path in module?
Regards,
MeenkashiHi Meenakshi,
I guess you are looking for this
/people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules
Regards
Suraj -
Archiving file in application server
Hi
Can anybody of you please let me know how to archive a file from one directory to other in the application server?
I dont want to read one file into an internal table and then loop on that to create a new file.
Looking for some FM or command that would do this in one shot.
Any clue is very appreciated
Best Regards
ChinmouMy friend there is no such one program which will do archive or one function module which will do as you wanted .
Basicall for archiveing the data into file it requesite 4 basic function modules as .
code] "ARCHIVE_OPEN_FOR_WRITE'
"ARCHIVE_NEW_OBJECT'
"ARCHIVE_GET_STRUCTURES'
"ARCHIVE_SAVE_OBJECT[/code]
so based up on the archive obect it will have own write program which will use above 4 function modules and collects the table data from the basic archiveing obecjt from the AOBJ tcode archive object structure then creates struture for that data and then write's it .
so below is the logic .
CALL FUNCTION 'ARCHIVE_OPEN_FOR_WRITE'
EXPORTING
call_delete_job_in_test_mode = 'X'
create_archive_file = 'X'
object = v_arch_obj
comments = 'ILM test FILE'
* DO_NOT_DELETE_DATA = ' '
* OUTPUT_SEL_SCREEN_WHEN_DIALOG = 'X'
* OUTPUT_SEL_SCREEN_WHEN_BATCH = ' '
IMPORTING
archive_handle = v_handle
* EXCEPTIONS
* INTERNAL_ERROR = 1
* OBJECT_NOT_FOUND = 2
* OPEN_ERROR = 3
* NOT_AUTHORIZED = 4
* OTHERS = 5
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*This function module should always be called when a new data object is
*to be prepared for writing to an archive.
CALL FUNCTION 'ARCHIVE_NEW_OBJECT'
EXPORTING
archive_handle = v_handle
* OBJECT_ID = ' '
* EXCEPTIONS
* INTERNAL_ERROR = 1
* WRONG_ACCESS_TO_ARCHIVE = 2
* OTHERS = 3
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
** get the structures for the archiving object
*** loop through that
CALL FUNCTION 'ARCHIVE_GET_STRUCTURES'
EXPORTING
archive_handle = v_handle
TABLES
record_structures = it_structures
* EXCEPTIONS
* WRONG_ACCESS_TO_ARCHIVE = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
i_stru-PARLIST[] = i_par_list[].
* writing data object into the archive file
CALL FUNCTION 'ARCHIVE_SAVE_OBJECT'
EXPORTING
archive_handle = v_handle
* IMPORTING
* OBJECT_OFFSET =
* ARCHIVE_NAME =
* EXCEPTIONS
* FILE_IO_ERROR = 1
* INTERNAL_ERROR = 2
* OPEN_ERROR = 3
* TERMINATION_REQUESTED = 4
* WRONG_ACCESS_TO_ARCHIVE = 5
* OTHERS = 6
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
reward points if it is usefull ...
Girish -
Hi,
Currently we are in 4.6C and are planning to carry out archiving for the first time.
I would like to know if there is any other transaction code for archival than SARA and is it the job of functional or basis or technical consultants?
Thanks
Suresh.Hello SS,
Data Archiving a service provided by mySAP Technology removes mass data from the database that the system no longer needs online, but which must still be accessible at a later date if required. Archiving objects are used to write documents to archive files, which can be stored on other media.
Data in the database can only be archived using archiving objects, which describe the data structure and context.
Financial Accounting documents are, archived using the archiving object FI_DOCUMNT. It includes the document header, company code-dependent postings, change documents, SAPscript texts, and other elements.
Integration: The SAP Data Archiving concept is based on the Archive Development Kit (ADK). The ADK provides the technical basis for the archiving transaction (SARA). To call the archiving transaction, choose Tools ® Administration ® Management ® Data Archiving, or call it directly from the application component. If Archive Administration is called from the application component, application-specific parameters, such as programs and archiving objects, are activated automatically.
Archiving objects for each application component are predefined in the system. Their structures are described in the application-specific sections.
Features:The archiving procedure is divided into three main steps:
Creation of archive files: The data to be archived is written sequentially to a newly created archive file.
Storage of archive files: The newly created archive files can then be moved to a storage system or copied to a tape. The removal to an external storage system can be triggered manually or automatically.
Deletion from the database: The delete program reads the data from the archive files and then deletes it from the database.
You can schedule archiving programs as background tasks or run them during normal online operations.
There is no other code for archiving and it is purely a technical job with functional consultant just giving input about which data to archive from their respective module, if needed.
Hope I had been able to help you. Please assign points.
Rgds
Manish -
How to archive an exploded format into EAR
Hi all,
I have my application in the following exploded format:
c:\bea\...\mydomain\applications\MyApplication
MyApplication
\ejb
\mypackage\....
\META-INF\ejb-jar.xml, weblogic-...........
\META-INF\application.cml, weblogic-application.xml
\web
\folder1\*.jsp
\folder2\*.jsp
\WEB-INF\web.xml
\WEB-INF\lib\*.jar
\WEB-INF\tld\*.tld
\WEB-INF\classes\mypackage1\*.java
Now, anyone please tell me how to package the above exploded format into .jar
and war and finally the EAR.
and also, after deploying the EAR, how can we access the application?
Thanks in Advance,
SeshuThe bottom line is you should use ant.
If your using a version prior to 8.1 you can use the built in jar/ear tasks,
if you cant upgrade to 8.1 I reccomend it.
If your using 8.1 we have an exploded directory structure for development
known as split-dir (go to http://edocs.bea.com and search) with a set of ant
tasks to do compilation and deployment. There is also one called wlpackage
that will create an archived EAR for you as well.
The basic principle is that in development you want to develop with an
exploded format as it is much faster to compile and to deploy. When moving
to production and for distribution you want an archive. You have a couple of
options for the archive. You can archive EVERYTHING where each module
inside of the ear is also archived.
Such as:
foo.ear
META-INF/applicaiton.xml
web.war
ejb.jar
I am not a huge fan of this because in development you really want
everything exploded and if you archive your modules inside the ear you have
to change the URI's in your applicaiton.xml. I prefer:
foo.ear
META-INF/applicaiton.xml
web/
WEB-INF/web.xml
ejb/
META-INF/ejb-jar.xml
This is the format of the ear that wlpacage ant task creates for you.
Cheers
mbg
"Seshagiri" <[email protected]> wrote in message
news:3f08c9ea$[email protected]..
>
Hi all,
I have my application in the following exploded format:
c:\bea\...\mydomain\applications\MyApplication
MyApplication
\ejb
\mypackage\....
\META-INF\ejb-jar.xml, weblogic-...........
\META-INF\application.cml, weblogic-application.xml
\web
\folder1\*.jsp
\folder2\*.jsp
\WEB-INF\web.xml
\WEB-INF\lib\*.jar
\WEB-INF\tld\*.tld
\WEB-INF\classes\mypackage1\*.java
Now, anyone please tell me how to package the above exploded format into.jar
and war and finally the EAR.
and also, after deploying the EAR, how can we access the application?
Thanks in Advance,
Seshu -
Collateral management system - function module reg
Hi i need to fetch ASSET GUID and collateral aggreement GUID for an equipment in CMS Module...
is there any function module for this ?this is like a f4 help for a file ..
for persentation server we can use..
FILE_GET_NAME or
WS_FILENAME_GET or
F4_FILENAME
for application server use the function module..
F4_DXFILENAME_4_DYNP
regards,
venkat -
Create Equipment Master.
Hi,
We need to create equipment master for a material while issuing the material, i.e while saving the Goods Issue for that material.
The material is not serialised. Are there any BAPI's or a BADI which I can use to accomplish the desired functionality. Are there any exits during MIGO which i can use. Please help.
Regards
LakshmiTry this BAPI
<b>BAPI_EQUI_CREATE</b>
Short Text
PM BAPI: Create Equipment
Functionality
This module is used for creating a new piece of equipment.
Notes
General notes in BAPIs for processing individual technical objects:
A BAPI for creating or changing master data receives these notes using the parameter DATA_GENERAL (structure: BAPI_ITOB). Object-specific data is processed using the parameter DATA_SPECIFIC:
Functional locations: DATA_SPECIFIC (structure: BAPI_ITOB_FL_ONLY)
Equipment: DATA_SPECIFIC (structure: BAPI_ITOB_EQ_ONLY)
Each BAPI returns the processed data to the caller in the parameter DATA_GENERAL_EXP (structure: BAPI_ITOB) independently of the activity to be performed (Create/Change/Read). Object-specific data is returned to the caller using the parameter DATA_SPECIFIC_EXP:
Functional locations: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_FL_ONLY)
Equipment: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_EQ_ONLY)
The system returns any error messages in the parameter RETURN.
In Customizing (field selection) for master data dialogs, entries defined as mandatory are generally not checked by the BAPIs.
Special notes on the module BAPI_EQUI_CREATE:
You can define external number assignment by setting the parameter EXTERNAL_NUMBER.
The valid-from date for the piece of equipment to be created can be determined using the parameter VALID_DATE.
The parameter DATA_INSTALL can be used to install the piece of equipment to be created in a functional location or a superior piece of equipment.
The parameter DATA_FLEET can be used to enter vehicle-specific data. This data is returned to the caller via the parameter DATA_FLEET_EXP.
Parameters
EXTERNAL_NUMBER
DATA_GENERAL
DATA_SPECIFIC
DATA_FLEET
VALID_DATE
DATA_INSTALL
EQUIPMENT
DATA_GENERAL_EXP
DATA_SPECIFIC_EXP
DATA_FLEET_EXP
RETURN
Exceptions
Function Group
ITOB_BAPI_EQ
Regards
- Gopi -
dear experts,
my screnario is i have main equipment ,to diff main equipemnt i shud assign same SUB equipment,becoz i have stock of 50 sub equipment on same name.
but we cannot assign same sub equipmet to more than one main equipment
how can i assign same sub equipment no of main equipments
Edited by: sukendar neelam on Jul 29, 2010 8:46 AMMy requirement is
iam creating assets as Equipment in PM module,
so LAPTOP is one equipemnt which is main eqipment
and i ahve few softwares LIKE anti virus which is also my asset ,so im creating as equipemnt
becoz i have to maintain waarnty periods for ani virus and i shud maintian vendor details and all
so i shud create anti virus as EQUIPMENT.
so that antvirus i will install in different laptops(main equipemnt)
this antivirus software im having 50 nos,so i shud i assign this 50 nos of one equipment to MAIN EQUIPMENT OF DIFFERENT LAPTOPS
but in SAP ,i cant assign one sub equipment to no of main equipment .
but i have stock of 50 no of same one equipment
guide me
Maybe you are looking for
-
Console events while lid closed
Hi Recently I noticed on my MacBook Air console (late 2012, running Yosemite) some events during a very short period of 3 hours when the lid was closed and I was not using it. I was actually out, but when I came back just out of interest noticed seve
-
You can have BIG TROUBLE with FIOS (half phone line only)
Hello world, I got the FIOS mid-September, and this week it will be one month since my phone line broke for a lot of people (they can't call me anymore), and Verizon can't do anything to correct their misconfiguration. So, I am alone, with half of a
-
Working with SAP Data Format yyyy.mm.dd in data services
Hi, I had 2 questions about date formats coming from SAP to DS . 1) I am trying to convert date fieild from SAP that is formated to yyyy.mm.dd to mm/dd/yyyy but I am not having any luck .. I am using the to_date function when I run this below I get n
-
We updated to DW4 and updates don't show up live.
We can see the remote and local folders, make the updates, and put the files, but then they don't show up live online. Can anyone make any suggestions? Thanks!
-
QuickTime Export Boosts Audio Level
Hi folks, I'm working on a DV-NTSC project in which I have received a fully maximized audio track that I put in the timeline without any processing. I am now exporting the movie using QuickTime - Current Settings. The resulting movie should have the