Copy Variants between Web Templates

Experts,
Our users access all BI Reports via the SAP Portal.  The reports are published using Web Templates (developed using the Web Application Designer).  We are on BW 7.0 EHP 1.
My question relates to Variants created on the web templates.  Is there a way to copy variants from one web template to another, if the templates are based off of the same query?  I can see that the web template variants are in SE11 table RSRPARAMETRIZA.  But I am not able to see a way to copy them from one template to another.  Any thoughts?  Thanks!
Jose

Experts,
Our users access all BI Reports via the SAP Portal.  The reports are published using Web Templates (developed using the Web Application Designer).  We are on BW 7.0 EHP 1.
My question relates to Variants created on the web templates.  Is there a way to copy variants from one web template to another, if the templates are based off of the same query?  I can see that the web template variants are in SE11 table RSRPARAMETRIZA.  But I am not able to see a way to copy them from one template to another.  Any thoughts?  Thanks!
Jose

Similar Messages

  • Copying variants between different servers

    Hello All ,
    There are 2 servers MSAP and 1SAP ,1SAP is the new implementation that we are doing .MSAP is their previous system .
    I have to copy a program from MSAP to 1SAP ,but there are many variants in that .Is there any method i can copy variants between 2 different servers?? coz there are lot of variants in the existing system .
    Regards ,
    Hemanth .

    Hi,
    Refer FM's:-
    RS_VARIANT_CONTENTS or
    RS_VARIANT_ADD or
    RS_VARIANT_CHANGE.
    Also you can refer thread:-
    Re: Copying Variants
    Hope this helps you.
    Regards,
    Tarun

  • Difference between web templates in BI and BW?

    Hi gurus,
    i have some quieries please let me know clearly.your help will be appreciated greatly.
    what is the difference between web templates in BW and BI?
    and if i have a 10000 templates avaialble then how can i know that for one particular report which template is used?
    thanks,
    ashok

    Search SDN you will find more threads and docs based on these...
    For difference between wad 3.5 and 7.0:
    Check below links:
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/1be541f321c717e10000000a155106/content.htm

  • Variant in web template selection screen

    Hello friends,
    Is this possible to create variant or select the variant when we execute the web templates?
    instead of entering the values i need to select the variant and execute the template!
    Points will be assigned!
    Regards
    ram

    Hello Bhanu,
    I am really sorry and thanks for the information .
    Here ,manually we need to add the name of the variant !
    Yes but now my condition is not like this and more than 20 plants are there and i need to create 20 variants.
    The key user cannot remember all variant names ,so how to acheive this?
    Also in the link that u had given u have given the way to add the variant at the end of the URL. But i hope that will not help me!
    Please if there is some other way help me out!
    Kind regards
    Ram

  • Variants of web templates in the portal

    Hello,
    We launch our BI web templates via iViews in the portal. Some users
    have saved their personal variants in the portal, but after the version
    of the web template has changed, they do not access their variants any
    more.
    Are the variants in the portal linked to the version of the web
    template ? How is it possible to retrieve the variants ?
    Thank you in advance

    Danny,
    Logon to the BI system and go to transaction SE37 and execute RSBB_URL_PREFIX_GET to get the portnumber, try applying this and test your iview again.
    If this does not resolve the issue I suggest you to refer to SAP Note 937697 - Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool, it is a pretty simple tool and helps in resolving most issues with regards to BI Portal integration.
    Cheers!
    Sandeep Tudumu

  • Copy variants between programs

    Hi!
    I've copied a Z program into an another Z program in the development system. Unfortunately there are a lot of variants to the old program in the productive system. Because these variants are only in the productive syste I could not copy them.
    After the new program is transported into the productive system I have to restore the variants also.
    I see a few ways to it, but I don't have experience in it yet, and I don't know, which one is possible to solve:
    - download from the old and upload the variants to the new program
    - copy them using a standard program/FM
    If you know a solution, feel free to share it with me.
    Thank you
    Tamá

    Hi
    This is a my utility program to copy a variant between two programs:
    REPORT ZUT_COPY_VARIANT .
    SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-T01.
    PARAMETERS: P_REP1 LIKE  RSVAR-REPORT OBLIGATORY,
                P_REP2 LIKE  RSVAR-REPORT OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK BL1.
    DATA  BEGIN OF DYNPFIELDS OCCURS 1.
            INCLUDE STRUCTURE DYNPREAD.
    DATA  END   OF DYNPFIELDS.
    DATA: TEXT_1(100),
          TEXT_2(100).
    DATA: ANSWER.
    AT SELECTION-SCREEN.
      IF P_REP1 = P_REP2.
        MESSAGE E208(00) WITH 'Programmi di orig. e destin. identici'(E02).
      ENDIF.
      MESSAGE W208(00) WITH 'Verificare omogeneità scherm. selez.'(W01).
    AT SELECTION-SCREEN ON P_REP1.
      PERFORM CHECK_REPORT USING P_REP1.
    AT SELECTION-SCREEN ON P_REP2.
      PERFORM CHECK_REPORT USING P_REP2.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_REP1.
      PERFORM F4_REPORT USING 'P_REP1'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_REP2.
      PERFORM F4_REPORT USING 'P_REP2'.
    START-OF-SELECTION.
      TEXT_1 = 'Tutte le varianti del report &'(001).
      REPLACE '&' WITH P_REP1 INTO TEXT_1.
      TEXT_2 = 'saranno copiate nel report &'(002).
      REPLACE '&' WITH P_REP2 INTO TEXT_2.
      CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
           EXPORTING
                DIAGNOSETEXT1 = TEXT_1
                DIAGNOSETEXT2 = TEXT_2
                TEXTLINE1     = 'Eseguire copia varianti?'(003)
                TITEL         = 'Copiare Varianti'(004)
           IMPORTING
                ANSWER        = ANSWER.
      CHECK ANSWER = 'J'.
      CALL FUNCTION 'RS_COPY_SELECTION_SETS'
        EXPORTING
          SOURCE_REPORT        = P_REP1
          TARGET_REPORT        = P_REP2
    *   DEVC                 =
    *   CHANGE_ENAME         = 'X'
       EXCEPTIONS
         VARIANT_LOCKED       = 1
         OTHERS               = 2
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        MESSAGE S208(00) WITH 'Varianti copiate positivamente'(S01).
      ENDIF.
    *&      Form  CHECK_REPORT
    *       text
    *      -->P_REP  text
    FORM CHECK_REPORT USING    P_REP.
      SELECT SINGLE NAME FROM TRDIR INTO P_REP WHERE NAME = P_REP.
      IF SY-SUBRC <> 0.
        MESSAGE E368(00) WITH P_REP 'inesistente o inattivo'(E01).
      ENDIF.
    ENDFORM.                    " CHECK_REPORT
    *&      Form  F4_REPORT
    *       text
    *      -->P_PARAM  text
    FORM F4_REPORT USING    P_PARAM.
      FIELD-SYMBOLS: <REPORT> TYPE ANY.
      ASSIGN (P_PARAM) TO <REPORT>.
      REFRESH DYNPFIELDS.
      CLEAR DYNPFIELDS.
      DYNPFIELDS-FIELDNAME  = P_PARAM.
      APPEND DYNPFIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME     = SY-CPROG
                DYNUMB     = SY-DYNNR
           TABLES
                DYNPFIELDS = DYNPFIELDS
           EXCEPTIONS
                OTHERS.
      IF SY-SUBRC = 0.
        READ TABLE DYNPFIELDS INDEX 1.
        <REPORT> = DYNPFIELDS-FIELDVALUE.
      ENDIF.
      PERFORM PROGRAM_DIRECTORY                                 "#EC *
            USING <REPORT>
                  'X'.
    ENDFORM.                                                    " F4_REPORT
    *       FORM PROGRAM_DIRECTORY                                        *
    *  -->  PROGRAMM                                                      *
    *  -->  F4_CALL                                                       *
    FORM PROGRAM_DIRECTORY USING PROGRAMM LIKE RS38M-PROGRAMM
                                 F4_CALL.
      DATA: L_PROGRAMM LIKE RS38M-PROGRAMM.
      L_PROGRAMM = PROGRAMM.
      IF L_PROGRAMM = SPACE.
        SUBMIT RSABADAB AND RETURN VIA SELECTION-SCREEN
                        WITH F4_CALL =    F4_CALL.
      ELSE.
        SUBMIT RSABADAB AND RETURN VIA SELECTION-SCREEN
                        WITH REPNAME CP   L_PROGRAMM
                        WITH F4_CALL =    F4_CALL.
      ENDIF.
      GET PARAMETER ID 'RID' FIELD PROGRAMM.                    "#EC *
    ENDFORM.
    Max

  • Copying variants between programs

    Dear All,
    Please guide me in copying variants of one program into another program where selection screen of both the programs are same.
    Regards,
    N.Jain

    Hi,
    Copy Program Variants from one to another
    This code copies variants from one program to another provided that the programs have identical selection screens.
    Copy Variants from one Program to another.
    REPORT Z_COPY_VARIANTS_PROG_TO_PROG .
    =====================================================
    Data Declarations Section
    =====================================================
    TABLES : VARID , VARIS , VARIT  .
    DATA : BEGIN OF MYVARID OCCURS 0 .
            INCLUDE STRUCTURE VARID .
    DATA : END OF MYVARID .
    DATA : BEGIN OF MYVARIS OCCURS 0 .
            INCLUDE STRUCTURE VARIS .
    DATA : END OF MYVARIS .
    DATA : BEGIN OF MYVARIT OCCURS 0 .
            INCLUDE STRUCTURE VARIT .
    DATA : END OF MYVARIT .
    DATA : BEGIN OF MYVARI  OCCURS 0 .
            INCLUDE STRUCTURE VARI  .
    DATA : END OF MYVARI .
    DATA : MANS(1) TYPE C .
    DATA :   PROGRAMM LIKE RS38M-PROGRAMM  .
    DATA : BEGIN OF MDYNPFIELDS OCCURS 1 .
            INCLUDE STRUCTURE DYNPREAD .
    DATA : END OF MDYNPFIELDS .
    CONSTANTS BUTTONSELECTED(1) TYPE C VALUE 'X' .
    ======================================================
    Macro for Inputing Filenames
    ======================================================
    DEFINE GET_FILENAME .
      CALL FUNCTION 'WS_FILENAME_GET'
          EXPORTING
            DEF_FILENAME     = ' '
               DEF_PATH         = &1
               MASK             = ',.,..'
               MODE             = '0'
            TITLE            = ' '
          IMPORTING
               FILENAME         = &2
            RC               =
           EXCEPTIONS
                INV_WINSYS       = 1
                NO_BATCH         = 2
                SELECTION_CANCEL = 3
                SELECTION_ERROR  = 4
                OTHERS           = 5.
    END-OF-DEFINITION .
    ======================================================
    Macro for Downloading to ASCII Files
    ======================================================
    DEFINE DOWNLOAD_TO_ASCII .
      CALL FUNCTION 'WS_DOWNLOAD'
          EXPORTING
            BIN_FILESIZE            = ' '
            CODEPAGE                = ' '
               FILENAME                = &1
               FILETYPE                = 'DAT'
            MODE                    = ' '
            WK1_N_FORMAT            = ' '
            WK1_N_SIZE              = ' '
            WK1_T_FORMAT            = ' '
            WK1_T_SIZE              = ' '
            COL_SELECT              = ' '
            COL_SELECTMASK          = ' '
            NO_AUTH_CHECK           = ' '
       IMPORTING
            FILELENGTH              =
           TABLES
                DATA_TAB                = &2
            FIELDNAMES              =
           EXCEPTIONS
                FILE_OPEN_ERROR         = 1
                FILE_WRITE_ERROR        = 2
                INVALID_FILESIZE        = 3
                INVALID_TABLE_WIDTH     = 4
                INVALID_TYPE            = 5
                NO_BATCH                = 6
                UNKNOWN_ERROR           = 7
                GUI_REFUSE_FILETRANSFER = 8
                OTHERS                  = 9.
    END-OF-DEFINITION .
    ======================================================
    Macro for uploading Data from ASCII files
    ======================================================
    DEFINE UPLOAD_FROM_ASCII .
      CALL FUNCTION 'WS_UPLOAD'
          EXPORTING
            CODEPAGE                = ' '
               FILENAME                = &1
               FILETYPE                = 'DAT'
            HEADLEN                 = ' '
            LINE_EXIT               = ' '
            TRUNCLEN                = ' '
            USER_FORM               = ' '
            USER_PROG               = ' '
       IMPORTING
            FILELENGTH              =
           TABLES
                DATA_TAB                = &2
           EXCEPTIONS
                CONVERSION_ERROR        = 1
                FILE_OPEN_ERROR         = 2
                FILE_READ_ERROR         = 3
                INVALID_TABLE_WIDTH     = 4
                INVALID_TYPE            = 5
                NO_BATCH                = 6
                UNKNOWN_ERROR           = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
    END-OF-DEFINITION .
    ======================================================
    Selection Screen Default
    ======================================================
    PARAMETERS : P_FROM_P LIKE RS38M-PROGRAMM OBLIGATORY .
    PARAMETERS : P_TO_P LIKE RS38M-PROGRAMM OBLIGATORY .
    PARAMETERS : P_SAME_S RADIOBUTTON GROUP GRP1 DEFAULT 'X' .
    PARAMETERS : P_DOWNLD RADIOBUTTON GROUP GRP1   .
    PARAMETERS : P_UPLOAD RADIOBUTTON GROUP GRP1   .
    PARAMETERS : P_FILE_D  LIKE   RLGRAP-FILENAME DEFAULT 'c:\varid.txt' .
    PARAMETERS : P_FILE_S  LIKE   RLGRAP-FILENAME DEFAULT 'c:\varis.txt' .
    PARAMETERS : P_FILE_T  LIKE   RLGRAP-FILENAME DEFAULT 'c:\varit.txt' .
    PARAMETERS : P_FILE    LIKE   RLGRAP-FILENAME DEFAULT 'c:\vari.txt' .
    =====================================================
    At Selection Screen Events
    =====================================================
    AT SELECTION-SCREEN .
      PROGRAMM = P_FROM_P .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE_D .
      GET_FILENAME 'c:\varid.txt' P_FILE_D .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE_S .
      GET_FILENAME 'c:\varis.txt' P_FILE_S .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE_T .
      GET_FILENAME 'c:\varit.txt' P_FILE_T .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE .
      GET_FILENAME 'c:\vari.txt' P_FILE .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FROM_P .
      CLEAR  MDYNPFIELDS . REFRESH MDYNPFIELDS .
      MDYNPFIELDS-FIELDNAME = 'P_FROM_P' .
      APPEND  MDYNPFIELDS .
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME               = SY-CPROG
                DYNUMB               = SY-DYNNR
           TABLES
                DYNPFIELDS           = MDYNPFIELDS
           EXCEPTIONS
                INVALID_ABAPWORKAREA = 1
                INVALID_DYNPROFIELD  = 2
                INVALID_DYNPRONAME   = 3
                INVALID_DYNPRONUMMER = 4
                INVALID_REQUEST      = 5
                NO_FIELDDESCRIPTION  = 6
                INVALID_PARAMETER    = 7
                UNDEFIND_ERROR       = 8
                DOUBLE_CONVERSION    = 9
                STEPL_NOT_FOUND      = 10
                OTHERS               = 11.
      READ TABLE MDYNPFIELDS INDEX 1 .
      PROGRAMM = MDYNPFIELDS-FIELDVALUE .
      CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4'
           EXPORTING
                OBJECT_TYPE          = 'PROG'
                OBJECT_NAME          = PROGRAMM
           IMPORTING
                OBJECT_NAME_SELECTED = PROGRAMM
           EXCEPTIONS
                CANCEL               = 1
                WRONG_TYPE           = 2
                OTHERS               = 3.
      P_FROM_P = PROGRAMM .
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_TO_P .
      CLEAR  MDYNPFIELDS . REFRESH MDYNPFIELDS .
      MDYNPFIELDS-FIELDNAME = 'P_TO_P' .
      APPEND  MDYNPFIELDS .
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME               = SY-CPROG
                DYNUMB               = SY-DYNNR
           TABLES
                DYNPFIELDS           = MDYNPFIELDS
           EXCEPTIONS
                INVALID_ABAPWORKAREA = 1
                INVALID_DYNPROFIELD  = 2
                INVALID_DYNPRONAME   = 3
                INVALID_DYNPRONUMMER = 4
                INVALID_REQUEST      = 5
                NO_FIELDDESCRIPTION  = 6
                INVALID_PARAMETER    = 7
                UNDEFIND_ERROR       = 8
                DOUBLE_CONVERSION    = 9
                STEPL_NOT_FOUND      = 10
                OTHERS               = 11.
      READ TABLE MDYNPFIELDS INDEX 1 .
      PROGRAMM = MDYNPFIELDS-FIELDVALUE .
      CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4'
           EXPORTING
                OBJECT_TYPE          = 'PROG'
                OBJECT_NAME          = PROGRAMM
           IMPORTING
                OBJECT_NAME_SELECTED = PROGRAMM
           EXCEPTIONS
                CANCEL               = 1
                WRONG_TYPE           = 2
                OTHERS               = 3.
      P_TO_P = PROGRAMM .
    ======================================================
    Start of Selection
    ======================================================
    START-OF-SELECTION .
      CASE BUTTONSELECTED.
        WHEN P_SAME_S .
          PERFORM COPY_FROM_PROG_TO_PROG .
        WHEN P_DOWNLD .
          PERFORM VDOWNLOAD .
        WHEN P_UPLOAD .
          PERFORM VUPLOAD .
      ENDCASE .
    *&      Form  COPY_FROM_PROG_TO_PROG
          text
    -->  p1        text
    <--  p2        text
    FORM COPY_FROM_PROG_TO_PROG.
      CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
           EXPORTING
            DEFAULTOPTION  = 'Y'
               TEXTLINE1      = 'Are you sure you want to copy Variants ? '
            TEXTLINE2      = ' '
                TITEL          = 'Confirmation '
            START_COLUMN   = 25
            START_ROW      = 6
            CANCEL_DISPLAY = 'X'
          IMPORTING
               ANSWER         = MANS
           EXCEPTIONS
                OTHERS         = 1.
      IF MANS = 'J' .
        REFRESH MYVARID . CLEAR MYVARID .
        SELECT * FROM VARID  INTO TABLE MYVARID
                            WHERE REPORT = P_FROM_P.
        LOOP AT MYVARID .
          MYVARID-REPORT = P_TO_P .
          MODIFY MYVARID .
        ENDLOOP .
        IF SY-SUBRC = 0 .
          DELETE FROM VARID WHERE REPORT = P_TO_P .
          INSERT VARID FROM TABLE MYVARID .
        ENDIF .
        REFRESH MYVARIS . CLEAR MYVARIS .
        SELECT * FROM VARIS  INTO TABLE MYVARIS
                            WHERE REPORT = P_FROM_P.
        LOOP AT MYVARIS .
          MYVARIS-REPORT = P_TO_P .
          MODIFY MYVARIS .
        ENDLOOP .
        IF SY-SUBRC = 0 .
          DELETE FROM VARIS WHERE REPORT = P_TO_P .
          INSERT VARIS FROM TABLE MYVARIS .
        ENDIF .
        REFRESH MYVARIT . CLEAR MYVARIT .
        SELECT * FROM VARIT  INTO TABLE MYVARIT
                            WHERE REPORT = P_FROM_P.
        LOOP AT MYVARIT .
          MYVARIT-REPORT = P_TO_P .
          MODIFY MYVARIT .
        ENDLOOP .
        IF SY-SUBRC = 0 .
          DELETE FROM VARIT WHERE REPORT = P_TO_P .
          INSERT VARIT FROM TABLE MYVARIT .
        ENDIF .
        REFRESH MYVARI . CLEAR MYVARI .
        SELECT * FROM VARI   INTO TABLE MYVARI
                            WHERE REPORT = P_FROM_P.
        LOOP AT MYVARI  .
          MYVARI-REPORT = P_TO_P .
          MODIFY MYVARI  .
        ENDLOOP .
        IF SY-SUBRC = 0 .
          DELETE FROM VARI WHERE REPORT = P_TO_P .
          INSERT VARI FROM TABLE MYVARI .
        ENDIF .
      ENDIF .
    ENDFORM.                               " COPY_FROM_PROG_TO_PROG
    *&      Form  VDOWNLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM VDOWNLOAD.
      REFRESH MYVARID . CLEAR MYVARID .
      SELECT * FROM VARID  INTO TABLE MYVARID
                          WHERE REPORT = P_FROM_P.
      DOWNLOAD_TO_ASCII  P_FILE_D  MYVARID .
      REFRESH MYVARIS . CLEAR MYVARIS .
      SELECT * FROM VARIS  INTO TABLE MYVARIS
                          WHERE REPORT = P_FROM_P.
      DOWNLOAD_TO_ASCII P_FILE_S  MYVARIS .
      REFRESH MYVARIT . CLEAR MYVARIT .
      SELECT * FROM VARIT  INTO TABLE MYVARIT
                          WHERE REPORT = P_FROM_P.
      DOWNLOAD_TO_ASCII P_FILE_T  MYVARIT .
      REFRESH MYVARI . CLEAR MYVARI .
      SELECT * FROM VARI   INTO TABLE MYVARI
                          WHERE REPORT = P_FROM_P.
      DOWNLOAD_TO_ASCII P_FILE  MYVARI .
    ENDFORM.                               " VDOWNLOAD
    *&      Form  VUPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM VUPLOAD.
      CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
           EXPORTING
            DEFAULTOPTION  = 'Y'
               TEXTLINE1      =
               'Are you sure you want to upload Variants ? '
            TEXTLINE2      = ' '
                TITEL          = 'Confirmation '
            START_COLUMN   = 25
            START_ROW      = 6
            CANCEL_DISPLAY = 'X'
          IMPORTING
               ANSWER         = MANS
           EXCEPTIONS
                OTHERS         = 1.
      IF MANS = 'J' .
        REFRESH MYVARID . CLEAR MYVARID .
        UPLOAD_FROM_ASCII P_FILE_D MYVARID .
        LOOP AT MYVARID .
          MYVARID-REPORT = P_TO_P .
          MODIFY MYVARID .
        ENDLOOP .
        IF SY-SUBRC = 0 .
          DELETE FROM VARID WHERE REPORT = P_TO_P .
          INSERT VARID FROM TABLE MYVARID .
        ENDIF .
        REFRESH MYVARIS . CLEAR MYVARIS .
        UPLOAD_FROM_ASCII P_FILE_S MYVARIS  .
        LOOP AT MYVARIS .
          MYVARIS-REPORT = P_TO_P .
          MODIFY MYVARIS .
        ENDLOOP .
        IF SY-SUBRC = 0 .
          DELETE FROM VARIS WHERE REPORT = P_TO_P .
          INSERT VARIS FROM TABLE MYVARIS .
        ENDIF .
        REFRESH MYVARIT . CLEAR MYVARIT .
        UPLOAD_FROM_ASCII P_FILE_T MYVARIT  .
        LOOP AT MYVARIT .
          MYVARIT-REPORT = P_TO_P .
          MODIFY MYVARIT .
        ENDLOOP .
        IF SY-SUBRC = 0 .
          DELETE FROM VARIT WHERE REPORT = P_TO_P .
          INSERT VARIT FROM TABLE MYVARIT .
        ENDIF .
        REFRESH MYVARI . CLEAR MYVARI .
        UPLOAD_FROM_ASCII P_FILE  MYVARI   .
        LOOP AT MYVARI  .
          MYVARI-REPORT = P_TO_P .
          MODIFY MYVARI  .
        ENDLOOP .
        IF SY-SUBRC = 0 .
          DELETE FROM VARI WHERE REPORT = P_TO_P .
          INSERT VARI FROM TABLE MYVARI .
        ENDIF .
      ENDIF .
    ENDFORM.                               " VUPLOAD
    Reward if Helpfull,
    Naresh

  • 0ANALYZER Web Template - increase number of Rows displayed

    Hello All,
    Is there a context menu command / popup value  that will allow an end-user to increase the *default* number of Rows displayed at a time (25)  when we are using the 0ANALYZER Web template?
    We have about 100 characteristics anyway, so setting the displayed "chunks" of Rows to say 50 at a time would be quite reasonable.
    We do not want to customise 0ANALYZER web template (and therefore any solution to add any extra buttons/JScript won't be acceptable)
    Any ideas 0ANALYZER experts?
    Thanks
    Ian

    Hi Ian,
    My suggestion is that you make a copy of 0ANALYZER_PATTERN web template say ZANALYZER_PATTERN and make this your default web template. Now in the properties of your analysis grid of ZANALYZER_PATTERN, you can change the number of displayed columns and rows. But again this will be appplied to all web queries using this template.
    If you want to change number of rows and columns dynamically, why not ask SAP netweaver team.
    Thanks.
    Sheo

  • What is difference between Site template and web template

    What is difference between Site template and web template

    Both are almost same, are you referring to Site Definitions vs web template?, if so, refer to the following post
    http://blogs.msdn.com/b/vesku/archive/2011/07/22/site-definitions-vs-web-templates.aspx. 
    --Cheers

  • Variant Problem in Web Template Precalculation IMP

    I am having a peculiar issue with Reporting Agent in Precalculation of Web Template.
    I created a web template for my query, had all relevant options set in Reporting Agent and scheduled the package. I also created a variant(ZVARIANT_1) for  the main query(no control query used/needed).
    When the job is scheduled, it takes close to 2 hours to precalculate. When I fire up this URL:
    http://app_server:1080/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=TEMPLATE_NAME&VARIANT=ZVARIANT_1&DATA_MODE=STORED
    I get, No Precalculated data found for DP.
    But instead if I insert the variables individual values in the URL by using the code given by clicking the "Add URL parameter" Green button, it gives an editor screen with variables initialized and assigned, I get the static report I want.
    1) Why cant I use a variant, or am I missing something?
    2) Why do I get filter & drill down options and variable screen only in stored mode but not in hybrid mode?

    Hi Travelling Soldier:
       I have the same issue with the web template variant. Did you solve your issue?
    Thanks in advance.
    Abel

  • Precalculated Web Templates - Variants and Control Queries!!

    Hi,
    We are having some problems with precalculating a web template. 
    Within the template there are multiple queries that need to be precalculated.  All of these queries are using a variable and control query to select a currency.  However, whenever we schedule it to precalculate it always cancels!! When we take the variant out we have no problems and it runs. 
    Do you know if there are any problems running multipul queries from the same variant, or what the problem may be?
    We are running on version 3b.
    Any help would be gratfully received.

    Hi Ashish,
    Yes all of the variants have been maintained in the Reporting Agent.  Even if we just try it with one variant it still doesnt want to precalculate!!!
    Any more help would be great.
    Thanks
    Abi

  • Copy BW Web Templates

    Hi BW experts,
    After processing an upgrade to BW 7.0 on our TST system, we wish to copy all the exist web templates in the system.
    The copy operation purpose is to save a copy of all reports, in case the migration process (running for the reports which will be open in the new BEx tools) will fail.
    Does someone can provide me the functionality which should be taken for the web templates copy operation?
    Thanks in advance,
    Shani Bashkin
    P.S. - The required copy functionality should work for all the web templates in the system at once (I know the "save as..." option in the WAD, but it's a sisyphean work)

    You can mass copy the template with
    Program - RS_TEMPLATE_MASS_ALTER_70   nw2004s
    Prgoram - RS_TEMPLATE_MASS_ALTER  3.x
    <b>Step 1: Backup</b>
    a) To do this, execute the RS_TEMPLATE_MASS_ALTER_70 report.
    b) First, select the quantity of the templates to be edited in the "Input" area.
    c) Leave the "Filter" area empty.
    d) In the "Operation" area, select the "no operation, just up/download)" radio button.
    e) In addition, select the "Save to Filesystem" area as the "Output Destination", specify a path under which you want the sources to be saved. Note that the path must end with a path separator (on Windows: this is '\')!
    f) Execute the report, confirm the selection and the subsequent list with "Execute operation on selection" in each case.
    g) The sources of the selected templates or Reusable Web items are written to the file system. This can be your backup.
    <b>Step 2: Manipulation and download</b>
    a) Then, execute the report again.
    b) In the input template, select the same objects as for the download.
    c) The filter area remains empty.
    d) In the "Operation" area, select the "XSLT transformation" radio button, specify the name of the XSLT transformation in the first field, and enter any possible parameters (usually none).
    e) In the "Output Destination" area, enter "Save to Filesystem" and a path name (that also must end with '\'). The path name must be different from the one specified before, otherwise your backup will be overwritten.
    f) Execute the report and confirm the warnings in each case.
    <b>Step 3: Check the result</b>
    a) Now check the sources of the downloaded and manipulated templates and reusable Web items in the file system.
    b) Compare with the backup-sources in the other directory
    You may wish to check the OSS below -
    Note 710112 - BW Web template mass maintenance
    Program RS_TEMPLATE_MAINTAIN can be used for single template copy.
    As a part of sanity check you might want to try it out in SBOX or Dev for ramifications if any ..
    Hope it Helps
    Chetan
    @CP..

  • To copy standard web template

    Hi guys,
    i need to modify a standard web template,
    how do i copy as i was told not to touch
    the original, so that it becomes my default,
    help me out guys,
    Thanks

    Hi:
    This workes for me:
    In BW, run transaction:
    SE38
    COpy program 'RS_TEMPLATE_MAINTAIN'.
    Execute the program.
    In the next screen, you will see two drop-down boxes.
    1) Technical Name of a Template
    Here, select 0ADHOC
    Again Execute
    In the new screen, select the third Icon - Copy As.
    Give New Name. Make sure its not there before, so gicve something like Z0ADHOC1, etc.
    You are done.
    Open WAS and select Open Web  Template.
    THere, you will either see the new one in History or do a seach with the name that you just gave.
    Ram C.

  • Diff between Precalculated Value set and Precalculated web template

    Hi Friends
    Can any one tell the Diff between Precalculated Value set and Precalculated web template
    Where we will use these
    Thanks

    Hi,
    The Reporting Agent is a tool used to schedule reporting functions in the background.
    The following functions are available:
    &#9679;      Evaluating exceptions
    &#9679;      Printing queries
    &#9679;      Pre-calculating Web templates
    &#9679;      Pre-calculating characteristic variables of type pre-calculated value sets
    &#9679;      Pre-calculation of queries for Crystal reports
    go through,
    pre-calculated value sets
    [http://help.sap.com/saphelp_nw04s/helpdata/en/28/734d3caa70ea6fe10000000a114084/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/84/00783b3af21f5ee10000000a11402f/content.htm]
    Pre calculating Web template:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/frameset.htm
    Basically when you have a Precalculated Template, the system first run a report (which has been scheduled) and read the data from there when you run your template. This can imrpove the performance respect to online read data.
    [http://help.sap.com/saphelp_nw04s/helpdata/en/6e/b5663a5fb46752e10000000a11402f/frameset.htm]
    [Pre calculated web template;
    Hope this helps...

  • How to pass variable between CRM Fact sheet and BI web template

    Hello,
    I am looking for someone who has integrated a custom web template with the CRM fact sheet (I am on 2004s).
    I have created a custom web application design template for displaying on the portal for a CRM factsheet (TPL_FACT_SHEET).
    This template is based on a query which has a variable (CHOOSE_CUST, ready for input, input: optional type) on 0CUSTOMER char.
    When the sales rep queries the CRM FactSheet on the portal- based on the 0CUSTOMER he is demanding the fact sheet for,  the appropriate 0CUSTOMER value needs to be parsed to my custom web template and it should return him the report. The report is very simple with just sales for current and previous year by material group. There is a std template to do this but we are using cutom data providers and hence need to create this custom web template.
    Thus far I have created a 'filter pane' in my web template but do not know how to link this with the CRM fact sheet or even how to link it to my query variable. Currently when my template is called from the factsheet (portal) it displays results for multiple customers without any filter!
    Please advise how to proceed in linking the CRM fact sheet 0Customer number with my web template filter pane!
    Full points for useful answers!
    Thanks
    Naresh

    Hello,
    I am looking for someone who has integrated a custom web template with the CRM fact sheet (I am on 2004s).
    I have created a custom web application design template for displaying on the portal for a CRM factsheet (TPL_FACT_SHEET).
    This template is based on a query which has a variable (CHOOSE_CUST, ready for input, input: optional type) on 0CUSTOMER char.
    When the sales rep queries the CRM FactSheet on the portal- based on the 0CUSTOMER he is demanding the fact sheet for,  the appropriate 0CUSTOMER value needs to be parsed to my custom web template and it should return him the report. The report is very simple with just sales for current and previous year by material group. There is a std template to do this but we are using cutom data providers and hence need to create this custom web template.
    Thus far I have created a 'filter pane' in my web template but do not know how to link this with the CRM fact sheet or even how to link it to my query variable. Currently when my template is called from the factsheet (portal) it displays results for multiple customers without any filter!
    Please advise how to proceed in linking the CRM fact sheet 0Customer number with my web template filter pane!
    Full points for useful answers!
    Thanks
    Naresh

Maybe you are looking for

  • The web developer toolbar wont load on my computer, what are the possible solutions?

    when i click to download the toolbar now, firefox refreshes as it should be nothing happens. maybe i dont see the toolbar? i cant find it. what are the possible reasons its not downloading and what can i do?

  • TS2917 Macbook pro retina leather case with magnets

    I've bought a new expensive leather case for my new macbook pro retina display. I've had my macbook accidentally fall asleep 3 or 4 times already. So, does it mean that I have to throw away that case? Or is it okay to keep using it unless I'm keeping

  • Win XP installation fails after successful Parallels installation...

    Hi: I've been trying for the last several hours to install my new copy of Windows XP under Parallels (which bought, installed, and updated to Build 3188 earlier). Here's what happens: I get to the final step of the "OS Installation Assistant" in Para

  • Backing up my iTunes library on an external harddrive

    I tried uning the menu function for backing up my library, but that turned out to only be for CDs and DVDs. What do I need to do to back my entire library up to an external hard drive? Thanks.

  • Problems with SB X-Fi Au

    I have been having a couple problems with my computer/sound card. First whenever I try plugging in a mic and headset and try connecting to a program such as ventrilo or teamspeak it immediately gives me the blue error screen. When I reboot the comput