Picking values from an http URL and mapping them to a SOAP receiver

Hi
I have a case, where I need to pick the two values "customernumber" and "pod" from this URL from a HTTP sender adapter https://xxxxx.xxxx.dk/ServiceName/valider?customernumber=&pod= 
and place them in a SOAP request in a SOAP receiver adapter.
What is the best way of doing this?
BR
MIkael

Hi,
Please go through SAP Help Doc LInk:
http://help.sap.com/saphelp_nwpi711/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
Set flag ASMA, Apply URL Parametes in ID.
Give Parameter 1 as customer (names as in URL)
        Parameter 2 as pod
Access the values in UDF through configuration key. For Eg: if Parameter 1 then the value can be accessed through field URLParamOne.
I never tried this before but I beleive it should work or throw aome light to you.
Regards,
Vineetha.

Similar Messages

  • Sending Idocs from SAP-R/3 to XI, bundle and map them to one XML-file

    Hi All,
    We need to send IDoc's (DEBMAS06) from R/3 to XI and  bundle and map them to a single xml-file. Please help us with your suggestions on how to proceed using a simple solution (probably need of BPM).
    Regards,
    Theo

    Hi Theo,
    there is an example in SAP Library: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm">Collecting and Bundling Messages - One Interface</a>. Plz post us your detailed quetions.
    Regards,
    Udo

  • Need to take a value from the csv file and query in a OAF page.

    Hello,
    I have a requirement to take the list of employee numbers in a csv file and display its corresponding job on the page.
    I have created a item 'MessageFileupload' where the user will upload the csv file containing the employee number and a Button 'Display Jobs' which will display the corresponding jobs on the page.
    Any idea how to take the values from the csv file and query it?
    Regards,
    den123.

    Hi ,
    Check
    http://oraclearea51.com/contribute/post-a-blog-article/csv-file-upload-for-oa-framework.html
    http://www.roseindia.net/jsp/upload-insert-csv.shtml
    Below code works from above blogs.
    package xx.oracle.apps.pa.Lab.webui;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    // import java.io.*;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.domain.BlobDomain;
    import oracle.cabo.ui.data.DataObject;
    import oracle.jbo.Row;
    * Controller for ...
    public class deptCsvUploadCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        // Code Addition Started for CSV upload
        OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
        OAViewObjectImpl vo = (OAViewObjectImpl) am.findViewObject("deptCsvVO1");
          //if ("GoBtn".equals(pageContext.getParameter(EVENT_PARAM)))
           if (pageContext.getParameter("GoBtn") != null)
          System.out.println("Button Pressed");
              DataObject fileUploadData =(DataObject)pageContext.getNamedDataObject("FileUploadItem");
              String fileName = null;
              String contentType = null;
              Long fileSize = null;
              Integer fileType = new Integer(6);
              BlobDomain uploadedByteStream = null;
              BufferedReader in = null;
                      try
                      fileName = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
                      contentType =(String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
                      uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
                      in = new BufferedReader(new InputStreamReader(uploadedByteStream.getBinaryStream()));
                      fileSize = new Long(uploadedByteStream.getLength());
                      System.out.println("fileSize"+fileSize);
                      catch(NullPointerException ex)
                      throw new OAException("Please Select a File to Upload", OAException.ERROR);
                      try{ 
                      //Open the CSV file for reading 
                      String lineReader=""; 
                      long t =0;
                      String[] linetext; 
                      while (((lineReader = in.readLine()) !=null) )
                      //Split the deliminated data and
                      if (lineReader.trim().length()>0)
                      System.out.println("lineReader"+lineReader.length());
                      linetext = lineReader.split(","); 
                      t++;
                      //Print the current line being
                      if (!vo.isPreparedForExecution())
                              vo.setMaxFetchSize(0);
                              vo.executeQuery();
                        System.out.println("Trimmed "+  linetext[1].replace("\"", ""));
                      Row row = vo.createRow();
                      row.setAttribute("Deptno", linetext[0].trim());
                      row.setAttribute("Dname",linetext[1].trim().replace("\"", ""));
                      row.setAttribute("Loc",linetext[2].trim().replace("\"", ""));
                      //row.setAttribute("Column4", linetext[3].trim());
                      vo.last();
                      vo.next();
                      vo.insertRow(row);
                      catch (IOException e)
                            throw new OAException(e.getMessage(),OAException.ERROR);
              //else if (pageContext.getParameter("Upload") != null)
              am.getTransaction().commit();
              throw new OAException("Uploaded SuccessFully",OAException.CONFIRMATION);     
    }Thanks,
    Jit

  • Export BR's from 9.3.1 and import them to 11.1.2.2

    Hi All,
    I am working on exporting the Business rules from 9.3.1 and import them to 11.1.2.2. I was able to export the BR's and import them but its is giving me the error that *"the import was unscucesfull as no objects were found"*.
    when I looked in the document it mentions after selecting the BR's that we export it will open a *"Enter source Repository information"* dialog box which I don't see.. can anyone please help me with this..
    Thanks

    Hi John,
    I went through the document and in there it says we can migrate business rules from previous versions only if it is EPMA and not classic. Is that true? we are using classic planning for both 9.3.1 and 11.1.2.2. we want to migrate Business rules from 9.3.1 to calculation manager 11.1.2.2
    Can we do a migration for the above?
    I saw it in page no. 253 of "http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin.pdf". Please clarify me if we can do this migration
    Thanks!

  • How to create mass users and map them to existing  hrms users

    Hi,
    Im running oracle ebusiness suite 12i . I want to create mass users , and map them to existing hrms users.
    The users I want to create exist in an excel spreadsheet with the columns employee id, user name. They will all be granted the same responsibility. I want to map them to existing hrms users using the employee id key.
    I have read about the package FND_USER_PKG.CREATEUSER and I can loop over it by using sql loader to create a temporary table, but I m lost on how to automatically map them to hrms users as part of the script.
    Any help.
    dula

    Thanks a lot Omka,
    I managed to create the users by running the script:
    declare
    Cursor C1 is
    select d.product_code,b.responsibility_key from FND_USER_RESP_GROUPS_ALL a,fnd_responsibility b,fnd_user c,fnd_application d
    where a.user_id = c.user_id
    and a.responsibility_id = b.responsibility_id
    and b.application_id = d.application_id
    and c.user_name ='JOCHIENG';
    Cursor employee is
    SELECT EMPLOYEE_ID,EMPLOYEE_NAME from eldoret_final;
    BEGIN
    for e in employee loop
    fnd_user_pkg.createuser
    x_user_name => e.EMPLOYEE_NAME
    *,x_owner => ''*
    *,x_unencrypted_password => 'welcome123'*
    *,x_start_date => SYSDATE - 10*
    *,x_end_date => NULL*
    *,x_description => 'CBK Employee'*
    *,X_EMPLOYEE_ID => e.EMPLOYEE_ID*
    fnd_user_pkg.addresp(upper (e.EMPLOYEE_NAME),'PER', 'CBK_EMPLOYEE_DIRECT_ACCESS','STANDARD', 'DESCRIPTION', sysdate, null);
    end loop;
    commit;
    end;
    I had first created the user JOCHIENG and assigned it the responsibility for Self service. So the script just assigns the responsibilities by copying from the one assgined to this user.
    Everything seems ok. However, when trying to log in as the new user, the login error: Login failed. Please verify your login information or contact the system administrator.
    is returned. But I can reset the password using the forms under Security > Define. Even with the correct password, the login doesn't go through.
    Any idea?
    dula

  • I have an iPod whose contents I want to transfer to a newer Ipod.  At some stage I lost the music files from my library.  Is there any way to get them back from the older iPod and put them onto the newer one again?  I stupidly synced the wrong one.

    I have an iPod whose contents I want to transfer to a newer Ipod.  At some stage when I thought I was syncing correctly I wasn't so I lost the music files from my library.  Is there any way to get them back from the older iPod and put them onto the newer one again? 

    Have you not got a backup of your content on, for example, external drives ? If not then you could have a look to see if any of the utilities mentioned in this old post still exist and work : https://discussions.apple.com/message/11014893?messageID=11014893#11014893

  • How can i take the pictures from my old ipod and transfer them onto my computer without deleting anything

    How can I take the pics from my old ipod and transfer them onto my computer without deleting anything?

    Pictures on an iPod are stored in a special format, optimized for the iPod's small lower resolution screen, to save storage space.  iTunes puts them into that format when syncing.  There is setting in iTunes, on the iPod's Photos screen (where you set up syncing of photos) for Include full resolution photos.  If that checkbox was checked when you synced the photos to the iPod, THEN you can Enable disk use and find those photo files on the iPod in the Photos folder. 
    Otherwise, you cannot get your photos back, using iTunes.  There may be third-party utilities that can extract individual photos from the iPod, but they will still be lower-resolution versions of the original photo.

  • I got some books from the itunes store and put them into my library.  I created a playlist so that I could burn them to cds.  The title is there but no contents.  It won't even play the playlist.  How do I get the contents of the book?

    I got some books from the itunes store and put them into my library.  I created a playlist so that I could burn them to cds.  It won't even play the book, there are no contents.  How do I get the contents of the book?

    I'm guessing this is a problem unique to me as there have been no replies at all...  Thanks a bunch folks

  • Can I move all my photo that I can see on iPhoto from my Mac hardrive and put them on an external hard drive and still be able to see them as thumbnails in iPhoto? Thanks! The reason, I need to know if I can do this is b/c I am running out of HD space!sp

    can I move all my photo that I can see on iPhoto from my Mac hardrive and put them on an external hard drive and still be able to see them as thumbnails in iPhoto? Thanks! The reason, I need to know if I can do this is b/c I am running out of HD space!sp

    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Developers I need an applescript that opens documents in excel from a specified folder and saves them as .xlsx from their current .xlsb

    mule13470 
    Apr 3, 2014 11:12 AM 
    I tried simply renaming them however it just corrupts the files when I do it like that so I need the applescript to open the files in excel and the save them as .xlsx to test I only need it one folder but if it works I'd like to be able to do it for all documents with .xlsb extentions that are in a huge folder with subfolders that contain a mix of .pdf, .docx, .xlsx and .xlsb. Please Help.
    Applescript Editor, Mac OS X (10.6.8) 
    I have this question too (0) 
    Reply
    Categories: Using OS X MavericksTags: mac, help, finder, excel, applescript_editor
    Level 1 (0 points)
    mule13470
    Re: I need an applescript that opens documents in excel from a specified folder and saves them as .xlsx from their current .xlsbApr 3, 2014 11:19 AM (in response to mule13470) 
    In that huge folder I only need the .xlsb files opened and saved to .xlsx not the others, in case that wasn't clear above.

    In that huge folder I only need the .xlsb files opened and saved to .xlsx not the others, in case that wasn't clear above.

  • Export 2 specific folders from users A mailbox and transfer them to user B Via Powershell

    Hi 
    i know there is a simpler method for the user to export the folder within outlook as a PST file and send it to the other user to import... but
    Is there a powershell command sequence i can use that will export folders from User A mailbox and import them into User B's mailbox remotely so they don't have to do anything.
    Many Thanks
    Gordon

    i made some progress with the following
    New-MailboxExportRequest -mailbox "User A" -includeFolders "User A\\TransferFolder" -Filepath \\server\serversubfolder\transfer.pst -verbose
    then using
    New-MailboxImportRequest -mailbox "User B" -FilePath \\server\serversubfolder\transfer.pst -TargetRootFolder "Inbox" -includefolder "Transferfolder" -verbose

  • How do I prevent Adobe from taking my jpegs and making them pdf files? I have had to uninstall Adobe to access my photos as jpegs.

    How do I prevent Adobe from taking my jpegs and making them pdf files? I have had to uninstall Adobe to access my photos as jpegs.

    I would suggest you change your file associations so that jpgs open in a program other than Acrobat.  Assuming you have a Windows machine, just go to the Start, and search for "file associations" ... it's part of the Control Panel.
    Scroll down to the file type jpg, and set it to open with whatever graphic preview or editing program you have that you want to use as the default.  From that point on, when you click on a jpg, it should not open Acrobat and instantly try to convert it to a pdf.

  • How to get argument value from portal desktop URL

    hi,guys
    I have a question ,it is how to get argument value.see:
    in one portal desktop,I have a hyperlink like this
    http://localhost:7001/TestPortal/appmanager/testPortal/testDST?eventId=1
    after click,then will be switch another desktop "testDST"
    I tried to get value from request,but failure.
    @RequestMapping
    public String listTestList(RenderRequest request, RenderResponse response,ModelMap model) {
    //HttpServletRequest httpRequest = (HttpServletRequest) ; //request.getAttribute("javax.portlet.portletc.httpServletRequest");
    //log.debug("httprequest eventId>>>" + httpRequest.getParameter("eventId"));
    log.debug("render request eventId>>>" + request.getParameter("eventId"));
    I can't get this value from request,also tried httpServeltRequest,but httpServletRequest can't get,it is null;
    so ,how to get this value,thank you very much.
    regards
    aris

    Hello,
    It is true for JSR168 portlets that you can't just arbitrarily set parameters on a URL and get access to them inside your portlet- you must use the appropriate APIs on the PortletURL class to set parameters that you can retrieve. This is the only portable (standards-compliant) way to implement the functionality you want.
    However, for your particular use-case, you can get the URL parameters from the (non-JSR168) HttpServletRequest object. The only reason you are getting a null object for that is because the attribute name is wrong. This should work:
    HttpServletRequest httpRequest = (HttpServletRequest)(request.getAttribute("javax.servlet.request"));
    String eventId = httpRequest.getParameter("eventId");
    Kevin

  • How do I grab a value from a file name and load it in a field/column?

    Hi,
    I am loading this .txt file (OUS_RAW_NYC_05_2011.txt) into an internal table i_raw.
    I want to pick out the NYC characters from the file name and fill it as value for <wa_raw>-field1 for all records.
    How do I do this?
    Pls advice.
    Thanks!

    Hi Durgesh,
    I am doing this in a program via SE38 and not via transformation routine.
    Now I am working on this piece of code to get the value.
    file_str = //rdmsbw/dev/data/output/all/OUS_RAW_HCM_05_2011.txt
    I only want the characters HCM from file_str.
    When I execute this code below:
        MOVE file_str TO org_unit.
        WRITE / org_unit+37(12).
        <wa_raw>-/BIC/ZOUORGUT = org_unit.
    my output is = //rdm
    how do i extract out HCM?
    Pls advice.
    PS: also pls help me out with my another post
    http://forums.sdn.sap.com/thread.jspa?threadID=2141618&tstart=0

  • Pick value from file in FOR loop

    Hello All,
    I was trying to delete records from database day by day and commit. Is it possible to pick the dates from file and then delete the database record for that day. Something like below.
    For day IN <File.txt>
    LOOP
    delete from table where date = '<1st value from File.txt>';
    commit;
    END LOOP;
    I have to do this from unix box, so i can place the file (with list of dates as input) in the path from where i am issuing sqlplus.
    Please suggest any other way to delete it day by day is most welcome.
    Thanks.

    982193 wrote:
    Hello All,
    I was trying to delete records from database day by day and commit. Is it possible to pick the dates from file and then delete the database record for that day. Something like below.You an use EXTERNAL TABLE (Or SQL Loader, if the file cannot be moved to the DB server) to read from a file and it can be used in your DELETE statements just as a normal table.
    >
    For day IN <File.txt>
    LOOP
    delete from table where date = '<1st value from File.txt>';
    commit;
    END LOOP;
    LOOP is a bad idea.. You could do it in a single statement..
    delete from table where date in (select the_date_coumn from the external_table);
    And COMMIT inside LOOP is again not a good idea..

Maybe you are looking for