I need to Clarify "JEST " table

Hi All,
I need to know the meaning of data stored in the column "STAT" of table JEST.
Example:-
I0001 - ?
I0002 - ?
I0010 - ?
I0016 - ?
I0028 - ?
I0045 - ?
I0056 - ?
I0074 - ?
I0118 - ?
I0215 - ?
I0321 - ?
I0361 - ?
I0369 - ?
I0420 - ?
These are some of the information stored how could I get the meaning of the rest stored in "STAT" column? AND what do they mean by "CHGNR" column?
Thanks,
Kishan

Hi,
These are not the texts but the status indicators what you have specified in the earlier post. These are customizing settings and can vary.
TJ30T stores the long texts for these status indicators. for ex. 'I001',etc .
To use the table TJ30T you need to know the Status Profile which is again a customzing done by Functional Consultant.
Have a look at following sample code.
Get the User Status of the Equipment.
    select single objnr from equi into z_objnr
                        where equnr = t_equnr-equnr.
    if sy-subrc = 0.
      select single stat from jest into z_stat where
                       objnr = z_objnr and inact <> 'X'.
      if sy-subrc = 0.
        select single txt30 from tj30t into z_txt04
                            where estat = z_stat
                            and stsma = 'ZEQUIP'.
        if sy-subrc = 0.
          t_pnwtyh_alv-stat = z_txt04.
        endif.
      endif.
    endif.
Hope it helps.
Regards,
Shashank

