Number of background sessions available
Hello All,
Please tell me - which transaction in the BW system should I go to, to view the number of background sessions available?
I ask this because basis people say the have increased the number of background sessions from 6 to 8 and I want to check that they have actually done this.
Thank you and regards,
Keith
Hi
Goto SM50 and tehre you have in second column BGD, this indicates background job.
Thanks
Reddy
Similar Messages
-
I am running itunes 9 on Tiger. Everytime I try to edit my credit card number, it says "session timed out". I need to change the card number in order to purchase music. Suggestions?
Also, I lost the last 2 purchases when I backed up after a hard drive crash. Can I download them again without a charge? NewtonDownloading past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later. Discontinued items not available. For items not included in the iCloud list, or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid. Apple notes it is your responsibility to back up your purchases.
-
Transaction ME21n (Will not run as a BACKGROUND SESSION)
The requirement is to generate Purchase Orders (Stock Transport Orders to be precise).
The RFC has to create a session which will be executed...say...before midnight to generate the sto (TC -> SM35).
I have used BDC inside my RFC calling the transaction ME21n. It runs fine as a foreground session, but will give a error if the session is run as a background session (Due to the dropdown lists in ME21n I guess).
The solution I figured out is to use ME21. This does execute in the background successfully.
But given the fact that ME21 is the OLD transaction and ME21n (enjoy sap transaction, right?) to be the one to be used now, my dilemma is in choosing ME21 and risk the scenario of this transaction being obsolete and not supported the SAP for technical support in the future.
Can any body please help me on this.
Thank you.
Message was edited by: Sai Sanathanhello,
with transaction VL10BATCH you can create new variants, and shedule background jobs. This should work.
However, you need another user role. (on the last tab of the selection screen of VL10B)
It is the F code profile you have to change. With this profile you can choose whether a list needs to be shown, or whether the deliveries have to be created right away (without showing the list). The second option should work in background. After delivery creation, you can check the log using transaction V_SA.
So you need to create a selection variant with changed user-role for the backround job.
You can maintain user-roles via transaction VL10CUA.
You can input-enable user-role via transaction VL10CUV.
If you don't want the users to be able to run VL10B without showing the list, you have to create your own scenario, and use VL10X to start this scenario. Although this is not really necessary.
I hope this makes things more clear for you.
regards,
Joris.
Here is a copy of the OSS-note (310022) I was talking about:
Symptom
o For regular planning, you want to transfer the delivery creation
in a job to the system administration. Here, you have
difficulties.
o Background processing of Transaction VL10* does not generate
deliveries but only a list in the spool.
Additional key words
VL10BATCH, VL10A, VL10B, VL10C, VL10D, VL10E
Cause and prerequisites
Solution
For planning the delivery creation in background processing you must
o activate a user role for immediate creation of deliveries (in the
standard system, the immediate delivery creation is deactivated
for all user roles for reasons of safety),
o create a selection variant for one of Transactions VL10*.
Activation of the user role for background processing
The user role controls the entire processing of the delivery list.
Within Transactions VL10*, you can display and maintain the user role on
the "User role" tab page. You can carry out the maintenance also via
Transaction VL10CUA. Note 301578 describes how to make a user role ready
for input.
An F-code profile is linked to the user role. The F-code profile
controls the internal process of the transaction. Two F-code profiles
are provided in the standard system:
o 0001 Display delivery list
o 5001 Supply delivery list
In the user role you want to use for background processing, you have to
replace F-code profile (not "AllowedDialogFCodes") 0001 with profile
5001:
1. Call Transaction VL10CUA for maintenance of the user roles.
2. You might want to copy one of standard user roles 5001 to 5103 that
is planned for processing in the background to a separate role in
the customer namespace, for example, 9001 or Z***.
3. Branch to the detail view of the user role and change the entry for
the F-code profile from "Display delivery list" to "Supply delivery
list".
Creation of the selection variant
1. Call the desired Transaction VL10* and branch to the "User role" ta
page. Do not use Transaction SE38 or VL10BATCH for variant
maintenance of VL10*.
2. Here, enter the user role that you have maintained for background
processing.
Caution! If you use a user role with an F-code profile for the
immediate creation of deliveries, you receive no dialog with a
shipping due list but the deliveries are created immediately at the
start of the selection!
3. Enter the remaining selection criteria on the various other tab
pages.
4. Select function "Goto -> Variants -> Save as variant..." and save
the selection criteria entered as a variant. You might classify the
variant as "Only for background processing", in order to avoid a
start of the delivery creation in the dialog by mistake.
5. Make sure that the objects of selection screen 1060 have been saved
and that checkboxes "Save field without values" are not filled with
all objects (in particular in Release 4.6B) for the desired
settings.
You can schedule the selection variant via Transaction VL10BATCH for
regular use in the batch.
And also the OSS-note (301578) about input-enabling user-role:
SAP Note No. 301578 22.08.2005 Page 1
Number 301578
Version 4 from 08.05.2000
Status Released for Customer
Set on 08.05.2000
Language EN
Master language DE
Short text VL10: Ready to input status of user role
Responsible SAP AG
Component LE-SHP-DL
Delivery Processing
Long text
Symptom
On the selection screen of transaction family VL10*, the selection
criteria in the 'user role' tab are no longer ready for input of Release
4.6C.
They are delivered in the standard SAP system not ready for input.
Additional key words
Cause and prerequisites
As of Release 4.6C, the ready for input status in the 'user role' tab is
linked to settings in the scenario and the user role.
1. In order to get the ready for input status for the "Role" field, set
"Allow assignment" to 'X' in the scenario that you are using
(Transaction VL10CUV or SM31, V_T186V, T186V-ALLOW_USER_ROLE = 'X').
The system administrator (Customizing authorization) can then
determine whether only the user role preset in the system is allowed
or whether any number of other user roles may also be used for this
scenario.
2. For the check box "Use list profile" and therefore all possible
settings for the "user role" tab, the ready for input status in the
user role can be allowed in "Chang. attrbute" (changeability of the
attributes).
Set this field with Transaction VL10CUA for the used user role to
'X' (Transaction VL10CUA, or SM31, V_T186, t186-CHANGE_ALLOW = 'X').
Background:
The settings in the scenario and user role have in the course of time
become so wide-ranging and far-reaching that an additional feature had
to be implemented: a system administrator must be able restrict the
changes by the end user at different levels .
You now have the option of determining for every user role whether that
settings determined on the selection screen may be changed again.
You also have the option of determining in every scenario in which this
user role is used whether the change is allowed for another user role.
In the context of the fixed link of the scenario to a transaction and
therefore to the authorization concept of mySAP.com - user-roles can be
controlled at user level - whether the settings for the user role tab of
the selection screen of VL10* may be changed by a user or not.
Solution
Maintain setting in scenario (VL10CUV) and user role (VL10CU)
(Customizing authorization required). -
Displaying Confirmation Message after a Background Session Create
Hi All,
I have an application that creates a financial document in a background session. I want to wait for this background session to complete and then display to the user that it has completed and what the document number is.
How can I do this?
Currently I am waiting 5 seconds and then displaying the newest document that has been added to BKPF but I know that this is probably not very good practice. I was hoping there was a better way.
Thanks for any help, its much appreciated,
ColmTry this:
SUBMIT RSBDCSUB WITH SELECTION......etc etc....
EXPORTING LIST TO MEMORY AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = li_listobject
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc = 0.
CALL FUNCTION 'WRITE_LIST'
TABLES
listobject = li_listobject
EXCEPTIONS
empty_list = 1
OTHERS = 2.
IF sy-subrc <> 0.
write:/ 'List could not be read'.
ELSE.
LOOP AT li_listobject.
* read what you are looking for here
ENDLOOP.
ENDIF.
ELSE.
write:/ 'No list was found in memory'.
ENDIF. -
Number of user sessions / each session time
Hi,
I need to find out the following info
1) Then number of user sessions and for each session duration for every user..
is there a way to compute the same (if it's not directly available)..
so basically at J2EE Session level how do i find out for each user what was the session time.
Any pointers will be greatly appreciated.
Regard,s
SamYou can find some information within the NWA - Monitoring - Java Systems Report - report: User activities...
Regards
Timm -
ODI Number of Running Sessions
Hello guys !!
A cuestion,
I'm doing a package with a parallel process, but this only raises 3 maximum sessions at the same time, when I hope it raises 9
how can I increase the Number of running sessions / Maximum number of sessions for the agent?
Also I've created 5 five agents linked, for the load balancing effect, but no results
I appreciate any kind of Help
Regards!!
ABWhat is the maximum number of sessions you have given for agent??
You can get the number of session in the physical agent . -
FF currently limits the number of open sessions
I currently programmatically launch FF on linux using an execl command. In the run string I use the -P option and launch my application by right clicking on the file that has its own mime type and that is opened by my app before the execl call. (my app takes a data file and creates a temp html file that is handed off to FF via execl) I check the system processes for a current running version of FF. If so I add the no-remote option.
This all works ok. However, if I attempt to launch another copy of my program FF will not allow this even though I am using a tab browser configuration.
I believe that one session of FF per "user" is acceptable but not the limit of one tab for each user other than the default user. I see my FF configuration eventually having several users as I begin to implement separate security policies for certain websites such as financial, casual, javascript development, no cookies, etc.
I typically keep well over 20 tabs open, if FF crashes I can loose everything as if the restore fails I must then hunt up each tab that I had open using history.
Can I get an update on where FF is headed with regards to the maximum number of users windows and the capability to open multiple tabs with a non-default user.Sounds like you've got a connection leak - rather than increasing the number of open sessions, you need to constrain the application to use fewer!
If you don't ensure that the connection is closed even if an exception is thrown after it is opened but before it is closed then you are liable - likely even - to leak connections.
For example. Bad:
Connection c = getConnection();
... code here ...
c.close();Good:
Connection c = getConnection();
try {
... code here ...
} finally {
c.close();
}The same rule applies to ResultSet and Statement objects - and all three should be closed in the appropriate order (make sure you close result set and statement objects before re-using their reference).
(edit: rephrased ambiguous final para). -
I have lost my serial number. The serial number is no longer available in my messages.
I have lost my serial number. I have got a student edition. The serial number is no longer available in my messages. What do I do?
Serial number and activation chat support (non-CC)
http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC ) -
How to shedule an abap report to run paralely in more background session
I wander how to shedule an abap report to run paralely in more background session.
I am afraid of parallel locking.Hi,
You can schedule different jobs with same program name.
Use ENQUEUE_ & DEQUEUE_ to lock/unlock the records being process. The lock objects can be created in SE11.
Best regards,
Prashant -
DBA Reports large number of inactive sessions with 11.1.1.1
All,
We have installed System 11.1.1.1 on some 32 bit windows test machines running Windows Server 2003. Everything seems to be working fine, but recently the DBA is reporting that there are a large number of inactive sessions throwing alarms that we are reaching our Max Allowed Process on the Oracle Database server. We are running Oracle 10.2.0.4 on AIX.
We also have some System 9.3.1 Development servers that point at separate schemas in this environment and we don't see the same high number of inactive connections?
Most of the inactive connections are coming from Shared Services and Workspace. Anyone else see this or have any ideas?
Thanks for any responses.
Keith
Just a quick update. Originally I said this was only with 11.1.1.1 but we see the same high number of inactive sessions in 9.3. Anyone else see a large number of inactive sessions. They show up in Oracle as JDBC_Connect_Client. Does Shared Service, Planning Workspace etc utilize persistent connections or does it just abandon sessions when the windows service associated with an application is shutdown? Any information or thoughts are appreciated.
Edited by: Keith A on Oct 6, 2009 9:06 AMHi,
Not the answer you are looking for but have you logged it with Oracle as you might not get many answers to this question on here.
Cheers
John
http://john-goodwin.blogspot.com/ -
Number of infinity lines available in an FTTC cabi...
I'm in a "rural" area with a reasonably high housing density. I would assume interest in moving from circa 200kb to many Mbit/s will be high. A small FTTC cabinet has been installed but not commissioned. Are there only a limited number of infinity lines available in such cabs or can capacity be incread to meet demand? I'd hate to miss out due to demand having been lucky enough to be in an area getting the service......
IMHO I doubt Openreach would rush to install another larger Infinity cab to cope with any overflow... for a while if ever.
So you want to get in first. If you've registered for Infinity don't just wait to be contacted.
Check regularly using your Telephone Number (for most accurate result) in https://www.btwholesale.com/includes/adsl/main.html
Or scroll down a bit to enter your number in the BT Infinity site.
The checker showed my date had been moved to 30th Sept.... I kept checking as my cab was powered up and you could easily hear it's fans running.
Then on 1st July the checker showed Infinity was available.-
Please Click On any Text in Blue as that automatically links to information.
PC (NDEGR) -
Growing Number of Inactive Sessions
When using WebDB application with 1.)Oracle Application Server 4.8.1 or 2.)Oracle 9i Application Server (Authentication Mode Basic) I noticed many sessions with status inactive in database.
What is the methodology to logout the session from application and avoid growing number of inactive sessions?
null-- Submits a dbms_job to cleanup sessions
-- Expected Parameters:
-- 1. hours_old - number of hours after session start before
-- it should be deleted
-- 2. start_time - when should the first job be run or 'START'
-- 3. start_time_fmt - date format for start time
-- 4. interval_hours - how many hours between each run
-- If 'START' is provided for 2nd parameter, the 3rd parameter is
-- ignored and it will default the start time to the current time.
set serverout on
set verify off
create or replace package wwctx_patch is
procedure cleanup_sessions
p_hours_old IN number default 168 -- (1 week)
end wwctx_patch;
show errors package wwctx_patch;
create or replace package body wwctx_patch as
* cleanup expired sessions
procedure cleanup_sessions
p_hours_old IN number default 168 -- (1 week)
is
cursor expired_sessions is
select rowid
from wwctx_sso_session$
where active = 0
or (session_start_time < sysdate - (p_hours_old/24));
current_session expired_sessions%rowtype;
record_count number := 0;
begin
if p_hours_old is null then
return;
else
open expired_sessions;
loop
fetch expired_sessions into current_session;
exit when expired_sessions%notfound;
record_count := record_count + 1;
delete from wwctx_sso_session$
where rowid = current_session.rowid;
-- Note: The reason for doing this deletion in
-- a loop with a commit in the loop is so as not
-- to overrun the rollback segment in the case
-- where there are a lot of sessions to cleanup
-- with potentially a large amount of session
-- storage to be deleted.
-- do more than one per commit
if record_count >= 10 then
commit;
record_count := 0;
end if;
end loop;
close expired_sessions;
commit;
end if;
exception
when others then
rollback;
end;
end wwctx_patch;
show errors package body wwctx_patch
declare
INVALID_DATE_EXCEPTION exception;
INVALID_AGE_EXCEPTION exception;
INVALID_INTERVAL_EXCEPTION exception;
v_jobid binary_integer;
v_path varchar2(100) := 'oracle.portal.session';
v_name varchar2(100) := 'cleanup_jobid';
v_starttime date;
v_hours_old number;
v_interval_hours number;
p_hours_old varchar2(30) := '&1';
p_start_time varchar2(60) := '&2';
p_start_time_fmt varchar2(60) := '&3';
p_interval_hours varchar2(60) := '&4';
begin
-- validate hours_old parameter
begin
v_hours_old := to_number (p_hours_old);
exception
when others then
raise INVALID_AGE_EXCEPTION;
end;
-- validate starttime
begin
if upper(p_start_time) = 'START' then
v_starttime := sysdate;
else
v_starttime := to_date (p_start_time, p_start_time_fmt);
end if;
exception
when others then
raise INVALID_DATE_EXCEPTION;
end;
-- validate interval_hours parameter
begin
v_interval_hours := to_number (p_interval_hours);
exception
when others then
raise INVALID_INTERVAL_EXCEPTION;
end;
-- Create a preference store item for the job id that is
-- created for the submitted job.
-- This will allow it to be deleted or modified later.
begin
WWPRE_API_NAME.CREATE_PATH(v_path);
commit;
dbms_output.put_line ('Created path for job id.');
exception
when WWPRE_API_NAME.DUPLICATE_PATH_EXCEPTION then
-- probably this has already been created and a job
-- is already in place.
-- retrieve the job id
null;
when WWPRE_API_NAME.GENERAL_PREFERENCE_EXCEPTION then
dbms_output.put_line
('ERROR: Exception in preference path creation');
raise;
when others then
dbms_output.put_line('ERROR: creating path - ' | | sqlerrm );
raise;
end;
begin
v_jobid := WWPRE_API_VALUE.GET_VALUE_AS_NUMBER
p_path => v_path
,p_name => v_name
,p_level_type => WWPRE_API_VALUE.SYSTEM_LEVEL_TYPE
dbms_output.put_line ('DBMS_JOB id = ' | | v_jobid );
exception
when WWPRE_API_NAME.NAME_NOT_FOUND_EXCEPTION then
-- we'll try to create it below.
null;
end;
if v_jobid is null then
begin
WWPRE_API_NAME.CREATE_NAME
p_path => v_path,
p_name => v_name,
p_description => 'The job id of the DBMS_JOB for cleaning up '| |
'the expired session rows.',
p_type_name => 'NUMBER',
p_language => WWNLS_API.AMERICAN
commit;
exception
when WWPRE_API_NAME.DUPLICATE_NAME_EXCEPTION then
null;
when OTHERS then
dbms_output.put_line('ERROR: creating name - ' | | sqlerrm );
raise;
end;
end if;
declare
l_job varchar2(4000);
begin
l_job :=
'begin ' | |
' execute immediate ' | |
' ''begin wwctx_patch.cleanup_sessions(' | |
' p_hours_old => ' | | v_hours_old | |
' ); end;'' ' | |
' ; ' | |
'exception ' | |
' when others then ' | |
' null; ' | |
'end;';
if v_jobid is null then
DBMS_JOB.SUBMIT
job => v_jobid,
what => l_job,
next_date => v_starttime,
interval => 'SYSDATE + ' | | v_interval_hours | | '/24'
WWPRE_API_VALUE.SET_VALUE_AS_NUMBER
p_path => v_path,
p_name => v_name,
p_level_type => WWPRE_API_VALUE.SYSTEM_LEVEL_TYPE,
p_level_name => null,
p_value => v_jobid
commit;
DBMS_OUTPUT.PUT_LINE ('Cleanup job submitted.' | |
' Job ID = ' | | v_jobid);
else
-- v_jobid is not null
-- modify the job
DBMS_JOB.CHANGE
job => v_jobid,
what => l_job,
next_date => v_starttime,
interval => 'SYSDATE + ' | | v_interval_hours | | '/24'
commit;
DBMS_OUTPUT.PUT_LINE ('Cleanup job updated.' | |
' Job ID = ' | | v_jobid);
end if;
if p_start_time_fmt = 'NOW' then
DBMS_JOB.RUN
job => v_jobid
commit;
DBMS_OUTPUT.PUT_LINE ('Cleanup job run.');
end if;
end;
exception
when INVALID_DATE_EXCEPTION then
rollback;
DBMS_OUTPUT.PUT_LINE ('ERROR: Start Date Specified is Invalid');
when INVALID_AGE_EXCEPTION then
rollback;
DBMS_OUTPUT.PUT_LINE ('ERROR: Age For Cleanup Specified is Invalid');
when INVALID_INTERVAL_EXCEPTION then
rollback;
DBMS_OUTPUT.PUT_LINE ('ERROR: Job Interval Specified is Invalid');
when OTHERS then
rollback;
DBMS_OUTPUT.PUT_LINE ('ERROR: ' | | sqlerrm );
end;
set verify on -
Large number of concurrent sessions
What optimizations are used to provide a large number of concurrent sessions?
Generally:
1) Design so that clustering is easy - e.g. cache only read-only data, and
cache it agressively
2) Keep replication requirements down - e.g. keep HTTP sessions small and
turn off replication on stateful session beans
3) Always load test with db shared = true so that you don't get nasty
surprise when clustering
4) Don't hit the database more than necessary - generally the db scales the
poorest
Peace,
Cameron Purdy
Tangosol, Inc.
Clustering Weblogic? You're either using Coherence, or you should be!
Download a Tangosol Coherence eval today at http://www.tangosol.com/
"Priya Shinde" <[email protected]> wrote in message
news:3c6fb3bd$[email protected]..
>
What optimizations are used to provide a large number of concurrentsessions? -
Error Message-"Maximum number of internal sessions reached"
Hi,
In one of the User defined screen , we are getting error as
"Maximum number of internal sessions reached".
This error is not coming each & every time.This screen is used to store the values in Z-table.
This error is coming after entering 6-9 entries.
What may be the problem.
The code is as follows :
when 'save'.
INSERT zmmt001_grn_gate FROM wk_zmmt01.
INSERT zmmt002_grn_item FROM TABLE it_zmmt02.
IF sy-subrc EQ 0.
COMMIT WORK.
MESSAGE I002 WITH wk_sno.
CLEAR wk_lifnr.
CLEAR wk_ebeln.
CLEAR wk_name.
CLEAR wk_appval.
CLEAR wk_chal.
CLEAR wk_form38.
REFRESH it_temp_tc1 .
CALL TRANSACTION 'ZMMI001'.
ELSE.
ROLLBACK WORK.
MESSAGE e000 WITH text-006.
ENDIF.
Whether CALL TRANSACTION 'ZMMI001' statement having problem..
Pls give your suggestion on this.
Thanks in Advance,
Best Regards,
Pavan.Hi
I agree on the reason of the problem, too. SAP limits the number of internal sessions. By calling the transaction with <b>"CALL TRANSACTION ..."</b> statement, you keep the current transaction's program data and open a new internal session. To handle things technically, SAP forces an internal session number limit.
The solution is to use <b>"LEAVE TO TRANSACTION ..."</b> which ends the current transaction session, rolls out the relevant program and then opens the new session.
*--Serdar
[email protected] -
The number of active sessions isn't decreasing in OC4J instance
Hi Guru’s,
Could you help me, please?
The number of active sessions isn’t decreasing in OC4J instance after our clients closed the application.
Our partner use Oracle AS 10gR3 (10.1.3.4.0) with J2EE and HTTP mode.
When we monitoring our OC4J instance with Performance tab on Oracle EM, we appreciate that the value of Active Sessions on ‘Servlets and JSPs’ are very high. If users close our applications, then number of active sessions isn’t decreasing and active status isn’t becoming inactive.
Which OC4J settings responsible for managing active sessions and how can I get more information about the active session details?
Thanks in advance,
ZoltanDinesh.Rajak wrote:
When I deployed this code Tomcat, it is giving the output as 0, hence tried with accessing the jsp file in multiple browsers but still it is showing the count of active session as 0 - plz helpPlease, don't resurrect old threads, and it's still the wrong forum. Create a new thread if you have a specific question, and create the thread in the correct forum. I'm closing this thread.
Kaj
Maybe you are looking for
-
Master-Detail Form (How to pass an item value in Master to Detail field
I have a Master-Detail form. When adding a new record in the Detail section, I expect the primary key in the master record will copy down to the detail record. But, it is not doing that. Does anyone know how to pass the master primary key down to the
-
Do pictures in photo stream have to be downloaded to my iphoto library?
When I look at my iPhoto Library I see photo stream broken down by month. Do I need to download these pictures so that they show up in Events?
-
SapScript Maintainance Marathi font
HI Expert, How to upload Marathi font in SAP and make it use in Smart form or Script. I have used Font Kruti10 upload it using SE73 then used same font in Smartform Style and apply that Style to my Print text in Smart Form but it didnt work. Regards,
-
Windows Update Complications with Itunes
A few weeks ago, my computer pushed an update to windows that I didn't have the option to delay any further. I believe it was in connection with the Windows 8 / 8.1 update. After the update was pushed, I also upgraded iTunes to the most recent versio
-
I have to do browser configuration testing on Firefox 14. Where can in find the exe to install the same on my windows7 mahcine. I am strictly looking for Firefox14 only. Thanks in advance for the help.