How to find out number of background work processe available in the system?
Hi All,
I have a FM that triggers a background job using JOB_OPEN, ABAP_SUBMIT and JOB_CLOSE. But the problem is if there are no background work processes available at that moment, it does not return error. Not sure whether the job is even scheduled!
Is there a way to find out if there are any background work processes available in the system? I know a FM SPBT_INITIALIZE which gives info about dialog work processes. Is there any other FM similar to this which gives info about background wp??
Regards,
Shailesh
your Job will remain in a queue by message handler. once workprocess is free, your job gets scheduled
by the way, you can use the functionality used in FM TH_DISPLAY_WORKPROCESS_LIST to read the workprocesses
the command which gets you the workprocess is:
CALL 'ThWpInfo' ID 'OPCODE' FIELD OPCODE_WP_LIST
ID 'TAB' FIELD LIST_STATE_WPLST-TABL
ID 'CPU' FIELD LIST_STATE_WPLST-CPU.
check how its written in include LSDEBF01, form SET_LIST_WPLST
Edited by: Soumyaprakash Mishra on Dec 12, 2011 12:17 PM
Similar Messages
-
How to find out number of years worked using sql
Hello,
How to find from a table which has hiredate and should return number of years worked with range like 0-5, 5-10,10-15 etc.
Any help is highly appreciated.
ThanksI think this query can solve your issue
SELECT CASE yeared,COUNT(CASE) FROM
SELECT
CASE
WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=5 THEN '0-5'
WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 5 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=10 THEN '5-10'
WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 10 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=15 THEN '10-15'
WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 15 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=20 THEN '15-20'
WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 20 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=25 THEN '20-25'
WHEN MONTHS_BETWEEN(SYSDATE,hiredate)/12 > 25 AND MONTHS_BETWEEN(SYSDATE,hiredate)/12 <=30 THEN '25-30'
ELSE '>=30'
END CASE
FROM scott.emp )
GROUP BY CASE
Regards. -
How to find out whether I am working on the right instance?
Hi All
I want to find out from Oracle Apps i.e., Front end the following:
Whether the instance I am working on currently is the same one or restored from a backup. I will not be able to find out the difference immediately as the changes between the current instance and backup instance are very few and dispersed but at the same time critical to the system.
How can I find out from the front end whether the instance is same as I was working yesterday assuming I am the only user?
Thanks in Advance for any help.
Regards
RahmanHi,
as the changes between the current instance and backup instance are very few and dispersed but at the same time critical to the system.I believe there is no way to find out unless you check and see those changes (before/after the restore).
Regards,
Hussein -
How to find out number of includes for a given program dynamically
Hi all
I have a requirement in which, I have to find out number of includes and their names for a given user defined program dynamically
if u know the answer pls let me know
Thanks in advance
DeviHi rama,
1. use this FM - RS_GET_ALL_INCLUDES_FOR_PRTAB
regards,
amit m . -
How to find out Number of entries in a Huge Table?
Hi,
I would like to know Number of entries in table DFKKOP. when i try to get it through se16, it takes more than 10 minutes in dialogue process so a time out occurs. is there any way to find out number of entries in the table Apart from creating a program for that?
Please guide me to the solution.
Thanks,
Lijo Joseph
Message was edited by: Lijo Joseph VazhappillyREPORT YCHATEST .
Data : begin of itab occurs 0.
include structure tab512.
data:end of itab.
data : v_count like sy-index,
tabname like X030L-TABNAME value 'DFKKOP'.
CALL FUNCTION 'RFC_GET_TABLE_ENTRIES'
EXPORTING
table_name = tabname
IMPORTING
NUMBER_OF_ENTRIES = v_count
tables
entries = itab.
write : v_count.
Message was edited by: Sekhar -
Increase the number of background work processes for data load performance
Hi all,
There are 10 available background work processes in the BW system. We're doing some mass load to multiple ODS.But system uses only 3 background processes. How can i
increase the number of used background work processes for new data load.
I tried to change number of prosesses with RSODSO_SETTINGS. But no successes. Are there any other settings need to change?
thanks,
YigitHi sankar,
I entered the max proc. number into ROIDOCPRMS. But it doesn't make difference. System still uses only 3 of background processes. RSCUSTA2 is replaced with
RSODSO_SETTINGS in BI 7.0 and this trans. can only change the processes for data activation, SID generation and rollback. I need to change the process numbers for data extraction. -
How to find out number of concurrent users connectd to a site?
I would like to find out the number of concurrent users on my site. What is the best way to do it?
This is how I implement it currently:
I have a HashSet object in the session. whenever a user visits the page, i added the user's sessionID to the HashSet. But when a user leaves my page, it won't inform my jsp pages. The only thing I can do now is whenever I add a new sessionID, I loop through the HashSet and check to see which sessionID is invalid or inactive, then remove the it. Does a user session becomes invalid immediately when the user leaves the page, or it has to wait till it times out?
Are there any other more efficient ways of doing it?Look at HttpSessionBindingListener. That will let you do what you want to, correctly.
User session will time not. If it were to become invalid immediately, it won't be called a "session" would it? -
HOw to find out a report name when you know only the name of background job
Hi experts ,
my question is i need to find out teh report name for which i knew only the background job name of the report .
thanx
Venky.Go to tcode SM37->Give job name and execute->choose tool bar button STEPS (Disply Steps list) ->Then you will get program or command
-
How to find out number of bookmarks created?
Is there any way to find out how many bookmarks have been created by users? I can see a list of all bookmarks under RSA1, Reporting Agent, Bookmarks, but I can't see a way to export that list or show a total.
Thanks, that table has a list of all bookmarks.
It seems like it only stores the last time a bookmark was accessed though...for example, if someone opens a bookmark 10 times, there would still just be one record for that bookmark. -
How to find accurate number of Rows, and size of all the tables of a Schema
HI,
How to find the accurate number of Rows, and size of all the tables of a Schema ????
Thanks.SELECT t.table_name AS "Table Name",
t.num_rows AS "Rows",
t.avg_row_len AS "Avg Row Len",
Trunc((t.blocks * p.value)/1024) AS "Size KB",
t.last_analyzed AS "Last Analyzed"
FROM dba_tables t,
v$parameter p
WHERE t.owner = Decode(Upper('&1'), 'ALL', t.owner, Upper('&1'))
AND p.name = 'db_block_size'
ORDER by 4 desc nulls last;
## Gather schema stats
begin
dbms_stats.gather_schema_stats(ownname=>'SYSLOG');
end;
## Gather a particular table stats of a schema
begin
DBMS_STATS.gather_table_stats(ownname=>'syslog',tabname=>'logs');
end;
http://www.oradev.com/create_statistics.jsp
Hope this will work.
Regards
Asif Kabir
-- Mark the answer as correct/helpful -
How to find out XPath-Errors, that are only logged on the console
Hi,
I'm using the Java-API of XMLP Standalone Version 5.6.2. If my layout contains a german umlaut, like:
<?for-each:Behälter_zeile?>
<?BEFMTB_BEZEICHNUNG?>
<?end for-each?>
I get the following output in my application console when I call RTFProcessor.process() for this layout:
[040609_111900450][][ERROR] [Line 118.183] Incorrect XPath: Behälter_zeile
There is no exception thrown and the generated document seems to be correct.
My question: How can I determine such an error in my application? I want to do at least some intelligent logging.
MirkoHi Thomas,
According to your description, you want to have a role-specific default member for different roles. Right?
In Analysis Services, when granting access to dimension, a connection will fail if a role restricts access to a default measure. As you mentioned, the best solution is specify a default member for each role. But for administrator role(full control),
it can't set the default member. All tabs except General and Membership are disabled. And the system can determines the default member of current user automatically. It's not supported to get the default member in MDX either.
However, SSAS has additive design for role security. So in this scenario, we just need to create another role for those members of administrator role and specify a default member for this role. SSAS will take that role-specific default member
for these users. And it will not effect the administration permission for them.
Reference:
Default members, MDX Scripts, Security, KPIs and Perspectives
The Additive Design of SSAS Role Security
If you have any question, please feel free to ask.
Best Regards,
Simon Hou
TechNet Community Support -
How to find out number of connections to database?
Hi,
How can I find number of connections connected to the database 4 hours ago. For examply, if current time is 5PM and I want to see total number of connections connected to database (and from what user?) in between 1 and 2 PM, is there a way to find that out?
I see v$session has a column MACHINE from which I can use count function to check the # of concurrent connections but I am not sure how to check the # of connections that happend few hours ago. Any suggestions?
--MMyou should have audit on .. and create logon trigger and make entry in the tabe ..that would give you .
--Girish -
How to find out number of users in an organization?
Can you show me how I can find the total number of users in an organization please? Paging through is not an optimal way since there are alot of users.
DamonL wrote:
(be careful if you have a lot though!)That's an understatement. :) If you have a LOT of users in your organization doing a search on the organization just to find the user count will bog down the IDM server for several minutes. -
How to find out all Tcode are working poperly new System?
Hello All,
I had installed new SAP system, I want to check all the transaction codes are working poperly with out any problem.
Please provide me is there any FM are Program to check all the tcode are working.
Regards,
SwaroopHi,
you just check below links,
Re: tcodes for ALE
Re: Regarding Business Flow of PP,PM,PS,QS Modules
BDC
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=functionModuletoalltheTcodes&adv=false&sortby=cm_rnd_rankvalue
Regards,
Anki Reddy -
How to find out tcode from a program that can run the same report?
Hello all,
I have a program name and I can see it is successfully proccessed. Now if I want to get the report via a tcode, how can I get it?
How can I find the tcode from the program itself?
Regards,Hi,
1) Go into SE80, > Enter the name of the program, and press 'Enter'.
2) You will see a folder called 'Transactions' appearing in the object list on the bottom left.
3) Open the folder, and you'll find T.code of that program.
Thanks,
Nirav
Maybe you are looking for
-
How do I get Mac App Store on my iMac? I have 10.5.8 OS. If I need to upgrade first how do I do that? It says that my software is updated.
-
Syncing stuff on Ipod and Itunes
*I turn on the computer, open itunes and it is fine but when i put my ipod nano in itunes frezzes and the ipod doesn't register on the computer. When i take the ipod out it is back to normal. Can anybody help????*
-
SQL Developer 3.1 not migrating Sybase Users to Oracle 11g R2
I have tried both online and offline capture and the Sybase users are not being captured (Tables, Views, Procedures Worked). I searched this forum and saw another post about this issue but the Oracle representative never came back with a final findin
-
How to display dynamic values in poplist at row level in advanced table
I want to display dynamic values in poplist at row level based on a row value in advanced table, with lov i can achieve it, is there any way to achieve this in poplist Thanks Bbau
-
HT5621 Id/Username for Icloud on Ipad
I changed my email in icloud online but can't change it on my ipad. Tried going under settings on the ipad and deleting the old icloud account, but it asks me to sign in to turn off find my phone (which still shows my old icloud id). Was able to ch