Keep client and language information for login after timeout

Hello experts,
i'm using the url parameters sap-client and sap-language that the user can login without them. The parameters are filled on a mobile device and on different plants these parameters are different. When the user logout with the logout button the method server->logoff( ) will be called in the main controller. Then a logout view will be called that redirect the user to the login page and fill the parameters into the url again.
My problem is when a session timeout occurs or the session will be closed manually the login screen appears again after the next request, but with the default client and language.
I'm looking for a way to fill these parameters when a timeout occurs.
Thanks and best regards,
Tobias

I found a working solution for my problem. With the following code in the do_init method of my main controller, the url will be renewed right after the login:
DATA: lv_url   TYPE string,
      lv_tmp   TYPE string,
      lv_laiso TYPE t002-laiso.
lv_url = me->co_controller_name.
lv_tmp = sy-mandt.
CALL METHOD cl_http_server=>append_field_url
  EXPORTING
    name  = 'sap-client' ##NO_TEXT
    value = lv_tmp
  CHANGING
    url   = lv_url.
CALL FUNCTION 'CONVERT_SAP_LANG_TO_ISO_LANG'
  EXPORTING
    input  = sy-langu
  IMPORTING
    output = lv_laiso.
TRANSLATE lv_laiso TO LOWER CASE.
lv_tmp = lv_laiso.
CALL METHOD cl_http_server=>append_field_url
  EXPORTING
    name  = 'sap-language' ##NO_TEXT
    value = lv_tmp
  CHANGING
    url   = lv_url.
CALL METHOD me->response->redirect
  EXPORTING
    url = lv_url.
CALL METHOD me->navigation->response_complete.

