Services for Object button in Sales Order

Hello Experts,
We are not getting Services for Object Button in Sales Orders. Actually we need to attach some documents to Sales Orders.
Thanks in advance.
Mamta.

Dear Friend,
If you are not getting Services for Object Icon in Sales Document, then follow this:
T-code - SU01 u2013 Here Enter User ID & click in change icon.
Then click on Parameters Tab & Add Parameter u2013 SD_SWU_ACTIVE. .
This will definitely solve your problem...
Thanks,
Jignesh mehta

Similar Messages

  • Idoc info in 'Services for Objects' when a sales order is created

    Hi Guys
    Could one of you remind me how to turn on the Idoc info in the 'Services for Objects' > workflow option.
    I know how to turn on the services for objects using the user profile and entering parameter id:SD_SWU_ACTIVE , parameter value: X.
    I am not able to see the Idoc number/info that was used to create the sales order. I can see all the information in WE05 but the sales order does not show me any history of having used the Idoc.
    When i go to sales order and select the services for objects option followed by workflow the system should show the IDOC number/info used to create this order.
    Your help will be appreciated.
    Thanks
    Manish
    Edited by: Comes Naturally on Feb 23, 2009 3:46 PM

    Hi,
    1. Configure the IDoc with message type ORDERS and basic IDoc type as ORDERS05 (You have to follow common step-by-step approach)
    2. Configure Message Control to automatically generate IDoc whenever a Sales Order is created. (I mean output type)
    So whenever a Sales Order is created, output type will generate an IDoc.
    Hope this information is useful.
    Regards,
    AK

  • Copy 'Services for Objects' from Quote to Order

    Can anyone tell me a way to copy 'Services for Object' from a Quote to an Order when the order is created via reference to the quote. For a simple case, lets say we have an excel sheet attached to the quote via/under Services for Objects. When we create a Sales Order with reference to that Quote I want the attached excel sheet to be visible under The 'Services for Object' of the Sales Order.
    Thanks in advance.

    Hi Mohanpreet,
    Have you craeted a new field BA for lead and activity?
    Is it also present in quotation and sales order?
    If the coupy contol from lead to opportunity does pass on the field details, they must also get transfered from opportunity to quotation and sales order. Maintain the copy contro settings properly.
    If the issue is still not resolved use BADI CRM_COPY_BADI for further enhancements.
    Wish this is helpful.
    Regards,
    Shalini Chauhan

  • Services for object button in change purchase order-ME22n

    Dear experts,
    In ECC6.0, me22n transaction in the change me22n screen, top left side "services for object" button is provided.
    It is provided to the left of the standard material po 480000009878 text line.
    I think it is useful for attaching the Files.
    I want to know in what way it is useful. Can we send the document to vendor , can it be possible to print along with purchase document.How it is useful.
    Advance thanks,
    Regards,
    Dayanand

    Hi Cheruku
    This button is used to attach any doument with the PO, or to check idoc status if PO is created via a Idoc or it has triggered any idoc extra.
    would like to know what is your exact query?
    regards
    Yogesh

  • 'services for object' button - menu items have to be grayed out

    Hi All,
    in Ecc6.0, in IW32 tcode,  left to the title bar there is an icon 'Services for Object' using which we can create new atatchments.
    My requirement is, based on a screen field value, that creating attachment and other options have to be grayed out.
    I am not able to find the function code for the 'Services for Object' button   in se41.
    Please help in solving this.
    Thanks,
    Pallavi.
    When I checked it in debugging mode, the Function codes are getting generated dynamically.
    the other thing is, even in IW33, the 'Display Orders' transactoin also, this button options are in enable mode.
    Can any one tell me is it possible in IW32 to disable the GUI status for the menuitems which we get by selecting the 'Services to Object' button.
    Thanks.
    Edited by: Nagapallavi V Adhikarla on Oct 5, 2010 8:31 AM

    Hello Mauro,
    Thanks for yr reply.
    That was the problem.
    Thanks again.
    Regards,
    Elly

  • Display GOS without click on 'Service for Object' button

    Please try the following step to figure out.
    1) VA03
    2) At header of report (on the left hand side of 'Display S/O SysB SDI xxxxxxxxx:Overview' ) has a button called 'Services for Object' (GOS)
    3) Click on that then it will popup icon menu set.  <--- Want this to be displayed when access VA03 by no need to click the button in 2)
    My requirement is I want this popup to be displayed suddenly after I access VA03 (no need to click on the Services for Object button anymore).
    <b>
    Could you please provide me any solution, function, example, similar case, etc. (based on 4.6c)?</b>
    Thank you all expert in advance.. I'll be here to provide you more information that need.

    I found the solution yet. Let me drop a note to be a memorandum.
    (1) Insert code into the last line of form <u>USEREXIT_READ_DOCUMENT</u> within report <u>MV45AFZZ</u>
    PERFORM UNITEXIT_READ_DOCUMENT.
    <b>*{   INSERT
    *[Display Attachment Service Automatically]
        DATA: lo_myobject  TYPE REF TO cl_gos_manager,
              lo_container TYPE REF TO cl_gui_custom_container,
              ls_object    TYPE borident.  "BOR Identifier
          ls_object-objkey  = vbak-vbeln.
          ls_object-objtype = 'BUS2032'.
          CREATE OBJECT lo_myobject.
          CALL METHOD lo_myobject->start_service_direct
                      EXPORTING ip_service   = 'VIEW_ATTA'
                                is_object    = ls_object
                                io_container = lo_container
                      EXCEPTIONS OTHERS          = 2.
    *[Display Toolbox]
        CALL METHOD lo_myobject->DISPLAY_TOOLBOX
                    EXPORTING  is_object       = ls_object
                               io_container    = lo_container
                    EXCEPTIONS OTHERS          = 2.
    *}   INSERT</b>
    ENDFORM.
    (2) Try open VA03 and insert attachment at Service for Object.
    (3) Reopen VA03, attachment list displayed suddenly.
    <i>Reference Source# SAP Library, search 'Starting Only One Service Directly'.</i>
    <b>NOTE:</b> You can use another relevant object by SE24 -> CL_GOS_MANAGER

  • Services for object buttons randomly disappearing from FB03

    Hello SAP Experts,
    We display an FI document via tcode FB03 (Display Document) and use the "services for object" buttons to attach documents via the "create attachment" button and also to view attached documents via the "attachment list" button.
    However, quite often when displaying the FI document after a document has been attached, the "services for objects" buttons are not displayed.  Just a blank toolbar appears.
    Later on the when the FI document is displayed again via tcode FB03 (Display Document), the "services for objects" buttons do appear and the attachments can then be displayed.
    As the attachments can be viewed sometimes, I would say that this issue is not related to security.
    Any idea's what maybe causing the "services for objects" buttons randomly disappearing???
    Regards,
    SAP Muppet

    Hello SAP Experts,
    Any ideas or comments here???
    Regards,
    SAP Muppet

  • Hide Services for Object button in PR05 Tcode

    Hi
    We have a requirement to hide the Services for Object Button in PR05 TCode. Is there any way to hide it. Is there any table that I have to update with any class.
    Thanks
    Arghadip

    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVOBS/BCSRVOBS.pdf
    The code is confidential due to client reqt:)))
    You can take care of this Link very useful
    http://help.sap.com/saphelp_nw04/helpdata/en/be/3fe63659241157e10000009b38f889/frameset.htm
    I made use of the table entries SGOSATTR after coding with the class.
    I hope this documentation should be kept by Wflow experts in their kitty:))).
    I did not have time to make a copy of my confidential code and edit it. I would be thankful if someone makes a simple implementation on this as I do not have a training server at this point.
    By the way my another question has not been answered yet no one is able to answer me the question that I asked which is a bit depressing. I expected some fruitful answer.
    Thanks
    Arghadip

  • Service For Objects Function/Button in BP - missing when performing BDC?

    Hi all,
        I'm currently working on a conversion program that creates Business Partners in the transaction BP by using CALL TRANSACTION. The first thing I did was to record the transaction in SHDB. My problem is, the Services for Object button is missing while Im recording in SHDB. It's also disabled in the menu path
    System->Services for Object.  I'm assuming then that it won't be there as well when performing the actual BDC. When using transaction BP online, it does appear though. Is there a way to make this functionality appear while performing BDC?

    Dear Vincent,
    Use FM 'SO_DOCUMENT_READ_API1' to retrieve the document.
    Reward points if it is helpful.
    Regards,
    Naveen.

  • Services for Object in delivery (VL01N, VL02N and VL03N)

    Hi,
    is there a way to get the Services for Object button also in delivery?
    For sales order I know, the parameter "SD_SWU_ACTIVE" needs to be added, but for delivery?
    Thank you for help,
    Florian

    Done by enabling user-parameter SD_SWU_ACTIVE.

  • Accessing attachments from 'services for object'

    I have been tasked with extracting data from external attachments from the 'services for object' button. I am working in an sap ecc 6.0  environment. I have not found any tips on how to do this from google searches.
    Here is an example. If you look at most of the major documents (purchase order, invoice, delivery, etc.) there will be a little dropdown icon in the upper left corner of the screen
    That icon is the 'Services for Object' button. Clicking on it will display a small popup window with several options including one for attached documents.
    If an attachment (could be word, excel, pdf, URL, etc.) exists it will show up and can be viewed by double clicking on it. Does anyone know how to access
    that attachment programatically?
    Thank you very much in advance.
    deepak

    Hi,
    Create a subroutine in your program and call the FM: SWU_OBJECT_PUBLISH as below:
    CALL FUNCTION 'SWU_OBJECT_PUBLISH'
        EXPORTING
          objtype           = gc_businessobj
          objkey            = gw_header-vbeln
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
    This will automatically display your Services for Object ICON on your report. Here in the FM, gc_businessobj is a global business object = BUS2031(defined as a constant inside the pgm) and gw_header-vbeln can be any valid document no like a sale order, inquiry, quotation etc.
    Use this code snippet and this will work.
    Regards,
    JLN

  • Attaching PDF files to PO in Services for Objects

    Hi Experts
    I have got a strange requirement. Upon creation of the Purchase order or after any changes done to the PO, I need print the form and store it into PDF format in the application server. Later I need to upload that file to Services for Objects , button which available on the top of PO, in the Left most one.
    Using that I need to attach the coverted PDF file to that. Everything should be done by the program in the background. Please advice is it possible, if it is possible please help me how to code for this requirement.
    Awaiting for your reply,
    Thanks
    Praveen
    Edited by: Praveen Kumar on Feb 4, 2010 4:25 AM
    Edited by: Praveen Kumar on Feb 4, 2010 5:43 AM

    FUNCTION z_mm_save_po_in_gos.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(PONUMBER) TYPE  EBELN
    *"  EXCEPTIONS
    *"      ERROR_OPEN_FORM
    *"      ERROR_CLOSE_FORM
      TYPES: BEGIN OF ty_message_key,
             foltp TYPE so_fol_tp,
             folyr TYPE so_fol_yr,
             folno TYPE so_fol_no,
             doctp TYPE so_doc_tp,
             docyr TYPE so_doc_yr,
             docno TYPE so_doc_no,
             fortp TYPE so_for_tp,
             foryr TYPE so_for_yr,
             forno TYPE so_for_no,
             END OF ty_message_key.
      INCLUDE : <cntn01>.
    * TABLES: ekko,
    *         lfa1,
    *         t001,
    *         pekko.
    * Load class.
      CLASS cl_binary_relation DEFINITION LOAD.
      CLASS cl_obl_object DEFINITION LOAD.
    **data declarations
      DATA: l_fstr   TYPE xstring,
            l_fsize  TYPE i,
            l_bsize  TYPE i,
            l_botype LIKE obl_s_pbor-typeid VALUE 'BUS2012', " e.g. 'BUS2012'
            l_bo_id  LIKE obl_s_pbor-instid," VALUE '4610000000'
            l_docty  LIKE borident-objtype VALUE 'MESSAGE',
            l_reltyp LIKE breltyp-reltype VALUE 'ATTA',
            lt_bin TYPE STANDARD TABLE OF char255 WITH HEADER LINE,
            lt_pdf TYPE TABLE OF tline,
            lv_message_key TYPE ty_message_key,
            lo_message TYPE swc_object,
            l_title    TYPE char30,
            lo_is_object_a TYPE borident,
            lo_is_object_b TYPE borident,
    *        lt_nast TYPE TABLE OF nast,
    *        lw_nast LIKE nast,
    *        l_nast  LIKE nast,
    *        l_druvo LIKE t166k-druvo,
    *        l_from_memory,
    *        l_doc   TYPE meein_purchase_doc_print,
    *        l_retcode TYPE i,
            lt_cdpos TYPE TABLE OF cdpos,
            lw_cdpos TYPE cdpos,
            lt_cdhdr TYPE TABLE OF cdhdr,
            lw_cdhdr TYPE cdhdr,
            l_flg,
    *        w_opt  LIKE ITCPO,
            l_text TYPE text60,
            lw_gos   TYPE zmm_gos,
            lr_chno  TYPE RANGE OF text60,
            lw_chno  LIKE LINE OF lr_chno,
            otf      TYPE TABLE OF itcoo.
        DATA: w_full TYPE string.
    **program will check only these values in the change history,
      lw_chno-sign = 'I' . lw_chno-option = 'EQ' .
      lw_chno-low = 'EKKO-FRGKE'. APPEND lw_chno TO lr_chno."Release Indicator: Purchasing Document
      lw_chno-low = 'EKKO-FRGZU'. APPEND lw_chno TO lr_chno."Release status
      lw_chno-low = 'EKKO-RLWRT'. APPEND lw_chno TO lr_chno."Total value at time of release
      lw_chno-low = 'EKET-MENGE'. APPEND lw_chno TO lr_chno."Scheduled Quantity
      lw_chno-low = 'EKPO-NETWR'. APPEND lw_chno TO lr_chno."Net Order Value in PO Currency
      lw_chno-low = 'EKPO-NETPR'. APPEND lw_chno TO lr_chno."Net Price in Purchasing
    *                                                        Document (in Document Currency)
      lw_chno-low = 'EKPO-BRTWR'. APPEND lw_chno TO lr_chno."Gross order value in PO currency
      lw_chno-low = 'EKPO-MENGE'. APPEND lw_chno TO lr_chno."Purchase Order Quantity
      SELECT SINGLE * FROM zmm_gos INTO lw_gos WHERE objectclas = 'EINKBELEG'
                                                   AND objectid = ponumber.
      IF sy-subrc EQ 0.
        IF lw_gos-changenr NE '1000000000'.
          SELECT * FROM cdpos INTO TABLE lt_cdpos
                          WHERE objectclas = lw_gos-objectclas
                            AND objectid   = lw_gos-objectid
                            AND changenr   GT lw_gos-changenr.
          IF sy-subrc EQ 0.
            LOOP AT lt_cdpos INTO lw_cdpos.
              CONCATENATE lw_cdpos-tabname lw_cdpos-fname INTO l_text
                          SEPARATED BY '-'.
              IF l_text IN lr_chno.
                l_flg = 'X'.
                EXIT.
              ENDIF.
              CLEAR: lw_cdpos,
                     l_text.
            ENDLOOP.
            IF l_flg = 'X'.
              DESCRIBE TABLE lt_cdpos.
              READ TABLE lt_cdpos INTO lw_cdpos INDEX sy-tfill.
              lw_gos-changenr = lw_cdpos-changenr.
              MODIFY zmm_gos FROM lw_gos.
              IF sy-subrc EQ 0.
                COMMIT WORK.
              ENDIF.
            ENDIF.
          ELSE.
            l_flg = space.
          ENDIF.
        ELSE.
          SELECT * FROM cdhdr INTO TABLE lt_cdhdr WHERE objectclas = 'EINKBELEG'
                                                 AND objectid   = ponumber.
          IF sy-subrc EQ 0.
            DESCRIBE TABLE lt_cdhdr.
            READ TABLE lt_cdhdr INTO lw_cdhdr INDEX sy-tfill.
            l_flg = 'X'.
            lw_gos-objectclas = lw_cdhdr-objectclas.
            lw_gos-objectid = lw_cdhdr-objectid.
            lw_gos-changenr = lw_cdhdr-changenr.
            MODIFY zmm_gos FROM lw_gos.
            IF sy-subrc EQ 0.
              COMMIT WORK.
            ENDIF.
          ENDIF.
        ENDIF.
      ELSE.
        SELECT * FROM cdhdr INTO TABLE lt_cdhdr WHERE objectclas = 'EINKBELEG'
                                                  AND objectid   = ponumber.
        IF sy-subrc EQ 0.
          DESCRIBE TABLE lt_cdhdr.
          READ TABLE lt_cdhdr INTO lw_cdhdr INDEX sy-tfill.
          l_flg = 'X'.
          lw_gos-objectclas = lw_cdhdr-objectclas.
          lw_gos-objectid = lw_cdhdr-objectid.
          lw_gos-changenr = lw_cdhdr-changenr.
        ELSE.
          l_flg = 'X'.
          lw_gos-objectclas = 'EINKBELEG'.
          lw_gos-objectid = ponumber.
          lw_gos-changenr = '1000000000'.
        ENDIF.
        MODIFY zmm_gos FROM lw_gos.
        IF sy-subrc EQ 0.
          COMMIT WORK.
        ENDIF.
      ENDIF.
    *  IF l_flg EQ space.
    *    l_flg = 'X'.
    *  ENDIF.
      IF l_flg NE space.
        DATA: memkey(10),
              memkey1(10).
        memkey = 'POOTF'.
        memkey1 = 'PONO'.
        EXPORT ponumber TO MEMORY ID memkey1.
        SUBMIT zmmr086 AND RETURN.
        IMPORT otf FROM MEMORY ID memkey.
        CHECK otf[] IS NOT INITIAL.
          import w_full from MEMORY ID 'REV'.
    **convert the otf data into xstring
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
          IMPORTING
            bin_filesize          = l_bsize
            bin_file              = l_fstr
          TABLES
            otf                   = otf[]
            lines                 = lt_pdf[]
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 3
            err_bad_otf           = 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.
    **create the object message retriveing the msg details
    *    swc_create_object lo_message 'MESSAGE' lv_message_key.
    ** define container to pass the parameter values to the method call
    *    swc_container lt_message_container.
    **creating the title for GOS
    *    WRITE sy-datum TO l_title.
    *    CONCATENATE ponumber l_title INTO l_title SEPARATED BY '_'.
    ** Populate container with parameters for method
    *    swc_set_element lt_message_container 'DOCUMENTTITLE' l_title.
    *    swc_set_element lt_message_container 'DOCUMENTLANGU' 'E'.
    *    swc_set_element lt_message_container 'NO_DIALOG' 'X'.
    *    swc_set_element lt_message_container 'DOCUMENTNAME' l_docty.
    *    swc_set_element lt_message_container 'DOCUMENTTYPE' 'PDF'.
    *    swc_set_element lt_message_container 'FILEEXTENSION' 'PDF'.
    **convert the file string into binary format
        CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
          EXPORTING
            buffer        = l_fstr
          IMPORTING
            output_length = l_fsize
          TABLES
            binary_tab    = lt_bin.
    *    swc_set_table lt_message_container 'DocumentContent' lt_bin.
    *    swc_set_element lt_message_container 'DOCUMENTSIZE' l_fsize.
    *    swc_refresh_object lo_message.
    *    swc_call_method lo_message 'CREATE' lt_message_container.
    *    swc_get_object_key lo_message lv_message_key.
    ***fill the object key details for purchase order
    *    lo_is_object_a-objkey = ponumber. "purchase order number
    *    lo_is_object_a-objtype = 'BUS2012'. "business object type
    ** Create attachment BO object_b
    *    lo_is_object_b-objkey = lv_message_key.
    *    lo_is_object_b-objtype = l_docty.
    *    CALL FUNCTION 'BINARY_RELATION_CREATE'
    *      EXPORTING
    *        obj_rolea      = lo_is_object_a
    *        obj_roleb      = lo_is_object_b
    *        relationtype   = l_reltyp
    *      EXCEPTIONS
    *        no_model       = 1
    *        internal_error = 2
    *        unknown        = 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.
    *    COMMIT WORK AND WAIT.
    *CONSTANTS: pc_file TYPE char128 VALUE '/usr/sap/DEV/DVEBMGS00/data/newdoc5.pdf'.
    *open DATASET pc_file for OUTPUT in BINARY MODE." IGNORING CONVERSION ERRORS.
    *IF sy-subrc eq 0.
    *  TRANSFER l_fstr to pc_file.
    *  IF sy-subrc eq 0.
    *    CLOSE DATASET pc_file.
    *  ENDIF.
    *ENDIF.
        CONCATENATE  ponumber sy-datum sy-uzeit w_full INTO w_full SEPARATED BY '_'.
        CONCATENATE 'C:\' w_full '.pdf' INTO w_full.
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
    *   BIN_FILESIZE                    =
            filename                        = w_full
            filetype                        = 'BIN'
    *   APPEND                          = ' '
    *   WRITE_FIELD_SEPARATOR           = ' '
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    *   WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    *   SHOW_TRANSFER_STATUS            = ABAP_TRUE
    * IMPORTING
    *   FILELENGTH                      =
          TABLES
            data_tab                        = lt_bin[]
    *   FIELDNAMES                      =
    * EXCEPTIONS
    *   FILE_WRITE_ERROR                = 1
    *   NO_BATCH                        = 2
    *   GUI_REFUSE_FILETRANSFER         = 3
    *   INVALID_TYPE                    = 4
    *   NO_AUTHORITY                    = 5
    *   UNKNOWN_ERROR                   = 6
    *   HEADER_NOT_ALLOWED              = 7
    *   SEPARATOR_NOT_ALLOWED           = 8
    *   FILESIZE_NOT_ALLOWED            = 9
    *   HEADER_TOO_LONG                 = 10
    *   DP_ERROR_CREATE                 = 11
    *   DP_ERROR_SEND                   = 12
    *   DP_ERROR_WRITE                  = 13
    *   UNKNOWN_DP_ERROR                = 14
    *   ACCESS_DENIED                   = 15
    *   DP_OUT_OF_MEMORY                = 16
    *   DISK_FULL                       = 17
    *   DP_TIMEOUT                      = 18
    *   FILE_NOT_FOUND                  = 19
    *   DATAPROVIDER_EXCEPTION          = 20
    *   CONTROL_FLUSH_ERROR             = 21
    *   OTHERS                          = 22
        IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ELSE.
          WRITE: 'File saved on PC'.
        ENDIF.
        FREE: l_fstr,
              l_fsize,
              l_bsize,
              l_botype,
              l_bo_id ,
              l_docty,
              l_reltyp,
              lt_bin,
              lt_pdf,
              lv_message_key,
              lo_message,
              l_title,
              lo_is_object_a,
              lo_is_object_b,
    *              l_doc,
    *              l_nast,
    *              lt_nast,
    *              lw_nast,
              lt_cdpos,
              lw_gos,
              lw_cdpos.
    *      ENDIF.
      ENDIF.
    *  ENDIF.
    ENDFUNCTION.
    plz chk and let me know if any issue.

  • Bulk Upload of Attachments (images) to an invoice (Services for object)

    Hi Gurus,
    We are trying to create some kind of program to mass upload scanned images of invoices to an invoice document. At the moment we do each document on its own, we create the attachment to an invoice using FB02, then access the services for objects menu & create attachment.
    Can anyone advise of a way of creating a program to upload these images to a document OR the name of the table where it keeps the location of the attchments.
    I hope that makes sense!

    How to add an attachment to a Purchase Order in SAP?
    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.
    Note: This is only information for internal or you can print separately this document for sending to vendor ( fax ) System will not print automatically along PO print out.

  • Services for Object in VF02 & VF03

    Hi All,
    Attaching a document through "Attachment list" option by the "Services for Object" icon in VF02. however some options are grayed out. Please read through for the explanation of the problem.
    1) Go to transaction VF02.
    2) Input a billing document and press Enter.
    3) Click on "Services for Object" button and a dropdown list opens which has the following options -:
    a. Create
    b. Attachment list
    c. Private Note
    d. Send
    e. Relationships
    f. Workflow
    g. My Objects
    h. Help for Object Services
    However the option "b" and "e" (i.e. Attachment list and Relationships) are grayed out. Can anyone please help on how to activate the above mentioned options. Is it done by BASIS team. Please help.
    PS: "Services for Object" icon is found exactly BELOW the "Enter" (green tick icon in the top left) button.
    Thanks & Regards,
    Himanshu Bhusan Sahoo.

    Hello,
    Please check the roles related to the below authorization object.
    Authorization Object  
    S_WFAR_OBJ          
    Value  
    NV          
    Value  
    VBRK          
    Value  
    YP3INVOICE          
    Value  
    03          
    archiving Related role will give you access to View the billing document in PDF.
    Thank you
    Regards
    Bala

  • My workflow is not listed in the GOS (Services for object)

    Hello Experts,
    I developed a workflow and linked the BO ZBUS2081. This is sub type of standard BO BUS2081. I am using the custom event INVOICEBLOCKED to trigger the workflow. The workflow is triggered propely when the invoce is created (with block) thru MIRO and I can see the workflow in SWEL or SWI6 or SWI14.
    But, the workflow is not listed in the services for objects button of the invoice display using MIR4.
    If I use the standard event 'BLOCKEDQUANT' as starting event, the workflow is triggered and I can view it in services for object.
    In the table SWW_WI2OBJ has all entries about the workflow triggered using standard event or custom event.
    How can I make the services for object in invoice list my workflow that was triggered using custom evet?
    Appreciate your help.
    Regards
    Siva S

    Hi Siva
    Thanks for marking this thread answered.....We are glad that your issue was solved :-) ....... But I do agree with Rick Bakker, the first correct answer was by Paul Bakker and I had just elaborated on that.
    Please mark the first correct answer as the "green" one.
    Regards,
    Modak

Maybe you are looking for