Adding attachments to equipments (massive)
Hi all,
I need to attach n documents to n equipments, just like it is possible to do by transaction IE02, but with a massive process (possibly in background with an input file).
Since this functionality is not available using SHDB I cannot use BDC.
Can anybody suggest a solution ?
Thanks in advance.
Hi,
Try to use LSMW . Object - 0400 , Method -0001(create) , 0002(change) . pgm name - IBIP.
Create two flat files . One for header and one for item( for attachement) . Have a identiical field in both these files and upload.
i have done using this.
Regards
Similar Messages
-
Can you customize what folder MAIL goes to when adding attachments?
Can you customize what folder MAIL goes to when adding attachments?
My friend has 2 email addresses for businesses.
He has invoices in folders for both, and wants to set up the Mac like this:
When he writes from one email address and attaches documents - he want the Mac always to go to the corresponding folder for that company of his. Same for the other email address...
Make sense?
Can this be done?
Thanks in advance....Please read this whole message before doing anything.
This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
The purpose of the test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login.
Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
When you see the gray Apple logo, release the shift key.
If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
*Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test. -
Adding attachments to a Parked cuetomer invoice(FBV2)
Hi,
I need to attach documents to a customer parked invoice, in short I need to replicate 'Adding Attachments' functionality in Transaction FBV2.
Can any1 please guide me how I am unable to find any solution to this problem.
Cheers
AbhishekYou might find this Blog of help:
/people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
Also, search for GOS and Generic Object Services and look through the CL_GOS* classes.
Jonathan -
Adding attachments to Web Service call
Hi
Does Bea's web service classes include support for adding attachments to the soap message sent by a web service?
How do I do it? or otherwise, how do I get through the abtraction down to the soap message so I can add it manually?
I have both a weblogic.webservice.core.rpc.StubImpl and a javax.xml.rpc.Service to work with, I'm guessing it's somewhere deep down in the context of the Service...?Hi
Does Bea's web service classes include support for adding attachments to the soap message sent by a web service?
How do I do it? or otherwise, how do I get through the abtraction down to the soap message so I can add it manually?
I have both a weblogic.webservice.core.rpc.StubImpl and a javax.xml.rpc.Service to work with, I'm guessing it's somewhere deep down in the context of the Service...? -
Adding attachments to an e-mailable form
I am creating a form that is to be filled out and then
submitted and sent to an e-mail. I want to make an option available
of adding attachments to the form being sent to the address but I
don't know how. Is this something that I will have to do in a .php
code?The type of thing you want is possible, but if it needs to work with Reader the document must be enabled by LiveCycle Reader Extensions so it includes the embedded file usage right.
The best you can do with a file that's been Reader-enabled with Acrobat is to manually attach a file as a comment. A button can be used to display instructions, but that's it. There is also the licensing restrictions that come into play when you enable with Acrobat. -
How to make adding attachments in the oaf page mandatory to the user.
Dear Friends
I did a attachment section with item style as attachment table,entity map,primary key concept in my details page
But I want to make this section (adding attachments in the oaf page) mandatory to the user.
Without adding the attchment user should not click SUBMIT.
[ Just like we give REQUIRED property to ant text input fileds to make entering them mandatory , Is there any property to set ]
Please share ur ideas .Please help.
Thanks
AravindaGyan's Oracle Application Framework Blog: OAF - Making mandatory Attachement Mandatory
iWiDi - This is how to make attachments mandatory in iExpense.
--Sushant -
Authorization for adding attachments only while approving P.O
Hi
We work with SRM5 SP14.
we are intrested in adding an authorization to PO approvers for adding attachments/texts in the "documents" tab in item & header.
Is this a customizing process or role change?
Thanks
HilaAnyone???
-
ICal crashing after adding attachments
Hi folks,
Long time user of Mac here.
Recently, I have done something I have seldom done; adding attachments to my iCal. Some of these attachments are on the large size. iCal is now freezing and crashing to the point where iCal is not usable. I can't remove the files as iCal freezes before I hone in on any one day.
Help!I can no longer launch iCal 2.0.5 from my iMac G4. It crashes within seconds of launch. IPhone iCal application is only one that works. Deleted iCal, think I deleted all the preferences, Re-installed the application and it still crashes. Do I need to upgrade to OS10.5? I use mobileme to sync the calender, but iCal on G4 crashes on sync. Can't remember if this all started with new iPhone (had first generation previously). Have read all issues on this and none relate to my OS.
-
Problem by adding attachments in Java Mapping
Hi,
we have to add some attachments in Java Mapping.
So we are using the Java Mapping API.
But it doesn't work correctly.
We got the following error in sxmb_moni:
Attribute Manifest ExampleAttachment is initial
So we checked what happened in the Manifest and in the SAP SOAP Envelope and we see that there is an inconsistence.
In the SAP Manifest we find the following entries:
<SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
<SAP:Payload xlink:href="cid:payload-79a6e3c088db11dfa4dd0017a477c1e8<at>sap.com">
<SAP:Name>MainDocument</SAP:Name>
<SAP:Description/>
<SAP:Type>Application</SAP:Type>
</SAP:Payload>
<SAP:Payload xlink:href="ExampleAttachment">
<SAP:Name>ExampleAttachment</SAP:Name>
<SAP:Description/>
<SAP:Type>ApplicationAttachment</SAP:Type>
</SAP:Payload>
</SAP:Manifest>
For us it seems the entry for our ExampleAttachment is wrong. I think there must be a real content id for the attachment like the cid for the MainDocument. In the SOAP Envelope you can find the following entry for the attachment:
content-type:text/plain
content-length:45
content-id:payload-79a6e3c088db11dfa4dd0017a477c1e8<at>sap.com
This is an example for an attachment!
--SAP_0017A477C1EC1DEFA3D200A5CB55CE04_END--
So here you can see a real content ID, but you can't find it in the Manifest.
So do we anything wrong in our source code or is it a bug of the SAP API?
Do you have any ideas?
Here the Java Mapping we're using for adding an attachment (as a test):
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.Reader;
import com.sap.aii.mapping.api.AbstractTransformation;
import com.sap.aii.mapping.api.DynamicConfiguration;
import com.sap.aii.mapping.api.DynamicConfigurationKey;
import com.sap.aii.mapping.api.StreamTransformationException;
import com.sap.aii.mapping.api.TransformationInput;
import com.sap.aii.mapping.api.TransformationOutput;
import com.sap.aii.mapping.api.Attachment;
public class SUSAttaHandler extends AbstractTransformation {
private static final DynamicConfigurationKey KEY_FILENAME = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
// Transform Method
public void transform(TransformationInput in, TransformationOutput out)
throws StreamTransformationException {
// An info message is added to trace
getTrace().addWarning("JAVA Mapping AttaHandler called!");
// Input payload
String inData = convertStreamToString(in.getInputPayload().getInputStream());
// dynamic configuration
DynamicConfiguration conf = in.getDynamicConfiguration();
String fileName = conf.get(KEY_FILENAME);
getTrace().addWarning("AttaHandler: FileName = " + fileName);
String text = new String("This is an example for an attachment!");
Attachment atta = out.getOutputAttachments().create("ExampleAttachment", "text/plain", text.getBytes());
out.getOutputAttachments().setAttachment(atta);
String outData = inData;
try {
out.getOutputPayload().getOutputStream().write(outData.getBytes("UTF-8"));
catch(Exception exception1) { }
// convert Stream to String
public String convertStreamToString(InputStream in){
StringBuffer sb = new StringBuffer();
try {
InputStreamReader isr = new InputStreamReader(in);
Reader reader = new BufferedReader(isr);
int ch;
while((ch = in.read()) > -1) {
sb.append((char)ch);}
reader.close();
} catch(Exception exception) { }
return sb.toString();
Thanks for your help,
ThorstenHi,
we created an OSS ticket for this problem and SAP created a SAP note.
Here the number of the note: 0001501345
I hope this will help you.
Thorsten -
Adding attachments to web service
Hi,
I am working on a project which requires me to add pictures as attachments of a web service.
This is what I do:
messageContext = endpointContext.getMessageContext();
SOAPMessageContext soapContext = (SOAPMessageContext) messageContext;
SOAPMessage msg = soapContext.getMessage();
//URL url = new URL("file:///attachments/jhe061.gif");
URL url = new URL("http://www.google.ro/images/hp0.gif");
DataHandler dataHandler = new DataHandler(url);
AttachmentPart attachment = msg.createAttachmentPart(dataHandler, "image/gif");
attachment.setContentId("image/gif");
msg.addAttachmentPart(attachment);
According to the J2EE tutorial, an image attachment should be added to the service. On the client side no sign of a multipart is found....
Could anybody tell me what I do wrong?
Thanks, d3m0Attachment support for webservices is not defined using the mime binding in the
current jaxrpc1.1 implementation. It is done in an implementation specific manner.
See the jaxrpc1.1 specfication chapter 7 where it talks about SOAP messages with
attachments. This is optional functionality in the jaxrpc1.1 release.
In jaxrpc1.1.2 (a follow on release) support for WS-I Attachment Profile1.0 is
in this release defined via the wsdl mime binding. You can get this release by
downloading the JWSDP1.4 release. This contains the required attachment support
you need for handling attachments in webservices in a portable way. To create
a webservice with attachments using this release is quite easy. You simply
define your attachments in your wsdl using the wsdl mime binding. You can send
attachments to a webservice in the SOAP request by defining the mime binding
on the operation input and you can get attachments back from the webservice by
defining the mime binding on the operation output. You will need to look at
at the WS-I Attachment Profile 1.0 Specification to see how this is done.
Also look at the documentation and release notes for the JWSDP1.4 release.
Here is an example of the mime binding for a webservice operation on the
output.
<binding name="SwaTestSoapBinding1" type="tns:SwaTest1">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
<operation name="getMultipleAttachments">
<soap:operation/>
<input>
<soap:body parts="request" use="literal" namespace="http://SwaTestService.org/wsdl"/>
</input>
<output>
<mime:multipartRelated>
<mime:part>
<soap:body parts="response" use="literal" namespace="http://SwaTestService.org/wsdl"/>
</mime:part>
<mime:part>
<mime:content part="attach1" type="text/plain"/>
</mime:part>
<mime:part>
<mime:content part="attach2" type="text/html"/>
</mime:part>
</mime:multipartRelated>
</output>
</operation>
An example of using attachments in jaxrpc1.1:
To do attachments in jaxrpc1.1 you can start from java and develop an SEI with
signatures as follows:
Sample SEI
package attachmentstest;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.awt.Image;
import javax.mail.internet.MimeMultipart;
import javax.xml.transform.Source;
import javax.activation.DataHandler;
import java.util.*;
// Service Defintion Interface - as outlined in JAX-RPC Specification
public interface AttachmentsTest extends Remote {
public Image echoImage(Image v) throws RemoteException;
public Image[] echoImageArray(Image[] v) throws RemoteException;
public MimeMultipart echoMimeMultipart(MimeMultipart v) throws RemoteException;
public MimeMultipart[] echoMimeMultipartArray(MimeMultipart[] v) throws RemoteException;
public Source echoSource(Source v) throws RemoteException;
public Source[] echoSourceArray(Source[] v) throws RemoteException;
public DataHandler echoDataHandler(DataHandler v) throws RemoteException;
public DataHandler[] echoDataHandlerArray(DataHandler[] v) throws RemoteException;
Sample Client
private boolean dataHandlerTest() {
TestUtil.logMsg("AttachmentsTest:(dataHandlerTest)");
boolean pass = true;
DataHandler response;
try {
DataHandler dataHandler = new DataHandler(sourceFileURL);
TestUtil.logMsg("Test request/response of DataHandler ...");
TestUtil.logMsg("dataHandler="+dataHandler);
response = port.echoDataHandler(dataHandler);
if (!(response.getContent().equals(dataHandler.getContent()))) {
TestUtil.logErr("DataHandler comparison mismatch");
pass = false;
} catch (Exception e) {
TestUtil.logErr("Caught exception: " + e.getMessage());
TestUtil.printStackTrace(e);
pass = false;
printTestStatus(pass, "AttachmentsTest:(dataHandlerTest)");
return pass;
private boolean sourceTest() {
TestUtil.logMsg("AttachmentsTest:(sourceTest)");
boolean pass = true;
Source response;
try {
Source source = new StreamSource(xmlFileURL.openStream());
TestUtil.logMsg("Test request/response of Source ...");
response = port.echoSource(source);
// Code for comparison here
} catch (Exception e) {
TestUtil.logErr("Caught exception: " + e.getMessage());
TestUtil.printStackTrace(e);
pass = false;
printTestStatus(pass, "AttachmentsTest:(sourceTest)");
return pass; -
Adding attachments to an email
Does anyone know of any application or when Apple will allow attachments to be added to emails? I am starting to enjoy my iPhone but in order to use it for business I have to be able to attach documents to emails. Right now, as I know, we can only add 1 (One) picture to an email and to do that you must start from the picture roll not from the email itself. Any help0 here is appreciated.
When you are on the go as a business user, forwarding an email does not do the trick. Imagine you are at an Airport about to get on a 20hr flight and you get an email from one of your clients asking for the technical Specs of one of the products your company produces. You may have that document right there in your phone (there are apps that allow you to transfer docs into the iPhone using WebDav) but you will not be able to reply to your customer with the document, your only option would be opening your laptop, if you still have time before your flight and send it, or call your assistant and ask him/her to do the task for you totally defeating the idea of mobility for business.
Soes this make sense? -
Adding attachments to a dynamic form
Hi there,
I am creating a dynamic PDF form and I would like users to be able to attach a file (e.g. a word file, photos) to the dynamic form.
Once the form is completed and returned (in PDF format) I want the person reviewing the form to be able to open the embedded attachments.
If this possible?
Many thanks for you help in advance
LeeThe user can add attachments by clicking the paper clip icon.
If you mean you want to add attachments through script or associated with a form field, below is an example where a form check box triggers adding an attachment. It adds an attachment with a description pulled from the caption of the check box. My check box captions end in : which is stripped.
//Change event of check box
{variable object in Heirarchy}.attachmentCheck(this, event.target);
//code in variable object
function attachmentCheck(checkField, myDoc) {
var descrip = checkField.parent.nodes.item(0).value.resolveNode("#text").value;
descrip = descrip.substr(0, descrip.length - 1);
//app.alert("\"" + descrip + "\"");
if (checkField.rawValue == "1"){
var cancel = true;
myDoc.importDataObject(descrip);
try {
var objDoc = myDoc.getDataObject(descrip);
objDoc.description = descrip;
cancel = false;
} catch (e) {}
if (cancel){
checkField.rawValue = 0;
} else {
mBoxResult = xfa.host.messageBox("Unchecking will delete the attachment.", "Confirmation", 2, 1);
if (mBoxResult == 1) {
var obj = myDoc.dataObjects;
for (var i = 0; i < obj.length; i++){
//app.alert("\"" + obj[i].description + "\"");
if (obj[i].description == descrip) {
//app.alert(obj[i].name);
myDoc.removeDataObject(obj[i].name);
} else {
checkField.rawValue = 1; -
Saving added attachments in emails
Can anybody tell me how to save these attachments on internal/added memory?
This feature in not available in BlackBerry device. Probably in future releases this might be addressed by RIM considering the user demands.
tanzim
If your query is resolved then please click on “Accept as Solution”
Click on the LIKE on the bottom right if the post deserves credit -
Adding attachments dialog box broken
In the last 2 weeks I have lost the ability to add an attachment according to date modified when it goes to the add attachment dialog box. I used to have the NAME tab on the left and the DATE MODIFIED on the right. Now it is just the NAME and it will only sort in ascending or descending order. I always use the DATE MODIFIED to make sure that I have the most recent file to send.
I have not added anything new, as in software or hardware. I have run the repair permissions, disk utility, and I even used fsck - not that I am a Unix person - but I figured it couldn't hurt. Nothing has gotten it back and now I am baffled and tired of sorting through the massive folders I have.
Thanks for any help.In the dialog's toolbar, do you have, from left to right, left and right arrows, then a two piece button that toggles the disply? Clicking on the right hand button will get the 'name only' disply you mentioned. Clicking on the left button will get the 'name and date modified' display.
Good luck
srb -
Numbers Help: Adding attachments into spreadsheet.
I'm trying to create a database using Numbers to catalog public hearing information. Is there any way to create a column where i can insert attachments? Such as pdf's, scans or other documents?
HI AJ,
Image files can be entered into cells only as Image Fill, using the grphics Inspector:
Here's the result, using the image above. B2 contains the original PNG screen shot, C2 the same image, opened in Preview, then exported as a PDF file. Both automatically scale to fill the height or width of the cell.
The images are not searchable, but text can be added to the cell, as shown above, and that text can be searched.
Regards,
Barry
Maybe you are looking for
-
Please help me! To Install solaris 8 on Intel plateform
Hi All, During when I tried to install Solaris 8 on my machine I repetadely used to encountered following problem listed below.I have also checked my motherboard's chipset with Sun's Hardware Compatiability List, it is there. My Machine: Intel PIII M
-
SOAP to RFC : Message visible in Message Monitoring , but not in SXMB_MONI
Hi Experts, I'm doing a SOAP to BAPI scenario. The interface is a SYNCHRONOUS one . I'm using XML SPY as the soap client to test the interface. Even though i don't have the test for the BAPI after sending an empty request message i'm able to receive
-
I have written a jms client to read a queue in weblogic. Specifically the wlai event queue. However, I have tried to read other not-wli specific queues with the same error. I get an access denied error even trying the system user! I have even played
-
iPhone couldn't be restored. The disk you are attempting to use is full. but I can't delete anything from C cause I need everything , but I have 300 gigs on D , how to switch to D?
-
MS - contention with empty materialized view on demand - 10.2.0.4
Could somebody explain what is MS - contention? I've searched everywhere and got just that it is used to setup materialized view log. I need more deeper explanation. Why is it needed? And the main thing - I have this materialized view: CREATE MATERIA