Add attachments to Pernr
Hi,
Is there a way of attaching documents [.pdf or .doc] to a personal record. We need this for storing medical certificates for an employee against their HR master record.
We using SAP 4.7 Enterprise.
Any suggestions would be helpful.
Thanks,
Satish
Hi Satish,
Goto PERNR. From the above menu GOTO -> Personnel File.
There in the up left corner there is a button called Services for Object.
There, click and say Create-> Attachment.
Browse the specified file.
Then you can see all the attachments from this button -> Attachment list.
Regards,
Dilek
Similar Messages
-
Add attachments using workflow api throwing error
Hi,
I am getting the following error when i am trying to add attachments using worklist API.
Missing class: invokeBPEL.MetaData
Dependent class: com.evermind.io.ClassLoaderObjectInputStream
Loader: oc4j:10.1.3
Code-Source: /D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar
This load was initiated at hw_services.root:0.0.0 using the Class.forName() method.
The missing class is not available from any code-source or loader in the system.
at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1679) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@10469011]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.lang.Class.forName0 (Native method) [unknown, by unknown]
at java.lang.Class.forName (Class.java:242) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at com.evermind.io.ClassLoaderObjectInputStream.resolveClass (ClassLoaderObjectInputStream.java:33) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.io.ObjectInputStream.readNonProxyDesc (ObjectInputStream.java:1538) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.io.ObjectInputStream.readClassDesc (ObjectInputStream.java:1460) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.io.ObjectInputStream.readOrdinaryObject (ObjectInputStream.java:1693) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.io.ObjectInputStream.readObject0 (ObjectInputStream.java:1299) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at java.io.ObjectInputStream.readObject (ObjectInputStream.java:339) [jre bootstrap, by jre.bootstrap:1.5.0_06]
at com.evermind.server.rmi.RMIProtocol$Version.unmarshallParameterDirectly (RMIProtocol.java:402) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIProtocol$Version_1_0.unmarshallParameter (RMIProtocol.java:471) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIProtocol.readObject (RMIProtocol.java:80) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIProtocol.readValue (RMIProtocol.java:161) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.ServerRmiMessageHandler.handleMethodInvocation (ServerRmiMessageHandler.java:514) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.ServerRmiMessageHandler.handleOrmiRequest (ServerRmiMessageHandler.java:272) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.ServerRmiMessageHandler.dispatchRequest (ServerRmiMessageHandler.java:241) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIServerConnection.processReceivedCommand (RMIServerConnection.java:176) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIConnection.handleCommand (RMIConnection.java:152) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands (RMIConnection.java:127) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIServerConnection.listenForOrmiCommands (RMIServerConnection.java:390) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.rmi.RMIConnection.run (RMIConnection.java:107) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [D:/product/10.1.3.1/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in D:\product\10.1.3.1\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]
Exception in thread "main"
This is the code i used
String userId = "oc4jadmin";
String password = "welcome1";
String sTaskId = "";
IWorkflowServiceClient wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.REMOTE_CLIENT);
System.out.println("Before getting TaskService");
ITaskQueryService querySvc = wfSvcClient.getTaskQueryService();
System.out.println("After getting TaskService");
IWorkflowContext wfCtx = querySvc.authenticate(userId,password,"jazn.com",null);
System.out.println("Last out");
Predicate pred = new Predicate(TableConstants.WFTASK_STATE_COLUMN,Predicate.OP_EQ,IWorkflowConstants.TASK_STATE_ASSIGNED);
List queryColumns = new ArrayList();
queryColumns.add("TITLE");
queryColumns.add("PRIORITY");
queryColumns.add("STATE");
queryColumns.add("TASKID");
queryColumns.add("TASKNUMBER");
List tasks = querySvc.queryTasks(wfCtx,
queryColumns,
null, //Do not query addtional info
ITaskQueryService.ASSIGNMENT_FILTER_MY_AND_GROUP,
null, //No keywords
pred, //No custom predicate
null, //No special ordering
0, //Do not page the query result
0);
System.out.println("Task Size !!" +tasks.size());
if (tasks != null)
String[] taskList = new String[tasks.size()];
for (int i=0; i< tasks.size(); i++)
Task t = (Task)tasks.get(i);
taskList[i] = t.getSystemAttributes().getTaskId();
System.out.println("Found task: "+taskList);
sTaskId = taskList[i];
else
System.out.println("Did not find any tasks");
Task task = querySvc.getTaskDetailsById(wfCtx, sTaskId);
//Add Attachments
FileInputStream fs = new FileInputStream("D:/Test.txt");
ITaskService itask = wfSvcClient.getTaskService();
MetaData mdata = new MetaData();
mdata.setMimeType("text/html");
mdata.setContent("D:/Test.txt");
mdata.setInputStream(fs);
mdata.setName("Test Document");
itask.addAttachment(wfCtx, sTaskId, mdata);
if (task != null)
System.out.println("Completing task: "+task.getTitle());
wfSvcClient.getTaskService().updateTaskOutcome(wfCtx, task, "APPROVE");
Kindly let me know how to solve this issue.
Thanks,
Gomathihi,
Actually i have used AttachmentType..MetaData is the class which i created for implementing AttachmentType as it is Interface Class. Here is the code of MetaData class.
public class MetaData implements AttachmentType,java.io.Serializable{
public String getBoundary() {
// TODO Auto-generated method stub
return null;
public String getContent() {
// TODO Auto-generated method stub
return null;
public InputStream getInputStream() {
// TODO Auto-generated method stub
return null;
public String getMimeType() {
// TODO Auto-generated method stub
return null;
public String getName() {
// TODO Auto-generated method stub
return null;
public String getSystemVersionFlag() {
// TODO Auto-generated method stub
return null;
public String getTaskId() {
// TODO Auto-generated method stub
return null;
public String getURI() {
// TODO Auto-generated method stub
return null;
public String getUpdatedBy() {
// TODO Auto-generated method stub
return null;
public int getVersion() {
// TODO Auto-generated method stub
return 0;
public void setBoundary(String arg0) {
// TODO Auto-generated method stub
public void setContent(String arg0) {
String cont = null;
cont = arg0;
public void setInputStream(InputStream arg0) {
InputStream sStream = null;
sStream = arg0;
public void setMimeType(String arg0) {
String mime = null;
mime = arg0;
public void setName(String arg0) {
String sname = null;
sname = arg0;
public void setSystemVersionFlag(String arg0) {
// TODO Auto-generated method stub
public void setTaskId(String arg0) {
// TODO Auto-generated method stub
public void setURI(String arg0) {
// TODO Auto-generated method stub
public void setUpdatedBy(String arg0) {
// TODO Auto-generated method stub
public void setVersion(int arg0) {
// TODO Auto-generated method stub
kindly tell me how can i solve this issue.
Thanks,
Gomathi
Edited by: user647559 on Sep 23, 2008 10:05 PM -
How to add attachments in pdf -URGENT
Hi All,
I need information about how to add attachments to pdf in webdynPro. I am unable to find related topics in Forums. Sample code,examples,or suggestions would be helpful.
Thank you
Regards
RaviHello Ravi,
Please take a look at: Add attachments to the Interactive form of a Web dynpro application
Please take a look at my reply there on Mar. 29, 2007. I am not sure but i assume that you are using Web Dynpro for Java. Attachment capability is available with NW04s SP10 (both runtime and NWDS). Although, SP09 contains the required web dynpro runtime changes but the API has only been made part of SP10. Follow the note numbers provided therein.
Best Regards,
Krish -
I cannot find an add on as a print button for the firefox toolbar. Almost every time I want to print, I have to copy and then open a document and paste it there to be able to print it.
Also, each time I want to add an attachment to an email, it rarely lets me. I have to open internet explorer and go through my email that way to be able to add attachments.1. File > Print <br />
2. There is a '''Print''' button in the Customize palette for the Toolbars. <br />
https://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar
Considering that Firefox doesn't do email, that problem is probably caused by your webmail portal software not being totally compatible with Firefox. If you tell which webmail service you use maybe another user who is familiar with that service can help you. -
How do I add attachments to an email from my iPad air?
How do I add attachments to an email from my iPad air?
How to Attach Photos and Videos to Emails on an iPhone or iPad
http://www.wikihow.com/Attach-Photos-and-Videos-to-Emails-on-an-iPhone-or-iPad
iPad Basics: Sending an Email With An Attachment
http://ipadacademy.com/2012/03/ipad-basics-sending-an-email-with-an-attachment
How to add, send and open iPad email attachments
http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
How to Send Multiple email Attachments from your iPad or iPhone
http://ipadacademy.com/2014/03/how-to-send-multiple-email-attachments-from-your- ipad-or-iphone
Cheers, Tom -
How to add attachments to appointment?
appointment.Attachments.AddFileAttachment(file.Name, stream);
//appointment.Attachments[0].IsInline = true; disabled in Outlook 2007
appointment.Save(WellKnownFolderName.Calendar, SendInvitationsMode.SendToAllAndSaveCopy);
The recipient can't see the attachment
The sender can see attachment from the calendar.
In outbox, the mail hasn't attachment.
What's wrong?Hi,
As per the information which you mention above,
You want to add attachments to appointment.
Please follow these steps to set a attachments as an appointment: -
Step 1: - In
Outlook 2007, click File>New>Meeting Request (or Appointment).
In
Outlook 2010 and 2013, click the New Items>Meeting (or Appiontmet).
Step 2: - In
Insert tab three buttons are available to attach files.
Note: - Insert individual files as attachments
Step 1: - If you want to attach individual files or documents in your meeting invitation or appointment:
Click on
Insert>Attach File.
Step 2: - In the next window, select the documents that you want to attach, and click
Insert button.
Step 3: - After that, you will see that the selected files are attached to the body of meeting invitation or appointment.
Note: - Attach Outlook items in your meeting invitation or appointment
Step 1: - If you want to add Outlook items like: task, notes, email, and so on then
Click
Insert>Outlook Item.
Click to open an Outlook folder in the
Look in box.
Select the item in the Items box that you will attach.
Specify one of attaching patterns in the Insert as a section.
Click Ok.
I hope this information will be helpful for you. Correct me if the information that I am having is wrong.
Thanks and regards
Ashish@V -
How to add attachments to seeded sshr workflow process
Hi all,
i have a requirement to send an offer letter as an attachment after the final approver
clicks on approve button , ideally the requester is supposed to receive a notification of approval and
a pdf offer letter as an attachment.Currently am not using a custom workflow but the seeded HRSSA workflow item type
and the process am using is HR_SIT_JSP_PRC this requirement is urgent any help will be appreciated .
thanks in advance.Hello Ravi,
Please take a look at: Add attachments to the Interactive form of a Web dynpro application
Please take a look at my reply there on Mar. 29, 2007. I am not sure but i assume that you are using Web Dynpro for Java. Attachment capability is available with NW04s SP10 (both runtime and NWDS). Although, SP09 contains the required web dynpro runtime changes but the API has only been made part of SP10. Follow the note numbers provided therein.
Best Regards,
Krish -
Hi All. Well i want to attach a any pdf/pic etc while replying to any mail. But i could not find any option for the same. Moreover if i want to attach any pdf ( not via ibook or any paid app ) how can i attach ?
Hi,
As per the information which you mention above,
You want to add attachments to appointment.
Please follow these steps to set a attachments as an appointment: -
Step 1: - In
Outlook 2007, click File>New>Meeting Request (or Appointment).
In
Outlook 2010 and 2013, click the New Items>Meeting (or Appiontmet).
Step 2: - In
Insert tab three buttons are available to attach files.
Note: - Insert individual files as attachments
Step 1: - If you want to attach individual files or documents in your meeting invitation or appointment:
Click on
Insert>Attach File.
Step 2: - In the next window, select the documents that you want to attach, and click
Insert button.
Step 3: - After that, you will see that the selected files are attached to the body of meeting invitation or appointment.
Note: - Attach Outlook items in your meeting invitation or appointment
Step 1: - If you want to add Outlook items like: task, notes, email, and so on then
Click
Insert>Outlook Item.
Click to open an Outlook folder in the
Look in box.
Select the item in the Items box that you will attach.
Specify one of attaching patterns in the Insert as a section.
Click Ok.
I hope this information will be helpful for you. Correct me if the information that I am having is wrong.
Thanks and regards
Ashish@V -
How to add attachments to Custom Stationary, having problems.
I created some custom stationary by saving a page created in iWeb ,published, then choose the option -- save as stationary. All is well, I can select my custom staionary and enter text and send a message fine, but.... when I try to add an attachment none of my text stays and some of my stationary just disappears (images et al) my attachment is there and can be mailed ok.
I just cut and paste html and don't really understand coding but i think it may be the way my page is saved. Or... can attachments not be sent in stationary without messing up the file?
Pointers or help is appreciated.
ThanksHello Ravi,
Please take a look at: Add attachments to the Interactive form of a Web dynpro application
Please take a look at my reply there on Mar. 29, 2007. I am not sure but i assume that you are using Web Dynpro for Java. Attachment capability is available with NW04s SP10 (both runtime and NWDS). Although, SP09 contains the required web dynpro runtime changes but the API has only been made part of SP10. Follow the note numbers provided therein.
Best Regards,
Krish -
How to add attachments for Activity Header and for partners?
Hi Consultants,
I am new to CRM, My requirement is I have to add attachments as URL and File in activity or lead in Salespro. I have observed from CRMD_ORDER_MAINTAIN but no break-point triggers for this. I searched and found that cl_crm_documents->create_url or some methods in that. But it does not works for me.
Any sample code expecting to reach my object.
Thanks & Regards
Mithuunn,Add attachment to Opportunity using Enterprise Services
-
How to add attachments to a mail
Hi experts!!
I've been looking for a solution of the problem that I have through this forum but I haven't found anything that I can use in order to add attachments documents to the e.m.a.i.l.
I'm trying to add a file using the followings FM, LIST FROM MEMORY, TABLE COMPRESS but when I go to SCOT transaction the file attached is empty... I don't really know how to use this FM, I think my problem is that I can't attached correctly the table in memory and when I call List_FROM_MEMORY FM, it doesn't receive anything... is there any place where I have to put the path where the file is?
I'm using the FM SO_OBJECT_SEND in order to send the mail
Thanks in advance,
Best Regards,
RebecaHello Rebecca,
i would use the FM "SO_DOCUMENT_SEND_API1". There are quite a lot of Explanations how to use this FMs in the Internet. I would almost say this is the FM you got to use. =) Just google around and you'll find some good examples.
Greetz Gollmer
Update:
Here is some Explanation where you can see how to extract binary data from a File:
[http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3d42358411d1829f0000e829fbfe/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3d42358411d1829f0000e829fbfe/content.htm]
Edited by: GollmerBZ on Mar 29, 2011 4:41 PM -
How to add attachments in PMS..??
In the performance appraisal through NWBC..Is there any way we can add attachments..??
We are using appcreate, phap_admin, to work with pms..??
Regards,
Namsheed.These are old transactions, you should use latest ie flexible based apprailsals or OSA. phap_prepare_pa Attachments in case of employees?
-
How to add attachments in the workspace?
I have designed a process in which user will will initiate a task from the workspace.He will attach a file widin the workspace and next level user will view.this is working fine as i have created one process variable to stor the task attachments.My problem is that the second level user ie the assign task user is unable to add the attachment when the form comes to c his to do list.He is able to view the attachments added by the initial user.when the assign task user tries to add attachments the attachemnt list count is getting added but the attachments r not added.Can anyone tell me the solution?
Hi,
You can add attachments to work item from workspace using attachments.
If attachments tab is not visible in workspace you can modify your workflow to show attachments tab.
Follow these steps to enable attachments tab,
1) Open your workflow definition and edit the properties for Assign Task step.
2) Select Attachments and Notes section and check Show Attachment Window
3) Map Output attachments field to a varible of type List ( sub type documents ) to make added attachments from workspace available to workflow.
Regards,
Vik -
How to add "Add Attachments" button to PDF form in Acrobat?
Hi,
I am using Adobe Acrobat X Standard for creating a PDF form. I want to add an "Add Attachments" button to my form. Is it possible to do it in Acrobat? If so could someone please help me with the javascript? Also, if possible I would like to check the total attachment size and inform the user if it exceeds, say 10MB. The user will be submitting the form via email so I want to cap the attachment size.
I found this example, but I don't know how to view the javascript used: http://forums.adobe.com/message/3991644
Your help would be appreciated.
Thanks,
S.PPlease keep the conversation in one topic. It's impossible to do what you want with Acrobat so I'm locking this thread - please wait for a response to your question in the LiveCycle forum.
-
Add Attachments button not working
Hi,
I have added an attachmentTable item to my OAF region. I have followed step 1, 2, 3, 4, 6, 7, 8 in the OAF user guide section "Enabling the Attachments feature for an Entiry".
When I test my page, the attachmentTable renders fine on my page. However - when I try to press the "Add Attachments" button, I get a blank screen. The URL associated with the button seems to be my base page. I expected to be redirected to a standard Attachment flow page.
I run my page locally from jDeveloper.
Any ideas?
Best regards, Søren MossUpdate:
This must have been a temporary problem on my own computer... because when I tried again this morning - without doing any changes - it is working fine :-)
/Søren Moss
Maybe you are looking for
-
Can we use Java Script in SAP BusinessObjects Web Intelligence 4.1?
Can we use Java Script or any other Script in BI 4.1 Web Intelligence? If possible please do let me know the method/process
-
I never had a problem scanning and saving the file before. But now I receive an error after I finish scanning, then hit "no" for no more pages to be scanned. Error message is as follows: Adobe acrobat error signature: AppName: acrobat.exe AppVer: 10
-
Hi, Is there any good ideas for transferring a table from Oracle to Sql server? I know that we can have one '.dmp' file from Oracle but it should not be acceptable in Sql server.
-
WPA2 EAP-PEAP error, may be Windows Server 2008 or...
I've studied posts like /t5/Connectivity/Not-able-to-connect-to-company-WLAN-WPA2-AES-PEAP-with-E71/m-p/420301/highlight/tru... , updated firmware, no joy. On E71, get WLAN: EAP-PEAP authentication failed In the event log of the domain controller+NPS
-
Hi, In VF31 tcode i need to find the Function Module : Read_text. While debugging i cannot able to trace out the FM. Is there any possibility of finding the FM in debugging