Compare code between systems

Hi all,
I need to compare the code of a report between our test and development systems.  I know SE39 will do a compare but when I run se39 in DL2 (development) I can't see TL2(test system) in the list.  The same happens when I run se39 in TL2, I can't see DL2 in the list of systems.  That's only the first part of the problem.  The second part is I can't open the code in our test system.  I'm trying to look at the report RV13F501.  It is for Transaction VK11.  This transaction works fine in our test system but not in development.  In development it has a runtime error on the last IF statement:
  IF KOMGF-ZZPMATN IS INITIAL AND LFD_INDEX < R_BEDNG.
    R_SUBRC = 4.
    EXIT.
  ENDIF.
  ADD 1 TO LFD_INDEX.
The problem is ZZPMATN is not in the table KOMGF.  However, it isn't in the table in either system so I need to find out why it works in Test but not Dev.  Any help would be appreciated!
Regards,
Aaron

Martin,
How do I check the created by user or the transport it belongs to?
Also here are the comments at the beginning of the program.  They concern me a bit.
  Report for the access of condition records.                        *
  Usage        : F                                                   *
  Table        : 501                                                 *
  Physical Tab : KOTF501                                             *
  Report-Generation from 01/18/2007 17:03:02                         *
  Please do not call this coding directly.  You must first call      *
  the function RV_T681_SELECT_AND_GENERATE to insure that the report *
  exists and/or is up-to-date.                                       *
  Do not change this report; your changes will be lost !             *