Similar Messages

  • Update system status in JEST table

    Hi Experts,
    I need to update the system status TECO as inactive in table JEST based on some condition from program manually. It might not be suggested to directly modify the database table. I got one BAPI function module BAPI_ALM_ORDER_MAINTAIN, but could not find how to use it.
    Can you please let me know whether there are any BADIs or BAPIs to update the system status in JEST table.
    Thanks in advance for you help.
    regards,
    Lakshmi.

    Hi ,,
    Thank you for your suggestion. but I got a FM which exactly updates the system status in JEST and JCDS tables.
    The function module STATUS_CHANGE_INTERN and can be used as follows. We always need to follow one condition that, when the system status TECO is changing to inactive the REL status should be made Active.
        DATA: i_stat TYPE STANDARD TABLE OF jstat.
        DATA: wa_stat TYPE jstat.
        wa_stat-stat = 'I0045'.
        wa_stat-inact = 'X'.
        APPEND wa_stat TO i_stat.
        wa_stat-stat = 'I0002'.
        wa_stat-inact = ' '.
        APPEND wa_stat TO i_stat.
        CALL FUNCTION 'STATUS_CHANGE_INTERN'
          EXPORTING
            client              = sy-mandt
            objnr               = lv_objnr
          TABLES
            status              = i_stat
          EXCEPTIONS
            object_not_found    = 1
            status_inconsistent = 2
            status_not_allowed  = 3
            OTHERS              = 4.
    COMMIT WORK.

  • Significance of STAT field in JEST table

    In one of my report I need to extract the status of a equipment from JEST table, the field is STAT. Incidentally the table contains other two fields INACT and CHGNR.
    I am not getting the meaning and significance of each of the fields in this JEST table. Can anyone tell me the significance of this STAT field and its possible set of values.
    Please help me. It is a bit urgent.
    Thanks in advance.

    If you need to extract the status of a particular object, you can try using FM: STATUS_READ with the object number and 'X' for Only Active.
    Coming to your question, Field INACT of table JEST identifies whether the status is currently active or inactive. Field CHGNR determines the sequence in which the status'es are changed.
    Possible set of values determines on the Status Profile which is configurable and differs from System to System.
    Check in table TJ30 with the status profile to know the various status'es defined for the profile. For their descriptions you can check table: TJ30T or alternatively you can try view V_TJ30T.
    So for your sequence i would advice:
    1. Execute FM: STATUS_OBJECT_READ with Object Number to retreive the status profile.
    2. Execute FM: STATUS_READ to extract the active status of the object.
    3. Extract the description of the status from table TJ30T with the status profile and status.
    Hope that helps.

  • JEST table and status change document OPL8

    Hi Experts,
    1. I created a prod order and released it and saved. went to AUFK and got the object number to pass in JEST  table. System shows no values found.I was expecting a record for the same. do I need to do something to populate JEST table?
    2. In OPL8 under implementation tab, there is something called status change documents. do I need to configure OCM to use these change documents? if the answer is no, then what is the difference between these change documents and OCM change documents?
    thx in advance

    swathi.rege wrote:
    2. In OPL8 under implementation tab, there is something called status change documents. do I need to configure OCM to use these change documents? if the answer is no, then what is the difference between these change documents and OCM change
    The settings in OPL8 will just determine if system should write the change logs of status to table tables CDHDR and CDPOS (for audit trail). Entries will appear here CO03 >> Header >> Status changes
    I think you opened up different windows of different boxes (DEV, QAS etc) and probably created in production order in DEV and checking status in QAS.
    Edited by: Jeevan Sagar on Feb 12, 2012 10:09 PM

  • JEST Table Data Extraction

    Hi Gurus,
    I am using Z transactional datasource (ZJEST) created on JEST Table with Full Load.JEST Table has only 4 fields:
    CHGNR     Change number
    INACT     Indicator: Status Is Inactive
    OBJNR     Object number
    STAT     Object status
    This table has around 18 million records.Each time i load data i have to extract around 18 million records.
    Is there any alternate way to avoid loading these huge data every time.Also this table has no date field not extract data based on time.
    Can anyone suggest me with ur valuable inputs.
    Thank in Advance
    Surya.

    Hi ,
    Hi All, If you check the JEST table there is uniqueness for the Records are updated at the table level.
    I think we can't use  OBJNR .May be we can with STAT field.
    Other way:
    From JEST you can extract Full load bacuse there is no delta specific field.
    Create a custom table as ZTEST with additional field timestamp.So that you can fetch only updated data into DS level.
    Now the issue is how the ZTable will be populated:
    Easiest way is with the help of ABAP we can populate from standard to ZJEST every day but when updating we will maniantain Timestamp.So you can extract only those records.
    (or)
    Check How the JEST table is populating by the Functional consultants is there any idention for how many records updated today.But the issue is u r is FULL even though you know the logic no useful.So u need to convert into Delta.
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Dec 10, 2009 11:05 AM

  • Need To Create a table in Sql Server and do some culculation into the table from Oracle and Sql

    Hello All,
    I'm moving a data from Oracle to Sql Server with ETL (80 tables with data) and i want to track the number of records that i moving on the daily basis , so i need to create a table in SQL Server, wilth 4 columns , Table name, OracleRowsCount, SqlRowCount,
    and Diff(OracleRowsCount - SqlRowCount) that will tell me the each table how many rows i have in Oracle, how many rows i have in SQL after ETL load, and different between them, something like that:
    Table Name  OracleRowsCount   SqlRowCount  Diff
    Customer                150                 150            
    0
    Sales                      2000                1998          
    2
    Devisions                 5                       5             
    0
    (I can add alot of SQL Tasks and variables per each table but it not seems logicly to do that, i tryid to find a way to deal with that in vb but i didn't find)
    What the simplest way to do it ?
    Thank you
    Best Regards
    Daniel

    Hi Daniel,
    According to your description, what you want is an indicator to show whether all the rows are inserted to the destination table. To achieve your goal, you can add a Row Count Transformation following the OLE DB Destination, and redirect bad rows to the Row
    Count Transformation. This way, we can get the count of the bad rows without redirecting these rows. Since the row count value is stored in a variable, we can create another string type variable to retrieve the row count value from the variable used by the
    Row Count Transformation, and then use a Send Mail Task to send the row count value in an email message body. You can also insert the row count value to the SQL Server table through Execute SQL Task. Then, you can check whether bad rows were generated in the
    package by querying this table.  
    Regards,
    Mike Yin
    TechNet Community Support

  • Update table a columns using columns from table b (values of 2 columns of table b need to taken from table c)

    Guys,
    I need to update table A columns col3, col4, col5 and col6 by table b columns col3, col4, col5 and col6 however table b col5 and col6 values need to come from table c col1.
    Means table b col5 and col6 have values in it however i need to replace them with value from table c col1 and need to update table a col5 and col6 accordingly.
    table a and table b has col1 and col2 in common.
    i am trying something like this.
    Update a
    a.col3 = b.col3,
    a.col4 = b.col4,
    a.col5 = (select col1 from table_c c where c.col2=b.col5),
    a.col6 = (select col1 from table_c c where c.col2=b.col6)
    from table_A a inner join table_b
    on  a.col1=b.col1 and a.col2=b.col2
    can someone help me reframe above update query?
    thanks in advance for your help.

    Try the below:(If you have multiple values, then you may need to use TOP 1 as commented code in the below script)
    create Table tableA(Col1 int,Col2 int,Col3 int,Col4 int,Col5 int,Col6 int)
    Insert into tableA values(1,2,3,4,5,6)
    create Table tableB(Col1 int,Col2 int,Col3 int,Col4 int,Col5 int,Col6 int)
    Insert into tableB values(1,2,30,40,50,60)
    create Table tableC(Col1 int,Col2 int,Col3 int,Col4 int,Col5 int,Col6 int)
    Insert into tableC values(100,50,30,40,2,2)
    --Insert into tableC values(200,50,30,40,2,2)
    Insert into tableC values(100,60,30,40,2,2)
    Select * From tablea
    Update a Set
    a.col3 = b.col3,
    a.col4 = b.col4,
    a.col5 = (select col1 from tablec c where c.col2=b.col5 ),
    a.col6 = (select col1 from tablec c where c.col2=b.col6 )
    from tableA a inner join tableb b
    on a.col1=b.col1 and a.col2=b.col2
    --Update a Set
    --a.col3 = b.col3,
    --a.col4 = b.col4,
    --a.col5 = (select Top 1 col1 from tablec c where c.col2=b.col5 Order by c.Col1 asc),
    --a.col6 = (select Top 1 col1 from tablec c where c.col2=b.col6 Order by c.Col1 asc)
    --from tableA a inner join tableb b
    --on a.col1=b.col1 and a.col2=b.col2
    Select * From tablea
    Drop table tablea,Tableb,TableC

  • Need help in SQL table creation

    Hi All,
    I created a table a month back.Now i need to create another table of the same structure.
    Is there any way so dat i can get the script of the table which i created earlier and use the same to create another.
    Or is there another way so that we can create a table with same structure of the existing table.
    Please help.
    Regards,
    Mohan

    Check out the [DBMS_METADATA.GET_DDL|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#i1019414] function.
    Example:
    SQL> SET LONG 5000
    SQL> SELECT DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT') FROM DUAL;
    DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT')
      CREATE TABLE "SCOTT"."EMP"
       (    "EMPNO" NUMBER(4,0),
            "ENAME" VARCHAR2(10),
            "JOB" VARCHAR2(9),
            "MGR" NUMBER(4,0),
            "HIREDATE" DATE,
            "SAL" NUMBER(7,2),
            "COMM" NUMBER(7,2),
            "DEPTNO" NUMBER(2,0),
             CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE,
             CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO")
              REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"Edited by: Centinul on Jan 11, 2010 8:01 AM

  • Need a bapi or table for GL Report

    Hi experts,
    I need a bapi or table for generating report period balance for GL accounts. i found one bapi BAPI_GL_GETGLACCPERIODBALANCES which is closer to my requirement. But i want to get the balances for cost center and particular material. As Cost center and product ranges are in my selection fields.
    Can anyone tell me table or BAPI?

    SAP standard infoset query provides a report STDCOST for this.
    May be this will suit your requirement. It will give material wise costing.
    hope this helps.
    reward if helpful.

  • I need to clarify how I can use adobe as a host for my site for free. I see where business catalyst is supposed to be temporary as well as it is recommended to use as the better alternative to launch my muse site. But then I have to use the long

    I need to clarify how I can use adobe as a host for my site for free. I see where business catalyst is supposed to be temporary as well as it is recommended to use as the better alternative to launch my muse site. But then I have to use the long extension of "businesscatalyst" in addition to the domain name I'd prefer. How exactly can I take it live? do I have to use a third party hosting?

    Hi,
    Once you are done with your sitet, Click on Publish in Muse, select New Site from the drop down, It will ask you a name for your site, which will be used for  site url, you will get a url like mysite.businesscatalyst.com, then go to the browser and login to the admin panel, mysite.businesscatalyst.com/admin and on Dashboard, click Launch site. This will push your site live, and you can then add your custom domain.
    Also make sure that you have completed all these actions mentioned here
    User manual
    Do let me know if you have any question.

  • Settlement job is held up on JEST table

    Hi ,
    A settlement job is held up in JEST table and is shown in SM66.There are many hits of this JEST table which is in sequential read status .The job which is related to this table is running inconsistently since 3 days ie the duration for completion of job is increasing gradually.
    So can anyone help in understanding as why the JEST table gives these many hits and is in sequential read status. This is found everyday.
    Thanks,
    Amber

    First: don't rely on the "sequential read" what you see in SM50/SM66 (see Note 825653 - Oracle: Common errors, point 15).
    Check ST04/DBACOCKPIT what the database is actually doing and which access plan is used for that statement. Also check that your database statistics are up-to-date for that table.
    Markus

  • Need information about Internal Tables

    Hi Every one!
    I Need some information about Internal tables. Pls help be above the same.
    Thanks & with Regards,
    Chandra.

    Hi..,
    <b>
    Internal tables </b>
    Internal tables provide a means of taking data from a fixed structure and storing it in working memory in ABAP. The data is stored line by line in memory, and each line has the same structure. In ABAP, internal tables fulfill the function of arrays. Since they are dynamic data objects, they save the programmer the task of dynamic memory management in his or her programs. You should use internal tables whenever you want to process a dataset with a fixed structure within a program. A particularly important use for internal tables is for storing and formatting data from a database table within a program. They are also a good way of including very complicated data structures in an ABAP program.
    Like all elements in the ABAP type concept, internal tables can exist both as data types and as data objects A data type is the abstract description of an internal table, either in a program or centrally in the ABAP Dictionary, that you use to create a concrete data object. The data type is also an attribute of an existing data object.
    <b>Internal Tables as Data Types</b>
    Internal tables and structures are the two structured data types in ABAP. The data type of an internal table is fully specified by its line type, key, and table type.
    <b>Line type</b>
    The line type of an internal table can be any data type. The data type of an internal table is normally a structure. Each component of the structure is a column in the internal table. However, the line type may also be elementary or another internal table.
    <b>Key</b>
    The key identifies table rows. There are two kinds of key for internal tables - the standard key and a user-defined key. You can specify whether the key should be UNIQUE or NON-UNIQUE. Internal tables with a unique key cannot contain duplicate entries. The uniqueness depends on the table access method.
    If a table has a structured line type, its default key consists of all of its non-numerical columns that are not references or themselves internal tables. If a table has an elementary line type, the default key is the entire line. The default key of an internal table whose line type is an internal table, the default key is empty.
    The user-defined key can contain any columns of the internal table that are not references or themselves internal tables. Internal tables with a user-defined key are called key tables. When you define the key, the sequence of the key fields is significant. You should remember this, for example, if you intend to sort the table according to the key.
    <b>
    Table type</b>
    The table type determines how ABAP will access individual table entries. Internal tables can be divided into three types:
    <u>Standard tables</u> have an internal linear index. From a particular size upwards, the indexes of internal tables are administered as trees. In this case, the index administration overhead increases in logarithmic and not linear relation to the number of lines. The system can access records either by using the table index or the key. The response time for key access is proportional to the number of entries in the table. The key of a standard table is always non-unique. You cannot specify a unique key. This means that standard tables can always be filled very quickly, since the system does not have to check whether there are already existing entries.
    <u>
    Sorted tables</u> are always saved sorted by the key. They also have an internal index. The system can access records either by using the table index or the key. The response time for key access is logarithmically proportional to the number of table entries, since the system uses a binary search. The key of a sorted table can be either unique or non-unique. When you define the table, you must specify whether the key is to be unique or not. Standard tables and sorted tables are known generically as index tables.
    <u>
    Hashed tables</u> have no linear index. You can only access a hashed table using its key. The response time is independent of the number of table entries, and is constant, since the system access the table entries using a hash algorithm. The key of a hashed table must be unique. When you define the table, you must specify the key as UNIQUE.
    <b>
    Generic Internal Tables</b>
    Unlike other local data types in programs, you do not have to specify the data type of an internal table fully. Instead, you can specify a generic construction, that is, the key or key and line type of an internal table data type may remain unspecified. You can use generic internal tables to specify the types of field symbols and the interface parameters of procedures . You cannot use them to declare data objects.
    <b>Internal Tables as Dynamic Data Objects</b>
    Data objects that are defined either with the data type of an internal table, or directly as an internal table, are always fully defined in respect of their line type, key and access method. However, the number of lines is not fixed. Thus internal tables are dynamic data objects, since they can contain any number of lines of a particular type. The only restriction on the number of lines an internal table may contain are the limits of your system installation. The maximum memory that can be occupied by an internal table (including its internal administration) is 2 gigabytes. A more realistic figure is up to 500 megabytes. An additional restriction for hashed tables is that they may not contain more than 2 million entries. The line types of internal tables can be any ABAP data types - elementary, structured, or internal tables. The individual lines of an internal table are called table lines or table entries. Each component of a structured line is called a column in the internal table.
    <b>
    Choosing a Table Type</b>
    The table type (and particularly the access method) that you will use depends on how the typical internal table operations will be most frequently executed.
    <b>
    Standard tables</b>
    This is the most appropriate type if you are going to address the individual table entries using the index. Index access is the quickest possible access. You should fill a standard table by appending lines (ABAP APPEND statement), and read, modify and delete entries by specifying the index (INDEX option with the relevant ABAP command). The access time for a standard table increases in a linear relationship with the number of table entries. If you need key access, standard tables are particularly useful if you can fill and process the table in separate steps. For example, you could fill the table by appending entries, and then sort it. If you use the binary search option with key access, the response time is logarithmically proportional to the number of table entries.
    <b>Sorted tables</b>
    This is the most appropriate type if you need a table which is sorted as you fill it. You fill sorted tables using the INSERT statement. Entries are inserted according to the sort sequence defined through the table key. Any illegal entries are recognized as soon as you try to add them to the table. The response time for key access is logarithmically proportional to the number of table entries, since the system always uses a binary search. Sorted tables are particularly useful for partially sequential processing in a LOOP if you specify the beginning of the table key in the WHERE condition.
    <b>
    Hashed tables</b>
    This is the most appropriate type for any table where the main operation is key access. You cannot access a hashed table using its index. The response time for key access remains constant, regardless of the number of table entries. Like database tables, hashed tables always have a unique key. Hashed tables are useful if you want to construct and use an internal table which resembles a database table or for processing large amounts of data.
    regards,
    sai ramesh

  • Need to delete a table join in ABAP query

    Hi
      I have created an ABAP query with a join over AUFK, AFIH, AFKO, AFVV, AFVC and AFRU.
      I need to delete the table AFRU from the join. I tried to delete the table in the edit option in the Join table option. I deleted the links between the table AFVC and AFRU and clicked on delete table option. I get the message Table AFRU not used. Please let me know if there is any method to delete the table.
    Thanks and Regards,
    Ajith

    u have to break the link between this table and other tables...U need to delete where conditions and then delete the join...

  • Urgent Need for creating 100 tables in Oracle.

    Hello All,
    I need to create 100 tables in oracle using a loop.
    Please suggest . Advance thanks for your efforts.
    ANto

    I am getting the foll error at run time when executing the procedure ..
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "ORAUSER.CREATE_100_TABLE", line 9
    ORA-06512: at line 1
    The script goes here ...
    create or replace procedure create_100_table
    is
    v_sql_string varchar2(200);
    begin
    for i in 1..100
    loop
    v_sql_string := 'create table ajames' || i || ' as select * from emp';
    execute immediate v_sql_string;
    end loop;
    end;
    ------------------------

  • How can I create a matrix question? Specifically, I need a question in table format that allows each respondent to list a number of events and then data for each event (date, location, number of participants, topics covered, etc.

    How can I create a matrix question? Specifically, I need a question in table format that allows each respondent to list a number of events and then data for each event (date, location, number of participants, topics covered, etc.

    Hi,
    Sorry, we do not support a matrix-question field.   Please try the multilines text field (where your participant can enter multiple lines in the input text box) and see if it works for you.
    Thanks,
    Lucia

Maybe you are looking for