Regarding Abap Proxies & User Logins
Hi there
I created a scenario for a proxy to proxy interface. Same system, diffirent client. My question is, the proxy uses a HTTP connection that you setup in SM59. The login of your http connection, should it be tha same as your communication channel (XI Adapter) ? Because I get a error in the sxmb_moni on the receiver side saying "Unable to read user password from communication of channel type"
Thanx,
Jan
Edited by: Jan de Lange on Nov 7, 2008 11:40 AM
Here is the error trace:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="OUTBINDING">CO_TXT_CHANNEL_PASSWORD_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to read user password from communication channel of type Error when accessing the secure store (access ID = 84161349A3EBD315E1000000AC13D508) Error while reading from the secure store: ERROR_UNKNOWN: Cannot find entry in secure store (SECSTORE,023)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Similar Messages
-
GRC AC 10.1 - End User Login - Request issue
Hi experts!
Im working in GRC AC 10.1 SP07. I have configured END USER LOGIN services; the idea is that end user from ECC system could submit request without having user in GRC box, this is working fine but i´m experimenting next problem.
When i go to search request, those request submited by end user appears like created by Z_END_USER, this is the user in GRC that i have configured in services GRAC_UIBB_END_USER_LOGIN and GRAC_OIF_REQUEST_SUBMISSION_EU.
¿Is possible to configure that request appears "Created By" the requester and not the service´s user? I don´t think so, but if not, ¿is there any way to add the column User ID in Result screen? because it is avaible in parameters search but im not being able to add this in result screen (it´s not like hidden neither).
Parameters "Created by user ID" would be service´s user and "User ID" would be the requester.
Thanks!
EmilianoHi Emiliano,
Your understanding is correct, request created by UserID will always show GUEST UserID configured in the End User Logon service.
In search requests there is option to search requests by UserID but the same field has not been enabled to be available in Search Request result screen. This is as per standard functionality. You can check with SAP or can work with ABAPer to make the UserID column as display field in Search Request results.
Regards,
Madhu. -
I Dont know wat is Proxy,
Can Any one Expalin me ABAP Proxy.
My Queries are,
1) How to create an ABAP proxy.
2)Is the Message Mapping Require of ABAP Proxy.
3) Wat are the Sender and Receiver adapters we have to use.
Points will be awarded for the good approch to that scenario.
Regards,
Jayasimha Jangam
[email protected]hi
Proxies communicate with the XI server by means of native SOAP calls over HTTP .RFC does not, so you have to convert from SOAP to RFC calls and vice versa. So XML conversion is required.
ABAP Proxies uses Webservice and Http Protocols. And if you use RFC it is mainly meant for Sync. call. But Proxies is used for both Sync and Async.
If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
Re: JDBC Sender select/update problem
If u generate proxy for outbound interface then its client proxy and for inbound interface its server proxy.
In client proxy u can call the method to send messages but u can't modify it but in server proxy its possible to write a user code within the method to execute proxy.
CLIENT PROXY:
A WSDL description from a UDDI server (or an Internet page) is usually used to make a service executable in the Internet and to describe the interface of this service. You require a client proxy and not a server proxy to call this service by using the Web service infrastructure.
SERVER PROXY:
You can only generate ABAP server proxies from a WSDL description if they originate in the Integration Repository.You can also generate server proxies for Java and client proxies for ABAP from message interfaces.
s refer these doc about ABAP proxy ..
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
Re: JDBC Sender select/update problem
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/41e08c90-0201-0010-9197-d8774336ea78
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ae9874-109c-2910-f48a-e91f0cdd1c81
/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
/message/266750#266750 [original link is broken]
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/sap.user72/blog/2005/12/08/integration-builders-through-proxy-server-part--1
/people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
http://help.sap.com/saphelp_nw70/helpdata/en/2e/278a8363b5ac4483dc1efc382e51df/frameset.htm
Check out this blog....
/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
/people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cbc7d790-0201-0010-bea6-c549902e93e2
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/95d7d490-0301-0010-ce93-c58f9a3cde0b
cheers
kish
reward if found useful -
Problem in creation of ABAP proxies
Hi,
I am trying to create proxies of Message Interfaces that are built from External Definitions(XSDs). In the scenario, we use two XSDs, one for structure of BAPI and one as Document Envelope containing header level information of the document. Message Interface is created for Document Envelope and internally it references XSD of structure of BAPI.
For e.g. For request message of BAPI_COMPANY_GETDETAIL, we have two XSDs:
1. BAPI_COMPANY_GETDETAIL
2. BAPI_COMPANY_GETDETAIL_Document_Envelope
I create interface for document envelope; interface internally references XSD BAPI_COMPANY_GETDETAIL.
When I try to create proxy for such an Interface I get following error:
Cannot generate proxy (object <element name="BAPI_ACC_DOCUMENT_POST"> missing in WSDL, see long text)
Message no. SPRX084
and diagnosis provided in long text is as follows:
Diagnosis
In the WSDL document, the object
"<element name="Documents"> <complex/simpleType ..."
from the namespace
"http://mindef.nl/schemas/DocumentEnvelope"
links to the object
"<element name="BAPI_ACC_DOCUMENT_POST">"
from the namespace
"urn:sap-com:document:sap:rfc:functions"
However, this last object does not exist in the WSDL document.
System Response
ABAP proxy generation expects that all directly and indirectly referenced objects are in the WSDL document. Therefore, no proxy can be generated for this WSDL and the system displays an error message.
Procedure
This situation can have different causes:
Object "<element name="BAPI_ACC_DOCUMENT_POST">" not been defined
Object "<element name="BAPI_ACC_DOCUMENT_POST">" saved in the wrong namespace
In the reference to object "<element name="BAPI_ACC_DOCUMENT_POST">", the wrong name was specified
In the reference to object "<element name="BAPI_ACC_DOCUMENT_POST">", the wrong namespace "urn:sap-com:document:sap:rfc:functions" was specified
Internal error in the service that constructs the WSDL document
Internal error in ABAP proxy generation
I have checked all the possibilities, there is no inconsistency in WSDL.
Kindly provide some suggestions to tackle this problem.
regards,
Bhavish BhatiaHi Bhatia,
You cannot create ABAP proxies from external definitions, IDOC or BAPI, when your application system is based on 6.20.
This works only, when your application system is based on 6.40 or higher.
Regards,
Udo -
New Data in R/3 Enterprise - ABAP Proxies - XI what happen?
Hi,
i have a theoretical question:
if i use R/3 Enterprise on WAS and put new Data in the R/3 System and transport them to XI with ABAP Proxies. What happens in the systems?
How do the R/3 System put new data in the proxy runtime and send them to xi?
I want to unterstand how the transport from new data in a R/3 System with ABAP Proxies comes to the XI Integration Server.Hi Marcel,
>>>>>How do the R/3 System put new data in the proxy runtime and send them to xi?
all you need to do in r3 is to fill tables of a generated structure
and execute one method of a generated class (send....)
then R3 will connect over HTTP to XI and send the data from your structures
structures and class in R3 is being generated automatically via TCODE SPROXY
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
User login report for given period
Hi All,
We have one query relate to user monitoring. We want to get the detail log or report of users login date,time, logout date time and system ip or system name like for the given period.
Our application environment as
SAP application : R/3 4.7
Database : oracle 9.2.0.8
Thanx in advance
Regards,
Vishnu.Hi Vishnu,
kindly consider to use the forum search before posting. similar questions like yours have been posted several times already. In oyur search results you may find for instance [this thread|Re: Last three user logon date and time;
b.rgds,
Bernhard -
Problem with ABAP proxies - HTTP connection to R/3 is not working
Hi guys!
I'm setting up a connection from XI to R/3 , because I'm using proxy objects. Our DEV is working fine. Now I have moved the objects to QA and since the HTTP connection is not there, I need to set it up.
I have created a service user on R/3, activated ICF service on R/3 and created a HTTP to abap type connection in XI. When I test the connection I get a new logon screen. Why? I have provided information about logon user, client, ....
Thank you! OlianHi,
this logon screen populated when the RFC User ID is locaked. ask your basis team to release it.
also refer below links if in case of any other problem
Actiave ABAP Proxies -- /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Setting Up Point-to-Point Connections with proxy
http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
Thanks
Swarup -
In fnd_request.add_layout how to get the layout in user login language
Hi All,
I am using fnd_requet.add_layout
function add_layout (template_appl_name in varchar2,
template_code in varchar2,
template_language in varchar2,
template_territory in varchar2,
output_format in varchar2,
nls_language in varchar2 default null) return boolean;
how to pass these template_language and template_territory to get the output in user login language.
Thanks in advance
JanaYou can get the values from NLS_SESSION_PARAMETERS
Query for language
SELECT LOWER(FL.iso_language)
FROM NLS_SESSION_PARAMETERS NSP
,fnd_languages FL
WHERE NSP.parameter = 'NLS_LANGUAGE'
AND NSP.value = FL.nls_language;
Regards
Nishka -
Problem in activating the ABAP proxies
Hi Experts,
I was following the url below, on how to activate ABAP proxies, How do you activate ABAP Proxies?
and I came across certain issues.
I hav made the HTTP connection in R/3 as per the blog and as well as the TCP/IP conections in R/3 keeping in mind the program ID from XI dev server -> sm59 -> LCRSAPRFC and SAPSLDAPI_XID, and in both the TCP/IP connections that I made in R/3 I have applied the Gate way host and Gate way service of the XI development server.
Then I tried the connection testing in R/3 TCP/IP connections - LCRSAPRFC and SAPSLDAPI, and both worked successfully.
Now when I went to SPROXY, of R/3 in order to see my components and nane spaces, [that I have made in the XI dev server[ , to craete my PROXY, I could ONLY find the
SAP ABA
SAP APPL
SAP BASIS
SAP HR.
There are some more standard components and custom software components, in XI DEV server that I cant see.
I hav developed several mname spaces in the XI dev server, that I expected to get reflected in the R/3.
Where am I going wrong? What is the mistake I am doing??
Points will be awarded.
ArnabHi Anirban,
u must tell me, the status, from the below output from SLDCHECK
Exchange Infrastructure: Test LCR Connection
RFC ping was successful
SLD server access settings:
host name: demoretail
port number: 50000
user : SLDAPIUSER
Use transaction SLDAPICUST if you wish to maintain the SLD s
Launching the SLD GUI in a separate browser window...
=> Verify in the browser GUI that the SLD is in a healthy ru
Calling function LCR_LIST_BUSINESS_SYSTEMS
Retrieving data from the SLD server...
Function call returned exception code 4
=> Check whether the SLD is running!
Summary: Connection to SLD does not work
=> Check SLD function and configurations
Now checking access to the XI Profile
Properties of RFC destination LCRSAPRFC
RFC host:
%%RFCSERVER%%
program id: LCRSAPRFC_RXD
gateway host:
172.26.5.12
gateway service: sapgw00
Testing the RFC connection to the SLD java client...
RFC ping was successful
Calling function EXCHANGE_PROFILE_GET_PARAMETER
Retrieving data from the XI Profile...
Function call terminated sucessfully
Retrieved value of
section = Connections
parameter = com.sap.aii.ib.server.connect.webas.r3.ashost
-> value =
Summary: Connection to the XI Profile works correctly -
How can we post data from CRM to SAP using ABAP proxies???
Hi ,
Can anyone hep me to create interface for the following scenario How can we post data from CRM to SAP using ABAP proxies???, can I find any document ???????
Thanks in advance
AndyAndy,
Please look at these weblogs.
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
/people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
These should give a good idea about implementing Proxies.
Regards,
Ravi -
How to get an alert when user login with "DDIC" in any of the systems?
Hi all,
Can it be possible when ever the user login with DDIC user in any of the satellite system,can we we get an alert -as DDIC login attempt in any system?
Is this possiblem in CCMS or BPM or...?
Regards,
NeniHi Srikrishna,
Link which you have give is good.But when i login with DDIC i am not geting alerts and i am not able to add any satllites system to
under Security node
My configuration:
Miximum values for list 1 min
When should an alert be triggered?
From value Red Severity 2
Max. number of alerts for each message ID 50
Max. number of lines to be saved 50
SM19
Client * Events
User DDIC selected -Dailog logon Alll
systmem
Please help me.
Regards,
Swaroop -
ABAP proxies in PI 7.0 to WebServices in PI 7.1
Hi guys,
I currently use ABAP proxies with my PI 7.0 and I was wondering if I could publish them as web services in my ESR if I upgrade to PI 7.1. Does anyone know ?
Many thanks
Best regards,
GLHi Guislain !
You can expose your abap proxies as webservices also with PI 7.0. Just create Proxy-PI-SOAP scenarios, and consume them as webservices directly from NetWeaver. We are using this without problems. The only thing, you lack of an integrated registry of services.
Regards,
Matias. -
Use of XI adapter in ABAP proxies
Hey Guys
i was going through some blogs and came across that we need XI adapter for ABAP proxies,i had thought that proxies are used for adapterless communication,then why is the need for XI adapter?i know XI adapter is used to transfer XML messages to/from sender/receiver system.
also do we always need to use XI adapter for proxy communication?
thanx
ahmadHi,
The use of adapter here is to communicate the Integration Server with respective ApplcatioN System. ie, R.3 or any SAP system which is configured as an Application System to the XI.
Proxies communicate with the XI server by means of native SOAP calls over HTTP . SO you need to mention the integration server to point/connect to correct application system during runtime.
http://help.sap.com/saphelp_nw2004s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/content.htm
Hope this helps,
Regards,
Moorthy -
hi guys,
was need to come out a report for the user login details. which has to have the date and time of the user login to SAP, with the terminal ID access from and transaction has done. can any one tell me what table it is from? or is there existing report that i can view all this? thankshi,
you can find the transactions by a particular user from the transaction SM04.
SM04 gives you the details of the users logged in,terminals,transactions the user is working on, the time he has logged in,no of sessions user has opened, and the memory used by the user's programs... all of that w.r.t to the client we login. but we can't get info like date and number of times the user has logged in.
U can see tables:
USR01 User master record (runtime data)
USR02 Logon data
USR03 User address data
USR05 User Master Parameter ID
USR12 User master authorization values
You can also use transaction code ST03N.
1. Go to tx code - ST03N
2. Under "Workload" you can select your "Instance or Total" so that it expands and shows you Days, Week, Month.
3. If you want to look at the transactions executed for a particular day, lets say, then double click on any day.
4. At the bottom left you get "Analysis Views"
5. Select & expand "User and Settlement Statistics"
6. Double click on "User Profile"
7. On the right side of the window you get a list of all the users
8. Double click on a particular user you want to view the details of.
9. The new screen will display the "Transactions/Reports Utilized by User XXX"
If you want to track which users executed a particular transacation then follow this:
10. In "Analysis Views" expand "Transaction Profile"
11. Double click on "Standard"
You can view the list of Transactions and Reports.
12. Double click on the Tx Code or Report you wanna check and it will show the Use of it.
hope this is helpful
regards,
sravanthi -
hi friends
i am trying to set peoples or groups field in sharepoint list form with current user login name
here my code
<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
<script type="text/javascript">
$(document).ready(function NewItemView () {
var currentUser;
if (SP.ClientContext != null) {
SP.SOD.executeOrDelayUntilScriptLoaded(getCurrentUser, 'SP.js');
else {
SP.SOD.executeFunc('sp.js', null, getCurrentUser);
function getCurrentUser() {
var context = new SP.ClientContext.get_current();
var web = context.get_web();
currentUser = web.get_currentUser();
context.load(currentUser);
context.executeQueryAsync(onSuccessMethod, onRequestFail);
function onSuccessMethod(sender, args) {
var account = currentUser.get_loginName();
var accountEmail = currentUser.get_email();
var currentUserAccount = account.substring(account.indexOf("|") + 1);
SetAndResolvePeoplePicker("requester",account);
// This function runs if the executeQueryAsync call fails.
function onRequestFail(sender, args) {
alert('request failed' + args.get_message() + '\n' + args.get_stackTrace());
function SetAndResolvePeoplePicker(fieldName, userAccountName) {
var controlName = fieldName;
var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + controlName + "']");
var peoplePickerEditor = peoplePickerDiv.find("[title='" + controlName + "']");
var spPeoplePicker = SPClientPeoplePicker.SPClientPeoplePickerDict[peoplePickerDiv[0].id];
peoplePickerEditor.val(userAccountName);
spPeoplePicker.AddUnresolvedUserFromEditor(true);
</script>
but it is not working
please help meHi,
According to your post, my understanding is that you wanted to set "peoples or groups" field with current user "login name" in SharePoint list form using JavaScript.
To set "peoples or groups" field with current user "login name”, you can use the below code:
<script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery-1.9.0.js"></script>
<script type="text/javascript">
function SetPickerValue(pickerid, key, dispval) {
var xml = '<Entities Append="False" Error="" Separator=";" MaxHeight="3">';
xml = xml + PreparePickerEntityXml(key, dispval);
xml = xml + '</Entities>';
EntityEditorCallback(xml, pickerid, true);
function PreparePickerEntityXml(key, dispval) {
return '<Entity Key="' + key + '" DisplayText="' + dispval + '" IsResolved="True" Description="' + key + '"><MultipleMatches /></Entity>';
function GetCurrentUserAndInsertIntoUserField() {
var context = new SP.ClientContext.get_current();
var web = context.get_web();
this._currentUser = web.get_currentUser();
context.load(this._currentUser);
context.executeQueryAsync(Function.createDelegate(this, this.onSuccess),
Function.createDelegate(this, this.onFailure));
function onSuccess(sender, args) {
SetPickerValue('ctl00_m_g_99f3303a_dffa_4436_8bfa_3511d9ffddc0_ctl00_ctl05_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_UserField', this._currentUser.get_loginName(),
this._currentUser.get_title());
function onFaiure(sender, args) {
alert(args.get_message() + ' ' + args.get_stackTrace());
ExecuteOrDelayUntilScriptLoaded(GetCurrentUserAndInsertIntoUserField, "sp.js");
</script>
More information:
http://alexeybbb.blogspot.com/2012/10/sharepoint-set-peoplepicker-via-js.html
Best Regards,
Linda Li
Linda Li
TechNet Community Support
Maybe you are looking for
-
Creative MediaSource will not play certain MP3
I have a Creative Audigy 2 NX with a remote that I really want to be able to use. Programs such as GIRDER, WinLIRC, and uICE do not support the RM-500 remote control. I can't figure out how to control the remote beyond editing and creating key files
-
How to create an XML file from a given EDI file?
Hi All, I am trying to write some BPEL processes that will be sending EDI Documents to Integration B2B using the AQs. BPEL works with XML data and finally enqueues it to the AQ IP_OUT_QUEUE. From there B2B will pick up and send to Trading partner. I
-
How do I rename a lot of files from an excel worksheet?
Hello all! I have 2k+ files in a folder named sequentially from 0001.wav to 24xx.wav. I have their contents referenced in an .xls. This is a library made for Windows when it didn't accept very long names, so you couldn't just name the file accordingl
-
ADF 11g: Desktop Integrator- Export to Excel issue
Hi, We are using ADF 11g. In our application we have one feature where end users can download data in excel format from our web application. To export data to excel file, users need to click Export to Excel button. But after deployment of code to sta
-
Portlet could not be contacted
Hello! Has anybody experinced this problem: we have the following: Server A, Windows 2000,2GB RAM, 9ias(9.0.2.0.0) [ infrastrcture, Portal, J2ee container, webcashe ] Server B, Database Oracle 9i when accessing a portal page through Webcashe over SS