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

Similar Messages

  • Copy data Between different servers.

    Hello Floks!
    I´m trying to migrate my essbase server to another machine. All is done, planning is installed and is working. When I copy the database folders (in my case Hyperion\Essbase\App\...) to the new server and i want to start the database, it throws an error: +Error: 1002097 Unable to load database [NCCost]+.
    If I delete .esm file, database starts succesfully. But, when I refresh essbase from planning, .pag and .ind files are removed. So, when I go to forms, I don´t see any data.
    Any idea? Is there any way to modify .esm file and do it work?
    Thanks for your time guys!
    Fabián.

    Hi Daylan!
    Yes, I think that this is the best way, but, old essbase has a lot of data (it´s a production server). We think that this will take a lot of time, but now, I think that is the best way. I will research a few hours more for other export/import method, but I dont hope that exists.
    The issue is that the servers are in differents networks.
    Any help is appreciated!
    Thanks for your time Daylan!
    Best Regards,
    Fabián.

  • Copying app between different servers using CopyApp into EPM architectur

    Hi,
    I have Hyperion Planning System 9.3 EPM arch.
    I want to migrate from my dev server to another prod server.
    I have used the tool CopyApp without problems in Hyperion Planning System 9.3 not EPM.
    Anybody knows if there will be any problem using the tool CopyAPP in EPM arch., or if you have to do some another steps to can migrate with this tool???

    I am in the process of copying.
    There are some pre-requisties:
    Create DSN (planning server)
    Create basic planning app in planning using the DSN created
    Please make sure you use uppercase for everything before the = sign on copyapp.properties file.
    copyapp runs and creates the essbase cubes, rdbms tables.
    Also the log files says OLAP data is not copied (need to export/import),
    target application will not be registered with HSS nor have it's users provisioned.
    At this point I am thinking I need to refresh data in planning, register app in HSS and provision users -

  • How can I use DOM to copy Nodes between different XML Document ?

    Can I copy one Node or Element from one XML Document to another Document by DOM ?
    Because I use the Xerces , but it is not work if I want to copy Node between different Document, or I am doing something wrong. Anyone can help me , I will deeply appreciated !!

    check out the importNode() method of Document.

  • 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

  • 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

  • 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

  • Copying ALV Display Variants between different programs

    Is there a way to copy the ALV Display Variants from one program to another?  I am NOT referring to selection screen variants.
    An SAP standard program was copied to a Z program.  Some changes were made to the logic.  The original SAP program has many (100+) ALV Display Variants.  I do not want to manually re-create them.  Is there a way to copy these from one program to another (without using a custom program to manipulate the tables)?
    Thanks.
    Norm

    Hi norman,
    even i was thinking the same while you passing the alv parameter is_variant, give the the program which is having 100 variants.
    is_variant-REPORT = 'STANDARDPRG'.
    this will import all varaints from it, but when you save any new one it will  save in the same standard program.
    regards
    vijay

  • How to move or copy drivers between WDS servers

    Problem: getting the same driver sets on multiple WDS servers
    At our company we have two sites and two Windows Deployment Services servers. The server at our main site had all the driver packages for the hardware we use and we wanted the other server to hold the same set of drivers. There were too much drivers
    to re-create them manually on the other server. We found no 'normal' solution to this problem, like an export or import.
    However on examining the contents of the DeploymentShare (or RemInst share) I found a folder 'Stores' containing a folder 'Drivers' which seemed to contain all drivers and a folder 'metadata' containing a database and a locked file...
    Here's what we tried on a hunch and what turned out to be working:
    Stop "Windows Deployment Services Server' service on the primary server.
    Copy folder 'DeploymentShare\Stores\Drivers' with content to another location.
    Start "Windows Deployment Services Server' service again on the primary server.
    Stop "Windows Deployment Services Server' on the target server.
    Remove or move original  'DeploymentShare\Stores\Drivers'-folder.
    Put 'Drivers'-folder from primary server in  'DeploymentShare\Stores'-folder
    Start "Windows Deployment Services Server' on the target server.
    Behold! The target server contains and services all drivers like the primary server (-:
    Use at your own risk...

    Hi Angry Technician
    I had exactly the same issue as you.  I had copied all the RemoteInstall files and folders from the original WDS server to the new server.
    The Driver Groups appeared, but not the driver files within the groups.  However when I restarted the WDS server a second time, they all appeared.  I didn't change anything in between, other than adding a Win8.1 boot image (which I highly recommend
    instead of the Win7 one!)
    I realise you've probably restarted your WDS server a bazillion times before now (the posts are quite old) but I thought this might help someone else.
    Thanks

  • Copying COA between different localisations with SDK

    Hi,
    I am trying to setup some extra companies on a different server with different localizations.
    One of the main task that I want to achieve is to copy COA to all these new companies.
    With a bit of codeing with SDK I have successfully post one account on the new companies.
    I just wanted to know if there is any known issues/compatibility issue before I go ahead and copy complete COA list.
    Any help will be highly appreciated.
    Regards

    Hi,
    I think there is no issue except the professional user component license. Is the new database located in the same license server ?
    As an info, you could use COA DTW template to import the COA into new different localisation database. The other is using addon copy express.
    Rgds,

  • SOP-Planning type (MC8A): copying data between different columns

    Hi everyone,
    I would be very grateful if someone could tell me whether it is possible to define a macro instruction in a planning type (MC8A) in order to copy a value from one column to another.
    Thanks in advance and best regards.
    Ben.

    Dear SatheeshkumarD ,
    Thanks a lot for your help.
    What I am really trying to carry out is exactly the thing you indicate in point 2.
    For example, I have a value in one field in column B (week X) and I would like to move that value to another field in column A (week X-2). Both fields are in dissagregated level in the planning table.
    In the next example, I would like to move the value ´3´in field A W2 to field B W1.
         W1      W2      W3
    A               3
    B    3
    C
    I hope you know now exactly what I am looking for.
    Thanks again and best regards.
    Ben.

  • Netweaver  XI Integration between different servers

    We are planning to conect the network between Client/Server which is java based system to SAP XI.
         and Mainframes to sap XI.
    Can you please let me know how to Integrate between them ?

    hi
    check this doc for BI & XI integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/52398597-0601-0010-868a-fd95f8061d85
    XI Configuration for MDM Integration - Sample Scenario                         
    XI Configuration for MDM Integration - Sample Scenario                         
    MainFrame and SAP Integration - The synchronous case                         
    MainFrame and SAP Integration - The synchronous case                         
    regards
    kummari

  • Copy pages between different applications

    Hello,
    I'm trying to copy a page from one application to another with Apex 1.6.
    In the first application I exported the page I want to copy and I've tried to import
    it in my second application. But I got the message that my file was not in the correct format...
    Is there any easy way to do it?
    Thanks.
    Sofie

    Sofie,
    No, there is no easy way to do it. There is a difficult way that has been cited many times in this forum (search for copy page): Synonyms
    Scott

  • How can i create table between different servers schema

    Hi,
    Can any advice me how I can create table on remote oracle schema.
    Thanks in advance
    Faheem Latif

    I am telling you what I know about remote table creation - it is impossible in Oracle, if you trust the documentation of course.
    ORA-02021: DDL operations are not allowed on a remote database
    Cause:     An attempt was made to use a DDL operation on a remote database. For example, "CREATE TABLE tablename@remotedbname ...".
    Action:     To alter the remote database structure, you must connect to the remote database with the appropriate privileges.

  • Talking between different servers....?

    hi,
    Iam sorry if this is not the right place to Post my query....
    I have an XML file in my ApacheTomcat webserver,I need to pass that(XML file) to the MATLAB server and in turn get the response from the MATLAB server.
    I heard about SOAP,but i dont have much idea about that.
    Can anyone tell me how to proceed?If SOAP is not the right tool,can you suggest me anyother means of doing it Preferably using JAVA.
    thanks in Advance
    Rao

    Can you specific you question clearly?
    It is that You wanna create an EchoClient ? if yes , just type "EchoClient in Java" in any search engine.

Maybe you are looking for

  • Batch Job not Generating Spool No

    Hi Experts, We had a custom program where we are printing multiple invoice in a single go i.e all invoices for a particular sales office are printed in a single spool request. for foreground execution it is running fine. But after creating variant of

  • Camera Raw and CS4

    I have downloaded the latest camera raw files. Since I have CS4 I also had to download and install Application Manager, did that.  I am still unable to install the camera raw file, any suggestions on how to do this?

  • Csimport that never ends

    Good morning, I am trying to import an ics calendar. This calendar has been export with csexport. The csexport takes a few seconds. But the csimport never ends (after several hours). There are 8000 events. A truss an the process show almost no nothin

  • Preload record in form

    Can I preload a record in a form, e.g. I select the record in a list and I get the selected record in the form with the Update/Delete button available. (I like the Pass Parameter between Portlets sample from this forum by Jerry Silver, for displaying

  • Choose Printer for Output - Condition records

    Hi all, We are maintaining condition records at inventory management, shipping,pick list & pack list. at the time of print,can be able to choose the printer.  Is that feasible?  Can a condition record prompt the user to choose a printer for the outpu