BSP: Logout does not work
Hello.
At the moment i am re-developing a bsp-application, that i have written about 2 years ago.
I have to add a logout-funtion to the new version, as the users desperately want it (Some of our users seem to get nervous, when login on to a page, that provides no logout button...).
I have already tried navigation->exit() but this method only drops the application context - the session will not be terminated, so that the user will not be promted for login-data when e.g. pressing the back-button of the browser.
I read the documentation on help.sap.com carefully and the problem seems to be, that the appliaction is using "Basic Authentication" at the moment. Using this kind of authentification generates a session-cookie, that will persist until the browser is closed.
My first attempt was to get rid of the cookie using jscript, but this did not work. First i thought, there was a bug in my jscript-coding, and so i opened the corresponding menu of my browser and deleted any cookie by hand. Unfortunatelly, this had no effect - i was still able to use the page and my session was still existent.
So i searched for further informations and found out, that it should be quite easy to implement a logout, if SSO-Login was used for athentification. Unfortunatelly i also found out, that SSO is not available on our system, so i will have to find another way.
Finally i found out, that a logout can be done by simply setting the application into stateless mode, if fields authentication is used.
I tested this for a simple test-application i had written a few days ago and everything worked fine: I had to enter my logon-data at the first call of the application, the login worked as expected and setting the application to stateless mode ended my session immediatelly. Reloading the page or using e.g. the back-button of the browser did not cause any trouble, so i wanted to use this technique, because the behaviour of the testpage exactly met the requirement.
My next step was to enter transaction sicf and to delete every authentication-mechanism except of "Fields Authentication" to enforce the usage of this mechanism for my bsp-application. It worked somehow, but not in the way, i expected.
When trying to open my bsp-application, i had to enter my logon-data in an html-form (as expected).
But sending the data did not create a session. I have to log in between 2 and 5 times (it differs for every try) before i finally see the first page of my bsp-application.
Once logged in, the session is quite "unstable" - a simple reload of the page throws me back to the logon page again.
I have no clue, what causes this creepy behaviour - i copied the settings of my testappliaction 1:1 in sicf, both applications are stateful by default and the only place, where the switch to stateless mode is done is my logout-page. Yesterday i even deleted the service of my application in sicf, created a new one and customized it in the same way, i had customized the service of my test-application, so there should be no differences (i have checked for about 10 times).
As i have already searched the forum and did not find anything, that seemed to match to my problem, i hope, that somebody can give me some advice, because i really do'nt know, what else to try.
Below you can see the configuration of the service in SICF. Any option not listed here has its initial value:
Procedure: Alternative Logon Procedure
Logon Procedure (The Table-control at the bottom of the page) holds only one entry: "Fields Authentication"
System Logon: True
Settings Selection->Define Service Specific Settings: true
System Logon Settings->Select Display->System Messages: true
System Logon Settings->Actions During Logon->Protocol: "Do Not Switch"
System Logon Settings->Default->Client: 101
System Logon Settings->Default->Language: "German"
System Logon Settings->Logon Layout And Procedure->SAP Implementation: true
System Logon Settings->Logon Layout And Procedure->Tmpl.: "Normal"
System Logon Settings->Logon Layout And Procedure->SAP Icon: "Chrome"
And here is some information according to the bsp-application:
Initial BSP: set
Application Class: set (My test-page did not use an application-class - this seems to be the only difference)
Theme: not set
Stateful: yes
Supports Portal Integration: no
I do'nt know, if there is any other information, that could be useful for solving the problem - if anything is missing, just ask for it and i will provide the infomation needed.
Thanks in advance.
Regards, Jörg Neumann
Hello,
up to now we also faced a lot of issues with that logout-problem.
Especially the logout for IE 5.5 and the XUL-runner gave us a hard time.
We had to change our logout-page about 10 times now, because some weird browser did not work like all the others - AGAIN...
Here is, what we got so far.
As far as i know, this stuff should work cross-browser, but it's still client-side jscript.
<%-- --------------------------------------------------------------
This is the jscript, that will log you out
-------------------------------------------------------------- --%>
<span id="onloadscript"><!--
function DelSso2Cookie(sName,sPath){
var sso2Domain = location.hostname;
if (location.hostname.indexOf(".")!=0) sso2Domain = location.hostname.substr(location.hostname.indexOf(".")+1);
p="";
if(sPath)p=" path="+sPath+";";
document.cookie = sName+"=0; expires=Fri, 31 Dec 1999 23:59:59GMT;"+p + "domain="+sso2Domain+";";
try{
document.execCommand( 'ClearAuthenticationCache' );
} catch (e) {}
DelSso2Cookie("MYSAPSSO2","/");
//--></span>
<%
CALL FUNCTION 'HTTP_DELETE_SSO2_COOKIE'
EXPORTING
server = runtime->server.
%>
<%-- --------------------------------------------------------------
Calling the script directly did not work in all browsers
so we had to use a trick, that may seem kind of weird...
We use the onLoad-Event of a transparent 1x1-pixel-image.
The query-string is a dummy-value, that will be ignored by the
server but it forces the client to reload the picture from the
server instead of reading it from the browser cache.
This dirty hack was necessary, because some browsers will not
fire the onLoad-Event, if the image was read from the browsers
cache.
-------------------------------------------------------------- --%>
<%
DATA: lv_img_url TYPE string.
CONCATENATE '/sap/public/bc/ur/nw5/1x1.gif?'
'dummy=' sy-datum '_' sy-uzeit
INTO lv_img_url.
%>
<img src="<%=lv_img_url%>" onload="eval( document.getElementById('onloadscript').childNodes[0].nodeValue );">
Regards, Jörg
Similar Messages
-
Logout does not work in OIM after enabling OAM SSO
We have installed a webgate to protect xlWebApp in OIM. Once the SSO is enabled, the logout does not work in the OIM user interface. How to solve this issue?
Metalink has a solution where we need to add document.location="http://host:port/access/oblix/lang/en-us/logout.html"; in xlWebApp\tiles\tjspLogoffTiles.jsp. This is the logout URL of OAM. Is there any other way so we can have a logout page in the OIM application/server itself?
Thanks.Kevin,
I did what you suggested and initially it looked like it is working but there is slight issue. When I click Logout, it redirects to the logout screen. After logging out when I try to access xlWebApp it prompts for the login (i am using basic authentication). If I cancel it and again try to access xlWebApp, it lets me in without any prompt. This issue is in IE only but not in Firefox. Not sure what's the issue.
Btw, to make the logout screen work, I had to unprotect the following with None Authentication:
- /xlWebApp/pages/logout.html (logout page)
- /xlWebApp/images
- /xlWebApp/css/Xellerate.css
- /xlWebApp/css/style.css
Thanks.
Edited by: user504421 on Mar 16, 2009 9:52 AM
Edited by: user504421 on Mar 16, 2009 10:00 AM
Edited by: user504421 on Mar 16, 2009 10:01 AM -
Bapi_document_create2 does not work correctly with attached file.
Hi all.
I hava a problem with bapi. I programmed below.
ls_docdata-documenttype = 'BBS'.
ls_docdata-description = 'JJW test'.
ls_file-documenttype = 'BBS'.
ls_file-ORIGINALTYPE = 1.
ls_file-storagecategory = 'ZSTW_KPRO'.
ls_file-wsapplication = 'TXT'.
ls_file-docfile = entity_filename.
append ls_file to lt_files.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
documentdata = ls_docdata
PF_FTP_DEST = 'SAPFTP'
PF_HTTP_DEST = 'SAPHTTP'
IMPORTING
documenttype = lv_documenttype
documentnumber = lv_documentnumber
documentpart = lv_documentpart
documentversion = lv_documentversion
return = ls_return
tables
documentfiles = lt_files.
call function 'BAPI_TRANSACTION_COMMIT'.
If I don't attach the file, DIR is created but if attach some files, it does not work. What should I do??
regards.Hi,
You can use the below to attach the file from BSP to SAP. But it doesnt use the BAPI - 'BAPI_DOCUMENT_CREATE2'. It works perfectly for me. Let me know if you have any questions.
Note: This code put the file into SAP Directory "/userapps/master_data/" as well as it upload the file into Transaction WTY since i am using Business object:BUS2222. You may need to modify the Business object if you ahve the one, otherwise you can just put it into SAP DIR.
FUNCTION ZATTACH_CREATE.
*"*"Update function module:
*"*"Local interface:
*" IMPORTING
*" VALUE(FILE) TYPE SAPB-SAPFILES
*" VALUE(STR_FILE_CONTENT) TYPE XSTRING
*" VALUE(OBJECT_KEY) TYPE BAPIBDS01-OBJKEY
DATA: LOGICAL_SYSTEM TYPE BAPIBDS01-LOG_SYSTEM,
CLASSNAME TYPE BAPIBDS01-CLASSNAME,
CLASSTYPE TYPE BAPIBDS01-CLASSTYPE.
DATA: IT_FILES TYPE TABLE OF BAPIFILES,
IT_SIGNATURE TYPE TABLE OF BAPISIGNAT,
FILES TYPE BAPIFILES,
SIGNATURE TYPE BAPISIGNAT.
DATA: I_TOADD TYPE TOADD,
FILENAME_ALL TYPE SAPB-SAPFILES,
FILE_PATH TYPE SAPB-SAPFILES,
FILE_PATH_MEMORY(250) TYPE C, " path für SAP memory
FILE_PATH_LENGTH TYPE I, " length of the file_path
FILE_CONTENT_LENGTH TYPE I, " length of the file_CONTENT
FILE_NAME TYPE SAPB-SAPFILES,
FILE_EXTENSION TYPE TOADD-DOC_TYPE. " file-extension.
DATA: I_FILE_CONTENT TYPE TABLE OF BAPICONTEN.
DATA: WA_FILE_CONTENT TYPE BAPICONTEN,
STRING_CONTENT TYPE STRING,
STRING_CONTENT1 TYPE STRING.
DATA:
I_FILES TYPE TABLE OF BAPIFILES ,
I_SIGNATURE TYPE TABLE OF BAPISIGNAT ,
I_COMPONENTS TYPE TABLE OF BAPICOMPON ,
COMPONENTS TYPE BAPICOMPON ,
I_PROPERTIES TYPE TABLE OF SDOKPROPTY ,
I_PROPERTIES2 TYPE TABLE OF BAPIPROPER ,
I_PROPERTIES_DEL TYPE TABLE OF BAPIDPROPT ,
MIMETYPE TYPE TOADD-MIMETYPE,
COMPID TYPE BAPICOMPON-COMP_ID, " compid for popup
COMPID_FLAG(1) TYPE C, " compid can't be changed
MODIFY_FLAG(1) TYPE C, " document is modified
ATTRI_FLAG(1) TYPE C, " attri can't be changed
TITLE_FLAG(1) TYPE C, " titel of the popup
CANCEL_FLAG(1) TYPE C, " cancel button Yes/No
BUTTON_TEXT(10) TYPE C,
INFO_TEXT(100) TYPE C,
VERSION_NR TYPE BDN_CON-DOC_VER_NO, " version_nr for popup
VERSION_LANGU2 TYPE T002T-SPTXT, " language field in POPUP
VERSION_LANGU TYPE BDN_CON-LANGU," SPRAS language field
TITLE_TEXT(100) TYPE C, " title of the popup
DESCRIPTION TYPE BDN_CON-DESCRIPT. " descr. for popup
*FILENAME_ALL = fileUpload_event->file_name.
* Transfering into SAP File server.
FILE_CONTENT_LENGTH = XSTRLEN( STR_FILE_CONTENT ).
FILENAME_ALL = FILE .
STRING_CONTENT = STR_FILE_CONTENT.
DATA: OUT_LINES TYPE TABLE OF XSTRING.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = STR_FILE_CONTENT
* APPEND_TO_TABLE = ' '
* IMPORTING
* OUTPUT_LENGTH =
TABLES
BINARY_TAB = I_FILE_CONTENT.
DELETE DATASET '/userapps/master_data/claim1.txt'.
OPEN DATASET '/userapps/master_data/claim1.txt' FOR APPENDING
IN TEXT MODE ENCODING DEFAULT.
* LOOP AT I_FILE_CONTENT INTO WA_FILE_CONTENT.
* TRANSFER STR_FILE_CONTENT TO '/userapps/master_data/claim1.txt'.
TRANSFER STRING_CONTENT TO '/userapps/master_data/claim1.txt'.
* ENDLOOP.
CLOSE DATASET '/userapps/master_data/claim1.txt'.
OPEN DATASET '/userapps/master_data/claim1.txt' FOR INPUT
IN TEXT MODE ENCODING DEFAULT.
READ DATASET '/userapps/master_data/claim1.txt' into STRING_CONTENT1.
* -- split filename -- *
DATA: LENGTH TYPE I.
DATA: PATH2(1200). " LIKE sapb-sapfiles.
DATA: L_FILE(1200),
L_DIR(1200),
L_DELIMITER TYPE C,
L_OFFSET TYPE I,
L_BYTES TYPE I,
L_DELIMITER_OFFSET TYPE I,
L_DELIMITER_BYTES TYPE I,
L_CHAR TYPE C,
L_PREVIOUS_CHAR TYPE C,
L_LAST_CHAR TYPE C.
PATH2 = FILENAME_ALL.
LENGTH = STRLEN( PATH2 ).
L_OFFSET = 0.
WHILE L_OFFSET < LENGTH.
L_LAST_CHAR = L_CHAR. "remember last character
L_BYTES = CHARLEN( PATH2+L_OFFSET ).
L_CHAR = PATH2+L_OFFSET(L_BYTES). "get current character
IF L_CHAR = '/' OR L_CHAR = '' OR L_CHAR = ':'.
IF L_DELIMITER IS INITIAL OR L_DELIMITER = ':'.
"Typically we deal with absolute paths, so the first
"delimiter is best. This allows for UNIX paths with
"'' in the directory or file name
L_DELIMITER = L_CHAR.
ENDIF.
IF L_CHAR = L_DELIMITER.
L_DELIMITER_OFFSET = L_OFFSET.
L_DELIMITER_BYTES = L_BYTES.
"remember character in front of delimiter:
L_PREVIOUS_CHAR = L_LAST_CHAR.
ENDIF.
ENDIF.
L_OFFSET = L_OFFSET + L_BYTES.
ENDWHILE.
IF NOT L_DELIMITER IS INITIAL.
L_OFFSET = L_DELIMITER_OFFSET + L_DELIMITER_BYTES.
L_FILE = PATH2+L_OFFSET.
IF L_PREVIOUS_CHAR = ':' OR L_DELIMITER = ':'.
"path ends with or after drive identifer, include the delimiter
L_DIR = PATH2(L_OFFSET).
ELSEIF NOT L_DELIMITER_OFFSET IS INITIAL.
"do not include a trailing delimiter for compatibility reasons
L_DIR = PATH2(L_DELIMITER_OFFSET).
ELSE.
CLEAR L_DIR.
ENDIF.
ELSE.
L_DIR = SPACE.
L_FILE = PATH2.
ENDIF.
FILE_PATH = L_DIR.
FILE_NAME = L_FILE.
* -- set new file_path to SAP memory -- *
FILE_PATH_LENGTH = STRLEN( FILE_PATH ).
IF FILE_PATH <> SPACE AND FILE_PATH_LENGTH < 250.
FILE_PATH_MEMORY = FILE_PATH.
SET PARAMETER ID 'OAP' FIELD FILE_PATH_MEMORY.
ELSE.
FILE_PATH_MEMORY = SPACE.
SET PARAMETER ID 'OAP' FIELD FILE_PATH_MEMORY.
ENDIF.
* -- data declaration ------------------------------------------------ *
DATA:
SINGLE_C TYPE C.
CLEAR: SINGLE_C.
LENGTH = STRLEN( FILE_NAME ).
IF LENGTH > 0.
WHILE LENGTH > 0.
SINGLE_C = FILE_NAME+LENGTH(1).
IF SINGLE_C CO '.'.
LENGTH = LENGTH + 1.
EXIT.
ELSE.
LENGTH = LENGTH - 1.
ENDIF.
ENDWHILE.
IF LENGTH > 0.
FILE_EXTENSION = FILE_NAME+LENGTH.
ELSE.
FILE_EXTENSION = SPACE.
ENDIF.
ELSE.
FILE_EXTENSION = SPACE.
ENDIF.
IF FILE_EXTENSION <> SPACE.
SET LOCALE LANGUAGE SY-LANGU.
TRANSLATE FILE_EXTENSION TO UPPER CASE. "#EC TRANSLANG
SET LOCALE LANGUAGE SPACE.
ENDIF.
* TR001++
DATA: I_TOADV TYPE TABLE OF TOADV.
DATA: WA_TOADV TYPE TOADV.
DATA: OBJECT TYPE SAEOBJART.
SELECT * FROM TOADV INTO CORRESPONDING FIELDS OF TABLE
I_TOADV WHERE STANDARD = 'X'.
DELETE I_TOADV WHERE AR_OBJECT CS 'BDS' OR AR_OBJECT CS 'ZSEST'.
READ TABLE I_TOADV INTO WA_TOADV WITH KEY DOC_TYPE = FILE_EXTENSION.
* -- get name and description for the document -- *
CLEAR: COMPID,
DESCRIPTION,
VERSION_NR,
MODIFY_FLAG,
COMPID_FLAG,
ATTRI_FLAG,
TITLE_FLAG.
COMPID_FLAG = ' '. " -> compid can't be changed
MODIFY_FLAG = 'S'. " -> popup in save modus
ATTRI_FLAG = 'X'. " -> attri's can be changed
COMPID = FILE_NAME.
VERSION_NR = '00000001'.
VERSION_LANGU2 = SY-LANGU.
TITLE_FLAG = '1'. " -> BDN
* -- get the mimetype of the docuclass -- *
*PERFORM MIMETYPE_GET(OAALL) USING FILE_EXTENSION
* CHANGING I_TOADD.
DATA: I_DOCUMENTCLASS TYPE TOADD-DOC_TYPE.
MOVE FILE_EXTENSION TO I_DOCUMENTCLASS.
SET LOCALE LANGUAGE SY-LANGU.
TRANSLATE I_DOCUMENTCLASS TO UPPER CASE. "#EC TRANSLANG
SET LOCALE LANGUAGE SPACE.
SELECT SINGLE * FROM TOADD INTO I_TOADD WHERE
DOC_TYPE EQ I_DOCUMENTCLASS.
IF SY-SUBRC NE 0. " nothing found -> default!
I_TOADD-DOC_TYPE = I_DOCUMENTCLASS.
I_TOADD-MIMETYPE = 'application/x-docType'. "#EC NOTEXT
ENDIF.
MOVE I_TOADD-MIMETYPE TO MIMETYPE.
* -- fill file and signature structure -- *
CLEAR: I_FILES, I_SIGNATURE.
REFRESH : I_FILES, I_SIGNATURE.
DESCRIPTION = FILE_NAME.
FILES-DOC_COUNT = 1.
FILES-DIRECTORY = FILE_PATH.
FILES-FILENAME = FILE_NAME.
FILES-MIMETYPE = MIMETYPE.
APPEND FILES TO I_FILES.
* -- fill components and signature structure -- *
COMPONENTS-DOC_COUNT = 1.
COMPONENTS-COMP_COUNT = 1.
COMPONENTS-MIMETYPE = MIMETYPE.
COMPONENTS-COMP_ID = FILE_NAME.
APPEND COMPONENTS TO I_COMPONENTS.
SIGNATURE-DOC_COUNT = 1.
SIGNATURE-PROP_NAME = 'BDS_DOCUMENTCLASS'.
SIGNATURE-PROP_VALUE = FILE_EXTENSION.
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'BDS_CONTREP'.
*IF BDS_DOCTYPE_LIST-CONTREP = SPACE.
SIGNATURE-PROP_VALUE = ' '. "#EC NOTEXT
*ELSE.
* I_SIGNATURE-PROP_VALUE = BDS_DOCTYPE_LIST-CONTREP.
*ENDIF.
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'BDS_DOCUMENTTYPE'.
SIGNATURE-PROP_VALUE = WA_TOADV-AR_OBJECT. "'ZSRVCXLS'."TR001+
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'DESCRIPTION'.
SIGNATURE-PROP_VALUE = DESCRIPTION.
APPEND SIGNATURE TO I_SIGNATURE.
SIGNATURE-PROP_NAME = 'LANGUAGE'.
SIGNATURE-PROP_VALUE = VERSION_LANGU.
APPEND SIGNATURE TO I_SIGNATURE.
CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CREA_TAB'
EXPORTING
* LOGICAL_SYSTEM =
CLASSNAME = 'BUS2222' "classname_select
CLASSTYPE = 'BO'" classtype_select
CLIENT = SY-MANDT
OBJECT_KEY = OBJECT_KEY
BINARY_FLAG = 'X'
* IMPORTING
* OBJECT_KEY =
TABLES
SIGNATURE = I_SIGNATURE
COMPONENTS = I_COMPONENTS
CONTENT = I_FILE_CONTENT
* ASCII_CONTENT =
* EXCEPTIONS
* NOTHING_FOUND = 1
* PARAMETER_ERROR = 2
* NOT_ALLOWED = 3
* ERROR_KPRO = 4
* INTERNAL_ERROR = 5
* NOT_AUTHORIZED = 6
* OTHERS = 7
COMMIT WORK AND WAIT.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFUNCTION.
Message was edited by:
Raja T -
Maxl iferror goto does not work
Hi,
I have a vbscript which updates substitution variables in essbase.
But if there is an error, for example, if the variable name is different in essbase than what is defined in the script, the script continues to run.
the only time is actually catches an error is when it encounters the error in the last statement that is executed. i tried to put iferror goto, but it does not work either.
Please help.
Below is a portion of my script.
Thanks.
objOutputStream.writeline("login " & Username & " identified by " & password & " on " & Server &";")
objOutputStream.writeline("spool on to "& logfile &";")
objOutputStream.WriteLine("alter database " & APPname & "." & DBname & " set variable abcd " & strabcd &";")
objOutputStream.WriteLine ("iferror goto exit;")
objOutputStream.WriteLine("alter database " & APPname & "." & DBname & " set variable xyz" & strxyz &";")
objOutputStream.WriteLine ("iferror goto exit;")
objOutputStream.WriteLine("alter database " & APPname & "." & DBname & " set variable mnop" & strmnop &";")
objOutputStream.WriteLine ("iferror goto exit;")
objOutputStream.writeline("spool off;")
objOutputStream.writeline("logout;")
objOutputStream.WriteLine (":Exit")
objOutputStream.writeline("exit;")
objOutputStream.closeHi,
we work with the exit label as follows:
alter database ...
iferror getmeout;
alter database ...
iferror getmeout...
define label "getmeout";
spool off;
logout;
EXIT;
the spool off and logout command should be part of the defined lable (in your case, too), otherwise you wouldnt logout your session if an error occurs.
Kind regards
André -
Bluetooth pairing and so handoff does not work
Hi!
First of all I have a Macbook Pro 15" Retina late 2013 (bought at in the first months of 2014) and and iPhone 5s.
rMBP has installed OS X Yosemite since yesterday and my iPhone iOS 8.0.2
Positiv checks:
- both devices support Bluetooth LE
- both devices are on the same wi-fi network
- rMBP support handoff and instant hotspot as displayed in system information screen
- rMBP could "out call" over facetime and my iPhone to anyone
- bluetooth is activated on both devices
- airdrop (for everyone) is activated on both devices
- handoff in settings -> general on rMBP ist actived
- handoff in settings -> generall -> handoff & ... ist activated on iPhone too
Problems:
- handoff does not work between my rMBP and iPhone
- in bluetooth settings both devices see each other, but they cannot connect to each other
if I try to connect bluetooth from rMBP to iPhone I get: network not available
if I try to connect bluetooth from iPhone to rMBP I get: connections failed
so what can I do to pair/connect them both to each other for these incredible handoff features I want to use?
things I tried out:
- switching airdrop on and off on both devices
- switching airdrop off and on on both devices
- switching bluetooth off and on on both devices
- clearing bluetooth device cach on rMBP and fresh select (pairing) in the settings
- multiple trys on my iPhone to connect with my rMBP
- resetting network settings on iPhone
- resetting all settings on iPhone
I run out of ideas .... can anybody help me please!yes, there is an additional troubleshooting for your iPhone.
- be sure that you have still OS X Yosemite and iOS 8.0.2 or later (8.1 on Monday) installed on your devices
- on iOS goto settings -> generall -> scroll down to reset settings (last option on general screen) -> reset all network settings
- be sure to reconnect to the same WI-FI after you did that
- be sure to activate Bluetooth
- be sure that Handoff ist activated on your iPhone (Settings -> General -> Handoff)
- be sure your MBP ist on the same WI-FI (same bandwith as well, for example both devices have to be on 2,4 GHz)
if that troubleshooting does not work for you, goto settings -> iCloud -> scroll down to logout from your iCloud on iOS
and than reconnect to iCloud on your iPhone 5c
if that troubleshooting does not work too, goto settings -> general -> scroll down to reset settings
and reset all settings, do the same as before
you can also check on your MBP:
- goto Macintosh HD/library/Preferences/By Host and check for files com.apple.Bluetooth......
- delete them
- do not forget to activate Bluetooth on MBP
if you did the two boot-tricks in the troubleshooting, Bluetooth should be reseted to default, and if you open Settings -> Bluetooth on your MBP
your iPhone should NOT be shown in the list of available Bluetooth devices.
please tell me, what works for you! -
Open a view twice does not work
Hello,
I have a problem with bsp-views:
I open a new window via the JavaScript command
<script type="text/javascript" language="javascript">
open( "<%= controller->mv_srch_url%>",
"searchTask", "resizable=no, scrollbars=no,
status=yes, menubar=no, width=320, height=522,
top=50, left=50" );
</script>
If I close this window via the 'X' on the upper right corner of the window and want to open the popup again it doesn't work. This JavaScript command passes correctly but no window is opened.
If I close the popup via a button where a submit is made to the calling (parent) document and open it again, everything works fine.
Now I have two questions:
1. Does anybody have an idea why the popup cannot be opened again?
2. If not, I would like to make a submit if the popup is closed by the 'X'. I tried this in my bsp-view:
<script language="javascript">
function do_submit(){
var theForm = window.opener.document.getElementById("theForm");
theForm.submit();}
window.onUnload = do_submit
</script>
but it did not work.
I would be very grateful for any help.
Best regards,
Ralph
Message was edited by: Ralph Rillig
Catching the 'X' does not work, but opening the popup twice is working. I used the following coding:
open( "<%= controller->mv_srch_url%>",
"searchTask<%=sy-uzeit>", "resizable=no, scrollbars=no,
status=yes, menubar=no, width=320, height=522,
top=50, left=50" );Ralph
try the following...
1) create a new parameter or variable named callPopup (type CHAR01) with a default value 'N'.
2) then in your view put the following;
<% IF callPopup = 'S'. callPopup = 'N'. %>
<script type="text/javascript" language="javascript">
open( "<%= controller->mv_srch_url%>",
"searchTask", "resizable=no, scrollbars=no,
status=yes, menubar=no, width=320, height=522,
top=50, left=50" );
</script>
<% ENDIF. %>
3) Then when the user press the button to search (or the event to call the popup) just put the value of this variable to 'S'.
Try it...
Ariel -
New ThinkPad Precision Wireless Mouse (MORFGOO) does not work
Hello to everyone,
My wireless mouse does not work. The symptoms are: The mouse is completely unresponsive, as if it had no power at all (cannot be turned on, no red laser, no interaction with CPU).
How I came to notice the problem:
I installed the mousesuite from lenovo/support/mousesuite. Then I restarted the computer. After this, I connected the USB Bluetooth Adapter to a USB port of the ThinkPad 430s 2352 CTO. I tried to turn the mouse on. No changes were noticed, Mouse still offline, no light. Tried a different set of battery & tried the wireless button. No change. Reinstalled the mousesuite. No noticeable change.
I believe the mouse might be broken. Could anyone please provide me with support as to how I could solve this? In the case that it is non-functional, how do I return it to lenovo? Is it under my one year guaranty (I bought it as an accessory on my command for my laptop)?
Thanks for your answers!
ph423Hi,
Your migration to Lion brought over a previous hot key preferences document. And this contains one bad key that wasn't updated.
- Quit System Preferences (if open)
- Delete this document to remove a carry-over mapping error.
- Then logout
Note: That this will delete any existing modified keyboard assignments. Re-assign changes manually.
Note2: This document is in your users preferences folder.
~/Library/Preferences/com.apple.symbolichotkeys.plist
-Alan -
New Apple Keyboard Launchpad F4 key does not work
New Apple Keyboard Launchpad F4 key does not work
Hi, I have now got ne new wireless keyboard because my old one broke. I connected the keyboard, the F3 key (Mission Control) functions, the F4 key, especially for Lunchpad does not work, I'm Lion on it, previously on the old keyboard I had in 2009, he occupiedwith Launchpad F5.
Have System Preferences / Keyboard / Keyboard Shortcuts reset everything goes ......... but not yet!!
Maybe someone can help me!!
Thank you
greetingHi,
Your migration to Lion brought over a previous hot key preferences document. And this contains one bad key that wasn't updated.
- Quit System Preferences (if open)
- Delete this document to remove a carry-over mapping error.
- Then logout
Note: That this will delete any existing modified keyboard assignments. Re-assign changes manually.
Note2: This document is in your users preferences folder.
~/Library/Preferences/com.apple.symbolichotkeys.plist
-Alan -
After upgrade date selection does not work in xml forms
Hi Experts,
since we upgrade the portal from 7.0.19 to 7.0.24 we have a problem with the timestamp in the xml forms in combination with IE7. When we click on the date selction button, the date screen appears and the form disappears. The only option we can choose is cancel and then the date selection screen disappears and the form is not comming back. Selecting a date en choose ok does not work. I tried with IE6 then it works fine. Before the upgrade it works fine with IE7.
How to solve this?
thanks in advance.
Vo.I created a OSS message and the answer is : [Note 1491775 - XML Forms locked when closing browser window|https://websmp130.sap-ag.de/sap(bD1ubCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1491775]
gr
Vo. -
FileUpload does not work in MVC application
I created an MVC application with controllers and views for the different frames (header.do/header.htm, menu.do/menu.htm, toolbar.do/toolbar.htm, statusdo./status.htm, detail.do/detail.htm). The main-controller is front.do, the main-view is front.htm
The detail-view is realized as a "sub-MVC-application" because it is rather complex (subfront.do/subfront.htm).
This sub-MVC uses some controllers and views for the detail-frame.
My problem is that fileUpload does not work in this sub-sub-view. I cannot get the attributes like filename.
In a page with flowlogic it works fine. I also tried to put the code for the fileUpload in a page fragment and include it in the page with flowlogic which also works fine.
But when I include this page fragment in the view it does not work either. The code in the layout-section of the page fragment looks as follows
<%@page language="ABAP" %>
<%@extension name="htmlb" prefix="htmlb" %>
<%@extension name="bsp" prefix="bsp" %>
<htmlb:gridLayout columnSize="2" rowSize="1" cellSpacing="5" cellPadding="5" width="100%">
<htmlb:gridLayoutCell columnIndex="1" rowIndex="1">
<htmlb:fileUpload id="fuDokument"/>
<htmlb:button id="submitButton" text="Upload" onClick="HandleUpload"/>
</htmlb:gridLayoutCell>
<htmlb:gridLayoutCell columnIndex="2" rowIndex="1">
<%
DATA: ref_htmlb_fileupload TYPE REF TO CL_HTMLB_FILEUPLOAD.
ref_htmlb_fileupload ?= CL_HTMLB_MANAGER=>GET_DATA( request = request id = 'fuDokument' name = 'fileUpload' ).
IF ref_htmlb_fileupload->file_name IS INITIAL. ref_htmlb_fileupload->file_name = ' '. ENDIF.
IF ref_htmlb_fileupload->file_content_type IS INITIAL. ref_htmlb_fileupload->file_content_type = ' '. ENDIF.
%>
<htmlb:textView text="Uploaded:"/>
<htmlb:textView text="<%=ref_htmlb_fileupload->file_name %>"/>
<htmlb:textView text="Content-Type:"/>
<htmlb:textView text="<%=ref_htmlb_fileupload->file_content_type %>"/>
<htmlb:textView text="Length:"/>
<htmlb:textView text="<%=ref_htmlb_fileupload->file_length %>"/>
</htmlb:gridLayoutCell>
</htmlb:gridLayout>
Any help would be highly appreciated
MarkusHi,
Info: I'm just learning bsp for 2 weeks...
I've a question related to fileUpload in MVC application.
Actually I created a tableView with an iterator.
In the IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START method of this iterator I want to display an input field for file upload if the third line of my table is selected.
This is my code:
DATA: lo_file TYPE REF TO CL_HTMLB_FILEUPLOAD.
lo_file = CL_HTMLB_FILEUPLOAD=>FACTORY(
* ACCEPT =
ID = p_cell_id
* ID_POSTFIX =
* MAXLENGTH =
ONUPLOAD = 'upload'
SIZE = '100'
* TEXTDIRECTION =
TOOLTIP = 'Result file'
* UPLOAD_TEXT =
p_replacement_bee ?= lo_file.
but I don't get anything. My row is selected, but I don't see a input field.
Can someone help me? -
Installed Premiere Pro CS4 but video display does not work?
I just got my copy of CS$. After installing Premiere I found two things that seem very wrong:
1) video display does not work, not even the little playback viewer next to improted film clips located on the project / sequence window. Audio works fine.
2) the UI is way too slow for my big beefy system.
My pc is a dual boot Vista-32 and XP system with 4GB of memory installed and nvidia geforce 280 graphics board with plenty of GPU power. The CS4 is installed on the Vista-32 partition. My windows XP partition on the same PC with Premiere CS2 works great and real fast.
Any ideas how to solve this CS4 install issue?
RonI would like to thank Dan, Hunt, and Haram:
The problem is now very clear to me. The problem only shows up with video footage imported into PP CS4 encoded with "MS Video 1" codec. So this seems to be a bug. The codec is very clearly called out and supported within various menues but video with this codec just will not play in any monitor or preview window. In addition the entire product looks horrible with respect to performance while PP CS4 trys its best to play the video. Audio will start playing after about 30 seconds. And once in awhile part of video shows up at the wrong magnification before blanking out again.
My suggestion to the Adobe team: fix the bug and add some sample footage to the next release so new installations can test their systems with known footage.
My PC is brand new with the following "beefy" components:
Motherboard
nForce 790i SLI FTW
Features:
3x PCI Express x16 graphics support
PCI Express 2.0
NVIDIA SLI-Ready (requires multiple NVIDIA GeForce GPUs)
DDR3-2000 SLI-Ready memory w/ ERP 2.0 (requires select third party system memory)
Overclocking tools
NVIDIA MediaSheild w/ 9 SATA 3 Gb/sec ports
ESA Certified
NVIDIA DualNet and FirstPacket Ethernet technology
Registered
CPU: Intel Core 2 Quad Q9550
S-Spec: SLAWQ
Ver: E36105-001
Product Code: BX80569Q9550
Made in Malaysia
Pack Date: 09/04/08
Features:
Freq.: 2.83 GHz
L2 Cache: 12 MHz Cache
FSB: 1333 MHz (MT/s)
Core: 45nm
Code named: Yorkfield
Power:95W
Socket: LGA775
Cooling: Liquid Cooled
NVIDIAGeForce GTX 280 SC graphics card
Features:
1 GB of onboard memory
Full Microsoft DirectX 10
NVIDIA 2-way and 3-way SLI Ready
NVIDIA PureVideo HD technology
NVIDIA PhysX Ready
NVIDI CUDA technology
PCI Express 2.0 support
Dual-link HDCP
OpenGL 2.1 Capaple
Output: DVI (2 dual-link), HDTV
Western Digital
2 WD VelociRaptor 300 GB SATA Hard Drives configured as Raid 0
Features:
10,000 RPM, 3 Gb/sec transfer rate
RAM Memory , Corsair 4 GB (2 x 2 GB) 1333 MHz DDR3
p/n: TW3X4G1333C9DHX G
product: CM3X2048-1333C9DHX
Features:
XMS3 DHX Dual-Path 'heat xchange'
2048 x 2 MB
1333 MHz
Latency 9-9-9-24-2T
1.6V ver3.2 -
A2109 tablet autorotate does not work
The autorotation on my recently purchased tablet A2109 does not work. I look in settings and the auto rotate field is not highlighted, I therefore cannot choose to turn it on.The tablet has the Android jellybean OS and I did update it but to no avail. Can anyone help?
Thanks
Solved!
Go to Solution.Dear tdsouza
Welcome in lenovo forums
just a clarification , do you mean option Rotate is dimmed in setting
Please let me know
Thanks
Alaa
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
For what reason on my tablet with OS Android 4.1 does not work flash on the sites?
Hi! I recently bought a Google Nexus 7 tablet with Android 4.1 operating system and on my tablet does not work flash sites. Why adobe does not release a new version of flash for android 4.1? Why it was necessary to buy a company Macromedia, if adobe does not want to develop web technology? I think against Adobe can sue for violation of antitrust
I found this for example:
http://www.slashgear.com/adobe-no-jelly-bean-flash-flash-player-pulled-altogether-august-1 5-29236404/ -
My flash flayer does not work on my Windows 8 Surface Tablet, it also won't let me see if i already have it installed...
1. Are you getting any error message?
2. Which browser are you using?
3. Were there any recent changes made on the computer prior to the issue? -
My flash player does not work on my tablet.
My flash player does not work on my tablet
Your tablet uses Android OS.
There is no more Flash Player for Android and there won't be another. Android is no longer compatible with Flash Player. Playing Flash content is very processor consumptive and it drains your battery, also shortening the life of it. Android (Google) recommends using either "Dolphin" or "Puffin" as your browser if you need to view Flash content with a mobile device running Android. They're both free in the GooglePlay store. These browsers use "server side" rendering to reduce the load on your device.
Maybe you are looking for
-
I just upgraded to the new iphone 4, but am hesitant to get it plugged in b/c I don't know how to make sure all the apps purchased on my iphone 3 get to the new phone. can't seem to find instructions so I'm sure it just "does it", but hesitant to li
-
LDAP User Password changing...
Hi all, We use windows AD LDAP server for central user administration.. I am trying to change the password of my own in the portal server..how can i do this ? When i see the password change option in Useradmin/identity management under All data sourc
-
Upgrade to Solman 4.0 stopped in import 5 : Rtrans does not work
Hi, I was upgrading my solution manager to 4.0. But it's stopped in import phase 5. But now does R3trans doesn't work anymore. Trans.log : [code]4 ETW000 [developertra,00000] Version of library '/oracle/put/tools/dboraslib.so' is "46D.00", patchlev
-
Bug report: Recently used pages
The View dropdown list on the Page Definition page (4000:4150) seems to get confused after a while regarding the list of Recently edited pages. See http://i1.tinypic.com/27yy9f7.jpg I definitely don't have a page with that large number! Not sure how
-
Audio surround channel missing - Please advise?
Hi, I am using DVDSP3 to compile a DVD-V with 5.1, AC3, Apack encoded Dolby Digital Surround sound. The problem is when I playback the session all audio channels playback correctley except the rear left surround, which doesn't playback at all. I have