Transaction launcher call ITS R/3 - Save log on user informations
Good Morning,
I create a transaction launcher where i call an BOR object in SAP R/3 via ITS.
When the user click on the link in Web Interection center, is opened the SAP ITS that ask the log-on informations.
Happens that when the user accept an incoming call and open ITS R/3 from transaction launcher the system asks the user and password informations; when the call is finished and the user close the ITS web page, if the user accept a new incoming call, if the user open the ITS from trasaction call the system asks another time the log-on informations.
There is the possibility to be sure to save the log-on credentials when the user log-on the first time on ITS?
Thanks you
Best regards
Marco
Hi Marco,
As per my understanding of your problem, if i have understood it correctly, you want the logon information to be saved into your browser until the time you explicitly logoff. For this, you may try the following solution:
1. Identify the internet service that is being invoked (like service 'webgui'), goto transaction SICF and enter Service name as name as the one identified. eg. webgui.
2. In 'Logon data' tab, change the value of 'Deactivated System-wide' to 'Yes' for the re-authentication as shown in the picture.
Please let me know if you have more issues.
Similar Messages
-
Getting Logged on User'Information in an Oracle-Form SSO Partner Application
Hi.
I could run Flight-of Fancy Application and capture user's information by calling the
"Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
and defined an Oracle-Form application as Partner application like FOF.
I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
Thanks in advanced.Hi.
I could run Flight-of Fancy Application and capture user's information by calling the
"Parse_cookie " Procedure.(use the Scenario 2 - Access the Portal and then the FOF App)
and defined an Oracle-Form application as Partner application like FOF.
I want to have Logged on user'Information in the "Oracle-Form" . But the Fucntion owa_cookie.get dosen't work correctly.please let me know what can I do ?
Thanks in advanced. If you're writing your own partner application, then you are correct to get the user information from the output variables
from the parse_url_cookie procedure. You should then set the information you want to keep track of in the cookie, or combination
of cookie and persistent storage in the database. Take care of the security implications while doing this.
On subsequent calls to your application, the user info should be obtained from the cookie and the database, if you
are using a combination of the cookie and database storage to keep your info.
The owa_cookie.get routine is used to read the cookie, which is generated with owa_cookie.send.
These routines work fine, when invoked correctly.
If you are having trouble with them, you're probably not using the calls properly.
The following code provides an example of how to use the owa_cookie calls...
create or replace package testcookie
is
procedure show (p_name IN VARCHAR2);
procedure send
p_name IN VARCHAR2,
p_value IN VARCHAR2,
p_path IN VARCHAR2 default null,
p_expires IN VARCHAR2 default null
end testcookie;
show error package testcookie
create or replace package body testcookie is
procedure show (p_name IN VARCHAR2) is
v_cookie owa_cookie.cookie;
begin
v_cookie := owa_cookie.get(upper(p_name));
htp.htmlopen;
htp.bodyopen;
htp.print(v_cookie.vals(1));
htp.bodyclose;
htp.htmlclose;
exception
when others then
htp.htmlopen;
htp.bodyopen;
htp.print('NO COOKIE FOUND.');
htp.print(SQLERRM);
htp.bodyclose;
htp.htmlclose;
end;
procedure send
p_name IN VARCHAR2,
p_value IN VARCHAR2,
p_path IN VARCHAR2 default null,
p_expires IN VARCHAR2 default null
is
v_cookie owa_cookie.cookie;
l_agent varchar2(30);
l_expires varchar2(30);
l_path varchar2(100);
begin
if p_expires is null then
l_expires := null;
else
l_expires := to_date(p_expires, 'MMDDYYYY');
end if;
if p_path = 'ALL' then
l_path := '/';
else
l_path := null;
end if;
owa_util.mime_header('text/html', FALSE);
l_agent := owa_util.get_owa_service_path;
l_agent := substr(l_agent, 1, length(l_agent) - 1 ) ;
owa_cookie.send(
name => upper(p_name),
value => p_value,
expires => l_expires,
path => l_path
owa_util.http_header_close;
htp.htmlopen;
htp.headopen;
htp.headclose;
htp.bodyopen;
htp.print ('Cookie set.');
htp.bodyclose;
htp.htmlclose;
end;
end testcookie;
show error package body testcookie;
grant execute on testcookie to public;If you load this into a schema which a DAD can access, then you can invoke the show and send procedures to view and
generate cookies.
To generate a cookie, issue the following from your browser ...
http://server.domain.com/pls/dad/schema.testcookies.send?p_name=test&p_value=hello
To view the cookie:
http://server.domain.com/pls/dad/schema.testcookies.show?p_name=test -
TRANSACTION LAUNCHER--CALLING CRM Z TRANSACTION THROUGH WEB UI
As per the requirement, we are trying to call CRM Z transaction through web UI. We have used the Object TSTC and created a replica of the object ZTSTC and used the method execute. Made the necessary config for navigation bar and Business role. We could see the link in the Navigation bar but the link could not call the transaction. Pls suggest.Do we need to take the object of the Transaction or copy TSTC and proceed. Thanks in advance.Points will be awarded
PLS FIND THE DETAILS TO PROVIDE THE INPUTS
Configure Transaction Launcher TO CALL T.CODE ZEGNM_IMG FROM CRM THROUGH WEB UI USING TRANSACTION LAUNCHER
USED THE OBJECT ZTSTC BY COPYING TSTC OBJECT AND BY RELEASING THE OBJECT WITH METHOD EXECUTE
PROVIDED THE T.CODE ZEGNM_IMG IN THE VALUE FIELD IN THE ABOVE SCREEN
CREATED THE DIRECT LINK ZEGNM_K
CREATED THE DIRECT LINK GROUP ZEGNM_K
ASSIGN THE DIRECT LINK TO THE DIRECT LINK GROUP
ASSIGN THE DIRECT LINK GROUP TO THE PROFILE TMFLEASING WITH POSITION 80
IN THE BUSINESS ROLE CUSTOMIZING MADE THE DIRECT LINK GROUP VISIBLE
AFTER MAKING THE ABOVE CONFIGURATION WE HAVE LAUNCHED THE WEB UI AND THE FOLLOWING ERROR IS SHOWING UP
PLS FOLLOW THE ABOVE SCREENSHOTS AND PLS PROVIDE YOUR INPUTS TO ACHIEVE THE OBJECTIVE OF LAUCHING THE Z CRM GUI TRANSACTIONS USING TRANSACTION LAUCHER
ALSO PLS FIND THE SCREENSHOT OF ITS
URL OF ITS USED
u201Chttp://crd.tmf.com:8003/sap/bc/bsp/sap/its/webgui?transaction=IC_LTX&okcode=ICEXECUTEu201D -
Transaction Launcher : Calling R/3 Transactions (BOR)
Hi,
Can someone please advise on the following: We need to be able to display R/3 transactions in the SAP WebUI (CRM 6.0). We have done this with CRM (using a copy of TSTC) and this is working fine, but when we want to display R/3 transactions we have certain issues (Error with Action Box Transaction). We also maintained the same obeject (TSTC) in R/3 : synchronous, EXECUTE method, etc.
Basically, we configured the connection to R/3, used the Transaction Launcher Wizard and implemented the link in the navigation bar.
When we launch the transaction, a connection to the R/3 (ECC 6.0) system is made (logon box), but after authentication it comes up with the error : "The current transaction cannot be started via SAPGui for HTML. Only Methods, Workflows and Front Office Processes (only for IS-UI/CCS systems) are allowed." In the bottom of the page it states : "Function Module EWB_PROC_CREATE does not exist."
The connection with ECC 6.0 is working fine as we are able to navigate from the SAP Menu.
We have also checked the transaction we want to launch ("VA03") in SE93 : Gui support is active for SAPGui for HTML, SAPGui for Java, SAPGui for Windows.
Can someone please help. Thank you,
Sebastiaan.Hi,
we have solved the problem with the missing function module by following the notes 888931 and 1021222.
But I'm now getting the error that I'm not authorized to run the transaction that I'm calling from the IC Web Client (we are calling a transaction in ECC). My user has SAP_ALL, so it sholdn't be a problem. My theory is that it has something to do with the call of IC_LTXE. But I'm not sure.
Does anyone have an idea how to fix this problem?
Kind Regards,
Gitte. -
Transaction Launcher : calling URL and fill return values in the UI
Hi SDN,
We have a requirement, I am putting an example of it below:-
1. Call URL www.bank.com/branchlocator.htm?postcode=???????
2. pass postcode of confirmed BP to the branchlocator field postcode
3. the website will return nearest branch post code.
4. Return this postcode from the bank website, back into the webui address field.
Is it possible to achieve the above scenerio? if yes then any guidelines on how to achieve this?
Hope I am clear in the requirement. Any inputs/suggestion will be helpful.
Thanks,
PankajHi Shai,
the webservice is working well, trying to test it with webservice navigator.
He also returns the correct number of rows (because there appears slider beneath the table output and I also counted the rows), but there is no data displayed in visual composer.
I have got no further ideas, what the problem is...
THank you for your support.
Kind regards, PAtrick. -
Experts, I created repository first with the name of rep_bkd_dev (Unicode),Then my lead told that we need to create RS with MS Latin,So am trying to creating a new repository with the name of dev_repository and it is showing the below error.Can some one help me out here. Regards,
hi I want to create a file with muiltple header detail and trailorSample of my file 1F99500094959 5F99000000999911025F99000000999912025F99000000999913029F99500094959 1G83341002729803 5G83000000999918020109G83341002729803 1G83910377940 5G830000009999190201011050003522029G83910377940 T20110720000000900000006750{ In this file 1 is header and 5 is detail and 9 is trailer and in last T segment is also trailerI have any idea to create seperate 3 files and in lastconcatenate all file with the help of unixbut in my case data is so large (in millions) this approach is not use full please suggest my any ideaHow to create VSAM file
-
Get current logged portal user information
Hi,
I need to get information about current user logged to the portal from a J2EE application. I developed an Enterprise application project with a java servlet and I integrated it into the portal as an URL iView.
This in the code of servlet:
import com.sap.security.api.*;
IUserFactory userFactory= UMFactory.getUserFactory();
IUser user= UMFactory.getAuthenticator().getLoggedInUser();
out.println(user.getUniqueID().toString());
out.println(user.getDisplayName().toString());
out.println(user.getName().toString());
out.println(user.getUniqueName().toString());
When I run my application I have this output:
USER.PRIVATE_DATASOURCE.un:Guest Guest, Guest Guest
But I access with another user, it's not Guest.
How can I solve this problem???THANKSHi,
Please try checking with following code
ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
IUserFactory usf = UMFactory.getUserFactory();
IUser iuser = null;
IUserListElement userElement = null;
int i = 0;
while (rst.hasNext()) {
iuser = UMFactory.getUserFactory().getUser(rst.next().toString());
String email = iuser.getEmail();
String fname = iuser.getFirstName();
String lname = iuser.getLastName();
let me know if there are any issues.
regards
Anil -
Hi Group,
I'm trying to understand how to launch SAP Gui transactions into ICWEB. Is that through ITS ?
I have come across a blog /people/raja.g/blog/2007/01/24/displaying-r3-transaction-in-icwc-application that displays an R/3 transaction in ICweb,, but did not really mention ITS anywhere.. Could someone briefly explain when we use ITS and when we don't ?
Also, Please refer me to some kind of material that helps me in gettting good understanding og Transaction Launcher and ITS. (I do have iC web cookbook)
Thank you
Ravi.Yes Transaction launcher works through ITS . When you configure Transaction launcher it ask for a Business Object , Business Object Method and a RFC Destination .
The Transaction Launcher Link on the IC Web will actually call the Method of the Business Object on the RFC Destination System ( Another R/3 system ) using the ITS Service CCMP_RABOX ( Check for OSS Note 888931 , which says to use a new Service ) .
So essentially you have to do the following :
1) Configure the Transaction launcher thru the Wizard in SPRO .
Before that you need to set up the RFC Destination . Get details of the Business Object and the Method to call on the RFC system for example BUS2032 for Sales Order on your ECC system. ( Parameters to pass and return which will be the Key of the Business Object , Export and IMport parameters of the Method )
2) Specify the URL to the ITS service with the new URL that uses webgui.
a) Execute transaction CRMS_IC_CROSS_SYS.
b) Change the URL of ITS to use webgui which will be of the format
http://<host>:<port>/scripts/wgate/ccmp_rabox /!
To get this URL you need to check with your Basis team to get the ITS Instance for the RFC system -
Dear Mates,
Please find the requirement below,
Due to limited users in ECC system, When launching an ECC transaction from CRM Web UI using Transaction Launcher functionality, the framework is prompting to enter user name and password. Now I need to either avoid user authentication or bypass by defaulting a generic username and password.
I tried passing sap user id and password in ITS URL, but not no luck
Could any one share their valuable comments on this issue?
Thanks,
RajaHi Raja,
please have have a look at the following thread: Default User Name and Password for ECC Transaction
It seems to describe exactly your scenarios. The solution proposed there by zafar karnalkar is to set the default username and password in transaction launcher URL in transaction CRMS_IC_CROSS_SYS. The URL parameters necessary for this are:
sap-user= username
sap-password = password.
Best,
Christian -
Calling a transaction launcher from a button
Hi experts,
I'm trying to call a navigation launcher from a button.
So i created a button and the event. In the event i copied the code from class : CL_CRMCMP_N_MAINNAVIGATI0_IMPL / method do_handle_event. (see code below)
But when this is executed, the system doesn't navigate to the logical link.
Do you have any idea why ?
How can i do some troubleshooting ?
How can i call the transaction launcher ?
Thanks for your help.
Regards
DATA : lr_navigation TYPE REF TO if_crm_ui_navigation_service,
lr_entity TYPE REF TO cl_crm_bol_entity,
lr_clipboard TYPE REF TO if_crm_ui_bol_clipboard.
TRY.
lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
lr_navigation->navigate(
EXPORTING
iv_link_id = 'ZMYLOGICAlLINK'
* iv_data_collection = " Business Object Collection Interface
CATCH cx_root.
ENDTRY.Hi,
I had the same problem. As workaround I added the logical link to the navigation bar and now the transaction launcher call from the button also works.
It seems as the logical link has to be used in the navigation bar profile in order to allow for a call from a workspace. It does not really solve your problem if you don't want the call in the navigation bar, but maybe you can live with this.
Greets,
Kai Lienemann -
Transaction launcher: open URL in new window
Dear all,
I know many threads have already been posted about "stateful URL" created with transaction launcher, that open a new browser window AND navigate to an empty screen with the following text (which is more than useless):
"The requested page has been opened in a new window, please press back button to go back to the last page."
Carsteen gave some useful hints already in the following thread:
Transaction Launcher in a new window
But maybe someone found something new since then... At the moment I'm thinking about "simulating" a clic on the BACK button (like mentioned in this useless message), with something like :
DATA:
history TYPE REF TO if_bsp_wd_history_manager_disp.
history = view_manager->get_history_manager_display( ).
history->go_back( ).
Any better idea ?
Thanks & regards,
Nicolas Busson.Hi Nicolas !
How are you? :-)
I assume that since then you have found a way to fix your issue, but as the post is not answered I can tell you that SAP has taken into account this point in SAP 702 EHP1, with a new attribute in the customizing of the transaction launcher called "Keep Work area" :
Keep Work Area When Opening Launch Transaction in New Window
This indicator defines whether the work area content is kept when you open a launch transaction in a new window.
Use
If this indicator is not set and a launch transaction opens in a new window, then the main window loads the base page of the transaction launcher into the work area.
If this indicator is set and a launch transaction opens in a new window, then the main window keeps its current content in the work area.
Dependencies
This indicator is only evaluated if you have also set the indicator for using a new window.
Imed. -
Transaction launcher displaying blank screen (Empty without any fields)
Hi Experts,
Recently we have done the upgardation from CRM 2007 to CRM 7.0. In our old version we have configured Transaction launcher and everything was fine. But we are facing an issue with transaction launcher calls in our new system. Apart from the existing TL configuration below are the steps did in the new system (after upgradation).
1. Activated the Webgui ITS service from the path sap/bc/gui/sap/its/webgui in the remote system (ERP) through SICF.
2.Published the internet service SHUFFLER, SYSTEM, WEBGUI through SE80 in the remote system.
3.checked the configuration for logical system in transaction CRMS_IC_CROSS_SYS and the URL of ITS is in the form of
http://<host>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXEokcode=ICEECUTE
Till this part every thing looks fine and if execute the URL in the browser, it is taking me to the ERP system login screen and i am able navigate to any transaction.
But if i login to CRM interaction center and clicking on the TL links, its not displaying any login screen( Remote system) and not even displaying any message or any fields. Its just displaying a blank screen (White Screen) in the same window.
Please provide your valuable suggestion to resolve this issue. Thanks
Regards,
Laxman.PHi,
sorry, it was a typogrpahical error in my query. I have mentioned the correct link in my customization
http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE
Regards,
Laxman.P -
Hi Experts,
I'm using CRM web UI.I defined URL and configured in the transaction launcher.Now I'm able to see the newly created transaction launcher in web UI.When I'm clicking on this, new window is opening as a popup window(without having
menu bar-->File,EDIT,VIEW,FAVORITES...etc). Now the requirement is to open in full browser(it should have menubar, titelbar..etc).Please provide me your valuable inputs on this.
Thanks & Regards,
S.Gangireddy.Hi,
SAP has taken into account this point in the new versions (for me SAP 702 EHP1), with a new attribute in the customizing of the transaction launcher called "Keep Work area" :
Keep Work Area When Opening Launch Transaction in New Window
This indicator defines whether the work area content is kept when you open a launch transaction in a new window.
Use
If this indicator is not set and a launch transaction opens in a new window, then the main window loads the base page of the transaction launcher into the work area.
If this indicator is set and a launch transaction opens in a new window, then the main window keeps its current content in the work area.
Dependencies
This indicator is only evaluated if you have also set the indicator for using a new window.
Regards,
Imed. -
Record display to match log in user
I'm trying to create a log in area with user information. I
have used the update record and it does display a record but only
the first record that I input no matter what username I log in
with. I want to have the record display match the logged in users
information.Heya Joe,
Try this:
1. Restrict access to page for logged in users.
2. Create form you'll use for Update Record Server Behavior.
3. Add a hidden field in the form for primary_key name and id
= primary_key
4. Add the value for primary_key as the session login_id from
the Bindings Tab in Dreamweaver.
5. Add Update Record Server Behavior. Select primary_key form
field for integer primary key in Update Record SB and add other
form fields corresponding to update record accordingly.
6. save, put, login, visit, update logged in users record.
Hope that helps! -
Last logged on user only populated sporadically
I am wanting my last logged on user information to be as current and accurate as possible, i have enabled auditing and changed the client policy thresholds to lower the user time on pc before it is logged as last logged on user but 50% of the machines have
no last logon user or have wrong or stale information...
what is the best practice for getting this more accurate and up to date, does the client send the last logged on user back to the server as part of its inventory? why is it blank for so many machines?
***Don't forget to mark helpful or answer***If you are talking about User Device Affinity (which is what you are editing when you click the "Edit Primary User" menu item or ribbon bar button, it is actually unrelated to last logon user in any way.
UDA and primary user are determined by events in the security event log. Thus, if you've left the default values, users must be logged onto a system for 2880 minutes (48 total hours) over a span of 30 days to automatically be marked as primary. Thus, the
security event log on the client system must also have (at least) 30 days worth of events in order to be able to calculate this. Additionally, by default, UDA is not configured to be determined automatically so if you've left your settings at default,
nothing will happen.
Jason | http://blog.configmgrftw.com | @jasonsandys
Maybe you are looking for
-
How to pass global variables to call stored procedure in form personalizati
Hi, We want to call a custom store procedure with 2 paramterts, I am storing values into 2 global variables. We want call the custom store procedure with global variable values in form personalizations. We tried like ='declare begin SUR_TEST_ORDER_LI
-
Screen does not turn off near my ear
The screen backlight does not turn off when you place it near your ear. Anyone else have this problem?
-
can anyone suggest me how to insert values to sharepoint list column of datatype (person/group datatype). Also, Does sharepoint list allows nulls as a value? please help. Thanks Raghavendra
-
What is correct format to pass Today as created date parameter
I have created TFS data set (as drill through report) which is displaying all bugs based on created date. Now, I want to pass date range as parameter from main report so drill through report displays data for the bugs created between given date range
-
About global variables in forms personalization
Hi all, I did forms personalzation based on global variables. When when i login for the first time untill and unless i validated the global variables the following error is displaying. Tokens in the string could not be evalated. please check the synt