Similar Messages

  • DT require Oracle9i client and Oracle Services for MTS software

    "Distributed Transactions require Oracle9i client and Oracle Services for Microsoft Transaction Server software."
    I get the error above when attempt to run a COM+ transaction accessing Oracle9i. I'd been checked the installation of Oracle9i and Oracle Services in the client computer and it is ok.
    I am using Windows Server 2003 and the database server is on another Windows Server 2003. The database is Oracle9i Enterprise Edition.
    At Stanford's web site (http://www.stanford.edu/dept/itss/docs/oracle/9i/win.920/a95496/ch1.htm#1079911) I found Oracle's documentation that explains this, but it didn't worked for me.
    Oracle Services is installed in both machines.
    The Oracle MTS Recovery Service is running.
    The COM+ component is registered.
    When I use the same component with SQL Server 2005 beta 2 it works fine. What else do I need to do?
    Thanks in advance.
    Caio Pereira

    Hi.
    I have the same problem, one which works and another which don't (almost though).
    I got most of it to work by taking the mtsservices registry entry from the server that works and put it on to the other after i have made the service in Oracle management console for mts.
    Now i can search, delete, change but not make a new entry into the database.
    And thats where i'm stuck now.
    Hope it helps a bit..
    Michael
    Greenland

  • Listing Employee Education and Language Information.

    I'm writing a web application that uses PS to modify employee information, specifically their education and language information.
    Basically, I'm using a JpmPersonProfile object to get a JpmPersonProfileJpmJpCatTypeJpmJpCritmVwCollection object. Unless I'm mistaken, this is a collection of items in the JpmJpCatType table that the employee has. From here, I get a handle on either the Education or Language items in that list. This is where my problems come in.
    Education List:
    The education object that I get is a collection of items where each item corresponds to a degree. So this collection is a list of degrees the employee has achieved. The only problem is when the employee has 2 degree accomplishments with the same degree. (For example BS in Math and BS in Econ). To get these, I need to make the following call: educationCollection.item(i).getJpmJpItems(). Where 'i' is the index in the educationCollection where JpmCatItemId = 'BS'. Then I get the list of education accomplishments where the degree is BS. If I try to delete an item in this list, lets say the Econ degree, I would do something like this: educationCollection.item(i).getJpmJpItems.deleteItem(j). (Again, where i is the index for degree's with CatItemId = 'BS' and j is the index in the JpmJpItems list where major = 'Econ')
    I'm getting an error saying "Cannot change current or history records unless in Correction mode. (15,1)" I don't understand why I can't delete individual items in the JpmJpItems table but I can delete entire degree lists. (I CAN do something like educationCollection.deleteItem(i), but this will delete every degree in that list. If 'i' corresponded to the BS degree list, then both Math and Econ accomplishments would be deleted) Does anyone know why this is?
    Language:
    My language issue is much more simple. I need to locate the database that holds information such as the employee's fluency in speaking, reading and writing the language. Also their ability to translate that language. I thought this information would be in the JpmJpItems table (since all of the education info is in there), but I can't seem to find a column representing that information.
    Thanks,
    -Tim

    Hi
    Check T code SMLT and if u have that package u can change the required language.
    Kindly check and revert.
    Regards
    Raahul.

  • Adjusting BEX default client and language

    hello,
    can anybody advise for the followinig problem:
    connecting thru BW (BI7/adabas/winxp) normaly default client and language are set in first logon screen in GUI, even no parameter is set in rz10.
    but how to adjust it when connecting thru BEX analyzer?
    always is client 000 and i have to put language...
    thanks!

    Hi,
    If you want, in log on pad as the default system for Bex, pls check the box (set default)in the logon screen for Bex. Else go to System> Change-> enter the new client, & language.
    Also Check the User settings in T.Code SU01 check the communication language and default language, Change the language while logging into BEx.
    Regards
    CSM Reddy

  • Create a client and logical system for BW

    Hi all,
    Can anyone show me how to create a BW client?
         create a BW client and logical system for BW client.
         create sourcesystems for the other clients in BW.
    I have follow some documents
    B84: BI Connectivity
    B03: General Settings BI Integration
    But it's not working the data can't flow to BW server.

    hi,
    check out the following thread's. it will guide you
    Connection steps for SAP BW and R/3
    Info required  while  creating source system
    R/3 Source system creation error in BW 7.0
    regards
    harikrishna N

  • Regional and Language Settings for Window and BEX Style

    Hi All,
    When I change the Regional and Language Settings for Windows, Standards and Formats value to English (USA) the standard Style for BEX is active. For instance, input-ready cell is bordered with blue. But when I switch to Turkish this style is not active.
    Additionally, I have to change Style for each Workbook one by one. How can we adopt a style to every workbook.
    Regards,

    Lars,
    This is a setting on the 'Defaults' tab in the User Profile. This can be set when a new user is set-up in SU01, or it can be changed by each user according to personal preference in SU3. I'm sure there is a system table where these settings are stored that could probably be edited for all users, if that is desired, but I don't know which table that would be off the top of my head.
    Hope this helps...
    Bob

  • Hi,,I forgot the icloud id and all information for this accound and i can't active my mobile please haw i can find my account i remember password only for may account.what is account linked my phone

    hi,,,
    I forgot the icloud id and all information for this accound brcouse my children forget it, i was restored my iphone naw is blocked and i can't active my mobile please haw i can find my account linked phone. i remember password only for my account i don't remember that exactly
    please find it to me
    thanks,,,
    <Personal Information Edited by Host>

    This is a user-to-user tech support forum, as explained in the fourm Terms of Use you agreed to when you joined. No one here can find your ID.  See this:
    Apple ID: If you forget your password
    Apple - My Apple ID
    Message was edited by: modular747

  • Where do i get ISA and ICSS information for sytem definition (:

    Where do i get ISA and ICSS information for sytem definition inside portal? I will really appreciate if somebody could post a sample definition for ISA and ICSS.
    Message was edited by: Prakash  Singh
    Message was edited by: Prakash  Singh

    Hi,
    I'm currently working as a developer on an ISA and Portal implementation.  We too are using the CRM ISA BP too integrate into the portal.  I've not been too close to this aspect of the project but we have been having lots of problems...
    Couple of important things I am aware of:-
    Make sure your SAP J2EE is at the latest version/patch - we were having issues with logon and session time outs (there is an OSS note relating to this issue)
    Make sure you user creation methods are set up correctly - we had automatic creation of user IDs on the CRM system which caused a nightmare getting single sign on working between the Portal, CRM and ISA.
    Hope this is of some help.

  • Report server running in integrated mode , but cannot deploy reports again and again prompts for login

    Report server running in integrated mode , but cannot deploy reports again and again prompts for login
    Nur Mondal

    Hello,
    How are you deploying the reports? Via Visual Studio, Report builder or manually uploading RDL files?
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • SCCM 2012 R2 Computer reports not displaying users and domain information for some systems.

    I have a recently deployed SCCM 2012 R2 server which has been running well so far.
    I have, however, noticed in the reporting (example: "Computers in a specific site" report) that some computers are not showing information like "User domain" and "User Name" (for about 500 of the 1500 computers).
    If I go to a collection, select such a computer and right click to properties and go to the general tab I can see that the below fields are blank:
    Last Logon User Domain
    Last Logon User Name
    All other fields are populated similarly for both affected and non-affected agents. Agent versions are the same as well. Hardware/Software inventory appears to be completing on all systems.
    Has anyone else seen this type of behavior and found a solution? Appreciate any advice. Thanks.
    Edit: Most agents have been installed for close to 2 months.
    Hardware inventory: Daily
    Software inventory: Weekly

    Hi,
    Those two values are populated by the Heartbeat agent and if no user is logged on when the heartbeat is sent, then the value is blank so I would say this would be as expected.
    If you want to know which user has been using a computer you should have a look at the assett Intelliengence reports with console usage, then you can see who has been using a computer most frequently.
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • IMAP, POP and SMTP information for manual email setup

    How to manually set up your Telstra email service:
    Telstra email on the BigPond platform
    POP & SMTP
    Your name
    Enter your name as you’d like it appear in emails you send.
    Account type
    POP3
    Incoming server details
    Server address
    mail.bigpond.com
    Port
    995
    Encrypted connection
    SSL
    Outgoing server details
    Server address
    mail.bigpond.com
    Port
    587 or 465
    Authentication
    Yes
    Encrypted connection
    With SSL Encryption
    Username
    Enter your full email address (ending in '@bigpond.com' or '@bigpond.net.au')
    Password
    Enter your Telstra email account password which will be case-sensitive.
    Other settings to check
    Ensure the checkbox is ticked for Outgoing server requires authentication – in most mail clients, this is not ticked by default.
    Use:
    Secure Sockets Layer (SSL) with the POP and SMTP connection, and
    SMTP authentication for security.
    Ensure that your operating system and email client have the latest updates.
    Telstra email on the Outlook.com platform
    If you’re on the Telstra email platform with Outlook.com®, you can choose either of the following types of settings to set up email on your computer, tablet or mobile phone:
    IMAP and SMTP
    POP and SMTP
    Where possible, it’s preferable to use the IMAP & SMPT settings as they provide an extra layer of security.
    IMAP and SMTP
    Your name
    Enter your name as you’d like it appear in emails you send.
    Account type
    IMAP
    Incoming server details
    Server address
    imap-mail.outlook.com
    Port
    993
    Encrypted connection
    SSL
    Outgoing server details
    Server address
    smtp-mail.outlook.com
    Port
    587
    Authentication
    Yes
    Encrypted connection
    With TLS/STARTTLS (preferred) or SSL Encryption
    Username
    Enter your full email address (ending in ‘@bigpond.com’ or ‘@bigpond.net.au’)
    Password
    Enter your Telstra email account password which will be case-sensitive.
    Other settings to check
    Ensure the checkbox is ticked for Outgoing server requires authentication – in most mail clients, this is not ticked by default.
    Use:
    Secure Sockets Layer (SSL) with the POP and SMTP connection, and
    SMTP authentication for security.
    Ensure that your operating system and email client have the latest updates.
    POP and SMTP
    Your name
    Enter your name as you’d like it appear in emails you send
    Account type
    POP3
    Incoming server details
    Server address
    pop-mail.outlook.com
    Port
    995
    Encrypted connection
    SSL
    Outgoing server details
    Server address
    smtp-mail.outlook.com
    Port
    587
    Authentication
    Yes
    Encrypted connection
    With TLS/STARTTLS (preferred) or SSL Encryption
    Username
    Enter your full email address (ending in '@bigpond.com' or '@bigpond.net.au')
    Password
    Enter your Telstra email account password which will be case-sensitive.
    Other settings to check
    Ensure the checkbox is ticked for Outgoing server requires authentication – in most mail clients, this is not ticked by default.
    Use:
    Secure Sockets Layer (SSL) with the POP and SMTP connection, and
    SMTP authentication for security.
    Ensure that your operating system and email client have the latest updates.
    Outlook is a registered trademark of Microsoft Corporation in the United States and/or other countries.

    Re: BigPond settings for POP, IMAP and SMTP
    I am have trouble with Apple: they claim that because I have not physically changed my email address they won't "accept" it! (it's same one that I have had for the past 5years),
    I am also unable to log on using the email address & password that I have for past 12 months!
    Can I change my email address and password, when I have time (during business hours), regards Eric

  • Bluetooth keyboard and Word 2008 for Mac after Yosemite

    Bluetooth keyboard (apple) on 27 " iMac (mid 2010) won't work in Microsoft Word 2008 for Mac after Yosemite. It is paired and recognized and works normally otherwise.  Mouse works fine, too.

    Follow up: After trying a number of different approaches I finally shut off the iMac and let it stay off for several minutes and then restarted it. This is something I had read that another user had tried and had worked for him. To my surprise, the keyboard now works in Word 2008. I have no idea if this will continue to work, or if it might work for any of you, but I would give it a try.
    Process:
    Shut Down your Mac
    Let it stay off for several minutes
    Power up and check to see if your bluetooth keyboard works in Word 2008.
    Good luck!
    chuck

  • Colocation of client and key owner for writes

    Hi,
    In a distributed, replicated cache (1 backup copy) does the write to the backup owner for the key happen in parallel with the write to the primary owner? Or does the primary owner issue a synchronous update to the backup owner for the key? Other?
    We are considering routing HTTP requests to the primary owner of a key to keep the primary update local and therefore only incur latency for the synchronous write to the backup owner. Would we see any benefit from doing this?
    We do realize that primary owners can move with removal and/or addition of nodes and only see this as an optimization, not a requirement.
    We are using Coherence version 3.3.
    Thanks.

    Bob,
    >
    >
    I don't think you provided all relevantinformation
    about this. What key and data are we speakingabout?
    What would do the directing of the http request? The key and data are arbitrary, but it could be a set
    of keys assigned to the same partition (using
    Partition Affinity) that collectively represent a
    session. The request would be directed by a network
    device (e.g. F5).
    What you outline here depends on and assumes a couple of things:
    1. The load-balancer is aware of key ownership in a partitioned cache service and also does failover based on this. I am not sure if any hardware load-balancer is capable of doing that. Also, in that case the load-balancer would need an additional Coherence licence.
    2. The load-balancer is able to translate or extract the key data from the HTTP request / its observations of the previous requests in the HTTP session. Again, I find it unlikely, but a little bit more doable.
    3. As you say that the load-balancer directs the request to the specific node owning the key, that would mean that your Webapp nodes and only they would be the storage-enabled nodes for the data you refer on.
    This (among others) means
    - that you won't be able to bring down the JVM of the web containers without losing access to the cached data.
    - your Coherence nodes has to be running inside the web container JVMs which possibly means additional licence costs (for other software in the web container) if the web container is not free
    Even if there are such load-balancers (are there any?), are you sure you really want to do the things outlined above?
    I think it is much more sensible to have a web container tier which has nothing to do with Coherence, and this way the load-balancer does not have to be Coherence-aware, and it allows you to be more flexible in the system architecture and the Coherence features you use, and not be constrained by what the load-balancer's Coherence features (if such a load-balancer exists at all) direct you to.
    In a partitioned cache service (distributed ornear
    cache) the write is always communicated to theowner
    of the primary copy of the partition containingthe
    relevant key, and that node communicates thechange
    to all backups. This is done synchronously fromthe
    client's viewpoint, meaning that this is allcarried
    out before the put method call returns on the
    client.From your reply, I believe we would be reducing
    latency on our updates by routing the requests to the
    node with the partitioned which owns the set of keys.It theoretically would, however I am not really sure that it is possible to do that from a load-balancer, and if it is worth doing that at all.
    Are we really speaking about HTTP requests?
    BR,
    Robert

  • Computer keeps Configuring and setting up for first time use

    I have a toshiba A505-S6980 that has been working fine for a couple years.  Recently I had performance issues and suspected virus, spyware so I did a recovery with the original discs I made when I first got the computer.  Four of the six discs reloaded fine.  It did not ask for the last two discs "Environment 64 bit and Applications and Drives.  I also have a System Repair disc.  After loading the four recovery discs the computer now keeps recycling between preparing for first time use, configuring system, reboot and then back to preparing for first time use,etc.  I think I'm close to getting this, but need a last bit of help.
    Thanks

    It's been a couple days since you posted this problem. Did you get anywhere, or are you still stuck in that loop? If it's still stuck, you may just want to perform the recovery again.
    - Peter

  • Jabber 9.2 on Windows 8 - Google Calendar integration asking for login after every restart

    I am currently testing Jabber 9.2.0, build 496 on Windows 8. Google Calendar integration works, but the user is prompted to re-authenticate after exiting and restarting Jabber.
    I have tried running the client in compatibility mode (Windows 7), but no luck.
    Any ideas?
    Thanks

    Solved - running the client as an administrator fixes the problem.

Maybe you are looking for

  • Text is not copying from InDesign to any other application

    Hi. I'm not able to copy the content from inDesign CS2 to any other application (textEdit, MS-word etc) even I'm fail to import the doc file in to inDesign, while placing the document file in inDesign it keeps the document file inactive. In past ever

  • SMQ2 Error: Delivery has not yet been put away / picked (completely) in ECC

    Hi All, I am processing an Outbound Scenario..everything is fine until SMQ2 shows an error in ECC system. SMQ2 shows me the following error: Delivery has not yet been put away / picked (completely) Message no. VL609 My outbound delivery which was dis

  • Issues with iPhone 4 dock

    Just received the iPhone 4 dock in the mail with the component a/v cables. I plugged in the component cables into my TV, and the USB cable into a power adapter. When I put the phone in the dock, the charger icon appears which is a good sign, however

  • Cost center data transfer

    Hi I am searching for a progra which can send cost center data to other systms. I have got one transaction BD16(program rbdsecos) but in this we we have to give the cost center name but my requirement is sending data of all cost centers with a varian

  • Will icloud run on Leopard

    Will icloud run on Leopard