Create Attachment problem in IW22

Hi
In the Transaction IW22, GOS is enabled and when i am clicking on the create-create attachment button, i donot get any pop up to select the document from the PC. But I get the sap note pad to enter text when i click on create - create note menu option.
Please give some ideas on where could be the problem. Is this some kind of problem with the server installation or missing some dll files?
Thanks.

Hi I have this problem which I believe you can help me resolve:
In my code, there are two lines:
message.setContent(messageBody, "text/html"); // this sets body of message
message.setContent(bodyPartObject); // this attaches a file
but it turns out that the second "setContent" statement over-writes the first one, so that I get no message in the body of the mail.
What can I do about it, shamik1? Thanks!

Similar Messages

  • Generic Object Services ; create attachment function grey out in Tcode KA03

    Hi all,
    I would like to know how can I enable create attachment function in GOS toolbar in Tcode KA03.
    Currently it was grey out.
    However, was tried to use the same function in KS03 and it works.Please help. Thanks!

    I just found the solution...
    SAP note : 961572
    Symptom</u>
    In the transactions for displaying cost elements (KA03) and changing cost elements (KA02), the 'Services for Object' function does not work correctly, as most Generic Object Services are unavailable.
    Other terms
    KA03, KA02, SWO1, K_OBJECT_SERVICES_INITIALIZE, BUS1059, BUS1030
    Reason and Prerequisites
    The problem is caused by a program error.
    Solution
    Implement the attached program corrections
    Then go to Transaction SW01 (Business Object Builder), enter BUS1059 as the object type, click Change, and make the following changes:
    Navigate to Methods -> RevenueType.Display, press F2 to select it, and go to the 'ABAP' tab page: Select the 'Transaction' radio button, enter the name as KA03, and click 'Save'
    Navigate to Attributes -> Attribute properties, select the 'Mandatory' checkbox, and click 'Save'
    Then change the release status by navigating as follows:
    Edit -> Change Release Status -> Object Type -> To implemented
    Edit -> Change Release Status -> Object Type -> To released
    Then double-click BUS1059 (or select using F2) in SWO1 to reach the 'General' tab page, which should appear as follows:
    ObjectType      BUS1059         Revenue element
    Object Name      RevenueType
    Program          RBUS1059
    Objtype status   generated       Saved      released

  • Creating Attachment using Function Module

    Hi experts,
    My problem here is, I need know the Function Module that is used to Create Attachement in Generic Object Services.
    Currently, i only found this function module: SO_OBJECT_UPLOAD. But i do not really know how to use it.
    Can anyone here advise?
    Thanks
    Lawrence

    This blog: [/people/sergey.breslavets/blog/2007/06/29/create-and-handle-attachments-from-a-bsp-application ] describes how this works for a BSP app. If you scroll down to Method: handleupload and look at item (2) and (3), the describe the basic ABAP parts in this. The functions used here are the same ones used by the Generic Object Services.

  • Help - PDF Attachment Problem

    Hi,
    Receently, some of our users experienced pdf attachment problem. The user sent a 4mb pdf attachment but after the mail was sent out it only showed 4k in sent item. When the recipient received the e-mail the attachment also showed 4kb and it can't be opend too. These users are using Outlook 2000 and our Exchange server is 2000 Enterprise.
    Thanks for the help,
    JY

    Hi Suresh,
    I just tried this thing in my systtem and it is working... BADI is trigerred everytime there is a change in the PO... even when you release there is a change in the PO so this BADI will be triggerred....
    I suggest you should implement BADI in your dev system and place a break point in the POST method...
    After that create a PO and release it using ME29N... thereafter when you save the PO... this method will trigger and you will have access to PO details...
    PS: Remember this BADI wont work for transaction ME29...
    Regards
    Gautam

  • Create Attachment View Link Pages In JDeveloper

    I am trying to create Attachment View Link Pages in JDeveloper and for some reason the wizard is not opening. I get the following error
    java.lang.NullPointerException
         at oracle.apps.fnd.applcore.dt.attachments.wizard.viewLink.AttachmentsViewLinkWizard.getConnectString(AttachmentsViewLinkWizard.java:492)
         at oracle.apps.fnd.applcore.dt.attachments.wizard.viewLink.AttachmentsViewLinkWizard.createApplicationModule(AttachmentsViewLinkWizard.java:466)
         at oracle.apps.fnd.applcore.dt.attachments.wizard.viewLink.AttachmentsViewLinkWizard.<init>(AttachmentsViewLinkWizard.java:117)
         at oracle.apps.fnd.applcore.dt.attachments.wizard.viewLink.AttachmentsViewLinkAddin.invoke(AttachmentsViewLinkAddin.java:67)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:372)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:420)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1089)
         at oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:509)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1102)
         at oracle.ide.wizard.WizardManager$2.run(WizardManager.java:428)
         at oracle.ide.util.IdeUtil$3.run(IdeUtil.java:1089)
         at oracle.javatools.util.SwingUtils.invokeAfterRepaint(SwingUtils.java:509)
         at oracle.ide.util.IdeUtil.invokeAfterRepaint(IdeUtil.java:1102)
         at oracle.ide.wizard.WizardManager.invokeSecondaryWizard(WizardManager.java:424)
         at oracle.ide.gallery.ObjectGallery.invokeWizard(ObjectGallery.java:383)
         at oracle.ide.gallery.ObjectGallery.runDialog(ObjectGallery.java:204)
         at oracle.ide.gallery.ObjectGallery.runDialog(ObjectGallery.java:124)
         at oracle.ide.gallery.ObjectGalleryAddin._invokeGallery(ObjectGalleryAddin.java:405)
         at oracle.ide.gallery.ObjectGalleryAddin.handleEvent(ObjectGalleryAddin.java:208)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:884)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
         at java.awt.Component.processMouseEvent(Component.java:6289)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Do i have to include any jar files in JDeveloper ? i aint have any idea on what wrong.

    Hi
    this is a public Oracle JDeveloper and ADF forum. If you have a problem with your Applications environment, please post the question to the related Applications forum here on OTN. We don't have access to appl core on this forum and can't get you out of your problem for this reason
    Frank

  • Call method cl_crm_documents- create_with_file not creating attachment

    Hi,
    I am trying to create attachment in a transaction type using cl_crm_documents->create_with_file. But it is not creating the same, instead gives error "Error loading file &".
    I am uploading a file with fields object_id, text, file name, description  and category.
    I have passed the parameters as follows:
    data: gref_obj           type ref to cl_crm_documents.
    create object gref_obj.
              gw_prop_attr-name           = 'BDS_KEYWORD'.
              gw_prop_attr-value          = gw_attach-category.
              append gw_prop_attr to gt_prop_attr.
              gs_business_object-instid   = gw_guid-guid.(object guid)
              gs_business_object-typeid   = gv_object_type.(object type)
              gs_business_object-catid    = 'BO'.
              call method gref_obj->create_with_file
                exporting
                  file_name       = gw_attach-f_name (name as provided in my uploaded file, in my case it is test)
                  directory       = p_floder (C:\Attachment\)
                  properties      = gt_prop_attr
                  business_object = gs_business_object
                importing
                  phio            = gs_phio_id
                  loio            = gs_loio_id
                  error           = ls_error.
    Please help me on this. I doubt the directory that I am giving is wrong.
    Thanks.

    Hi,
    Please go through this...
    Re: Problem attach document with the FileUpload UI.
    Cheers,
    Kris.

  • Create attachement for GOS in background

    Hi all, i have to create attachments for GOS in the background. i found a blog that suggested me to use the classess 
    CLASS    CL_BINARY_RELATION definition load.
    CLASS    CL_OBL_OBJECT      definition load.
      Link : /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
    Looks like it might work. But problem is iam using 4.6C version and i donot see these classes. Can you please suggest any work around for this.

    Hi Peter, Thanks for the link to the blog. i was able to create attachment for GOS in the background.
    Iam also adding link to this message that found for the same purpose
    http://friendlyabaper.blogspot.com/2008/07/oh-my-gos.html
    Have a nice time.

  • I/O error occured when to create attachment at travel request & claim

    Hi,
    Anyone here having a problem when using travel request & claim, then create attachment, there is an I/O Error dialog box appear? What cause of this error occurred?
    Thanks
    Hafiz

    Can you please let us know in which format you attach document and also mention where you can attaching document from portal or using some tcode in R3?.
    AK

  • I/O error when trying create attachment on travel request & claim.

    Hi,
    Anyone here having a problem when using travel request & claim, then create attachment, there is an I/O Error dialog box appear? What cause of this error occurred?
    Thanks
    Hafiz

    Hi
    I have exactly this error. Do you have a solution for this?
    Cheers,
    Jacob

  • Would trying to manually load NSS Internal PKSS #11 Module create a problem or would nothing happen without a filename in the load window under Security Devices?

    Would clicking the load button while NSS Internal PKSS #11 Module is selected and accepting the pop-up window without filling in any more information create a problem for the Firefox 8 program?

    Quote from: lcwhitlock on 04-April-14, 13:44:09
    Hello darkhawk,
    Thank you for the recommendation.  I somewhat understand what a MS DOS disk is, but I'm not sure how to go about creating one. I've seen where you can use a program, like Rufus, to create a usb one  - but I'm leery about using 3rd-party programs (especially ones I'm not familiar with). I've come across a couple of 'how-to' tuts, but they didn't clarify what files (if any) I would need to include on the disk (for my particular situation). Right now I don't have any blank cds, nor any extra flash/thumb drives - wish I did, but hadn't needed these for years. There has only been one other time where I needed to re-install Windows, but that was over 15 years ago - I did it through BIOS, reformatting my drives, and then reinstalled via the Windows XP disk. Windows 8 is an entirely different breed, which has left me feeling a bit stumped, at times. If there was a way I could perform it (successfully), similar to the first time I did it years ago, I'd give it a try - but at the same time, I'm a bit reluctant, because if it doesn't work, then I'm stuck without any internet access to get further help.
    Ask and ye shall receive. This should be doable in Windows 7 and Windows 8 on another PC. I recommend using a USB Flash drive like in this tutorial, but I'm sure you could use something else.
    If you want, you could also use Hiren's BootCD to make a bootable CD with many options and programs on it (I keep one, just for certain situations) that will allow you to do the same things.
    http://www.hiren.info/pages/bootcd
    Also very useful for sorting out virus's as long as it's downloaded and made on another PC that is virus free......

  • I would like to upgrade to the next step, but because I have many problems with the version 10.4.11, I'm worried that upgrading would create more problems.

    Due to a misunderstanding with [email protected] in September of 2010, many of my applications and important files were put into the trash during a cleaning.  The trash hadn't been deleted, so a CleanApp rep told me to drag my important files to a folder on my desktop.  They were unable to help me with anymore advice with the exception that if I followed the pathway of the application, I could manually restore it to its proper location. 
    This was asking a lot of me because I didn't have the experience or knowledge of undertaking such a massive restoration.  However, I did the best I could.  What had been put in the trash was not just a few files -- there were hundreds of files or apps that I discovered in the trash.  As I said, this was a misunderstanding.  I was left feeling devastated at what had happened. 
    Since then, my iMac Intel Core Duo has been running on its last legs.  I'm surprised I can even get to my email.  As far as using the software that I bought with my iMac, I can't.  I just do the basics.
    What I have been wanting to do is to upgrade to the next level.  However, I worry that if I upgrade a crippled OS X 10.4.11 Tiger, I would be creating more problems than what I already have.  Do you agree that an upgrade would make matters worse? 

    It won't necessarily make it worse, but may not make it better.  I am not familiar with the utility you usedm though anything that cleans or maintains your Mac should be avoided unless you know what you are doing and what it does.  Probably re-installing software from the official sources (download or CDs) is the best way to ensure missing parts are all replaced.
    If this is a core duo and not a core 2 duo then the highest you can go is Snow Leopard 10.6 Get more information about your computer. Go to the Apple in the upper left corner of any window, then "About This Mac", then "More Info..."  Copy and paste the information here, but omit the serial number and Hardware UUID (if present).

  • Does it create a problem if I only connect the backup external drive every few days for use with Time Machine?  Should I have purchased Time Capsule instead?

    After a near miss with my 4-year old MacBook, I finally wised up and purchased a WD My Passport for Mac to back up my hard drive. I connected the Passport today and have performed the first full backup.  However, I do not wish to keep it permanently connected to the laptop.  Does this create a problem if I only connect the drive every few days?  Should I have purchased Time Capsule instead?

    Hello,
    I don't think it'll cause a problem, but I'd disable/turn off Time Machine before disconnecting, then turn it back on after you connect it again.

  • If I change the nation setting of my iTunes in order to buy a song from the American iTunes store, then change my setting back to the Korean store (where you cannot buy music) will that create any problems with my downloaded content?

    If I change the nation setting of my iTunes in order to buy a song from the American iTunes store, then change my setting back to the Korean store (where you cannot buy music) will that create any problems with my downloaded content? I want to buy an album that I cannot get hold of in Korea, but it is available in the US iTunes store. However since most of my apps are downloaded from the Korean store I'll need to switch back in order to update them. Does anyone know if there are any issues in doing this. I'd rather find out before I spend money, change my store setting back to Korea, and then get told I can't listen to the music because I bought it from the US store and my iTunes is set to the Korean store.
    Cheers.

    You canot easily change your country settings.  The iTunes Store in a country is intended only for use by that country's residents, and only while they are in the country. To use the iTunes Store in a country you need a credit card (or other card type if acceptable in a country) issued in that country, billed to an address in that country, and also be physically present in that country when using the store.  You are also restricted to waiting 90 days between country changes.
    E.g., "The iTunes Service is available to you only in the United States, its territories, and possessions. You agree not to use or attempt to use the iTunes Service from outside these locations. Apple may use technologies to verify your compliance." - http://www.apple.com/legal/itunes/us/terms.html#SERVICE

  • Generic Object Services - Create Attachment

    Hi SDN experts
    In the trip details page of the travel expense manager, may i know what Function Module does the "Create Attachment" functionality in the Generic Object Services trigger? Appreciate if anyone is able to provide me with an answer. Thank you
    Regards
    LV

    You are in great trouble. Repeated posting of a single thread will really make you a Guest.
    You have replicated this post in SEVEN forums.
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    Generic Object Services - Create Attachment in
    As you are new to the forum please Read the [Forum Rules|http://wiki.sdn.sap.com/wiki/x/FgQ] before posting more.
    Regards
    Karthik D

  • Create Attachment through Generic Object Services (BC-SRV-GBT)

    Hello experts,
    I have one question about a storing of document in this functionality. As you know there are several ways of storing a document to some object.
    1. Using the menu: "Create - Create Attachment"
    2. Using the menu: "Create - Store  Business Document"
    In the first case the document will be saved in SAP Database (Please correct me if I mistake). In the second case an optical archive must be connected to the SAP System.  Can I use an optical archive in the first case?
    PS. When I use the second way I don't see the name of document in the Attachment List. If use  "Create - Create Attachment" - it is OK.
    Thanks advance for any help.
    Your faithfully,
    Alekseev Aleksandr
    Edited by: Aleksandr Alekseev on May 5, 2008 6:05 AM

    Hi Friend,
      You have posted your query in wrong forum.
      Pls post your query in BPM and Workflow Forum.

Maybe you are looking for