Creating attachments UDM_BD_CREATE_ATTACHMENT

Hi,
I want to use FM UDM_BD_CREATE_ATTACHMENT to create attachments to disputes from an external system, do you have any experience using this?
M.

check out the following link
FSCM - Dispute Manager - External DB & ArchiveLink

Similar Messages

  • Create Attachments to Generic Object Services from Webdynpro appliccation

    Hi,
    I have requirement to Create Attachments  to Generic Object Services(GOS) in equipment master (IE03)  from webdynpro when a user clicks on upload button and also allow the user to delete the attachments .
    Can anyone advice me of any Function Modules or logic to use from Web GUI.
    I used below logic from R/3 to create attachments, but from webdynpro this method doesn't work.
    DATA lo_attachment TYPE REF TO cl_gos_document_service.
      CREATE OBJECT lo_attachment.
      CALL METHOD   lo_attachment->create_attachment
           EXPORTING  is_object = ls_object
           IMPORTING  ep_attachment = lp_attachment
    Your inputs are appreciated.
    Thanks
    Rajesh Yalda

    Hi,
    try using the Class CL_GOS_SRV_ATTACHMENT_CREATE with Method EXECUTE_ITS.
    best regards,
    Michael

  • Create Attachments - Authorization

    Hi @ all
    I have following example:
    My colleague wants an authorization restriction for creating attachments, for example in equipment.
    Two issues are important for him:
    At first he wants that some employees can create via u201CCreateu2026 -> Create Attachmentu201D (Services for Objects), but some should not be able to create attachments. I have found the transaction SGOS, but there you only can set this option inactive for all users.
    At second the deletion of these attachments should not be able in general. I have found the authorization object S_WFAR_OBJ for the ArchiveLink u2013 object which is already maintained. But I haven´t found anything for above mentioned objects.
    Could anybody help me? Do you know which authorization objects are necessary?
    Thank you very much in advance!
    Kristin

    Explained in [ wiki|http://wiki.sdn.sap.com/wiki/display/SI/FrequentlyaskedquestionsaboutGenericObjectServices+(GOS)]
    Hope it helps

  • Problem creating attachments

    I use both Firefox and Safari browsers for my Mac, and have a Hotmail account. Normally I can create attachments. Tonight, using Firefox, when I click the attachments link, nothing opens, but when I switched to my Safari browser it did, so it would seem like it is a problem with Firefox as it relates to Hotmail.

    hi janager ,
              exactly you are right. I  have my own transaction called  /tmw/tmw. In this tcode i need same functionality of me23n(i.e create attachment) . I created one attachment from my desktop. how can i copy the presentation server(desktop) file in to application server. application files can see by all users .

  • Creating attachments in FB03 transaction

    Hi all,
    I tried to create attachments in FB03 transaction but its giving message as 'Folder does not exist'. 
    Please suggest me how to achieve this functionality.
    Regards,
    Srilatha

    Hi,
    You can go through below explanation
    File attachment not available on CALL TRANSACTION
    Re: Save Attachments of Activity also on the Customer?

  • Creating attachments

    I have created an attachment to a custom program using  Generic Object Services class CL_GOS_MANAGER  and method 'start_service_direct' as shown in the below code. I need information as to where the attached data is internally being stored. I have a requirement where I have to get backup of the attachments stored by this program. Are the attachments stored in a table or  object. Thanks in advance.
    DATA: my_object TYPE REF TO cl_gos_manager.
    DATA: ls_object TYPE borident.
    DATA: li_service TYPE tgos_sels,
    ls_service TYPE sgos_sels.
    MOVE: i_objkey TO ls_object-objkey,
    i_objtype TO ls_object-objtype.
    MOVE: 'I' TO ls_service-sign,
    'EQ' TO ls_service-option,
    'SRELATIONS' TO ls_service-low,
    'SRELATIONS' TO ls_service-high.
    APPEND ls_service TO li_service.
    CREATE OBJECT my_object
    EXPORTING
    is_object = ls_object
    it_service_selection = li_service
    EXCEPTIONS
    object_invalid = 1
    callback_invalid = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    CALL METHOD my_object->start_service_direct
    EXPORTING
    ip_service = 'SRELATIONS'
    is_object = ls_object
    EXCEPTIONS
    no_object = 1
    object_invalid = 2
    execution_failed = 3
    OTHERS = 4.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Regards,
    Vishnu Priya

    Hi,
       Using OAOR transaction, by giving the class name and the Class type (as 'Business Objects'), I could see the attachments. But, I could not transport them as it is giving message 'SAP GOS documents cannot be processed using BDN (Business Document Navigator)'.
    So, when a document is stored using GOS, where does it actually get stored and how to get that path where is it stored.
    Thanks & Regards,
    Vishnu Priya

  • Outlook created attachments in calendar not showing

    Hello , I know this is an old chesnut; but I was wondering if anyone has found a good solution to this.
    My firm uses Outlook for it's Email/Calendar/Contacts on their workstations.
    I have recently migrated for my enterprise smartphone from many years with a Blackberry to an iPhone 5 - love it; except for:
    1.Cannot see attachments on calendar entries, which is a real pain.
    2. Can't use the Office Communicator chat - which I can live without
    Regarding the  attachments, most people set up recurring meetings, and attach the phone numbers/passwords in this, either excel/word or pdf.
    I have changed the Outlook preferences, to "do not delete after acceptance" so it can be kept in the Inbox of the mail to access, however if I archive this, it is lost.
    I could create an Email mailbox, that I move the  accepted meeting notices in, that is never Archived - but this seems a non intergrated solution. I can also see a very manual way, of opening them up and  pasting in the details into the event; but surely something more smart is possible.
    And then if someone has attached other files I won't see these.
    I know the  argument, that meeting notices often get lots of updates etc, and the system would choke up with big attachments etc; but usually they are just simple lists of numbers.
    Is there some kind of plug in/app or settings somewhere than can be fettled with to allow me just to see the simple attachments I want to see?
    And before some smart chap starts talking about sharepoints, and the like, this is a giant firm, with a global work force, not everyone has iphones, and to change entire work practices for the few will not be possible - so best practice zealots, please I know you think you are speaking for  the good of mankind; but unless you can come up with a solution, I can do on an individual basis and does not require the Corperate IT team changing policies for 20 000 people, please keep it to yourself.
    Sorry about the last rant - but in trying to get answers before on things like this, I have seen these types parachute in , not read what is being asked and preach on their soapbox.
    Stay Safe!

    Hi,
    Please try below steps to troubleshoot the issue:
    Please delete related rule, recreate it and check if issue persists.
    Try to to use scanpst.exe tool to repair your data file. Please refer to this article on how to use
    scanpst.exe:
    http://office.microsoft.com/en-us/outlook-help/repair-outlook-data-files-pst-and-ost-HA102749454.aspx 
    If you are not sure which rule caused this issue, you can use Outlook switches (In the
    Run dialog box, run outlook.exe /cleanrules) to remove all rules and recreate the desired ones. (Note, make sure to backup your rules before removing rules.)
    Try with a new profile and see what happens. For how to create an Outlook profile, please refer to:
    http://office.microsoft.com/en-us/outlook-help/create-an-outlook-profile-HA102749460.aspx
    Hope this helps.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • Creating attachments in CRM complaint documents

    Dear experts,
    CRM 5.0,
    We are using a complaints process which makes use of action profiles to send notifications. Is it possible to create pdf attachments for the notifications being sent out from the complaint document and attach them to the complaint document?
    Thanks & regards
    Ritwik Sharma

    Dear experts,
    CRM 5.0,
    We are using a complaints process which makes use of action profiles to send notifications. Is it possible to create pdf attachments for the notifications being sent out from the complaint document and attach them to the complaint document?
    Thanks & regards
    Ritwik Sharma

  • How to create attachments from an abap program?

    I have an abap report that shows material documents.
    Now by clicking on a button (at the end of each row), it should allow the user to attach a document.
    How to achieve this?
    (I tried to see the code behing the Private Objects of a document at FB03 but I could not decipher it much).
    Thanks,
    Ven..

    CONSTANTS : objtype TYPE borident-objtype VALUE 'ZGOS2'.
    DATA : manager TYPE REF TO cl_gos_manager,
           obj     TYPE borident,
           gs_lopr TYPE sibflpor.
    parameter: srlno type matnr.
    IF srlno IS NOT INITIAL.
        obj-objtype = objtype.
        obj-objkey  = srlno.
        gs_lopr-instid = srlno .
        gs_lopr-typeid = 'ZGOS2'.
        gs_lopr-catid  = 'BO'.
       AT SELECTION-SCREEN OUTPUT. 
      CREATE OBJECT manager
          EXPORTING
            is_object    = obj
            is_bc_object = gs_lopr
            IP_NO_COMMIT = 'R'      "This is commit document for that material.
          EXCEPTIONS
            OTHERS       = 1.
      ENDIF.
    try this it will work

  • Creating attachments in background

    Hi,
    I have a PDF document stored on my C: drive. I want to attach it to a RFQ in background.
    RFQ is getting created by a RFC which is called from a third party(Non SAP) system.After the RFQ is created, the file in C: drive should automatically get attached to the created rFQ.
    I have seen that the function module SO_DOCUMENTS_NAMAGER can be used to read and create a document in SAP. Later we can use BINARY_RELATION_CREATE to create the link between invoice and the document.Problem is these use Frontennd Services.
    If I execute these function modules in SAP GUI, it works fine. But when the call is made from a third part system in background, these functions give a DUMP "CNTL_ERROR" in CL_GUI_FRONTEND_SERVICES->CONSTRUCTOR.
    Any one has any idea of how a document can be read in background without using Frontend services.
    Thanks,
    Prasanna

    HI Raja,
    I tried this and I got a dump 
    "CALL_XMLRFC_BACK_REJECTED   "
    ShortText                                                 RFC callback calls are not allowed in the current ABAP program                    
    What hapenned?                       
    The function module "RFC_START_PROGRAM" is to be called as Remote Function Call with destination 'BACK' (RFC Callback) in the ABAP context "SAPMHTTP ", but an RFC callback from the program "SAPMHTTP " was prevented explicitly.This is due to an application problem. The active transaction was " ".            
    Error in the ABAP application program.                                            
    The running ABAP program "SAPLSYSE" had to be terminated because a statement cannot be executed.                                                
    Erroranalysis                                             In the main program "SAPMHTTP ", it was determined that no RFC callbacks are to be called in its ABAP context. Now, a function module was called that has executed an RFC callback via the ABAP statement CALL FUNCTION 'RFC_START_PROGRAM'                              DESTINATION 'BACK'                                                                
    This action was explicitly executed by the application in the transaction " " and in the ABAP main program "SAPMHTTP ". This is due to an application problem.                                                              
    Do you have any idea  of why this dump is coming.
    I am calling BDS_BUSINESSDOCUMENT_CREATEF in a Custom RFC Z_RFQ_CHANGE. This Z_RFQ_CHANGE is called from a third party system.
    Thanks,
    Prasanna

  • How to create attachments in User Tasks in 10.1.3.1?

    Hi all!
    I didn't find any info on how to create an attachment for User Task in Worklist application which comes by default with SOA Suite 10.1.3.1 DP (http://host:port/integration/worklistapp/). In previous releases (for ex. 10.1.2.0.2) it was possible through the special form. But in 10.1.3.1 I can see only task history there.
    So is this feature supported and how to set up it?
    Thanks in advance!
    Serguei

    Take a look at the DocumentReview sample in the demo directory

  • Creating attachments from Services for Objects

    Hi,
    I am trying to create an attachment using the FM BDS_BUSINESSDOCUMENT_CREATEF. But it is giving me sy-subrc 4(ERROR_KPRO). Can anyone explain how to correct this and if u have any better code to attach files to BO's pls post it here.
    This is my code:
    DATA : files LIkE BAPIFILES OCCURS 1 WITH header line.
    files-doc_count = '1'.
    files-directory = 'C:\Documents and Settings\e529015\Desktop\'.
    files-filename = 'layout.jpeg'.
    APPEND files.
    data: lv_logsys type TBDLS-LOGSYS.
    CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
       OWN_LOGICAL_SYSTEM                   = lv_logsys
    EXCEPTIONS
       OWN_LOGICAL_SYSTEM_NOT_DEFINED       = 1
       OTHERS                               = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREATEF'
      EXPORTING
       LOGICAL_SYSTEM        = lv_logsys
        classname             = 'BUS2038'
        classtype             = 'BO'
       CLIENT                = SY-MANDT
       OBJECT_KEY            = '300023662'
      tables
        files                 = files
      SIGNATURE             =
    EXCEPTIONS
       NOTHING_FOUND         = 1
       PARAMETER_ERROR       = 2
       NOT_ALLOWED           = 3
       ERROR_KPRO            = 4
       INTERNAL_ERROR        = 5
       NOT_AUTHORIZED        = 6
       OTHERS                = 7
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Best Regards,
    Pavan Jhawar.

    Hi,
    Check this code...
    DATA: NUMBER_ATTACH TYPE i.
    Data Declaration for attachment ********
    data: go_myobject type ref to cl_gos_manager.
    data: lo_container type ref to cl_gui_custom_container,
          ls_object type borident.
    MODULE ATTACH_FILE input.
    if ok_code = 'CATC'.
      IF ZQTHD-JNAME is not initial.
    *******Number Ranges For ATTACHMENT ********
      if zqthd-objectkey is initial.
    CALL FUNCTION 'NUMBER_GET_NEXT'
      EXPORTING
        NR_RANGE_NR                   = '1'
        OBJECT                        = 'ZATTACH_NR'
      QUANTITY                      = '1'
      SUBOBJECT                     = ' '
      TOYEAR                        = '0000'
      IGNORE_BUFFER                 = ' '
    IMPORTING
       NUMBER                        = NUMBER_ATTACH
      QUANTITY                      =
      RETURNCODE                    =
    EXCEPTIONS
      INTERVAL_NOT_FOUND            = 1
      NUMBER_RANGE_NOT_INTERN       = 2
      OBJECT_NOT_FOUND              = 3
      QUANTITY_IS_0                 = 4
      QUANTITY_IS_NOT_1             = 5
      INTERVAL_OVERFLOW             = 6
      BUFFER_OVERFLOW               = 7
      OTHERS                        = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
       endif.
      zqthd-objectkey = NUMBER_ATTACH.
      ls_object-objtype = 'ZQUOTATION'.
      ls_object-objkey  = zqthd-objectkey.
      call method go_myobject->start_service_direct
                    exporting
                          ip_service = 'PCATTA_CREA'
                          is_object = ls_object
                          io_container = lo_container.
    ENDIF.
    endif.

  • CANNOT CREATE ATTACHMENTS IN WORKLIST GUI THROUGH THE PROCESS

    I'm using BPEL process manager 10.1.2.0.0 standalone version
    I tried to add an attachment to a usertask by copying a file from the BPEL process to the task variable by:
    <copy>
    <from expression="ora:readFile('file:///c:\\TaskAttachment.txt')"/>
    <to variable="AttachmentTestVar1" query="/task:task/task:attachment[1]/task:content"/>
    </copy>
    <copy>
    <from expression="&quot;elso attach&quot;"/>
    <to variable="AttachmentTestVar1" query="/task:task/task:attachment[1]/task:name"/>
    </copy>
    After this statement the attachment appears in the users task view as it was uploaded by the user, but if I click on it it returns an empty file. No error messages. The HTML source what returns from the click is the following:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=windows-1250"></HEAD>
    <BODY><PRE></PRE></BODY></HTML>
    Why is it? Is it not supported to place an attachment to a usertask from a BPEL flow. Or I"m doing something wrong?

    Thank you for the quick response!
    I tried with the DocumentReview Demo. And the result is the same. The Attachmnent appears on the Task window, but a blank document appears when you click on the link under the Attachments. This happens only, when you add the attachment from the process.
    The XML document goes to the initiateTask invokation seems to be correct. The base64 format is there. I copied it here from the audit trail.
    <attachment>
    <name>a</name>
    <URI />
    <content>JVBERi0xLjIgDSXi48/TDQogDTEwID .... and so on sorry I cutted the rest out</content>
    </attachment>
    Any idea?

  • Create Attachments for Job in PP01 (Mass Upload)

    Dear Experts,
    I have a requirement to attach documents to jobs in PP01.
    I need to do it through program since it is mass upload.
    Could you please suggest me any FMs.
    What will be the object type of Job.
    Regards,
    Srilekha

    Hi Srilekha,
    Maybe bit too late..but can you check this...
    Massive GOS Upload
    Hope this helps.
    Kumarpal

  • Creating mails with attachments from flat text files

    Hello XI community-
    we need to send emails containing attachments via the email adapter. The input comes from a flat ascii file.
    The source file contains the message body, receiver and one or more lines that have to be converted into one or more (text) attachments.
    As far as I know, the mail adapter can create attachments only from SOAP attachments.
    Does anybody know a way to create SOAP attachments from the message payload?
    Cheers,
    Linus

    Hello,
    See these weblogs to do it :
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Chris

Maybe you are looking for