How to transfer the webservice username/PW to the RFC call in PI 7.0

Hey,
I would like to transfer the username/PW, which is supplied, when a specific web service is called. The web service is supposed to be exposed on PI 7.0 and will transfer the request to a function module in ECC 6.0 via an RFC communication channel in PI 7.0. Typically, you specify the username/PW in the RFC comm. channel in PI, but how do I dynamically specify the received username/PW from the web service call in that RFC call to ECC 6.0? Maybe SAML is the answer, but it seems a bit cumbersome in my case.
BR
Mikael

Hi Michal
Thanks for the link. I have been looking for blogs/material on how, in a mapping in PI, to place the value of SRemoteUser in a field in the target message but without luck. Is it really the case, that I have to use batch input in order for it to work?
What is wrong with this code in a UDF where there is no input variable. Will it work?:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "SRemoteUser");
String WSuser = conf.put(key);
return WSuser;
Or should I skip this UDF all together and in stead use Variable Transport Binding and set XHeaderName1 = SRemoteUser   ?
Looking forward to your book on iDocs in August
Mikael

Similar Messages

  • How to transfer my iphone video to computer,the video siza more than 1.5G

    how to transfer my iphone4 video to computer. the video siza more than 1.5G

    Follow the instructions here or here, and then sync the iPhone with the iTunes library containing the content.
    (112570)

  • How to transfer pc file to Samsung using the adobe reader app?

    how to transfer pc file to Samsung using the adobe reader app?

    I solved the problem.  I manually created my own Adobe PDF folder by connecting the phone via usb to my PC, Windows Autoplay gave me the option to 'Open device to view files'. Explorer then displayed all the folders on the phone.  I created an Adobe PDF folder manually and copied the PDFs I wanted to view into that folder.  Adobe Reader then found the files without a problem.  I clearly was missing something quite simple but something I'm sure a lot of people would miss.  Perhaps if the next version of Adobe Reader for Android created this folder automatically, like Kindle and Kobo and other readers do, it might save a lot of people a bit of a headache.

  • HT1379 Summary: how to transfer files from SD card when the system (Mac OS X v 10.7.5) will NOT recognize SD cards.

    How to transfer files from SD card when the system (Mac OS X v 10.7.5) will NOT recognize SD cards?
    Insert the SD card.
    System opens iPhoto with SD contents.
    Want to transfer files from SD card to system drive.  iPhoto closes
    SD card directory removed from the Finder window and is not available again. 
    I don't want to have to reboot the system every time I want to perform this option.
    What's wrong here. 
    The support columns show this isn't an isolated incident with all sorts of solutions possible.
    This is a simple task - there should be a simple method for the system to recognize SD cards.
    What's the answer?
    I've reviewed a recommendation to reset the SMC.
    https://discussions.apple.com/message/18500187#18500187
    and
    http://support.apple.com/kb/HT3964
    and another thread that says, basically, you must buy extra hardware to perform this simple task,
    https://discussions.apple.com/message/16911326#16911326
    another one that has the same problem with OS Mountian Lion,
    https://discussions.apple.com/message/21919740#21919740
    another one with the problem that says SD cards can't be read by Apple unless the card is formatted specifically for Apple, ie. that Apple is not compatible with other cards, but the problem maybe something else that requires Apple service - (bad SD card reader?).
    https://discussions.apple.com/message/18711818#18711818
    there are probably more discussions, but I dont' want to spend my entire sunny in Seattle day working this.
    thanks for the help!

    Bucky Fullmeister wrote:
    When I plug in an SD card, the finder window shows it under the DEVICES section.  At this point, I can drag the contents to the hard drive.  However, when I screw up and click the character on the right side of the name - it apparently closes the SD card and I can't find any command to reload or re-recognize the card.  I have to remove and reinsert the card and then sometimes it recognizes the card.  Other times I reboot and it will recognize it.
    What does that character on the right side of the SD card name do?  Is it an eject function - with no way to subsequently reread the drive?
    It ejects or unmounts the card. When the SD card mounts click on it once to highlight it and then drag the files shown within it to the new folder.
    Pete

  • How to transfer range parameter from vb when using bapi calling

    Hi,everyone.how to transfer range parameter from vb when using BAPI calling?

    Did you get the solution to your problem?  Can you please share it with me. I have a similar problem. I have a VB program that calls RFC function. It works with a single parameter but not with a range of parameters. If you have the solution, could you please share sample codes with me? Thank you so much.

  • Executing the webservice only once by the pdf

    Hi,
    I am using a WebService call in my pdf form but I want to call that webservice only once from the form by that particular user. How can we do that?
    I tried to do this by adding the invisible text field in the form and maintain a flag to check the webservice is executed or not. but when I close the pdf and again reopen then the webservice is executed at the first time so how can I solve this problem?
    Thanks
    Ninad

    Set the Hidden fields Binding property to 'Normal' that way the value in that field is persistent. And then always check for the flag before you execute the code for calling WSDL. Hope this helps.
    Good Luck,
    SekharN

  • How to transfer purchased apps from iphone to the new itunes

    Hi, how do i transfer purchased apps from iphone to the new itunes? (11.0.2) thanks!

    Hi, CelineAyu,
    Here is the way about how to transfer apps from iPhone to iTunes.
    1. Connect your iPhone to the computer and open iTunes.
    2. Make sure that iTunes is authorized and you are logged into your account. From the top menu choose Store -> Sign In. To authorize the computer for use with your account select Store -> Authorize This Computer.
    3. From the left menu under DEVICES right-click on the name of your iPhone (Windows) or Control-click (Mac) to display the shortcut menu.
    4. Choose the Transfer Purchases from iPhone option.
    5. If you have any question about this issue. You can also use iPhone Transfer to help you.

  • How to create a webservice in Tomcat with the use of Axis

    I am very new to webservices. I am suppose to create a webservice in Tomcat with the use of Axis. I have downloaded all the required jars.
    Please help me how to start.
    Thanx in advance.
    [email protected]

    Check out the Axis user's guide at: http://ws.apache.org/axis/java/user-guide.html

  • How to transfer rmvb files from pc to the new ipad?

    I just got the new ipad 3rd generation and this is my first ipad too.  How can I transfer rmvb files from PC to the new iPad?

    Rmvb files are Real media (yuck) files and are designed to be only playable in Real media player(ewww).
    They will not playback natively on the iPad.
    You must either convert them(good luck finding something that will handle that garbage) or use a third party player from the app store.

  • How to consume the webservice if it returns the data in dataset format

    Dear All,
    We have a requirement to consume webservice created in .NET platform. In that webservice they are returning data in dataset format. In this case i am not able to create a proxy. It is showing the following information.
    Cannot generate proxy (object schema mis
    WSDL, see long text)                   
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
      <s:import namespace="http://www.w3.org/2001/XMLSchema" />
    - <s:element name="getTaskEffort">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="SPRProjectId" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="getTaskEffortResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="getTaskEffortResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </wsdl:types>
    - <wsdl:message name="getTaskEffortSoapIn">
      <wsdl:part name="parameters" element="tns:getTaskEffort" />
      </wsdl:message>
    - <wsdl:message name="getTaskEffortSoapOut">
      <wsdl:part name="parameters" element="tns:getTaskEffortResponse" />
      </wsdl:message>
    - <wsdl:portType name="OntimeWSSoap">
    - <wsdl:operation name="getTaskEffort">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">This method.</documentation>
      <wsdl:input message="tns:getTaskEffortSoapIn" />
      <wsdl:output message="tns:getTaskEffortSoapOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="OntimeWSSoap" type="tns:OntimeWSSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    - <wsdl:operation name="getTaskEffort">
      <soap:operation soapAction="http://tempuri.org/getTaskEffort" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="OntimeWS">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />
    - <wsdl:port name="OntimeWSSoap" binding="tns:OntimeWSSoap">
      <soap:address location="http://hts-pcs-0808/OntimeData/Ontime.asmx" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    I tried to consume webservice http://student.ohecampus.com/projects/group95/stud17/assignment7/validateEmail.asmx, which will return the data in boolean format. In this case, i am able to create a proxy and it is working fine. Can anyone help me out.
    Thanks in advance.
    Regards,
    Karthick

    Dear Raja,
    I checked with webservice owner who created the webservice. They are telling that there is no problem in XML file which they gave. The webservice they provided is consumed in many application and it is working fine. When in SAP, i tried to create a proxy it is showing the in information which i mentioned in earlier posted forum message.
    Kindly advice.
    Regards,
    Karthick

  • How to transfer Notes from iPad 1 to the New iPad (3)

    Been using iPad 1 and have 221 Notes in the All Notes Account.
    The Gmail Account shows 6 Notes.
    The On My iPad Account shows 215.
    Just got the New iPad today.
    Could not transfer all the Notes over to the new device. No problems with  Contacts and Calender.
    Only see 9 Notes in the All Notes Account.
    Gmail Account shows 6 Notes.
    From My Mac Account also shows 6.
    There is no On My iPad Account seen in the new device as in the iPad 1.
    I do not understand all these !
    Is there a way I can get all the Notes over to the new device ?
    Appreciate advice as soon as possible.
    Thanking all in advance !

    Susanxyz wrote:
    Currently using iTunes on a pc to backup iPad 1.
    Perfect! That makes it very easy. When you get the new iPad and you connect the iPad to your PC - you will be given the option to set up as new or to restore from the backup of the other iPad. Restore from that backup and then sync with iTunes to load all of the apps, photos, movies, music, TV shows - the contents of your iTunes library - to the new iPad. then you should be good to go.
    Continue to backup on a regular basis until you get the new iPad - and you might want to backup one last time just before you set up the new iPad so it will be absolutely current.

  • Message transfer between R/3 to XI By RFC call

    Hi all,
    I am trying to pass some parameters to XI by making an RFC call from R/3.In sm59 the connection is working fine with the RFC destination declared.I have created an RFC enabled function module and  it has   5 import parameters .The FM doesn't contain any query as i have queried in the calling program. The program as followes;
    DATA  : IT_ZXIRFC LIKE ZXIRFC.
    DATA: IS_BILL_NUM LIKE ZXIRFC-BILL_NUM,
          IS_BUYERVATNUM LIKE ZXIRFC-BUYERVATNUM,
          IS_BUYERACCNUM LIKE  ZXIRFC-BUYERACCNUM,
          IS_PRODUCTDES LIKE  ZXIRFC-PRODUCTDES,
          IS_BUYERNAME LIKE ZXIRFC-BUYERNAME.
    SELECT * FROM ZXIRFC INTO  IT_ZXIRFC
             WHERE BILL_NUM = 'ABC1234'
               AND BUYERVATNUM = 'CH456789'
               AND BUYERACCNUM = 'THE456789'.
    ENDSELECT.
           IS_BILL_NUM = IT_ZXIRFC-BILL_NUM .
           IS_BUYERVATNUM = IT_ZXIRFC-BUYERVATNUM.
           IS_BUYERACCNUM = IT_ZXIRFC-BUYERACCNUM.
           IS_PRODUCTDES = IT_ZXIRFC-PRODUCTDES.
           IS_BUYERNAME = IT_ZXIRFC-BUYERNAME.
    CALL FUNCTION 'ZRFC_XI_TEST1' IN BACKGROUND TASK  DESTINATION 'SAP_X3ATEST'
      EXPORTING
        I_BILL_NUM          =  IS_BILL_NUM
        I_BUYERVATNUM       =  IS_BUYERVATNUM
        I_BUYERACCNUM       =  IS_BUYERACCNUM
        I_PRODUCTDES        =  IS_PRODUCTDES
        I_BUYERNAME         =  IS_BUYERNAME
    COMMIT WORK.
    I am getting notthing in moniter of XI when i excecute this program.
    Please have a look at this and suggest me the solution.
    Thank you,
    Best regards,
    Priya parmeshwar.

    Hi,
    In SM59 my RFC destination is working fine.I have done the configuration according to Michal' blog
    https://weblogs.sdn.sap.com/pub/wlg/1438.The [original link is broken] [original link is broken] [original link is broken] [original link is broken] RFC  destination details as followes:
    RFC destination :  SAP_X3ATEST
    Gateway Host :   ld8022
    Gateway service: sapgw22
    Program Id : RFCTEST1
    and here i have checked the Registered server program.
    The same data has been updated in communication channel  with a sender RFC adapter type.
    Thankx,
    Priya

  • HT1296 how to transfer photos from my phone to the cumputer

    How do i transfer my photos on my phone to my computer

    The link is there in the document where you posted your query.
    Photos
    You can import photos or video taken or saved on the iOS device. Information on importing photos and videos is available in the iPhone User Guide, iPad User Guide, or iPod touch User Guide. You can find additional information on importing your photos from your iOS device in this article.

  • How to get rid of username lists in the Gmail window. I access Gmail with Firefox.

    It is a small but annoying problem. I, and sometimes friends, use my Gmail account to check their email. In the username window of Gmail, which I access with Firefox 3.6.9, a list of all past users shows up when I click in the window. I cleared Google cookies, and All history, but the list remains! I can hide the list, but not clear it, if I check 'Form and search history'. But the list is alive and well when I uncheck this option! Is there a way to get rid of the list?

    See https://support.mozilla.com/en-US/kb/Form+autocomplete#Deleting_individual_form_entries

  • How to transfer control along with Data to the another page (Out of JVM)

    Hi,
    Please bear with me, incase this turns out to be a dumb question.
    I want to transfer control to a non JSP page after I hit submit. Apart from
    this I am also sending some data as a HTTPS POST. In case of using
    response.sendRedirect(), it doesn't take care of the POST data.
    So, can anybody help me with what's the best practice in sending POST
    request from a Struts (1.3.8) based J2EE application to another page (which is not a J2EE Application)
    Thank you

    Hi,
    you should run two different import comand.
    The first import with only metadata, just to recreate the structure.
    With the second import you will import data only for the tables you need.
    I think this is the simplier solution.
    Acr

Maybe you are looking for

  • Gallery Bug in N80 v5 firmware?

    Since i have the new V5 Firmware installed on my N80 it wont randomly display all the images that are on the storage card. All i will see then are the two Links in the gallery. The only solution to this problem is to restart the phone. Then it will d

  • Linksys EA6900 USB Drive

    I have a home network with 4 computers all running windows 7.  I have a 1 Tb drive connected to the USB 2.0 port.  Three of the four computers can consistently see/access the drive while the fourth cannot.  It doesn't matter whether I use the USB 3.0

  • Photo Booth Error?

    Hi, I recorded a video in photo booth. It was a little over 20 minutes and I know this because when I clicked stop, I saw the time. But when I went back to view the video, there was only 4 minutes. It seems to have cut off in the beginning of the vid

  • Header information in text files

    I have a VI which logs information every ten minutes into a text file. I want to add a header to the beginning of the file only once, not every ten minutes as with the rest of the information. How can I accomplish this.

  • Lost all photos and projects - What happened

    I am running OS X 10.9 and have Aperture 2 - I have never had an issue and recently opened Aperture and it's completly empty. Lost all my projects and photographs! Years worth... Is it not compatible with my OS? DId I maybe delete the aperture librar