How to find objects with active System status-JEST

Hi All,
Is there any way in which I can find Production operations based on their active system status.
The problem I'm facing is SAP stores system status for an order in JEST. And JEST contains many active system status for a PP Operation.
I have to select all Operations which have status of say e.g. REL(released).
If the select statement is as below
select objnr stat
into table t_jest
from jest
where stat = <Internal format of REL>
and inact NE 'X'.
Then this will also give those objects which are having REL plus any other higher status.
Whereas what I want is only those objects which have their current status as REL and not which also as REL.
The other way of doing this is get a all object and statuses and loop through records and filter out unwanted ones. But it will have serious impact on performance.
Does anyone has some other solution to the above problem. Any function module or any other table which stores only the current active status.
Any help would be of great help to me.
Thanks.
Message was edited by: Stephen Peter

Hi Peter
we have to these FMs to get the Status of Prod.Order.I have Developed one Reoprt which will show up order staus / stages
like : col1 is orders which are in Open nothing but REL.So u have to put a Condition where jest-stat ='REL' only.
OPEN-TECO  PCNF-TECO
        2          0
        9          5
        0          0
        2          0
        3          0
        4          3
        0          1
        0          0
        1          0
        2          0
       23          9
CRS_SORDER_CREATE_UPLOAD_PROXY                                                               
CRS_SORDER_STATUS_UPLOAD_PROXY                                                               
MASS_PERFORM_STATUS_CHANGES                                                                  
STATUS_READ                      Read Object Status (JSTO and JEST)                          
STATUS_READ_MULTI                                       
* Getting the Order Number and Obj.Number.
   select aufnr erdat werks objnr from aufk
                      into corresponding fields of table  otab
                                  where auart in ('PP01','PP02')
                                    and erdat gt s_budat-low
*                                    prabhu on 24.5.5
                                    and werks in s_werks.
* Getting the Obj.Number and Status Number
data : w_stat like jtab-stat.
*  loop at otab.
  if otab[] is not initial.
  select objnr stat from jest
                    into corresponding fields of  table jtab
                    for all entries in otab
                          where objnr = otab-objnr
                          and inact eq ''.
  endif.
* Getting the Status Text for All The Orders
  loop at jtab.
  read table ttab with key istat = jtab-stat.
  if sy-subrc ne 0.
  select single  txt04 txt30 from tj02t
                       into (ttab-txt04,ttab-txt30)
                           where istat eq jtab-stat
                             and spras eq 'EN'.
   if sy-subrc eq 0.
    ttab-istat = jtab-stat.
    append ttab.
    clear ttab.
    endif.
   endif.
  endloop.
i think u got one Inputs.
Regards
Prabhu
[email protected]

