Lsmw-Bdc Session Not Closed
Hi all,
In as91 transaction i did lsmw.
After 14 steps the data also processed still am getting one thing i.e
Transaction ended Unexpectedly.
In that screen am getting like this (you are existing the trans
do you still want to keep the batch i/p data [yes] [no].)
Both yes n no i enterd but the session is not close it repeats , again it goes to as91 initial screen..
Pl guide me..
Regards:
Manoj
HI,
As per my understanding you are passing the more then one record to the LSMW.
LSMW creates the Session with all the records. Each time it processes the record the set of screen will be displayed with the values populated by data you passed. this process will happen number of times as number rcords you pass to LSMW.
Similar Messages
-
Sessions Not Closed After 'Execute Unix/Linux SSH Script' Activity
Hello,
Wondering if anyone out there has some experience with running "Execute Unix/Linux SSH Script" activities against a "Unix/Linux System" target and able to help?
We have a process that runs an ssh script on a Unix/Linux target and in the 'Target' tab we specify to open a new session on the target we want. It was our assumption that once the script is executed successfully that the session would be closed, however, that does not appear to be the case. It seems the target receives a "disconnect" from CPO but if we run "who -a" on the host, the session still exists. We are trying to run our activity/script in a while loop with a 60 second pause in between, and after 30 loops (30 minutes) the next call fails.
What appears to be happening is, the session opens on the Linux target and every occurrence of the "Execute Unix/Linux SSH Script" activity is merely connecting and disconnecting using the same session that was originally opened. But after the 30 minute idle timeout on the Linux host, the session is closed and the next occurrence of the SSH Script activity fails with the following error:
This activity xyz did not return within the expected time period and was abandoned.
Is there a setting in the target properties or activity properties that we're missing here??
Thank you for any feedback or suggestions that may be out there!
NeilNeil,
I will discuss with you through email to find what exactly happened in your case.
Thanks,
James -
Session not closing after redirecting from BSP View
Hi All,
I am trying to redirect to a new application (WD ABAP) from an existing BSP View by using
CALL METHOD runtime->server->response->redirect( url = lv_url1 ).
The session still exists in SM04 after redirecting but I want the BSP session be closed.
Any pointers to how this can be done??
"navigation" global object is not recognized in the View it seems because I was thinking of using
navigation->exit (url).
navigation->response_complete().
but it gave complie errors.
Awaiting your suggestions..
Thanks and Regards
AvinashPlease have a look at the BSP application SYSTEM => page => sessionexit.htm
-
Backend BSP session not closing on server after closing the window
Hi All,
We have SAP EP (7.0 SP21) and there is a BSP transaction ivew (Interaction Center ) intergrated in the portal. The issue is when the user performs any transactions inside the BSP and then closes the browser, session remains on the server till the timeout. Is there a way to end those sessions on server after closing the browser immediately?
Portal domain : xx.mycomp.com
ABAP system domain :mycom.com
Should the domains be same for the DSM of Portal to work or is there any solution that can be considered.
regards
UdayHi Uday,
These are the main issues that can cause issues with DSM:
JavaScript Origin Policy:
Scripting
between different domains is not allowed because of “JavaScript origin policy”.
Also
communication between mixed protocols (http\https) is forbidden.
Therefore
the portal server and the content server must be on the same domain and must
use the same protocol.
For
detailed explanation see:
http://mozilla.org/projects/security/components/same-origin.html
Popup Blocker:
•Popup blockers may cause troubles
in relation with SRA feature.
•Terminator handles notifications in
new window when current window is being destroyed (logoff, closing browser
window) – popup blocker prevents the opening of new window, hence no session
handling performed.
please also check SAP Note #596698 for more information typical problems and troubleshooting.
In general, the 2 domains should be the same.
xxx.mycomp.com, meaning that first part of the url can change but what comes after should be the same domain.
Best regards,
Etay -
Sessions not closing after timeout
I'm having trouble where my sessions aren't closing after the
60 minute timeout. I'm checking to see how long the sessions are
staying open, and they are staying open past the 60 minute timeout
I have defined. Is there somewhere else I need to modify something
to get them to end?Did you try changing that 60 to something like 10 minutes
just to rule that out as a bug?
Here's an small Application.cfc that works using cflogin with
a timeout if this is of any use to you
<cfcomponent>
<cfset This.name = "yourappname">
<cfset This.Sessionmanagement="True">
<cfset This.loginstorage="session">
<cffunction name="OnRequestStart">
<cfargument name = "request" required="true"/>
<cflogin idletimeout="5">
<cfif NOT IsDefined("cflogin")>
<cfinclude template="loginform.cfm">
<cfabort>
<cfelse>
<cfif cflogin.name IS "" OR cflogin.password IS "">
<cfoutput>
<h2>You must enter both the User Name and Password
fields.
</h2>
</cfoutput>
<cfinclude template="loginform.cfm">
<cfabort>
<cfelse>
yourldap lookup
<cfif loginIsGood>
<cfloginuser name="#cflogin.name#"
Password="#cflogin.password#" roles="">
<cfelse>
<cfoutput>
<H2>Your login information is not
valid.<br>Please Try again</H2>
</cfoutput>
<cfinclude template="loginform.cfm">
<cfabort>
</cfif>
</cfif>
</cfif>
</cflogin>
</cffunction>
</cfcomponent>
loginform.cfm
<H2>Please Log In</H2>
<cfoutput>
<form action="#CGI.script_name#?#CGI.query_string#"
method="Post">
<table>
<tr>
<td>user name:</td>
<td><input type="text"
name="j_username"></td>
</tr>
<tr>
<td>password:</td>
<td><input type="password"
name="j_password"></td>
</tr>
</table>
<br>
<input type="submit" value="Log In">
</form>
</cfoutput> -
Session not closed on closing the IE 8 browser.
hi,
We are facing this strange problem in IE 8 and 7 browser, but it works fine in IE 6,
When i close the IE window the session remains open, and then if i try to open the portal link
it take me to the open session with out asking ID password.
Our portal is recently upgraded to SP21 level.
Please guide on this.
Regards,
Sanjyoti.Hi Sanjyoti,
The problem which you are facing is not related to SAP portal , it is a general problem or you can also call it is due to user cookies present in the latest broswer i.e in IE 7 or IE 8.
You can generate the same problem for yahoo or gmail on IE 7 or IE 8.
just do the following steps.
1. Close directly the portal page.
2. Clear the temp files from internet explorer.
3. now call the portal page , now you should not able to login direclty , it sure now it will ask for credentials.
If you have to resol;ve this problem permanently, do the following activies.
( this activity need to be done on all browser of users )
1. open internet explorer
2. Go TOOLS --> Internet opitons.
3. then got Advance
4. now in setting box, scroll to security.
5. now check the check box ( EMPTY TEMPORARY INTERNET FILES FOLER .....)
6. Click on apply and ok.
Once above activity is done close the problem and now generate the problem which you are getting .
now should not face the problem which you are getting.
Thanks
Anil
Thanks
Anil -
Has anyone had a problem getting sessions to go away? Even in simple examples, like...
con.open
con.close
con.dispose
con = nothing
the session will still be there in the v$session table. What am I doing wrong?
StephenOops, o.k. so at least it IS mentioned in the documentation, so I appologise for my complaint on that score, must remember to triple check before posting (somehow missed it the first couple of times).
It's still annoying though. However, I assume the choice not to implement it was taken for a highly technical reason (i.e. it'd be excesively hard to do :) ), and since it's actually written in the documentation that it doesn't do it, and so presumably embarassing the developers every time they look at it, (and yet it's still not been done), it must be a really technical reason. So I expect it's unlikely to get changed any time soon just because it annoys me, so I suppose we'll just have to live with it. (After all, If I really cared that much, I could always write my own connection handling wrapper...) -
LSMW-Error during processing of BDC session change to material master MM02
I have created an LSMW for changing material master data. I recorded MM02 and using the "select views" screen selected the accounting 2 view and entered the information in the fields on that screen requiring changes. I've set up all of the technical screens for the LSMW. However, when I process the BDC session with "display errors only", the program stops at the select view screen with an error message "Select at least one view". Any ideas how I can process through this screen so that the Accounting 2 screen opens in the BDC session? One further note, I set that selection as a constant in the field mapping and conversion rules screen. The field name recorded as KZSEL_05.
hi
one question how did you choose the view? i mean to ask by scrolling down using mouse or page down.
the scrolling by mouse is not recognized by recording and that may be the error. so whenever you have to go down in screen please use page down not scrolling at least in LSMW. -
Lsmw, bapi, bdc- session, bdc-calltransaction
Hi Experts,
Can you please tell me which method should be used to upload data
1. lsmw
2. bapi
3. bdc-session
4. bdc-calltransaction
which method should be used when?, why?, advantages?
I know the process of doing all this but my question is which method should be followed and when, what will be the advantages and disadvantages.
points will be rewarded.
Thank you.
regards,
Admir.hi,
To decide which method shukld use, we have to understand the differences first.
for 10000 records i will go for session method
Session method.
1) synchronous processing.
2) can tranfer large amount of data.
3) processing is slower.
4) error log is created
5) data is not updated until session is processed.
Call transaction.
1) asynchronous processing
2) can transfer small amount of data
3) processing is faster.
4) errors need to be handled explicitly
5) data is updated automatically
Session method is to populate the data by filling BDC structure
and keep as session to process from SM37 to post in appropriate Transaction.
Call transaction method is to post the data directly into the Transaction from an Executable program.
Session method SAP defined Function modules.
Regards,
Reshma -
Creating Sales order texts while using BDC session method is not working
Hi All,
I have an existing program which creates sales order using BDC session method.( Actual program uses BAPI to create sales order and in case if any error occurs during creation of sales order BDC session is generated so that user can process it later and i am facing issues in this part of code where it uses BDC)
I wanted to modify this BDC sesion to update the sales order text also. I tried recording VA01 for creationg sales order text unfortunatly it is not capturing the data i am entering in the text fields.
Please suggest if there is any way to create sales order using BDC.
Regards
SheebaHi Madhu,
'=TP_CREATE' is the OK code i am getting for creating TEXTS. But the text entered are not captured in BDC.
Part of BDC program generated for cretaing sales order texts.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 128 22'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=TP_CREATE'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=%_GC 128 22'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'=TP_CREATE'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4003'.
perform bdc_field using 'BDC_OKCODE'
'/EBACK'.
perform bdc_field using 'LV70T-SPRAS'
'EN'.
perform bdc_dynpro using 'SAPMV45A' '4001'.
perform bdc_field using 'BDC_OKCODE'
'=SICH'.
Regards,
Sheeba -
VA01 BDC Session - Purchase requisition wiew not shown
Hello Forum,
I've a problem with a BDC session in ECC 6.0 about VA01. When I try to change the purchasing requisition data from the shcedule tab using the button identified from the BDC with the code "EIBB" (the last one) the subsequent screen is not shown from the system. If I try to create manually a new sales order I'm able to view the screen.
I tried to remake the recording in 4.6C and the screen is shown correctly.
I'm in a mock conversion and in UAT but I wasn't able to find the problem.
Can you suggest something << Moderator message - Everyone's problem is important >>?
Many Thanks.
Regards.
Edited by: Rob Burbank on Oct 19, 2010 3:20 PMThanks Anyway, but with an additional search I've found the solution Here.
Batch input VA01 problem -
AS Java sessions are not closed until they time out
Hello Experts,
we have a SAP PI system to integrate SAP R/3 with external applications and recently we are facing a problem with inactive sessions. There's a new application we are setting up that consumes a webservice published by this SAP PI system. The scenario is SOAP --> PI --> PROXY. What we have noticed is that when the application sends loads of requests sometimes the system fails. This is because we are reaching the maximum number of open sessions in AS Java (1000). Investigating a bit more we found out that the sessions are not "closed" once the communication between the application and SAP PI has finished. Those sessions are open until they are automatically timed-out by the system after 1800 sec.
We have found the notes below in SAPNet:
Note 1363751 - ICM: Java Web sessions are not terminated
Note 1307940 - New HTTP session opened for every web service call
However, none of them are applicable to our system because it is more updated:
SAP PI 7.1 EHP1 SP002
Kernel Patch Level: 87
We have tried to close connections from the application that consumes the webservice but with no success. The sessions remain in the server until they are timed-out. Could you please tell us if this is the normal behavior of an AS Java system? Is this the way it should work? If so, can you tell us how to decrease this timeout so the inactive sessions are cleaned faster? We tried to find it but we didn't manage. Is there any way to close the session once the communication has finished?
Thank you in advance.
Roger Allué i VallHi Roger,
You can do the following things to help solving your issue:
1. Decrease session timeout default value of the web container: Use the NetWeaver Administrator
Open Application Modules plugin within NWA
Configuration Management -> Infrastructure -> Application Modules
Set the desired timeout web module you are using, in minutes.
The default value 0 in the NWA means that the value is not modified
and the default value of 30 minutes timeout will be used.
2. Increase the max. no. of Sessions in Configtool
The max. number of Sessions can be set in Configtool in the Expert
mode. There is no limitation for the parameter.
Thanks,
Anderson -
JMS session is not closed even after calling close()
Hi All,
I am using JMS to receive and publish topics for a process,in my java code i
am creating new JMS Session on demand(ie., whenever a new topic is
received) after processing the topic i am closing the session with close(),but
still the session is not closed.In a period of time more sessions are created
and FD leaks occurs which stops the process functionality.
Later i moved the on demand session code to a static block, its working fine
and no FD leak occurs.
Is this a known behavior or any java bug is there to point this issue,please
help me regarding this.
Thanks,
Ants BalajeiYou should try avoid creating sessions on demand but cache/pool them...
http://activemq.apache.org/how-do-i-use-jms-efficiently.html
James
http://www.iona.com/
Open Source the Enterprise Way -
Lsmw.conv is not a session record (type 0)
Hi
i am using lsmw to import gl master records. all my steps are correct but on the last step when i have to run batch input session the message below appears:
lsmw.conv is not a session record (type 0)
i have used the method both ticking and un-ticking file without session records but still doesn't work.
can anyone advise as to what the issue could be?
thanks.
WaheedHi
Have you checked box "Field names at start of file" in the Specify file step of the LSMW. This needs to be checked if your input file has column headings as first row. Otherwise, this should be unchecked.
Regards
Sowmya -
BDC _OPEN_GROUP session not opening
Hii All,
in my prog,
session not going into BDC_OPEN_GROUP.
y its not opening session.
its closing before opening the session.Hi...
Can u plz paste ur Code.
So that it can be traced.
regards.
Maybe you are looking for
-
Hi all, I need to know if there are any way to change the value_date in an payment order of In House Cash without doing a reversal and a new post with the correct date Thanks in advance
-
So, I've been having a problem with music repeating when I select all of an album or artist to put on shuffle. I like to go to sleep with music playing, so I'll select something that I know should only take one or two hours to finish, but when I wake
-
How can I get consecutive blank spaces in a PDF?
Native file is built in InDesign CS6. I have 2 fixed-width spaces within a part number. When I export to a PDF and open in Acrobat it is reading it as one space. i.e. Dealer opens PDF to copy part number and paste into a Word document. Part number h
-
I am using the same datasource to create a query of queries but one of my queries is not being recognized. The code and error message are as follows:
-
Internet explorer will not open web pages
HPw1858, Windows 7 connected to comcast cable. norton anti-virus program. Internet Explorer will not open web pages - refers to Domain Name Server missing or Error 403 (Forbidden) h30155.www.hp.com very frustrating. can you tell me what settings i ne