Adjustment using SPAU for Objects Without Modification Assistant

Hi
   How to adjust Objects under Without Modification Assistant.
For example if there is an issue with custom program or BAPI, do I have to manually edit them and adjust to old version.
Cheers
Senthil

Hi,
Tcode SPAU is for adjusting programs and Function Modules.
http://help.sap.com/saphelp_nw04/helpdata/en/2e/6d66617d9011d396b60000e82de14a/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/content.htm
SPAU - for repository Objects Changes
see the doc
SPAU
http://www.sap-img.com/bc018.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c6/068d380be34e6ce10000009b38f842/content.htm
http://help.sap.com/saphelp_46c/helpdata/EN/60/d6ba7bceda11d1953a0000e82de14a/content.htm
Please find below, answers to your questions:
1.What objects will come in SPAU and SPDD?
Ans: All the objects which are modified, after tansporting to the current system,
will be listed in SPAU and SPDD. SPDD contains the list of all modified Data Dictionary objects, like tables, dataelements, domains,view...etc. The rest of all the modified repository objects will be listed in SPAU.
What happens to the modifications done in the older version when we upgrade the version? (with Modification assistant and w/o)
Ans: After the initial upgrade happens, we have to do adjustments from SPAU/SPDD to maintain or reset the changes. That is, from the list of objects in SPAU/SPDD, you have to either carry forward the changes to the new version, by choosing the option ADOPT CHANGES (available on right click) or RESET TO ORIGINAL (available on right click).
Will they come in these transactions?
Ans: yes, they will be listed in these transactions, after the BASIS updgrade activity.
And what if we apply some patches(Notes) to the system? What is the impact of these patches to the SPAU transaction?
Ans: Patches will be supported by the version upgrade. In case of notes, we have to verify whether these notes are supported by the new version (you can go into http://www.service.sap.com/notes to verify this. Also, we have to analyze whther the code in the note is already incorporated in the new version. In this case you can ignore the chanes choosing RESET TO ORIGINAL option
http://help.sap.com/saphelp_erp2005vp/helpdata/en/2e/6d66587d9011d396b60000e82de14a/frameset.htm
If you have applied any OSS notes to objects in your system, the hot package may overwrite these objects.
SPDD is used to identify dictionary objects
and
SPAU (repository objects), will identify any objects where the hot package is overwriting changes you have made through OSS notes.
You must check all objects identified in SPAU and decide whether you need to reapply the OSS note or reset the code to the original SAP Code.
Also once the changes have been done you would see a green traffic light.
If you double click on the modified object it will show you a split window where on the left you will have the original version and on right the modified version. So you can choose which to keep and which to reject. You may keep the modified version incases where you know that the notes will only be pakages in the next version.
http://help.sap.com/saphelp_47x200/helpdata/en/2e/6d66647d9011d396b60000e82de14a/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/2e/6d66647d9011d396b60000e82de14a/frameset.htm
http://www.sap-img.com/bc018.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c6/068d380be34e6ce10000009b38f842/content.htm
http://help.sap.com/saphelp_46c/helpdata/EN/60/d6ba7bceda11d1953a0000e82de14a/content.htm
http://www.sap-img.com/bc018.htm
http://www.sappoint.com/oss/spamspau.html
http://help.sap.com/saphelp_nw04/helpdata/en/fe/4b284837bf11d5b3bf0050dae02d7c/content.htm
http://help.sap.com/saphelp_webas620/helpdata/en/83/7a18ecde6e11d195460000e82de14a/content.htm
http://64.233.167.104/custom?q=cache:nJasGnXhh4sJ:www.asug.com/client_files/Calendar/Upload/SAP%2520Upgrade%2520Lessons%2520Learned.ppt+spau(SAP)&hl=en&ct=clnk&cd=5&ie=UTF-8&client=pub-3723304925932908
Also the following link is very good
http://www.sapgenie.com/basis/starter.htm
Regards,
Naresh

Similar Messages

  • SPAU issues with: Without Modification Assistant: No versions found

    Hi,
    We have upgraded from SAP 4.7 to SAP ECC 6 with Unicode.
    After the upgradation we have started working with SPAU objects.
    Currently I am working on SPAU: Without Modification Assistant.
    I have gone though some docs in those they have asked to compare the versions using Version Management options.
    But when I am tiring to check the Version Management for many of the objects I am getting the message: No versions found
    Some of the objects are for which I am getting the message No versions found are as follows :
    Selection Views :     SAPBRFSTANDARD                 100789       23.12.2010 ABCK900506
    Programs :RM06BF00                       Collective Release of Purchase Requisitions
    Transactions          FEBA                 A_1234     13.07.2006 XYZK906487           Postprocess Electronic Bank Statmt
    Transaction Variants          O4_TIGER1                      D_ABCD      18.06.2005 AB5K901250
    Screen Variants           O4_TIGER1_0999                 D_ABC      18.06.2005 AB5K901250
    Message Classes    38                   General Basis: ABAP Runtime Environment
    Maintenance and Transport Objects          J_1IEWT_ACKNS                  D_ABCDE 27.06.2008 ABC3910542
    Request you to check and let us know how to proceed.
    Thanks and Regards,
    Prem.
    <personal information removed by moderator>
    Edited by: Thomas Zloch on Jan 18, 2011 12:43 PM

    Hi,
    in SPAU you will be getting three things..
    1>Green light 2>yellow light and 3>Red light
    when the upgrade takes place if you see any object under Green that means the changes are automatically carried to the new version from older version
    for yellow it has done partially and for red you need to do manually copying the code to the new version.
    You have an option is "RESET to original" if you do this , the code will be reset to what SAP provided in the new version. Your old code won't be there.
    Please go through the below link to understand about SPAU and SPDD.
    http://help.sap.com/saphelp_nw04s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/content.htm
    Regards,
    Nagaraj

  • Spau without modification assistant

    Hye all,
    Im into upgradation project, In spau tcode > without modification assistant> programs, when im going for version management its displaying some 10 modified versions of tht program, now my Q is that from tht versions which i have to keep in my new version?
    Full points will be rewarded.
    Thanks,
    Vibha

    hi,
        you have to compare with the version which is existed currently in Production(old version) and the latest one.
    sudheer.A

  • With and without modification assistant

    when we do upgrade and in teh upgraded version we can find some objects under modification assistant and some under without modidfication assistant when we run the tcode SPAU..as an abaper what is that we have to do with those objects..Could any one let me know the steps that  i have to do with those objects??

    check.. may be useful...
    We have received many errors and it was really pain to go thruogh each and every error....top of that APO is not giving you vary specific error or some times there are no verbitze for the error..
    Follow the steps below will help you lot
    Extract the time series to an Info cube before the upgrade
    Upgrade the system
    De-initialie and Reinitialize the DP/SNP Planning area
    Reload the Time series following the upgrade
    Adjust the Like profiles
    If Old like profile to be used then must assign the planning area to every like profile
    If Existing LIKE profile cannot be assigned to several planning area, You must create the LIKE profile for second planning area manuallt with new name
    Adjust the Phase-In/Out profile
    If Existing Phase-In/Out profile cannot be assigned to several planning area, You must create the Phase-In/Out profile for second planning area manuallt with new name
    Adjust the assignment table ( /SAPAPO/FCST_LC was replaced by /SAPAPO/FCST_LC1)
    Activate all Infocubes by executing the RSDG_CUBE_ACTIVATE report
    Check/Adjust the palnning area Data source
    Convert the Note Anchor tables - Execute /SAPAPO/TS_NOTES_CONVERT_40 Report
    If inconsistence - execute /SAPAPO/TS_GEN_DOCTAB_CHECK report
    Check the converted notes for interactive planning
    You must create the DB tables for the planning object structure/planning area - using taransction /SAPAPO/RLGCOPY
    Realignment and copying steps must be stored in new DB tables
    Adjust planning object ID with /SAPAPO/TS_D_OBJECTS_COPY

  • Modification assistant vs without modification assistant

    Hello All,
    Can any one explain what is the difference between them?
    Thanks,
    Vibha

    hi
    <b>Modifications With the Modification Assistant</b>
    If the object has not been adjusted in transaction SPAU, a traffic light appears in front of the object. In the Modification Browser these objects are highlighted. When using Reset to original the active version on the database is confirmed as the new original version. The object remains unchanged. Only the modification data is deleted. When using Modification adjustment the version imported in the last upgrade or Support Package is saved in the modification logs as original. In addition, there are the modifications from the adjustment. The Modification Browser (transaction SE95) gives an overview of these modifications.
    If the object has been adjusted, in SPAU either a green checkmark or a stop sign appears in front of the object. If an adjusted object is reset to original, the active version is replaced by the original version saved in the modification logs. The modifications made using the Modification Assistant are lost when you Reset to original.
    You can use Reset to original in the category With Modification Assistant also for objects that are contained in note corrections.
    Already adjusted data elements cannot be reset to the original version. Edit the data element in the ABAP Dictionary to restore the desired status. You can make use of the version administration to do this.
    <b>Modifications Without Modification Assistant, Translations, Migration Objects</b>
    If the object appears in the tree in one of the categories Without Modification Assistant, Translations or Migration Objects, always the active version becomes the original version when you use Reset to original. The modification log is deleted, independent of whether the object has been adjusted or not. The object itself remains unchanged. If the object has been adjusted, the user gets a warning message. Unlike with objects supported by the Modification Assistant, the original version no longer exists. The modified active version is confirmed as original version.
    regards
    ravish
    <b>dont forget to reward points if helpful</b>

  • I am unable to use services for objects  while creating a PO

    Hi All,
    I am unable to use services for objects  while creating a PO ie in me21n / Me22n .
    Our client wants to attach some doucument along with the PO, we want to use services for object for this. I use this services for objects in admin level , but unable to use this at user level. 
    System gives the following message
    No service available
    Message no. SGOS_MSG002
    Regards
    Gsg

    Hi,
    Refer the following OSS notes 552127, 598073
    For getting Object for services icon in ME21N and ME51N refer OSS note 913251

  • Mass upload Create External doc URLs using Services for object-Inspmethod

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data 9Insp plan/Material master etc..)

    Developing the program

  • Mass upload Create External doc URLs using Services for object-Materialmast

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data ex.Material master.

    ok

  • WITHOUT MODIFICATION ASSISTANT

    what exactly does without modification assistant do and how different is it from with modification assistant.
    please give more emphasis on without modification assistant part.
    it's urgent

    what exactly does without modification assistant do and how different is it from with modification assistant.
    please give more emphasis on without modification assistant part.
    it's urgent

  • Using SPAU for custom development

    Hi Guys,
    take the following szenario:
    We have Development system A and a copy of this system Development system B. Where B is the project system. In the time the systems A and B will be enhanced using different development. At one point in time the developments from system B should be merged with system A. Could this merge be done using some similar functionality like the SPAU after SAP-Upgrade to ensure the developments with origin in A and developments with origin in B are compared and amended in the right way ?
    Thanks for any idea in managing this.
    Best regards,
    André

    ok a small excourse on SPAU.
    When transporting a transport request into the system (same for hot-packages or release-change), a new version is beeing put into the version managment of the referred object.
    SPAU compares the active versions with the ones which got transported.
    Problem at this edge is that SPAU just scans for modifications.
    Modifications are changes to SAP-Standard objects. SPAU just checks for differences in SAP object.
    Objects in customer name room, x or y will be ignored.
    Thats why i dont think you can use SPAU.
    BUT well you could copy the SPAU, and then reprogramm it a way it will not ignore x and y objects.
    When SPAU is done and all is fine, THEN you transport the things to test and productive Server.
    Edited by: Florian Kemmer on May 20, 2008 3:20 PM

  • While using Status for Object button it is taking more than 15 mins to open

    Hi Gurus,
    We are trying to attach documents to ZBOS & OR types sales documents , while opening the Status for Object button of the sales order it is taking more than 15 mins to open , once it is opened it is working as normal.
    can you please let us know is it the system functionality because of which it is taking so much time to open or the problem  is with  something else.
    please let us also know whether it is  system impacting process.
    We are using 4.6C.
    Thank You,
    Boyeni.

    Hi Syed ,
    Greetings!!!...
    Thank you very much for your Swift response!.
    could you be so kind to let me know The Program that needs to be refreshed.
    Thank You once again for your Assistance.
    Boyeni.

  • Attachments to Notifications - using "Services for Object"

    Hi All,
    I have sucessfully created a VC application (7.0 sp13) to create a General Notification in R/3
    using the BAPI -  IQS4_CREATE_NOTIFICATION
    Our users in R/3 4.7 use the button in the Top Left Hand corner of the Screen "Services for Object"
    to attach MS Word documents to Notifcations. Using the Create Attachment option from the Services for Object toolbar that pops up when the button is clicked.
    Has anyone else tried this or have any advice on how this can be done in VC - if you can recommend a BAPI that I can try or will this be a custom ABAP BAPI.
    Thanks in advance for any advice you can offer.
    - Robert

    FUNCTION z_pm_attachment_and_url.
    *"*"Interface local:
    *"  IMPORTING
    *"     VALUE(I_QMNUM) TYPE  QMNUM OPTIONAL
    *"     VALUE(I_AUFNR) TYPE  AUFNR OPTIONAL
    *"     VALUE(I_URL) TYPE  SO_URL OPTIONAL
    *"     VALUE(I_FILE) TYPE  ZPMCT002 OPTIONAL
    *"     VALUE(I_FILENAME) TYPE  STRING OPTIONAL
    *"  TABLES
    *"      T_RETURN STRUCTURE  BAPIRET2
    * Objetos locais
      DATA:
        vl_url         TYPE so_url,
        vl_path        TYPE string,                             "#EC NEEDED
        vl_loopc       TYPE sy-loopc,
        vl_lines       TYPE sy-loopc,
        vl_filename    TYPE string,
        vl_filelength  TYPE i,
        it_url         TYPE STANDARD TABLE OF sood-objdes,
        it_obj_cont    TYPE STANDARD TABLE OF solix,
        wa_obj         TYPE borident,
        wa_obj_cont    TYPE soli,
        wa_obj_data    TYPE sood1,
        wa_folder_id   TYPE soodk,
        wa_document_id TYPE sofmk.
      DEFINE valida_retorno.
        loop at t_return into t_return.
          if t_return-type eq zgtpm_e.
            exit.
          endif.
        endloop.
        if t_return-type eq zgtpm_e.
          exit.
        endif.
      END-OF-DEFINITION.
    * === Valida parâmetros de entrada
      IF i_qmnum IS INITIAL AND i_aufnr IS INITIAL.
    *   Nenhum objeto informado: Informe Nota ou Ordem de Manutenção
        PERFORM mensagem_retorno_tab
        USING
          'ZPM_PORTAL' zgtpm_e '055' '' '' '' ''
        CHANGING
          t_return[].
        EXIT.
      ELSEIF NOT i_qmnum IS INITIAL AND NOT i_aufnr IS INITIAL.
    *   Informe apenas um objeto: Nota ou Ordem de Manutenção
        PERFORM mensagem_retorno_tab
        USING
          'ZPM_PORTAL' zgtpm_e '054' '' '' '' ''
        CHANGING
          t_return[].
        EXIT.
      ENDIF.
      IF  i_url IS INITIAL
      AND i_filename IS INITIAL.
    *   Informe Anexo e/ou URL
        PERFORM mensagem_retorno_tab
        USING
          'ZPM_PORTAL' zgtpm_e '060' '' '' '' ''
        CHANGING
          t_return[].
        EXIT.
      ENDIF.
    * === Define Categoria de objeto
      IF NOT i_qmnum IS INITIAL.
        wa_obj-objkey  = i_qmnum.
        wa_obj-objtype = 'BUS2038'. " Nota PM
      ENDIF.
      IF NOT i_aufnr IS INITIAL.
        wa_obj-objkey  = i_aufnr.
        wa_obj-objtype = 'BUS2007'. " Ordem de manutenção
      ENDIF.
    * === Anexo
      IF NOT i_filename IS INITIAL.
    *   Conteúdo do arquivo
        IF NOT i_file[] IS INITIAL.
          it_obj_cont[] = i_file[].
          DESCRIBE TABLE it_obj_cont LINES vl_lines.
          READ TABLE it_obj_cont INTO wa_obj_cont INDEX vl_lines.
          vl_filelength =
            ( 255 * ( vl_lines - 1 ) ) + STRLEN( wa_obj_cont ).
        ELSE.
          CALL FUNCTION 'GUI_UPLOAD'
               EXPORTING
                    filename                = i_filename
                    filetype                = 'BIN'
               IMPORTING
                    filelength              = vl_filelength
               TABLES
                    data_tab                = it_obj_cont
               EXCEPTIONS
                    file_open_error         = 1
                    file_read_error         = 2
                    no_batch                = 3
                    gui_refuse_filetransfer = 4
                    invalid_type            = 5
                    no_authority            = 6
                    unknown_error           = 7
                    bad_data_format         = 8
                    header_not_allowed      = 9
                    separator_not_allowed   = 10
                    header_too_long         = 11
                    unknown_dp_error        = 12
                    access_denied           = 13
                    dp_out_of_memory        = 14
                    disk_full               = 15
                    dp_timeout              = 16
                    OTHERS                  = 17.
          IF sy-subrc <> 0.
            PERFORM mensagem_retorno_tab
            USING
             sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
            CHANGING
              t_return[].
            EXIT.
          ENDIF.
        ENDIF.
    *   Pasta de Destino
        PERFORM get_folder CHANGING wa_folder_id t_return[].
        valida_retorno.
    *   SAPoffice: definição do objeto, modificar atributos
        wa_obj_data-objla  = sy-langu.      " Idioma
        wa_obj_data-objsns = 'O'.           " Objeto confidencial
        wa_obj_data-objlen = vl_filelength. " Tamanho conteúdo documento
        wa_obj_data-ownnam = sy-uname.      " Nome proprietário
        CALL METHOD cl_report_viewer=>split_path_filename
        EXPORTING
          i_filename = i_filename
        IMPORTING
          e_path     = vl_path
          e_filename = vl_filename.
        SPLIT vl_filename AT '.' INTO
          wa_obj_data-objdes    " Descrição breve do conteúdo
          wa_obj_data-file_ext. " Extensão de file de uma aplicação PC
        CONDENSE wa_obj_data-file_ext NO-GAPS.
    *   Insere Objeto (Anexo)
        PERFORM object_insert
        USING
          'EXT' " Anexo
          wa_obj_data
          wa_folder_id
          it_obj_cont
        CHANGING
          wa_document_id
          t_return[].
        valida_retorno.
    *   Relacionamento Objeto PM x Anexo
        PERFORM relation_create
        USING
          'ATTA'
          wa_obj
          wa_document_id
        CHANGING
          t_return[].
        valida_retorno.
      ENDIF.
    * === URL
      IF NOT i_url IS INITIAL.
    *   Inicializa estruturas comuns a Anexo e URL
        CLEAR:
          it_obj_cont,
          wa_obj_cont,
          wa_obj_data,
          wa_folder_id,
          wa_document_id.
    *   Conteúdo da URL
        MOVE i_url TO vl_url.
        WHILE NOT vl_url IS INITIAL.
          CONCATENATE '&KEY&' vl_url(250) INTO wa_obj_cont.
          APPEND wa_obj_cont TO it_obj_cont.
          SHIFT vl_url LEFT BY 250 PLACES.
        ENDWHILE.
    *   Pasta de Destino
        PERFORM get_folder CHANGING wa_folder_id t_return[].
        valida_retorno.
    *   SAPoffice: definição do objeto, modificar atributos
        wa_obj_data-objla  = sy-langu. " Idioma
        wa_obj_data-objsns = 'O'.      " Objeto confidencial
        wa_obj_data-ownnam = sy-uname. " Nome proprietário
        SPLIT i_url AT '/' INTO TABLE it_url.
        DESCRIBE TABLE it_url LINES vl_loopc.
        READ TABLE it_url INDEX vl_loopc
        INTO wa_obj_data-objdes. " Descrição breve do conteúdo
    *   Insere Objeto (URL)
        PERFORM object_insert
        USING
          'URL'  " Link Inter/Intranet
          wa_obj_data
          wa_folder_id
          it_obj_cont
        CHANGING
          wa_document_id
          t_return[].
        valida_retorno.
    *   Relacionamento Objeto PM x URL
        PERFORM relation_create
        USING
          'URL'
          wa_obj
          wa_document_id
        CHANGING
          t_return[].
        valida_retorno.
      ENDIF.
    * === Libera objetos locais
      FREE:
        vl_url,
        vl_path,
        vl_loopc,
        vl_lines,
        vl_filename,
        vl_filelength,
        it_url,
        it_obj_cont,
        wa_obj,
        wa_obj_cont,
        wa_obj_data,
        wa_folder_id,
        wa_document_id.
    ENDFUNCTION.
    ***INCLUDE LZGPM0010F01 .
    *&      Form  mensagem_retorno_tab
      FORM mensagem_retorno_tab
      USING
        p_msgid TYPE symsgid
        p_msgty TYPE symsgty
        p_msgno TYPE symsgno
        p_msgv1 TYPE any
        p_msgv2 TYPE any
        p_msgv3 TYPE any
        p_msgv4 TYPE any
      CHANGING
        t_return TYPE ty_return.
        DATA:
          vl_msgty  TYPE symsgty,
          wa_return LIKE LINE OF t_return.
        IF p_msgty IS INITIAL.
          MOVE zgtpm_e TO vl_msgty.
        ELSE.
          MOVE p_msgty TO vl_msgty.
        ENDIF.
        IF p_msgno IS INITIAL.
          EXIT.
        ENDIF.
        MOVE p_msgid  TO wa_return-id.
        MOVE vl_msgty TO wa_return-type.
        MOVE p_msgno  TO wa_return-number.
        MOVE p_msgv1  TO wa_return-message_v1.
        MOVE p_msgv2  TO wa_return-message_v2.
        MOVE p_msgv3  TO wa_return-message_v3.
        MOVE p_msgv4  TO wa_return-message_v4.
        MESSAGE ID p_msgid TYPE vl_msgty NUMBER p_msgno
        WITH p_msgv1 p_msgv2 p_msgv3 p_msgv4
        INTO wa_return-message.
        APPEND wa_return TO t_return.
        FREE: vl_msgty, wa_return.
      ENDFORM.                    " mensagem_retorno_tab
    *&      Form  get_folder
      FORM get_folder
      CHANGING
        w_folder_id TYPE soodk
        t_return TYPE ty_return.
        CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
             EXPORTING
                  region    = 'B'  " ?
             IMPORTING
                  folder_id = w_folder_id
             EXCEPTIONS
                  OTHERS    = 1.
        IF sy-subrc <> 0.
          PERFORM mensagem_retorno_tab
          USING
           sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          CHANGING
            t_return[].
        ENDIF.
      ENDFORM.                    " get_folder
    *&      Form  object_insert
      FORM object_insert USING
        p_objtp     TYPE so_obj_tp
        w_obj_data  TYPE sood1
        w_folder_id TYPE soodk
        t_obj_cont  TYPE zpmct002
      CHANGING
        w_document_id TYPE sofmk
        t_return      TYPE ty_return.
    *   Objetos locais
        DATA:
          it_objcont  TYPE STANDARD TABLE OF soli,
          it_obj_head TYPE STANDARD TABLE OF soli,
          wa_obj_id   TYPE soodk,
          wa_obj_cont LIKE LINE OF t_obj_cont.
    *   RAW to CHAR
        LOOP AT t_obj_cont INTO wa_obj_cont.
          APPEND wa_obj_cont TO it_objcont.
          CLEAR wa_obj_cont.
        ENDLOOP.
    *   Insere objeto
        CALL FUNCTION 'SO_OBJECT_INSERT'
             EXPORTING
                  folder_id                  = w_folder_id
                  object_type                = p_objtp
                  object_hd_change           = w_obj_data
                  owner                      = sy-uname
             IMPORTING
                  object_id                  = wa_obj_id
             TABLES
                  objhead                    = it_obj_head
                  objcont                    = it_objcont
             EXCEPTIONS
                  active_user_not_exist      = 1
                  communication_failure      = 2
                  component_not_available    = 3
                  dl_name_exist              = 4
                  folder_not_exist           = 5
                  folder_no_authorization    = 6
                  object_type_not_exist      = 7
                  operation_no_authorization = 8
                  owner_not_exist            = 9
                  parameter_error            = 10
                  substitute_not_active      = 11
                  substitute_not_defined     = 12
                  system_failure             = 13
                  x_error                    = 14
                  OTHERS                     = 15.
        IF sy-subrc = 0.
          w_document_id-foltp = w_folder_id-objtp.
          w_document_id-folyr = w_folder_id-objyr.
          w_document_id-folno = w_folder_id-objno.
          w_document_id-doctp = wa_obj_id-objtp.
          w_document_id-docyr = wa_obj_id-objyr.
          w_document_id-docno = wa_obj_id-objno.
        ELSE.
          PERFORM mensagem_retorno_tab
          USING
           sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          CHANGING
            t_return[].
        ENDIF.
    *   Libera objetos locais
        FREE:it_objcont, it_obj_head, wa_obj_id, wa_obj_cont.
      ENDFORM.                    " object_insert
    *&      Form  relation_create
      FORM relation_create
      USING
        p_relationtype TYPE binreltyp
        w_obj          TYPE borident
        w_document_id  TYPE sofmk
      CHANGING
        t_return TYPE ty_return.
        DATA wa_doc TYPE borident.
        wa_doc-objtype = 'MESSAGE'.
        CASE p_relationtype.
          WHEN 'ATTA'.
            wa_doc-objkey  = w_document_id(34).
          WHEN 'URL'.
            wa_doc-objkey  = w_document_id.
          WHEN OTHERS.
        ENDCASE.
        CALL FUNCTION 'BINARY_RELATION_CREATE'
             EXPORTING
                  obj_rolea      = w_obj
                  obj_roleb      = wa_doc
                  relationtype   = p_relationtype
             EXCEPTIONS
                  no_model       = 1
                  internal_error = 2
                  unknown        = 3
                  OTHERS         = 4.
        IF sy-subrc = 0.
          COMMIT WORK AND WAIT.
          CASE p_relationtype.
            WHEN 'ATTA'.
    *         O anexo foi criado com êxito
              PERFORM mensagem_retorno_tab
              USING
                'SGOS_MSG' zgtpm_s '043' '' '' '' ''
              CHANGING
                t_return[].
            WHEN 'URL'.
    *         A URL foi criada com êxito
              PERFORM mensagem_retorno_tab
              USING
                'ZPM_PORTAL' zgtpm_s '059' '' '' '' ''
              CHANGING
                t_return[].
            WHEN OTHERS.
          ENDCASE.
        ELSE.
          PERFORM mensagem_retorno_tab
          USING
           sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
          CHANGING
            t_return[].
        ENDIF.
        FREE wa_doc.
      ENDFORM.                    " relation_create
    Edited by: Fabrício Alves Vieira on Apr 8, 2008 3:08 PM

  • How to use only for scanning without installing printer cartridge

    I have an old all in one and want to use it only for scanning without installing printer cartridge. I get the red signal of no i9nk and "E" msg in copy no button. If I give scanning request from HP solutions centre I get an error message " An error occured while communicating with thescanning device"

    Hello , Welcome to the HP Community! I understand that you are trying to scan on your HP Deskjet F380 All-in-One Printer without having cartridges installed. I'd like to shed a little light on this for you. Some HP printers are able to scan without ink installed, but most do not. If the cartridge lights on the product are blinking and there is an "E" in the copies window, then the printer is in an error state and will not function until cartridges are installed. If the printer is in an error state, that would describe the message you are getting that "An error occured while communicating with the scanning device", as the printer would not respond when prompted by the software. You can check the blinking light combination on the printer and follow the steps in this document to resolve the error state and continue using the device.Blinking Lights on the HP Deskjet F300 All-in-One Printer Series Hope this helps!Thanks so much for posting.

  • How can I use iCloud for storage without duplication problems?

    I recently set up iCloud to use on my Mac and PC.  With the exception of a single data file that I have stored in the cloud (as a working data file) that I use both on my Mac and PC....I want to use the rest of my 20 gigs of space on iCloud for storage/backup purposes only.  However, I have very little experience with iCloud; and it doesn't seem entirely intuitive to use iCloud.
    For example, if I store all of my music and pictures on iCloud, how do I stop Itunes and iphoto from duplicating the results of each music and picture file in those programs?  I ask this question because I have seen iTunes act up way too many times (in other circumstances) when it creates duplicate music files.
    Just to be clear, I want everything to remain on my local hard drive.  I only want to use iCloud for storage/backup only.  So, again, how do I stop iTunes and iPhoto from reading music and photo files once I successfully get them on iCloud?  (I am thinking I have to hide the archived files once I get them in iCloud, but unsure about how I go about doing that).  And here's my second question.  To upload my personal music and picture files to iCloud, can I simply drag and drop them into the iCloud drive on my computer and assume they will be successfully uploaded?
    My second question seems kind of basic too.  But, once again, iCloud does not seem entirely intuitive to use for a beginner.  For example, I recently purchased some music from the Itunes store.  And while I have it downloaded on my harddrive (like I wanted it)......I don't see it on the iCloud drive (on my computer)....nor do I see it when I log into icloud.com on the web site.  Thanks for any replies.

    If you have a Mac signed into your account running iPhoto, you might want to check iPhoto>Preferences>iCloud to make sure Automatic Upload isn't checked.  If it is checked, all new photos added to iPhoto are automatically added to your photo stream.

  • Attaching a document to notification using service for object

    hellow members,
    i look for a table to let me know if a document
    is attached to specific object (in my case it"s
    a notification).
    best regards,
    avi
    Edited by: avi koren on Jul 16, 2008 9:40 AM

    Hellow Johannes,
    thank you for your repling.
    i don"t think that this is the direction.
    In lots of objects in the SAP like a notification or a material,a button call "service for object" is available provide
    some functions like
    document attaching.
    How i can see this attachments?
    I think that the answer should be close to the table SOOD.
    regards,
    avi

Maybe you are looking for

  • 8mm Camcorder transfer to DVD using Roxio

    Hello. I am looking for an economical way of moving 8mm Camcorder tapes to DVD. From some research, it seems that the Roxio program, in conjunction with the DVD recorder in my iMac will do this. I would appreciate if anyone that has information on th

  • Create table of type integer

    How can we create a table of type integer in MDM. (what the code should be?) When I create a table, it only allows type Text. Thanks

  • Display only the last record per material in SAP query

    Hi, I have created a SAP Query using the quickviewer that is a join between 2 tables (MSEG and MKPF) that consist of material document information and date of posting. The results are fine however I would like only the last record per material to be

  • Message IW437

    Hi, there is one message IW437 for defining that the date used in order as basic start or finish date is a working day or not. the setting is maintained in factory calender. Can we change the message control i.e now it is coming as warning message ,

  • Typical scenario- urgent reply,,,

    Hi All, I  have a requirement- we get damaged products into plant- and we do value addition to the damaged product and sent it as a finished product to the customers, also we dont want to valuate it at plabt level as its customer product. And to that