Similar Messages

  • How can we reset the   active system status  when we are trying to change

    Hello SAP,
    I am using the transaction  code 'CJ20N' .
    For this transaction code, I need to put one validation when user is trying to change the system status to 'TECO'.
    Once, user changed the system status  and trying to save , we need to put the previous system status.
    For e.g. : system status is 'REL'. Now user set to 'TECO' and CLICK on save button, system status  need to change 'REL'.
    Could you please explain me that how can we delete the buffer system status 'TECO' and reset to active status 'TECO '.
    Thanks and Regards
    Srini

    You can't delete an account, you can only stop using it.  If you're getting that error message you won't be able to create a new account on your device.  Your only options are to re-use one of the accounts previously created, or create a new account on a different iOS device or Mac (running OS X Lion or higher), if you have one.

  • How to fetch service order with partucular system status and user status

    Hello All,
    How to fetch service orders with specific system status and user status.
    thanks

    I want tables or views from where I can fetch service orders. I have to design ALV report based on this.
    I want to fetch released service orders with status INIT and RENT.
    Here, SYSTEM Status = Released and
             USER Status     = INIT
                                        RENT
    So is there any function module available for the same.....

  • What is ilife ?? is it comes with macbook pro 13in ?? how to find out in the system

    what is ilife ?? is it comes with macbook pro 13in ?? how to find out in the system?? I am using OSX 10.8.5

    These are the iLife applications:
    http://www.apple.com/ilife/
    They come with every new Mac.  If they are not in your applications folder, download them from the App store.
    Ciao.

  • When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?!

    When I open iPhoto 9.2.1 it says that my library needs to be upgraded but when I upgrade the library I am trying to open (33 GB worth of pictures from 2006) the new application says it cannot read the files and how to find them on the system to reimport?! and then I'd like to erase the original files since the space requirement is huge!!!! Why is upgrading software iPhoto such a pain. I've gotta get a presentation done and all I get for my money is roadblock!!!

    hello, it sounds like the library is damaged.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 

  • How to find in R/3 System, which FI document is from which external system?

    Hi Moderator/ FICO Experts,
    How to find in R/3 System, which FI document is from which external system?
    In case of different Non-SAP external Systems posting the data to one R/3 System.
    Thanks
    Chandra

    Hi,
    That really depends on the interfaces that your external systems are using. Check with your ABAP or BASIS team to see what is the method used for posting those documents and with which parameters is passed. Look at BKPF table (FI header) to see the attributes such as user, document type, reference, etc.
    Regards,
    Eli

  • How to find Object Styles

    Hello,
    Adobes Scripting Guide: JavaScript explains well(more or less) how to find text, greps and glyph. But lacking is how to find Object Styles. The Find/Change Dialog box in ID does have this option.
    What I would like is a script that will find a style, then fill in the color of that style so that one can clearly see in a long document where the style was used. When there are only subtle differences between styles, this is helpful.
    The first thing to do is to clear all the options and that is my first stumbling block. In the following code the first line works, clearing the find of any parameters. The second line does not work.
    app.findObjectPreferences = NothingEnum.nothing;
    app.findChangeObjectOptions = NothingEnum.nothing;
    I also need to set the Search for Documents (not All Documents nor Selection) and to set the Type for All Frames.
    The second obstacle is setting the Find so that it will find the object I am looking for. The code below does not work but I do not know why.
    app.findObjectPreferences.getElements("Object Style 1");
    Any help is appreciated.
    Tom

    You need this:
    app.findObjectPreferences = null;
    app.findObjectPreferences.appliedObjectStyles = "Object Style 1";
    found_objects = app.activeDocument.findObject();
    Some things are different in scripting compared to the interface. For instance, the scope of the search in the interface is just "document" or "all documents", but in a script you can search a page, a spread, almost anything (I have to say that this is true for text and grep searches, I never tried it for objects). Finding frame types is different as well: there's no parameter for that I don't think. Instead, you have to find all frames that have a particular object style applied to them, then cycle through them checking their frame type; if the type matches your criteria, do what you want with it.
    Peter

  • How to find out whether the system user is a vendor or a purchaser

    Hi,
    I am working in SRM 5.0. I have a requirement that some fields of Bid invitation can be visible by purchaser but not to bidder.
    How to find out whether the system user (user id though which system logged in) is a vendor or a purchaser. Kindly help me to resolve this issue.
    Sushmita Singh

    check his role.
    is surrogate bidding available for that bidder.
    via surrogate bid , purchaser can submit bid on behalf of the bidder.
    masa is correct
    pposa_bbp - search via user . so he might be  a purchaser.
    maintain business partner -supply your bidder bp number -edit
    go to bidder data .Under bidder data you must flag "PERMIT PROXY BIDDING"
    regards
    Muthu
    br
    muthu

  • How to find inbound with repect to goods receipt?

    Dear Gurus,
    how to find inbound with repect to goods receipt?
    Any report?
    Thanks,

    Once you do goods receipt inbound delivery no gets updated in Material document delivery note field.Use Table MKPF to get inbound delivery umber against material document
    Material document field :MKPF -MBLNR
    Inbound delivery Ref :MKPF-XBLNR

  • How to find out an active LDAP Server?

    How to find all other active LDAP servers when one fails?

    Hi, its Exchange 2003 SP2, OWA was working up till some updates where done on the server last week, now after you enter the user name and password I get a error HTTP/1.1 503 Service Unavailable, the guy who installed the server has been rolling back the updates to try and get it working but still hasnt been able to. Its problem after problem ATM, I cant VPN in either, the installer can from his place though.

  • How to find out all active instances in a syste

    How to find out all active instances in a system

    Go to your basis team and ask them, as far as i know there is no other way then suggested in the other answer, but that is not a complete picture, And that is as designed, why should one want to be able to find out, the basis consultant will tell you!

  • How to find Object name for a object?

    Hi Experts,
    How to find Object name for a particular Object? Is there a Tcode for it?
    __Like Object name for__
    Material number -  materialnr
    Goods receipts / return - matbeleg
    Accounting documents -  rf_beleg
    How to find Object name for other Objects? Is there a particular way?
    Thanks & Regards
    Chandan

    Hi,
    You can find objects in SNRO transaction.
    In SNRO search by giving long text...
    for eg., Service .. for service entry sheet. keep the first letter in capital letter only.
    Thanks & Regards,
    Anand.

  • How to find gr details and invoice status for particular list of purchase

    Hi,
       how to find gr details and invoice status for particular list of purchase orders.
    is there any t.code/report for it??

    Hi,
    You use t.code:ME2Nand enter PO number,tn Execute.Now you will have PO details .Now in item details get GR details and Invoice details   in  purchase order history TAB.
    In t.code:MIR5, you can see blocked invoice by selection.
    Regards,
    Biju K

  • How to find out the active associations and clear inactive associations?

    Hi guys,
    I can find out the associates on IOS AP using the command "show dot11 associations client". The output includes all associations even though the clients have left for a long while.
    1.How to find out the active associations?
    2.How to clear the inactive associations?
    3.What is the by default timeout for the inactive associations?
    Thanks,
    yytellmey

    Hi Huang,
    try this:
    Show the associated clients:
    sh dot11 associations all-client
    Deauthenticate client
    clear dot11 client
    Activity Timeout
    show dot11 activity-timeout
    per standard 60 secs.
    Best regards,
    Frank

  • How to find table with colum that not support by data pump network_link

    Hi Experts,
    We try to import a database to new DB by data pump network_link.
    as oracle statement, Tables with columns that are object types are not supported in a network export. An ORA-22804 error will be generated and the export will move on to the next table. To work around this restriction, you can manually create the dependent object types within the database from which the export is being run.
    My question, how to find these tables with colum that that are object types are not supported in a network export.
    We have LOB object and oracle spital SDO_GEOMETRY object type. our database size is about 300G. nornally exp will takes 30 hours.
    We try to use data pump with network_link to speed export process.
    How do we fix oracle spital users type SDO_GEOMETRY issue during data pump?
    our system is 32 bit window 2003 and 10GR2 database.
    Thanks
    Jim
    Edited by: user589812 on Nov 3, 2009 12:59 PM

    Hi,
    I remember there being issues with sdo_geometry and DataPump. You may want to contact oracle support with this issue.
    Dean

Maybe you are looking for

  • K8N Neo fails to boot with more than one DIMM

    I have been searching the forums for a while now, and will continue, but I am really hoping for a quick resolution.  My system was running fine for over a year with a pair of PC3200 512MB DIMMs.  I normally leave my computer on all the time.  Recentl

  • How present picture like apple web site?

    How present picture like apple web site? http://www.apple.com/ Mike

  • Backing up iTunes on version 10 is not workign1

    Hi, I downloaded itunes ten in the middle of my itunes music update and now it wont let me back up my files. please help!, Hi, I downloaded itunes ten in the middle of my itunes music update and now it wont let me back up my files. please help!

  • Mighty Mouse Functionality in Bootcamp?

    Hi, I use a Macbook 2.16ghz with Vista in Bootcamp. When I use the side buttons on my wired mighty mouse in Windows Vista, it activates as some sort of back button or "click" for whatever prgram I'm using. Does anyone know how to change the functions

  • Oracle 10g System Statisctics

    Hi, I want to know if System Statistics (CPU and I/O usage) for CBO are automatically taken and loaded in Oracle 10g or I have to schedule it manually? can anybody help me? Thanks in advance, Gerald.