Similar Messages

  • How to compare objects between systems

    Hi,
    At the moment I am busy activating business content in BW for an SAP IS-U project. Here I encounter the following problem:
    In the past others have been activating business content objects and they have assigned a developer class to it. Then they decided they did not need those objects and they deleted their transports.
    Now when I want to transport objects to the acceptance environment quite often transports fail due to missing objects (which have never been transported). The automated activation does not include these dependent objects, as it thinks they are already available.
    Is there a way to compare two systems to see which objects are missing and need transporting (without sifting through each InfoObject/transfer rule etc by hand to check its existence)?
    Preferrably I would like to know table names so I can compare SE16 lists, but other suggestions are also more than welcome.
    Otherwise an easy way to see the technical names of those objects so that I can add them manually to a transport request?
    Thank you very much,
    Crispian

    Hi Crispian,
    Welcome to SDN!!
    You can use the following tables for comparing:
    RSDIOBJ - For info-objects
    RSDCUBE - For Cubes
    RSDAREA - InfoAreas
    RSDCHA - Characteristic Catalog
    RSDCUBEIOBJ - Objects per InfoCube (where-used list)
    RSDIOBC - InfoObject catalogs
    RSDIOBCIOBJ - InfoObjects in InfoObject catalogs
    RSDKYF - Key figures
    RSIS - InfoSource (transaction data)
    RSTSRULES - Transfer structure transfer rules
    RSDODSO - ODS
    Hope this helps.
    Bye
    Dinesh
    <i>Assigning point to the helpful answers is the way of saying thanks in SDN. you can assign points by clicking on the appropriate radio button displayed next to the answers for your question. yellow for 2, green for 6 points(2)and blue for 10 points and to close the question and marked as problem solved. closing the threads which has a solution will help the members to deal with open issues with out wasting time on problems which has a solution and also to the people who encounter the same porblem in future. This is just to give you information as you are a new user.</i>
    Message was edited by: Dinesh Lalchand

  • How to compare all ABAP Programs (Workbench) between system?

    Hi BASIS Guru,
    Please kindly guide me How to compare all ABAP Programs (Workbench) between system?
    I have copy client (Export/Import) from PRD to DEV but I have some error about abap programs does not exist.
    For example COPA workbench object (Table and ABAP Program).
    Please kindly help.
    Thank you very much.
    Best Regards,
    Saiya

    Hi,
    You can use SE39 to compare your programs.
    Regards,
    Vijay

  • How to compare date between 2 file?

    hi there...
    is there any possibility to compare date between 2 file and the file that is latest to open?
    thank you

    i need help urgently..... i type tis code
    <%
    String file = ("C:/");
    File f = new File(file);
    String [] fileNames = f.list();
    File [] fileObjects= f.listFiles();
    %>
    <UL>
    <%
    for (int i = 0; i < fileObjects.length; i++) {
    if(fileObjects.lastModified()){
    %>
    <LI>
    <a href="<%= fileNames[i %">"><%= fileNames[i] %></A>
    <%
    %>
    my purpose is to list out all the file in the folder but not to the user just for the system to check all the files than when i click a link it will open the latest file
    Message was edited by:
    n_dilah</a>

  • RE: Using a source code control system

    Thanks Shane and everybody for the replies.
    My *.cex files have the correct "begin CLASS;" entry. Below is my fscript
    file
    that I'm trying with Forte 2.0.E.2 NT version:
    setWorkspace ktCheckBoard
    open
    findproj sample1
    cd c:\forte_cs\install\bin
    compile sample1_sysadm.cex
    importplan sample1_sysadm.cex (>>> It failed right here)
    Khanh
    From: Shane Howlett
    To: forte-users
    Subject: RE: Using a source code control system
    Date: Wednesday, November 13, 1996 9:54PM
    Hi Khanh,
    In regards to your compile error...
    We found that an interesting difference between versions 2.0.D.x and 2.0.E.x
    was with the first line of an exported .CEX file.
    A la ...
    2.0.D line 1: begin;
    2.0.E line 1: begin CLASS;
    It caught me out. Just insert or remove the word CLASS using a text editor
    depending on your version of Forte.
    As for version control, we have been retaining workspace export files
    (wascally WEX files!) as backups and plan to make greater use of Baselining
    in
    the repository. In terms of securing our environment, this approach
    essentially meets our needs.
    Shane Howlett
    The Hydro.

    Thanks for your help. That works.
    -khanh
    At 11:20 AM 11/14/96 -0800, you wrote:
    >
    Hi Mike,
    Thanks for the reply. I think that was what I did.
    Below is my fscript input file:
    setWorkspace ktCheckBoard
    open
    findproj sample1
    cd c:\forte_cs\install\bin
    compile sample1_sysadm.cex
    importplan sample1_sysadm.cex (It failed at this step)'importplan' is unnecessary: 'compile' has compiled the .cex file into your
    project. importplan is failing beacuse it expects to see an entire plan.
    Mike
    Mike Schilling ([email protected])
    Forte Software, Inc.

  • SAP Synchronization between systems - Tools

    Hi All,
    Currently the company am working for - Coca Cola Hellenic is looking for a tools for systems comparison. As we are serving about 20 countries and have just spitted our core SAP platforms in to clusters - separating 11 countries on one platform in terms of SAP, CRM and etc. and  the rest on another one. We have called them Clusters 1 and 2.
    As we need to ensure consistency between systems, we are looking for a tool to help us synchronize the productive environments. By synchronizing we mean comparison of tables, code, packages, versions, manual productive changes and etc.
    I would very much appreciate if you have some suggestions in terms of relevant tools currently on the market.
    Thanks.
    Regards,
    Teodora Nedelcheva
    Project Services Leader

    Hi,
    Please try to explore the SAP Solution Manager Tool for some of your requirements.
    http://help.sap.com/saphelp_sm71_sp01/helpdata/en/45/51fbdbd4941803e10000000a1553f7/frameset.htm
    The tables/code/packages/versions should all flow through the Central Transport System across environments and systems.
    i.e. DEV --> QA --> STG --> PROD
    Thanks,
    Shambhu.

  • Compare settings between plants

    Hi,
    Is there any transaction code to compare settings between 2 plants.For eg Quantity/Value update was done for plant X but not for plant Y.Or else what are the tables used to compare the settings

    >
    nevinphilip wrote:
    > Hi thanks for the reply..Can you tell me which all tables are to be checked.
    Please check this answered link:
    plant table

  • Transports between systems after support package application

    Hi gurus, we need to apply a lot of support packages into the development system and I wanna know if in the meantime we need to "freeze" all transports between systems.
    This because the systems (DEV - QA - PRD) are in differente support package level. This until we apply the support packages into the others systems
    Thanks in advance.
    Ronald.

    Yes, any transport which is taking SAP standard code from DEV to QA to PRD should not move if the systems in landscape are on different support pack level. Because it can happen that SAP has done some modification to that standard code in new support pack.
    However, anything which is isolated Z-development (like some z-output report or smartforms) can proceed.
    But, I suggest , stop moving transports until all systems have same support pack level.
    G@urav.

  • Compare data between two tables of same schema

    Folks,
    I have one very intresting query which i would like to share with you all and looking forward for the solution asap.
    Scenario
    I have two table say TableA and TableB, both having same structre say as below
    TableA
    Col1 Var(10)
    Col2  INT
    TableB
    Col1 Var(10)
    Col2  INT
    I want to compare data between these two tables and store compared data into third table, let me expalin the whole scenario.
    TableA
    ColA          ColB
    INDIA          1
    PAKistan      2
    TableB
    ColA          ColB
    INDIA          1
    PAK             3
    I want result like
    Difference
    ColA          ColB
    True            0
    False           -1
    I want to store this difference in thrid table.
    i.e. when comparing text, i need TRUE when compare 100% else False, Caption is not considered.
         When comparing numeric value, simple sub is requried , TableA-TableB
    Note - I dont want to use any external tool to compare the table data, i required sql query to do the same.
    Thanks
    Amit Srivastava
    Amit
    Please mark as answer if helpful
    http://fascinatingsql.wordpress.com/

    Whereas the abbreviation of countries that exist in Table2 table are the first three letters of the name of the country*, here's a suggestion:
    -- code #1 v2
    INSERT into [Difference] (Col1, Col2, ACol1, BCol1)
    SELECT case when A.Col1 = B.Col1 then 'true' else 'false' end,
    (IsNull(A.Col2, 0) - IsNull(B.Col2, 0)), A.Col1, B.Col1
    from TableA as A full outer join
    TableB as B on (A.Col1 = B.Col1
    or Left(A.Col1, 3) = B.Col1);
    Is the COLLATE database case insensitive? If not, the code #1 above will have to be modified, using the upper () function or using COLLATE case insensitive in A.Col1 and B.Col1 columns.
    But if the abbreviation of the country follow the
    ISO 3166-1 alpha-3 standard, will require a fourth table containing the symbol and name of countries.
    -- code #2 v2
    ;with
    TableB_2 as (
    SELECT case when Len(Col1) = 3
    then (SELECT Country_name from [ISO 3166-1 a3] where Cod = Col1)
    else Col1 end as Col1, Col2
    from TableB
    INSERT into [Difference] (Col1, Col2, ACol1, BCol1)
    SELECT case when A.Col1 = B.Col1 then 'true' else 'false' end,
    (IsNull(A.Col2, 0) - IsNull(B.Col2, 0)), A.Col1, B.Col1
    from TableA as A full outer join
    TableB_2 as B on A.Col1 = B.Col1;
    Structure and data to test:
    use tempdb;
    CREATE TABLE TableA (Col1 varchar(10), Col2 int);
    CREATE TABLE TableB (Col1 varchar(10), Col2 int);
    CREATE TABLE [Difference] (Col1 varchar(10), Col2 int, ACol1 varchar(10), BCol1 varchar(10));
    INSERT into TableA values ('INDIA', 1), ('PAKistan', 2), ('China', 12);
    INSERT into TableB values ('INDIA', 1), ('PAK', 3), ('Bhutan', 3);
    go
    CREATE TABLE [ISO 3166-1 a3] (Cod char(3) primary key, [Country_name] varchar(30));
    INSERT into [ISO 3166-1 a3] values
    ('IND', 'India'), ('PAK', 'Pakistan'), ('CHN', 'China'), ('BGD', 'Bangladesh'),
    ('BTN', 'Bhutan'), ('MMR', 'Myanmar'), ('NPL', 'Nepal');
    go
    (*) If the short form of the country name using the first three letters of the country name,
    false positives can occur. For example,
    Mali and Malta or
    Angola and Anguilla.
    José Diz     Belo Horizonte, MG - Brasil

  • The difference between system restore and last good known configuration

    hi,
    what is the difference between system restore  and last good known configuration.
    in which situation you use system restore ,and in which situation you use last good known configuration.
    very short answer wil be enough.
    thanks
    johan
    h.david

    Last Known Good Configuration deals only with Starting Windows eg. a bad registry or incorrect driver is preventing Windows to start.It recovers the registry settings of HKEY_LOCAL_MACHINE\System\CurrentControlSet
    While System Restore uses restore points to return your system files and settings to an earlier point in time without affecting personal files. Restore points are created automatically every week, and just before significant system events, such as the installation
    of a program or device driver. You can also create a restore point manually.You can undone system restore but there is no such option in Last Known Good Configuration.
    Last Known Good Configuration is disabled in Windows 8 or,Windows 8.1 by default.
    Try using Last Known Good Configuration if you can't start Windows, but it started correctly the last time you turned on the computer.
    Try using System Restore to return the system to an earlier point in time when things worked correctly.
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • Please help me how to check a material does existed group code in system (w

    Hi all,
    Please help me...
    I have inputted quantity for  tx MC 94  but when I input them into  tx MC94, I met  a message " Structure  not yet maintained for  this conbination characterstics". Step by step to show a error message as below:
    Step 1: Launch MC 94
    step 2: Enter Planning
    Step 3: Enter  Prod.Code. Material (ex: enter material code :0101010260008, this code is existed  Prod.Code )
    Step 4: Click on "Inactive Version " button
    ==> A error message is showed.
    Please help me how to check a material does existed group code in system (which table to  check  it)?
    How to record the message" Structure  not yet maintained for  this conbination characterstics" to catch up it in my program?
    Thank in advance.

    Karenloria,
    1. Check in MC8C, which Infostructure is used for Planning type "Planning" or the one you are entering in the intial screen of MC94.
    2. Using transaction MC63 for the infostructure identified in step 1, check the planning hierarchy maintained. If this product is not maintined maintain using MC62.
    You can also check using SE16 transction the current infostructe records(Plan) for the table name = infostructure identified in step 1.
    Regards,
    Prasobh

  • Sharing code between Flex and AIR versions using library project

    Hello everyone,
    I'm developing an application that has both Flex and AIR versions. In order to share code between these apps, I created a library project and added all my code there. Now I've set the library project as a dependency for both Flex and AIR projects. Since there are some components that use the DataService object, I've added fds.swc and fds_rb.swc and fiber_rb.swc modules to the libs directory of the library project. No compile errors. Now, if I try to run my Flex application, I'm getting this error:
    Variable mx.data::LocalStoreFactory is not defined.
    I know that this error comes up when playerfds.swc is not present in the path. But that is not the case here. I have added playerfds.swc, fds.swc and related lib files to the build path.
    If I go back and add the playerfds.swc file to the original library project, the error no longer appears. This is not a proper solution for me, since I need to share this project with AIR version also, and I cannot have both playerfds.swc and airfds.swc in the same project.. Has anyone faced an issue like this before?? What am I doing wrong??

    Hello everyone,
    I'm developing an application that has both Flex and AIR versions. In order to share code between these apps, I created a library project and added all my code there. Now I've set the library project as a dependency for both Flex and AIR projects. Since there are some components that use the DataService object, I've added fds.swc and fds_rb.swc and fiber_rb.swc modules to the libs directory of the library project. No compile errors. Now, if I try to run my Flex application, I'm getting this error:
    Variable mx.data::LocalStoreFactory is not defined.
    I know that this error comes up when playerfds.swc is not present in the path. But that is not the case here. I have added playerfds.swc, fds.swc and related lib files to the build path.
    If I go back and add the playerfds.swc file to the original library project, the error no longer appears. This is not a proper solution for me, since I need to share this project with AIR version also, and I cannot have both playerfds.swc and airfds.swc in the same project.. Has anyone faced an issue like this before?? What am I doing wrong??

  • How to compare data between two tables?

    Hi,
    My team is trying to develop a SAP data migration tool (DMT) using ABAP.
    One of the functionalities in the DMT is to validate the data in the staging area against the loaded SAP data.
    The tables in the stagin area are customer tables (i.e. user-defined tables starting with Y, Z).
    How do I compare the data in the staging area against data that are loaded into SAP tables? Are there some built-in SAP functions to do this? Or, are there some better ways of doing this (e.g. instead of comparing against data in the SAP tables, we compare with some INTERNAL tables)?
    Any help would be greatly appreciated, thanks!

    Hi Kian,
    Use <b>SCMP</b> transaction to compare data between two tables and you can not use this for comparing internal tables.
    Thanks,
    Vinay

  • Differences between System.gc() and Runtime.gc() ?

    differences between System.gc() and Runtime.gc() ?

    None!
    P.S. I have only found one reason to use System.gc(). For some obscure reason it seems that if one invokes System.gc() when a Swing application is about to be iconized it substantially reduces the delay experienced when de-iconizing the application!
    Several reasons for this have been suggested but I have found none that really explain why it works but it does work!
    Edited by: sabre150 on Sep 28, 2007 10:23 AM

  • Sum Debit and Credit where code between 1001001001 and 1001001999 in Report

    Hi all
    I Create a Simple Report
    Which is
    SELECT initcap(Acc_name),to_char(acc_id),to_char(acc_id),control_detail,+
    Opening_balance, NVL(cb.C,0) as Credit, NVL(Cb.D,0) as Debit,+
    Opening_balance+NVL(cb.D,0)-NVL(Cb.C,0) Closing_balance,+
    Cb1.dr,cb1.cr,+
    Opening_balance+NVL(cb.D,0)-NVL(Cb.C,0)+nvl(cb1.Dr,0)-nvl(cb1.Cr,0)Ending+
    from COA,+
    *(Select cb_acc_id,sum(nvl(dabit,0)) D ,sum(nvl(credit,0)) C from cb*
    where vdate < :Date_from+
    Group by cb_acc_id)CB,+
    *(Select cb_acc_id,sum(nvl(dabit,0))Dr ,sum(nvl(credit,0))Cr from Cb*
    Where vdate between nvl(:Date_from,vdate) and nvl(:date_to ,vdate)+
    Group by cb_acc_id)CB1+
    Where acc_id = cb.cb_acc_id (+) and+
    acc_id =cb1.cb_acc_id (+)+
    CONNECT BY PRIOR acc_id = CATAGORY_id+
    START WITH acc_id between 01 and 1000+
    ORDER SIBLINGS BY acc_id+
    Now i need To sum Debit and Credit where code between 1001001001 and 1001001999
    Need Help
    Regard
    Shahzaib ismail

    Hi,
    Usually it can be determined using the field shkzg. If it contain 'S' its debit and if it contains 'H' then its credit.
    Before showing the amount you need to do like;
    IF wa_gl-shkzg = 'H'.
    wa_gl-dmbtr = wa_gl-dmbtr * (-1). " dbmtr - amount
    ENDIF.
    This will solve your problem.
    Regards
    Karthik D
    Edited by: Karthik D on Jun 3, 2009 12:29 PM

Maybe you are looking for