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.

Similar Messages

  • Update system status in SM13 - where the information is stored?

    Hi,
    Where does SAP store the information about the update system status in SAP.
    I have deactivated in SAPNetweaver trial: "Update deactivated by User" in SM13
    but I don't find any information in tables such as VBHDR, VBMOD.
    May be someone has an ABAP program which already do the job.
    Thanks for any kind of help for a perl hacker drowned in SAP Tables

    Hi Bertigo,
    I am afraid that this info what you have asked for is not stores in any table.
    If the system statuses are static then they can be stored but since u need a live update system monitor which i believe is not present in sap.
    For more clarification on the update monitor pls follow the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/de873b35cd11d3acb00000e83539c3/frameset.htm
    Thanks and Regards
    Srikanth.P

  • Updating system status of CS order when rejecting quotation

    Hello,
    this is the issue I have.
    I am using RRB process to make quotation for CS orders (SM02) trough DP80. All is ok if I have only one quotation, but my intention is to document negotiation process by rejecting quotation that customer didn’t accept and make new quotation based on changed pricing. Standard SAP does not allow this because while CS order has system status QUCR - Quotation created, it is not possible to make new quotation, even if the quotation is fully rejected.
    The object type ORI that controls system status has only two statuses that refer to quotation QUCR and QUAC (accepted). The status QUCR can only be removed if quotation is accepted or if quotation is deleted.
    It seams illogical not to have the opportunity to reject quotation and make a new one. But I can not see the way...if some one knows how it can be done, please give me the answer.
    BR,
    Milan

    hi
    iam also having same requirement
    can u please let me know whether your problem is resolved.
    regards
    swetha

  • Update System Status for Quality Notification

    I have a program that completes a Quality Notification.
    I would like to know if there is a bapi, badi or function module to change the system status before I complete the notification. When I click on the icon in the notification to complete it, a pop up box comes up to change the status to NOTI or NOTE. I would like to do the same in my program before I complete it.
    Any help would be appreciated.
    Marianne

    Hi,
    You need to get the OBJNR(object number) for the notifications and then use the FM: STATUS_READ.
    This FM will give you list of all the status or only active status( Set ONLY_ACTIVE = X in FM)..
    Hope this helps
    Regards
    Shiva

  • Update the JEST table

    Hi,
    Is there a BAPI that updates the JEST table - status of scheduling agreements?
    Thanks,
    Leon

    Hi,
    I want to insert new user status in JEST table but I can't find any suitable function. I have tried all function listed above, but it not works. Did anyone know what function module to insert new user status in JEST table?
    example:
    MANDT OBJNR                         STAT       CHGNR
    140   NV000000097200000007     E0004       001 
    140   NV000000097200000007     E0006       001 
    140   NV000000097200000007     I0001       001 
    140   NV000000097200000007     I0028       001 
    I would like to add stat = 'E0007' in JEST table. Thanks.

  • Updating JEST table

    Hi,
    I want to update user fields in JEST table .
    I should not use MODIFY and INSERT commands to update directly as it is not preferred.
    Please give me FM's/BAPIs which are used to update JEST table if anybody knows.
    Any pointers in this regard are very much helpful.

    try this...
    MAP2I_BAPI2054_OBJECTSTATUS_AL

  • User Exit to update user status at VA01/VA02

    Hi Expert
    Please help identify any User Exit to update User Status stored in tables (JSTO/JEST), at time of sales order (Business Object 2032) creation / change.
    Requirement is to set check mark on a specific user status in case of a material master is missing HTS code.
    Regards-Aamir

    Hi,
    If your requirement is to set the check the HTS field in the material master, you can make the field as Mandatory without which the  Material cant be saved
    You can make this field mandatory in OMS9 transaction code with field status as 89 and the field is MARC-STAWN
    Please revert if you need more details
    regards,
    santosh

  • System status table

    hi all,
    i am locking/unlocking(status) the account assigment of network at header level using CN22 transaction, it is updating the status in table JEST.I just want to know which table that system status update when iam  locking/unlocking the account assigment of network at activity level
    Thanks in advance
    RK

    Hi,
    Table JEST also contains the status records for Network Activities.  The object numbers (JEST-OBJNR) begin with 'NV' for Network Activities and 'NP' for Network Headers. 
    You can find the corresponding Network Activity object numbers in table AFVC (AFVC-OBJNR = JEST-OBJNR for Network Activities).  The AFVC-AUFPL value can then be linked to CAUFV-AUFPL to find the Network (CAUFV-AUFNR) that is entered in transaction CN22.  I was able to confirm this by changing a Network Activity status which also changed the table entries in JEST.
    Regards,
    Jamie

  • System status field  table name

    Dear all,
    I required help from all of you for finding the table  name for system status of equipment
    Thanks
    Raghav

    Hi,
    JEST - Individual Object Status
    JCDS - Change Documents for System/User Statuses (Table JEST)
    TJ02T - System status texts
    TJ30T - Texts for User Status
    To access jest/jcds use EQUI-OBJNR.
    Regards,
    Maria João Rocha

  • Table for checking System Status in a Service Order

    Hi,
    In which table can I find System Status (like REL - Released) of a Service Order ?
    Thanks.
    Raj

    Linda,
    The system-statuses are stored in table JEST.
    An easier way to get this data is by using function module STATUS_TEXT_EDIT:
    CALL FUNCTION 'STATUS_TEXT_EDIT'
               EXPORTING
                    FLG_USER_STAT = ' '
                    OBJNR         = I_VIAUFKS-OBJNR
                    ONLY_ACTIVE   = 'X'
                    SPRAS         = SY-LANGU
               IMPORTING
                    LINE          = W_LINE.
    *           user_line     = w_user_line.

  • System status not get updated.

    hai any one can help me in this pls
    my client created sevice orders in crm system and in these some details are reflected in to mobile client.There is integration between in CRM & Mobile clients.
    present requirement is system status is not get updated.
    user status is released.but in system status showing like 1) open  2) contains error. This is occure for some sevice orders  which are created in perticular transaction type  for suppose if my client created 1000 service orders in that 200 or 250 orders status not get updated.
    Because of  this the followup document is not created.
    For temparary pupose to overcome this issue we are doing like this. There are two mandatory fields are there in that any one delete and reenter the same value then automatically the system status get updated in to release status.
    where the problem whether  is in configuration or it is in system
    or it is some technical. Before its worked properly recently they got this issue. How can i overcome this issue permanently.

    Hi
    The status of a sales transaction, saved in CRM Enterprise must be without errors so that it can be transferred to the mobile client
    Sales transactions with errors can be transferred from the mobile client to CRM Enterprise.
    Check the table CDBD_STATUS
    Reward with points if helpful
    Regards
    Manohar

  • Table for system status for an order

    Hi Gurus,
    we are displaying a report in which list of orders we are displaying in that system status also we need to dispaly for that the logic we have used is take OBJNR from AUFK by passing AUFNR and get all the active status for that AUFNR by passing AUFNR in to JEST by setting the inactive status is equal to space and then by comparing those system status with table TJ02 and we are taking the system status codes from that table. But my requirement is to display the user status in the order how we will get in order screen? In JCDS table am getting the entries based on date and time but unwanted status also it is showing. tell me is there any way to get the exact order how we will get in the order screen.
    Thanks in advance.
    Regards
    Satish

    Hi,
    Its client requirement. we need to show list of orders in a alv report for a particular selection. There for each and every order we are displaying the system status but it is not coming in proper sequence as compared with the order screen system status.
    Please do the needful.
    Regards
    satish

  • DB table to get system status and text for PO.

    Hi All,
    I need the table to get system status for a production order and system status text .Please help.

    Hi Prem,
    JEST table is for system status for a production order and TJ02T table is for system status text.
    Try with these fields in the above tables.
    u2022     OBJNR   like JEST-OBJNR object number
    u2022     STAT      like JEST-STAT  Object status
    u2022     INACT    like JEST-INACT indicator status inactive
    u2022     TXT04    like TJ02T-TXT04 individual status of an object
    u2022     TXT30    likeTJ02T-TXT30 object status.
    Hope it helps you.
    Regards,
    Anusha V.
    Edited by: Anusha on May 26, 2009 10:22 AM

  • Reg Update Order System Status

    Hi,
    My requirement is, while doing TECO (technical complete) of maintenance order I want to check for open reservation/requisition in maintenance order. and if we found any any open reservation/requisition then order status TECO will not update. maintenance order will remain in present status. any other update done in this order before TECO will save.
    Please suggest how I can acheive this.
    I tried to use uesr exit IWO0009 and BADI WORKORDER_UPDATE but not abe to update order system status in this point.
    Please suggest me any EXIT or BADI or Solution for this requirement.
    Regards,
    Atul

    Hi Atul,
    Following codes can be help u for Open PR before TECO.
    *&  Include           ZXWO1U03
    EXIT_SAPLCOIH_004
    DATA: BEGIN OF IT_EBAN OCCURS 0,
            BANFN LIKE EBAN-BANFN,
            BNFPO LIKE EBAN-BNFPO,
            EBELN LIKE EBAN-EBELN,
            LOEKZ LIKE EBAN-LOEKZ,
          END OF IT_EBAN.
    DATA: IT_AFKO LIKE AFKO.
    DATA: BEGIN OF IT_AFVC OCCURS 0,
             BANFN LIKE AFVC-BANFN,
          END OF IT_AFVC.
    DATA: X_AUFPL LIKE AFKO-AUFPL,
          X_BANFN LIKE AFVC-BANFN,
          STR TYPE STRING.
    SELECT SINGLE AUFPL
       FROM AFKO
         INTO X_AUFPL
           WHERE AUFNR = CAUFVD_IMP-AUFNR.
    IF SY-SUBRC = 0.
      SELECT SINGLE BANFN
         FROM AFVC
           INTO X_BANFN
             WHERE AUFPL = X_AUFPL
               AND STEUS = 'PM03'." Extenal Service Control Key"
      SELECT BANFN BNFPO EBELN LOEKZ
         FROM EBAN
           INTO TABLE IT_EBAN
             WHERE BANFN = X_BANFN.
    ENDIF.
    LOOP AT IT_EBAN.
      IF IT_EBAN-EBELN = '' AND IT_EBAN-LOEKZ = ''.
        CONCATENATE 'PR' IT_EBAN-BANFN 'is not converted to PO.TECO is disallowed' INTO STR SEPARATED BY SPACE.
        MESSAGE STR TYPE 'E'.
      ENDIF.
    ENDLOOP.

  • Performing check and potential update for status control table

    Cheers Experts,
    I searched in the forum, but I didn't find an answer.
    I'm working on a 3.0B BW system.
    After updating from PSA to an ODS, in the log I see the following line:
    "Performing check and potential update for status control table" and double clicking on it, it says:
    If data is loaded into an InfoCube, or existing data is edited (aggregated/compressed/deleted/got from a DataMart), then there is a change in  the potential reportability of the data , or the possibility of deleting data by request, or of aggregating or compressing.
    This status of each one of these Cubes is stored in a status table, that is updated when there is any change to the status of a request in the Cube.
    The system now analyzes the requests in the Cube and compares the calculated status with the status table.
    If deviations from the status table arise then you are given the option of adjusting the status table.                                         
    I have 2 questions:
    1) What is BW doing, mainly because I'm working on an ODS and not an Infocube?
    2) What can I do to reduce its execution time, since it lasts several minutes?
    Thanks and greetings.
    Roberto

    Roberto, did you ever find an answer to your question?  We also are experiencing long runtimes during this particular process running 3.x deltas from ODS to ODS and cubes.

Maybe you are looking for