To add attachment in supplier survey scenario

Hi all,
I am now working with adding attachment to standard supplier survey process. Briefly speaking, the role purchaser send mail to supplier's mailbox. The supplier send a response mail with attachments to the SRM server. In SO50, I configure a ZClass to receive the class to fetch the XSTRING of the attachment. Now I need to store these attachments to SAP server and then open them in a list in the survey monitor web dynpro view for each participant.
I searched the documents about DMS and also debugged the attachment functionality of Shopping Cart.
1 I found it seems impossible to simulate the way that SC stores its attachments. Since SC use some class:/SAPSRM/CL_PDO_BO_SC_ADV, which it is impossible to create a similar one in supplier survey.
2 For DMS, I am not sure how it works. Is it to call the method CREATE_WITH_FILES/URL/TABLE of class CL_BDS_DOCUMENT_SETfor storing the documents? Should anything else be done besides that? How can I make the relationship with the DMS documents with my supplier suvey? Should I create a ZTable with fields SURVEY GUID and DMS document GUID for that?
Thanks for help in advance.

Yichao,
  I am looking for similar functionality to request suppliers to attach some documents as a response to Survey. Can you please let me know how you accomplished this using BDS?
Thanks,
SG

Similar Messages

  • Add attachment to services for object

    Hi All,
    What is the meaning of Add Attachment to services for object, is it the only providing the services like
    Private note,
    send object with note,
    Display relation ship,
    work flow,
    My objects etc.
    can any one suggest me on this.
    Thanks&regds,
    Srinivas.

    Hi Srinivas,
    I have seen you asking a lot of questions all about the same scenario in my understanding. It seems you like to send a picture or an attachment from/to the mobile device, is this correct? I get this impression because your questions are mostly around the MAM30_080 syncbo.
    Could you specify the exact problem you have a little more in detail?
    Sending notes,..... either you enhance a SyncBO. This is not to difficult and you do not have to do the complete basic ABAP development for your own. You still have to do some coding on the R3 side, but the SBUILDER stuff in the middleware is not necessary.
    On the other hand, you can easily develop your own SyncBO. This is perhaps the best solution in your case.
    Relation ships in SyncBOs are done with the cascading. See in SBUILDER for MAM30_001 - it has a relationship to MAM30_010 fo example. This is a process you do at design time. Here the MDK helps with some instructions about it. If you have an oject with a short text, just fill in the short t.ext, the long text is a splittedt structure inside the BO. If you want to see that, it is really simple:
    Create a notification on the device. Enter a long text with more then 500chars. Then save.
    You need to check the data structure on the device then. When yu open MAM from the MI home screen, the URL usually ends with /start. Change this to /start,jsp - in MAM30 this name has changed to /start_.....jsp,have a look into the project, you will find it - and you select the syncBO MAM30_010 on thqt screen. Then you see the complete data structure on your device. Search for your new created entry. Then you see that the long text is saved as a child structure and it has an index so ther backend can put it back to one long text in the correct order.
    The same way you have to go if you want to send some data that is longer then 250 Byte.
    Hope this helps to switch on some lights.
    Regards,
    Oliver

  • User add attachment from notification

    Hi
    I am using EBS R12, i need to allow user to add attachment from notification.
    This is the scenario:
    HR will submit workflow to user, this user will open the notification and the user must add attachment and then return it to HR. So can we do that?
    Thanks

    please see
    http://oracle-latest-technology.blogspot.com/2010/04/sending-attachment-using-oracle.html
    ApPsMaStI
    sharing is Caring

  • SRM 3.0 integration with XI 3.0 for Supplier enablement scenario

    Hi,
    Iam trying to integrate SRM 3.0 with <b>XI 3.0</b> for Supplier Enablement Scenario. Can anyone please help me with the documentation for the same? I have downloaded documentation for SRM from service.sap.com/ibc but it contains steps only for XI 2.0.
    Does anyone have the steps for XI 3.0?
    Thanks and Regards,
    Manish

    Vadim
          We are looking to integrate SRM 4.0 with R/3 ( ECC 5.0 ) using XI 3.0. I went to service marketplace to look for XI process content for SRM 4.0 - I could find XI content for SRM 2.0 only.
    1) Do you know where SAP pre-delivered XI 3.0 process content can be downloaded from ?
    2) Would you be having the cookbooks- possibly for all scenarios for SRM 4.0
    If you could forward /give pointers to the above , I would appreciate your help. My yahoo id is [email protected] 
    Thanks for your help in advance.

  • Add Attachment link doesn't open attachment window

    I'm trying to debug a custom page, written by someone else. It's in the recruitment module, and delivered subpages HRS_CE_A_RES_SBP and are included to allow attach/view/delete of attachments.
    When the Add Attachment link is clicked, it should open a window that lets the user enter a filename or browse, but on this custom page, nothing happens.
    Because the delivered code is unmodified, I suspect that there is some setup that hasn't been done. The component does contain table HRS_APP_ATTACH, which includes subrecord FILE_ATTACH_SBR. The component also contains record FILE_ATTACH_WRK.
    Can someone suggest my next step? Thanks.
    Mike
    HCM 9.0, PTools 8.49.20

    Generally Add attachment issues are enountered while setting up new regions for the reason URL not updated while setting up new region.
    In this table PSFILE_ATTDET a row is inserted temporarily with Oprid and deleted once the specified file is trasferred mentioned url successfully.
    Example: AddAttachment(&URL_ID, &ATTACHSYSFILENAME, &FILEEXTENSION, &ATTACHUSERFILE, &FILESIZE)
    works when &ATTACHUSERFILE =file-name and &URL_ID=gerurl(url.urlname) are given properly.Please check these parameters.

  • My gmail crashes when I add attachment same with facebook, what can I do to fix this?

    my gmail crashes when I add attachment same with facebook, what can I do to fix this?

    That is not an Apple or OS X issue, I'd suggest contacting the modem manufacturer to see what the issue might be.

  • Unable to Check ADD Attachment Check Box. Thereby getting only email and not the attachment (which will contain the output of BO report , in Excel Format)

    Post Author: hteoh
    CA Forum: Publishing
    I have an BO related issue. I tried to schedule a smtp event in BO to email the report output as Excel. Since this report will go to different users, I unchecked the Use the Job Server's defaults (CHECK BOX). For some reason, I can't check the Add Attachment(CHECK BOX). I received the email but without attachement. Do you know why I can't use attachment. The SMTP event works perfectly if I check Use the Job Server's defaults.

    Hi!
    Use the below code to populate the Sender and receiver mail ids:
    DATA GV_SENDER    TYPE SWC_OBJECT.    
    DATA GV_SENDER_ID LIKE SWOTOBJID.      
    SWC_CONTAINER LT_CONTAINER.
    reset data for CTCV
    CALL FUNCTION 'CTCV_INIT_USER_DATA'.
      Create sender using sender mail address from new table
        SWC_CLEAR_CONTAINER LT_CONTAINER.
        SWC_CREATE_OBJECT GV_SENDER    'RECIPIENT' SPACE.
        SWC_SET_ELEMENT LT_CONTAINER 'AddressString'
                                         ZMAIL-SENDER.
        SWC_SET_ELEMENT LT_CONTAINER 'TypeID' 'B'.
        SWC_CALL_METHOD GV_SENDER    'CreateAddress' LT_CONTAINER.
        IF SY-SUBRC NE 0.
             MESSAGE ID SY-MSGID TYPE 'E' NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4
                     RAISING SENDER_CREATION_FAILED.
        ENDIF.
        SWC_OBJECT_TO_PERSISTENT GV_SENDER GV_SENDER_ID.
    Similarly you can create the recipient mail id. Pass the GV_SENDER_ID to OPEN_FORM.
    Cheers!

  • How to add attachment in me21n ?

    Hi,
    i would like to add attachment (doc , excel...) while creating a manual PO ?
    I have seen the SAp icon but as far as i did understood the functionnality, you can just retrieve an already created document...
    How to add a new one directly in ME21N ?
    Kind regards,
    Yann

    You can attach manually any document to PO without using Document Management System ( DMS ) in SAP 4.6C.
    But you cannot attach document while you create PO in T/Code ME21N 
    Save you PO ( ME21N ) and again open with change ( ME22N ) then you can attach document through Service for Object button. Service for Object button available down side of Command screen ( in your PO screen ME22N ) 
    Click your Service Object button -> Create -> Create attachment 
    then select your window directory ( which file you need to attach) select your file Now your system shows message  Service "Create attachment" is started. 
    Save again your PO. You can see (open) your attachment in same field ( Service for Object ) select and Create and check attachment list. You can attach as many document in your PO.

  • ADD ATTACHMENT TO AUTO MAIL SENT DURING BIDDER CREATION

    HOW TO ADD ATTACHMENT TO AUTO MAIL SENT DURING BIDDER CREATION (CREATE CONTACT PERSON) IN SRM PORTAL..

    HOW TO ADD ATTACHMENT TO AUTO MAIL SENT DURING BIDDER CREATION (CREATE CONTACT PERSON) IN SRM PORTAL..

  • Add image to SharePoint Survey for multiple questions??

    Hi,
    How can i show a particular picture for group of questions in sharepoint 2010 survey? From following link i was able to add image for one question. so what i need to do if i want to add more questions with the same image?
    http://robdevereaux.wordpress.com/2013/08/09/how-to-add-pictures-to-a-survey/
    Thanks

    If you want to add images to multiple questions using the code at that link do something like:
    elements[e].innerHTML = elements[e].innerHTML
    .replace('CAR_IMAGE','<img src="/PATHTO/IMAGE/CAR.jpg"></img>')
    .replace('BOAT_IMAGE','<img src="/PATHTO/IMAGE/BOAT.jpg"></img>')
    .replace('PLANE_IMAGE','<img src="/PATHTO/IMAGE/PLANE.jpg"></img>');
    Also, if you would like to add a picture, text or formatting to every survey page in a survey with page breaks you will typically need to edit both the NewForm.aspx and EditForm.aspx pages using SharePoint Designer or by adding a Content Editor Web
    Part to both pages.
    Here's some of the other things like this I have done with surveys:
    http://techtrainingnotes.blogspot.com/2013/02/add-content-editor-web-part-cewp-to.html
    http://techtrainingnotes.blogspot.com/2010/07/sharepoint-add-instructions-and-color.html
    (and there's a chapter on surveys in my customization book.)
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • 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...

  • 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

  • Disable Add Attach Button in the Interactive PDF form

    Hi all,
    Can you please let me know if is possible to disable the Add Attachment Button for the interactive form?
    I need to show the attachment icon on the toolbar (setShowOption method from IWDPDFDocumentAppearance interface) but I need to disable the ability to add an attachment.
    Thanks in advance for your time.
    Regards,
    Mirco

    Hi Mirco,
    check below link may be it will help you
    Re: Disable Save Button in the Interactive PDF form

  • Add attachment to...

    When I use the mail action "Add attachment to..." it gives me the "An error (There is no outgoing message. (-2700)) occured in Add Attachments to Front Message.
    The error doesn't occur if I use the "New Mail Message" command. In fact the Add attachment command works on emails created with the New Mail command, but not if I create my own email!
    What I want to do is create a workflow that downloads a specific file off the web and adds that file to my email. While it would be simple enough to drag it, I really don't feel like looking up the site every day to get the new data. The workflow I made works great up until the moment it goes to Add the attachment, then it fails.
    Any help would be appreciated

    Sorry to "steal" the thread, but..
    Is there any way to ad music files and other things as attachment's or is it just possible with photos?

  • Add attachment in Equipment (LSMW)

    HI Expert,
    I have some equipments that have been created. Now I want to add attachment file to those equipments by changing the equipment (IE02).
    By manual method, I could add attachment in service for object button. But I have hundreds of equipment, so I want to make some kind of tool for that purpose.
    Does anyone know how to make LSMW tool for that purpose? Or is there any other way?
    Thanks before.
    Regards,

    Hi there,
    basically you have two options: SAP DMS with info records (as mentioned above) or object attachments (GOS).
    For SAP DMS you can work with LSMW, for GOS its not possible as far as I know.
    If you want to use GOS and mass-attach files, check out this thread for a program:
    Massive GOS Upload
    Kind regards,
    Andreas

Maybe you are looking for

  • Passing sql report query field value to hidden item in javascript

    I have sql report which has in each row one html button. Let us say that query SHOULD look like (two columns, to be easy to get the point): select 1 SECURITY_ID   , '<input type="BUTTON" value="Top10" onClick="javascript:Top10Click ('||SECURITY_ID||'

  • How to Select the duplicate records in the table

    Hi SELECT * FROM gin A WHERE A.sale_order_id IN ( SELECT sale_order_id FROM gin GROUP BY sale_order_id HAVING COUNT(sale_order_id)>1) AND A.ROWID!=MIN (ROWID)) ERROR at line 4: ORA-00934: group function is not allowed here Thanks Vikas Singhal

  • Delete Row in WAD layout for input ready query

    Hi All I am using WAD for planning applications.....when i execute the Web template, it is displaying the query in edit mode which is ok... i am able to edit and insert the records in layout but i didn't find any option for deleting row...i couldn't

  • Archiving model data in BPC 7.5 NW

    Hi expert Some of our models start to get big and we do not need all the data anymore. But, the business would like to archive the data in case they would need it later on. I am not talking about archiving audit data. I am talking about archiving dat

  • Email using too much memory

    My email usage is at 548mb although I've deleted most of the emails.  When I receive and delete emails, it still adds to the total usage.  I'm using an email account on a pop3server from my PC.  What can I do to dump the memory and prevent this from