Add attachment in Support Message using BAPI_NOTIFICATION_CREATE

Hi Experts,
I am creating a data migration program for support desk message in our Solutions Manager 7.0. I was able to create the basic message but I am having problem adding the attachment.
I already searched the forum and google but can't find any post that will help. There is also no documentation and SAP note for this.
May I know if you have used BAPI_NOTIFICATION_CREATE already with attachment? Any info will be appreciated.
Thanks in advance.
Regards,
Ryan

Hi Ragu,
We have an old support desk which is not SAP, it is Java based. We want to migrate the existing data to SAP Solutions Manager. The problem is I am having hard time uploading the attachment using the BAPI.
Have you tried using this? Thanks.
Regards,
Ryan

Similar Messages

  • How can we add attachment in the PO using BAPI

    How can we add attachment in the PO? I am using the BAPI_PO_CREATE1 function module to create the PO. I am getting a file from legacy system, this I need to add as an attachment into the particular PO through programming.
    Note: After creation of PO the attachment should be available in ME23n transaction.

    REPORT  ZBAPI_PO_CRATE.
    data : PO_HEADER like BAPIEKKOC.
    data : PO_HEADER_ADD_DATA like BAPIEKKOA.
    data : PO_ITEMS like BAPIEKPOC occurs 0 with header
    line.
    data : PO_ITEM_SCHEDULES like BAPIEKET occurs 0 with
    header line.
    data : RETURN like BAPIRETURN occurs 0 with header
    line.
    DATA : BEGIN OF TAB OCCURS 0,
           PO_NUMBER like BAPIEKKOC-PO_NUMBER,
           DOC_DATE(10),
           DOC_TYPE like BAPIEKKOC-DOC_TYPE,
           CO_CODE like BAPIEKKOC-CO_CODE,
           PURCH_ORG like BAPIEKKOC-PURCH_ORG,
           PUR_GROUP like BAPIEKKOC-PUR_GROUP,
           VENDOR like BAPIEKKOC-VENDOR,
           PMNTTRMS like BAPIEKKOA-PMNTTRMS,
           INCOTERMS1 like BAPIEKKOA-INCOTERMS1,
           INCOTERMS2 like BAPIEKKOA-INCOTERMS2,
           PO_ITEM like  BAPIEKPOC-PO_ITEM,
           MATERIAL like BAPIEKPOC-MATERIAL,
           PUR_MAT like BAPIEKPOC-PUR_MAT,
           ITEM_CAT like BAPIEKPOC-ITEM_CAT,
           PLANT like BAPIEKPOC-PLANT,
           NET_PRICE like BAPIEKPOC-NET_PRICE,
           TAX_CODE like BAPIEKPOC-TAX_CODE,
           DELIV_DATE(10),
           QUANTITY like BAPIEKET-QUANTITY,
         end of tab.
    data: itab1 like alsmex_tabline occurs 0 with header
    line.
    DATA: gd_currentrow type i.
    data : PURCHASEORDER like ekko-ebeln.
    Data: tot_rec type i,     "Total Records
         gd_update type i,   "Main Table Increement
    Counter
         gd_lines type i,    "Success Table increement
    Counter
         w_textout like t100-text. "VARIABLE TO GET ERROR
    LOG
    data : begin of it_success occurs 0,
            PURCHASEORDER LIKE ekko-ebeln,  "PROJECT
          end of it_success.
    data : begin of it_error occurs 0,
            pono like  ekko-ebeln,
            err_msg(73) TYPE c,    "TO RETREIVE ERROR
    MESSAGES
         end of it_error.
    data : pono like  ekko-ebeln.
    selection-screen begin of block b1 with frame.
    skip 3.
    parameter:p_infile like rlgrap-filename obligatory.
    skip 3.
    selection-screen end  of block b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_infile.
      PERFORM value_help.
    start-of-selection.
      call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_infile
          i_begin_col             = '1'
          i_begin_row             = '2' "Do not require
    headings
          i_end_col               = '22'
          i_end_row               = '10000'
        TABLES
          intern                  = itab1
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          others                  = 3.
      if sy-subrc <> 0.
        message e010(zz) with text-001. "Problem uploading
    Excel Spreadsheet
      endif.
    *perform open_group.
      sort itab1 by row col.
    * Get first row retrieved
      read table itab1 index 1.
    * Set first row retrieved to current row
      gd_currentrow = itab1-row.
      loop at itab1.
    * Reset values for next row
        if itab1-row ne gd_currentrow.
          append tab .
          clear tab.
          gd_currentrow = itab1-row.
        endif.
        case itab1-col.
          when '0001'. "PGNAM
            TAB-PO_NUMBER = itab1-value.
          when '0002'. "RONAM
            TAB-DOC_DATE = itab1-value.
          when '0003'. "JVLEVEL
            TAB-DOC_TYPE = itab1-value.
          when '0004'. "FTTYPE
            TAB-CO_CODE = itab1-value.
          when '0005'. "LANG
            TAB-PURCH_ORG =  itab1-value.
          when '0006'. "LTEXT
            TAB-PUR_GROUP = itab1-value.
          when '0007'. "LTEXT
            TAB-VENDOR = itab1-value.
          when '0008'. "LTEXT
            TAB-PMNTTRMS = itab1-value.
          when '0009'. "LTEXT
            TAB-INCOTERMS1 = itab1-value.
          when '0010'. "FTTYPE
            TAB-INCOTERMS2 = itab1-value.
          when '0011'. "FTTYPE
            TAB-PO_ITEM = itab1-value.
          when '0012'. "FTTYPE
            TAB-MATERIAL = itab1-value.
          when '0013'. "FTTYPE
            TAB-PUR_MAT = itab1-value.
          when '0014'. "FTTYPE
            TAB-ITEM_CAT = itab1-value.
          when '0015'. "FTTYPE
            shift itab1-value left deleting leading space.
            TAB-PLANT = itab1-value.
          when '0016'. "FTTYPE
            TAB-NET_PRICE = itab1-value.
          when '0017'. "FTTYPE
            TAB-TAX_CODE = itab1-value.
          when '0018'. "FTTYPE
            TAB-DELIV_DATE = itab1-value.
          when '0019'. "FTTYPE
            TAB-QUANTITY = itab1-value.
        endcase.
      endloop.
      append tab.
      clear tab.
      sort tab by PO_NUMBER.
      DELETE TAB WHERE PO_NUMBER = SPACE.
      loop at tab.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = tab-material
          IMPORTING
            OUTPUT = tab-material.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = tab-PUR_MAT
          IMPORTING
            OUTPUT = tab-PUR_MAT.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            INPUT  = tab-vendor
          IMPORTING
            OUTPUT = tab-vendor.
        concatenate tab-doc_DATE+4(4) tab-doc_DATE+2(2)
    tab-doc_DATE+0(2)
    into tab-doc_DATE.
        concatenate tab-DELIV_DATE+4(4)
    tab-DELIV_DATE+2(2)
    tab-DELIV_DATE+0(2) into tab-DELIV_DATE.
        pono = tab-PO_NUMBER.
        if tab-po_number = pono.
          PO_HEADER-DOC_DATE = tab-DOC_DATE.
          PO_HEADER-DOC_TYPE = tab-DOC_TYPE.
          PO_HEADER-CO_CODE  = tab-CO_CODE.
          PO_HEADER-PURCH_ORG = tab-PURCH_ORG.
          PO_HEADER-PUR_GROUP = tab-PUR_GROUP.
          PO_HEADER-VENDOR = tab-VENDOR.
          PO_HEADER-PO_NUMBER = tab-PO_NUMBER.
          PO_HEADER_ADD_DATA-PMNTTRMS = tab-PMNTTRMS.
          PO_HEADER_ADD_DATA-INCOTERMS1 = tab-INCOTERMS1.
          PO_HEADER_ADD_DATA-INCOTERMS2 = tab-INCOTERMS2.
          PO_ITEMS-PO_ITEM = tab-PO_ITEM.
          PO_ITEMS-MATERIAL = tab-MATERIAL.
          PO_ITEMS-PUR_MAT = tab-PUR_MAT.
          PO_ITEMS-ITEM_CAT = tab-ITEM_CAT.
          PO_ITEMS-PLANT = tab-PLANT.
          PO_ITEMS-NET_PRICE = tab-NET_PRICE.
          PO_ITEMS-TAX_CODE = tab-TAX_CODE.
          append po_items.
          PO_ITEM_SCHEDULES-PO_ITEM = tab-PO_ITEM.
          PO_ITEM_SCHEDULES-DELIV_DATE = tab-DELIV_DATE.
          PO_ITEM_SCHEDULES-QUANTITY =  tab-QUANTITY.
          append PO_ITEM_SCHEDULES.
        endif.
        at end of PO_NUMBER.
          CALL FUNCTION 'BAPI_PO_CREATE'
            EXPORTING
              PO_HEADER                        = PO_HEADER
             PO_HEADER_ADD_DATA               =
    PO_HEADER_ADD_DATA
    *           HEADER_ADD_DATA_RELEVANT         =
    *           PO_ADDRESS                       =
    *           SKIP_ITEMS_WITH_ERROR            = 'X'
    *           ITEM_ADD_DATA_RELEVANT           =
    *           HEADER_TECH_FIELDS               =
           IMPORTING
             PURCHASEORDER                    =
    PURCHASEORDER
            TABLES
              PO_ITEMS                         = PO_ITEMS
    *           PO_ITEM_ADD_DATA                 =
              PO_ITEM_SCHEDULES                =
    PO_ITEM_SCHEDULES
    *           PO_ITEM_ACCOUNT_ASSIGNMENT       =
    *           PO_ITEM_TEXT                     =
             RETURN                            = RETURN
    *           PO_LIMITS                        =
    *           PO_CONTRACT_LIMITS               =
    *           PO_SERVICES                      =
    *           PO_SRV_ACCASS_VALUES             =
    *           PO_SERVICES_TEXT                 =
    *           PO_BUSINESS_PARTNER              =
    *           EXTENSIONIN                      =
    *           POADDRDELIVERY                   =
          if PURCHASEORDER <> space.
            commit work.
            ADD 1 TO gd_update.
            it_success-PURCHASEORDER = PURCHASEORDER.
            append it_success.
    clear:PO_HEADER,PO_HEADER_ADD_DATA,PURCHASEORDER.
            refresh : PO_ITEMS,PO_ITEM_SCHEDULES,RETURN.
          ELSE.
            loop at return.
              it_error-pono = tab-PO_NUMBER.
              it_error-err_msg = return-MESSAGE .
              Append it_error.
            ENDLOOP.
    clear:PO_HEADER,PO_HEADER_ADD_DATA,PURCHASEORDER.
            refresh : PO_ITEMS,PO_ITEM_SCHEDULES,RETURN.
          endif.
        endat.
      endloop.
      DESCRIBE TABLE it_success LINES gd_lines.
      IF gd_lines GT 0.
    *     Display result report column headings
        PERFORM display_column_headings.
    *     Display result report
        PERFORM DISPLAY_SUCESS.
      ENDIF.
    * IF SUCESS FAILS Display Error Report
      DESCRIBE TABLE it_error LINES gd_lines.
      IF gd_lines GT 0.
        PERFORM errorheadings.
        PERFORM errorreport.
      ENDIF.
    *&      Form  display_column_headings
    *       text
    FORM display_column_headings.
      WRITE:2 ' Success Report '(014) COLOR COL_POSITIVE.
      SKIP.
      WRITE:2 'The following records inserted
    successfully:'(013).
      WRITE:/ sy-uline(15).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
               (10) 'Purchase order'(004), sy-vline.
      WRITE:/ sy-uline(15).
    ENDFORM.                    "display_column_headings
    *Subroutine to display SUCESS REPORT
    FORM DISPLAY_SUCESS.
      FORMAT COLOR COL_NORMAL.
      LOOP AT it_success.
        WRITE:/      sy-vline,
            (10)  it_success-PURCHASEORDER, sy-vline.
        CLEAR it_success.
      ENDLOOP.
      WRITE:/ sy-uline(15).
      REFRESH: it_success.
      FORMAT COLOR COL_BACKGROUND.
    ENDFORM.                               "
    DISPLAY_REPORT
    *&      Form  errorreport
    *       text
    FORM errorreport.
      LOOP AT it_error.
        WRITE:/      sy-vline,
                (10) it_error-pono, sy-vline,
                 (40) it_error-err_msg, sy-vline.
      ENDLOOP.
      WRITE:/ sy-uline(104).
      REFRESH: it_error.
    endform.                    "errorreport
    *&      Form  ERRORHEADINGS
    *       text
    FORM ERRORHEADINGS.
      SKIP.
      WRITE:2 ' Error Report '(007) COLOR COL_NEGATIVE.
      SKIP.
      WRITE:2 'The following records failed during
    update:'(008).
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_HEADING.
      WRITE:/      sy-vline,
              (10) 'ERROR.'(009), sy-vline.
      WRITE:/ sy-uline(104).
      FORMAT COLOR COL_NORMAL.
    ENDFORM.                    "ERRORHEADINGS
    **&      Form  value_help
    **       text
    **  -->  p1        text
    **  <--  p2        text
    FORM value_help .
      CALL FUNCTION 'DSVAS_DOC_WS_FILENAME_GET_50'
        EXPORTING
          DEF_FILENAME     = ' '
          DEF_PATH         = ' '
          MASK             = ',*.*,*.*.'
          MODE             = 'O'
          TITLE            = ' '
        IMPORTING
          FILENAME         = p_infile
        EXCEPTIONS
          INV_WINSYS       = 1
          NO_BATCH         = 2
          SELECTION_CANCEL = 3
          SELECTION_ERROR  = 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.
    endform.                    "value_help

  • Archive Support Messages using SARA

    It is my understanding that the CRM message has to be archived using the archiving object CRM_SERORD in Transaction SARA.
    Does anyone have the detailed steps to correctly archive a CRM message within this transaction?

    Hi,
    I'am working at the same issue. I find a Objekt CRM_GAP, but I'am not sure if this is the right one. I do my first steps in archiving objects and need some help, too.
    Best regards
    Marc

  • Urgent SAP Help menu not showing option "Create Support Message"

    Hi all,
    We are running SAP 4.6c landscape (dev,qa,prd), and have solution manager installed .
    Now when i want to create a support messge from any system in my landscape i dont get the option "Create Support Message" in the SAP Help menu, and we create a support message using Help->Feedback option . Is this the correct was or is there any other settings or notes i need to make/apply on my landscape to get this option.
    Message was edited by: Kamran Ellahi

    Hi guys,
    Thanks for your answers... But is it possible to call transaction NOTIF_CREATE from an external system?
    I have done something already so that those 3 fields will be automatically populated for a message sent from an external system.
    I changed the screen and called FM BAPI_NOTIFICATION_CREATE(a remote enabled FM which is the one being used by transaction NOTIF_CREATE to create a message) inside FM BCOS_SEND_MSG.
    I populated the category, subject and solution in the FM export parameters as well as the solution number in the sap data table. I put a destination also..
    This FM calls another FM DNO_OW_CREATE_NOTIFICATION which is the one being used from the external system but do not cater the functionality to send the 3 fields that we need.
    As you will notice, there are lots of standard objects that I've changed. =)
    My problem now is that the system data sent is the same with the system data if you create the message using NOTIF_CREATE. Some system that were sent when a message is sent from an external system is missing but at least the sap system and client ID is sent. There is no external reference number also. But hopefullly, the users will accept it. Can't find any other solution to this.
    Thanks,
    Eric

  • Support message creation using "BAPI_NOTIFICATION_CREATE" standard BAPI

    Hello Experts,
                         I am a ABAPer making use of  "BAPI_NOTIFICATION_CREATE", for creation of support desk message in SOLMAN 4.0 . The problems that i am facing , when i create message using this BAPI are,
    1)By default the notification type is taken as 'SLFN',though i pass 'SLF1' as my input parameter to BAPI.WHY is this happening?
    2)The description part of the message is not coming up in the support desk screen ,though i pass it in NOTIF_TEXT_LINES in TDLINE.
    3)Support Team value is getting picked up in the partners tab of Transaction data in support desk screen.
    4)I would like to ADD ATTACHMENTS also ? where should i pass this parameter ?
    Other than this i am getting the rest of the feilds,in the message created
       If some one has worked with this standard BAPI pls send me the details of the input parameters that i have to pass for the message creation and give solution for my problem ASAP.
    If  there are any SAP notes or blogs that are related to this,pls send me those details also, its a urgent requirement.
    Thanks & Regards,
    Mohana Priya

    Was this resolved? I am having same issue I need to get the Description and Attachements fixed, Any help is appreciated, Thanks

  • Message uses a character set that is not supported by the internet service

    Does any one have any advice on how to fix this problem?
    E-mails sent from my iphone 3G periodically arrive in an unreadable form at the recipient. The body of the e-mail has been replaced with the message "This message uses a character set that is not supported by the internet service...." The problem e-mails also include an attachment that contains an unformatted text file containing the original message surrounded by what appears to be lots of formatting data that is displayed as gibberish.
    This occurs sometimes, but not always, even with the same recipients. I am sending e-mail through a G-mail account that is configured on the iphone using IMAP. I have tried the gmail account to use the two available formatting options for mail, but neither fixes the problem.
    I have also upgraded to 2.01 and restored a few times without impact.

    Hi,
    I got somewhat similar problem with special charecters(German umlaud �,�,�..).
    I create a file with java having special charecters in it. Now if I open this file I am able to view the special charecters in it.But If I attach this file send it using following code then receiver can not see the umlaud charecters in it.They get replaced by _ or ?
    MimeBodyPart mbp2 = new MimeBodyPart();
    FileDataSource fds = new FileDataSource(fileName);
    mbp2.setDataHandler(new DataHandler(fds));
    mbp2.setFileName(output.getName());
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp2);
    msg.setContent(mp);
    Transport.send(msg);
    From you message it looks like you are able to send the mail attachment correctly(by preserving special charecters).
    Can you tell me what might be wrong in my code.
    I appriciate your efforts in advance.
    Prasad

  • Is there any way to automatically add an attachment to a message in Mail?

    Hi,
    I have to responsd to a lot of emails with basically the same response. I use a TextExpander snippet for the body of these messages. However, I usually need to attach a PDF file as well.
    Is there anyway to automate attaching a PDF attachement to a message in Mail?
    Perhaps, this can be done by adding the attachment into a Signature, although I havent seen a way to do this.
    Or perhaps, some kind of Automator scritpt?
    The mail account is actually a Google Apps account, so perhaps there is a way to have the GMail server do something to the message on the way out?
    Thanks

    it's fairly easy to create an outgoing message with attachments in applescript; just use a script like the following:
    tell application "Mail"
              set newMess to make new outgoing message with properties {visible:true, subject:"test emal"}
              tell newMess
      make new attachment at end of attachments with properties {file name:"/path/to/attachment"}
              end tell
    end tell
    it's extremely difficult to add an attachment to an outgoing email that's already been created, however (there's no easy way in applescript to get a reference to an open outgoing message window if the script did not make the window itself).  I'm not sure which you had in mind.

  • HT5622 I keep getting emails stating that my password had been changed but the name attached to the message is not minr but it's my email address. Is someone using my email address to sign into FaceTime or other Apple Programs?

    I keep getting emails stating that my password had been changed but the name attached to the message is not minr but it's my email address. Is someone using my email address to sign into FaceTime or other Apple Programs?

    Of you're being phished. There are a lot of phishing scams going around right now with bad guys trying to get access to apple ID's.
    Anytime you want to verify the info, do not click on any links in the mail, but open up iTUnes on your computer and check things out that way.
    If you want to verify if anything is wrong http://www.apple.com/support/appleid/contact/
    contact apple on your own and see what they say.

  • Ipad2 gives me ""accessory is not supported" message w/ VGA adapter that I used lots of times before. Now it's not working. Why? and how do I get it back to normal functioning?

    Ipad2 gives me ""accessory is not supported" message w/ VGA adapter that I used lots of times before. Now it's not working. Why? and how do I get it back to normal functioning?
    I used the (Apple branded) VGA adapter lots of times last year. Now I got back to one place I used it many times and it does not work. When I restart iPad with the adapter connected, I get the "accessory is not supported"message. But that same accessory WAS supported before.
    This is very annoying as I planned a whole bunch of presentations starting this week to do with my iPad2 and that adapter.

    I received the same error message, "Accessory Not Supported"  from both the VGA and DV video adapters I purchased, both were boxed direct from Apple. However, to bypass this problem I  simply clicked on Photos icon on iPad2 and flipped through photos until it displayed on my projector.  I then exited the Photos app and my home screen displayed fine on the projection screen.
    Some logic issue with the video adapters, but launching Apple Photo app initializes the video adapters then they work fine for mirroring after that.
    Platform: iPad2
    IOS: 5.1.1
    Best regards!

  • Add attachment to Opportunity using Enterprise Services

    Hi All,
    Is there a way I can add attachments (doc,txt) to a opportunity through the services exposed by Enterprise Services in CRM 7.0. Because the stubs generated for "Create Opportunity" does not have option to add attachments.
    If I browse to the ES Workplace and check the "Create Opportunity", I do not see any method that would allow me to add attachment to the Opportunity (OpportunityCRMCreateRequest_sync).
    Please let me know what am I missing.
    Regards,
    Naveen

    Hi Naveen,
    I have done one requirement attach a document from for already created business partners from external file. In that file I have Business partner number, file path and description.   so, My code is like this. I think it will help ful for you. I dont no wether your requirement will full fill but the coding may help ful for your requirement. try it.. gud luck.. any doubts please ask me i will help u...
    types: begin of ty_upload,
             bp_no type but000-partner,
              path  type sdok_chtrd,
       ls_description type sdok_titel,
            end of  ty_upload.
    data: it_upload type standard table of ty_upload. "Internal table for upload
    data: wa_upload type ty_upload.
      data:
      lv_file_save_as      type c length 255,
      lv_nombre_fichero    type sdok_filnm,
      lv_directory         type sdok_chtrd,
      ls_loio              type skwf_io,
      ls_phio              type skwf_io,
      ls_error             type skwf_error,
      ls_business_object   type sibflporb.
      data: ls_guid type ty_upload.
      data: lt_guid type standard table of ty_upload.
      data: ls_path type ty_upload.
      data: lt_path type standard table of ty_upload.
      data: wa_properties type sdokpropty.
      data: lt_properties like wa_properties occurs 0.
      data ls_but000 type but000.
      select single *
        from but000
       into ls_but000
        where partner = wa_upload-bp_no.
    ls_business_object-instid = wa_but000-partner_guid.
      ls_business_object-typeid =  'BUS1006'. "for bp
      ls_business_object-catid = 'BO'.
      wa_properties-name = 'DESCRIPTION'.
      wa_properties-value = wa_upload-ls_description.
      append wa_properties to lt_properties.
      wa_properties-name = 'LANGUAGE'.
      wa_properties-value = 'EN'.
      append wa_properties to lt_properties.
      clear ls_guid.
      types: begin of ty_path,
              ls_path type sdok_chtrd,
              ls_name type skwf_descr,
               end of  ty_path.
      data: wa_path type ty_path.
      data: it_path type standard table of ty_path.   "Internal table for path split
      call function '/SAPDMC/LSM_PATH_FILE_SPLIT'    "FM for splitting the file path (split file name and directory)
        exporting
          pathfile = wa_upload-path
        importing
          pathname = wa_path-ls_path
          filename = wa_path-ls_name.
      append wa_path to it_path.
      lv_nombre_fichero = wa_path-ls_name.
      lv_directory = wa_path-ls_path.
      call method cl_crm_documents=>create_with_file
        exporting
          file_name       =  lv_nombre_fichero
          directory       =  lv_directory
          properties      =  lt_properties
         properties_attr =  lv_description
          business_object =  ls_business_object
         parent_folder   =
         package_id      =
        importing
          loio            =  ls_loio
          phio            =  ls_phio
          error           =  ls_error.
      call method cl_crm_documents=>rename_object
        exporting
          is_io   = ls_loio
          iv_name = wa_path-ls_name.
    if sy-subrc = 0.
      message 'Attachment has been finished successfully' type 'S'.
    endif.
    Regards,
    Ramz...

  • Attach mail (.eml) messages to sd invoices using abap

    Good morning,
    I need a abap report to attach outlook express messages (.EML) to SD Invoices (using SapOffice?). Can anyone give an help? Is there any function-module,
    or exemple program to solve this problem?
    The idea is to strore attached to the sd invoice, the EDI messages exchanged outside of R/3 (using an external non-sap system). Those messages are have .eml format
    Thank you

    Hello,
    thanks for your help, but this is my first experience with document management in SAP, and it´s not clear for me what I have to do, as those examples are for outbound documents (sent from sap). I want to store inbound documents (import external files and link them to SD Billing documents in R/3, probably using my Archive system). It seems to me that Sapoffice document store should be perfect for this, as I would not need to do any additional work in order to open the documents latter.
    This is what I want to do: in VF03 (Change billing document) I select "Create Attachment" option and browse for a .eml file (outlook express msg) in order to store it and display it latter.
    This is perfect. Now I need to do this in abap, as this can not be a manual process.
    Can you please give me some additional details on how to get this working?
    Thank you
    Best regards

  • [svn] 1338: Bug: BLZ-123-Attempting to use a channel that doesn' t support messaging (AMFChannel/AMFEndpoint withtout polling enabled) should throw error

    Revision: 1338
    Author: [email protected]
    Date: 2008-04-22 07:45:18 -0700 (Tue, 22 Apr 2008)
    Log Message:
    Bug: BLZ-123-Attempting to use a channel that doesn't support messaging (AMFChannel/AMFEndpoint withtout polling enabled) should throw error
    QA: Yes
    Doc: No
    Details: Added logic in Consumer such that when the Consumer is connected over a non-realtime channel (i.e. non-polling and non-streaming channel), a warning is logged to let the user know that channel is not going to automatically receive updates via client poll or server push. We can't really throw an error here because one might want to disable channel polling and manually send poll requests when needed and this is a valid configuration as well.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-123
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as

    Thanx Mete, yeah i did...
    but i solved it some other way... not entirely sure this was
    it though as i was doing a lot of things at once...
    it was fds.swc... possibly it was out of date or missing.

  • Complete code to send an attachment with a text message using java mailapi

    complete code to send an attachment with a text message using java mailapi
    code should be free from error

    http://java.sun.com/products/javamail/FAQ.html#examples
    Was this code too hard to find?
    Was the FAQ too hard to find?

  • I have an iPhone 4S. I'm using a Belkin tune-cast F8Z498 FM transmitter. Has worked fine for several months. Now I'm getting an "accessory not supported" message.  Any help out there?

    I have an iPhone 4S. I'm using a Belkin tune-cast F8Z498 FM transmitter. Has worked fine for several months. Now I'm getting an "accessory not supported" message.  Any help out there?

    people repport dirt in the connector can cause this
    guess a broken connector could too

  • Add new field in the Create Support Message Popup Screen

    Hi Experts,
    I need to create Project Code Field in the standard popup screen Create Support Message
    Suggest me any Badi or FM or Bapi or Enhancement to create a new field and update the field value to the Support Message created.
    Please let me know if this is possible or not?
    Thank You,
    Sowjanya Sreekrishna

    Dear Abhijit
    Even after doing PGI, there are some fields which are in editable mode in delivery.  For example, in VL02N, if you select "Goto --> Header --> Shipment, you can see fields like Bill of Lading are in editable mode.
    If you specify what your requirement is, then probably, a better option can be given.
    Thanks
    G. Lakshmipathi

Maybe you are looking for

  • How to connect a MBP to a BENQ external monitor using a HDMI cable and a HDMI to mini display adapter?

    Hi, I have just bought a brand new HDMI cable and HDMI to minidisplay adapter  and tried to connect my Macbook Pro up. The external display knows it is there but it is not getting any signal. I have tried on another TV and it also says no signal and

  • Applet inside a UIX screen

    I am trying to use an applet inside my UIX page. does anyone have any thought on how to do this. I am using Jdev 10g for this. I have gotten as far as the error "element OBJECT not defined in parent pageLayout" maybe I just need to know where to stic

  • No details getting populated in Log for Partner Profile Generation...

    Hi, When I create a distribution model in BD64 and then go to environment -> Generate Partner profiles, enter all the required parameters like model view, type, id, version, packet size and all necessary stuff, but when I execute I get a message in l

  • Including HTML snippet into my thread message

    Hello. I need to open a thread in this forum and show an HTML snippet from my code. However, this discussion forum seems to mis-interpret the HTML content I enter as "literal" and instead treats it as actual HTML. When I preview my note, it is a mess

  • Blank-ish Spam Mail

    Strangely enough I am getting a lot of spam which has no message content. It just has some silly spam message in the subject header but no actual content. I've been trying to write a Mail.app rule which will filter any mail that I receive which has n