How to save an Idoc doc Number on PI to use it later on an ALEUD Idoc

Hi there i have an Idoc / Soap  Async/Sync Scenario with BPM, i need to update the Idoc status using ALEUD idoc back to R/3, for that im stuck trying to figure out a way to save the Income Idoc number and use it later on the Response to ALEUD Idoc Type Mapping, i've been looking into the xpath thing a bit but im not sure if this is the right way to do it, Thanks in advance for all the help and ill be more than happy to follow any blog on how to do it,
Roberto.

Hi there,
basically what i need is to be able to store the Incoming Idoc Number from R/3, and use it later for another mapping wether would be inside or outside the bpm
Edited by: Roberto Gomez on Jul 27, 2009 6:59 PM

Similar Messages

  • How  to  look for  fi doc  number in cj88

    HI  expert:
          when I  run cj88.   the system generate FI  doc number.   how to look for FI doc number.
    can you tell me !
    thank you !!!!

    Hi,
    You can see the FI Doc. thru' given instruction
    Go to T-code CJI3 then fillup the WBS no. in which you want to see the Settlement document.
    Execute then filter up document type AA  double click on this & click on FI document.
    Hope it will solve your problem.
    Regards,
    Vishal Kr. Sharma

  • How to save 2-3 doc in one folder on ipad

    How to save 2-3 doc in one folder on ipad.

    Got it figured out ... but I'll repeat it here in case it helps others.
    When I went to "Documents" it was always bringing me into a subfolder within (probably where I'd last been). And I think I had so many files in Documents from trying over and over that if I ever did end up there, I wasn't finding what I'd just opened because there were so many.
    Thanks again for your help!

  • How To Store pdf or doc file in Oracle Database using Java Jdbc?

    can any one help me out How To Store pdf or doc file in Oracle Database using Java Jdbc in JSP/Serlet? i tried like anything. using blob also i tried. but i am able 2 store images in DB not files. please if u know or else if u have some code like this plz send that to me, and help me out plz. i need that urgent.

    Hi.. i am not getting error, But i am not getting the original contents from my file. i am getting all ASCII vales, instead of my original data. here i am including my code.
    for Adding PDF in DB i used image.jsp
    Database table structure (table name. pictures )
    Name Null? Type
    ID NOT NULL NUMBER(11)
    IMAGE BLOB
    <%@ page language="java" import="java.util.*,java.sql.*,java.io.*" pageEncoding="ISO-8859-1"%>
    <%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%
    try{
         Class.forName("oracle.jdbc.driver.OracleDriver");
         Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
         PreparedStatement ps,pstmt,psmnt;
         ps = con.prepareStatement("INSERT INTO pictures VALUES(?,?)");
    File file =
    new File("D:/info.pdf");
    FileInputStream fs = new FileInputStream(file);
    ps.setInt(1,4);
    ps.setBinaryStream(2,fs,fs.available());
    int i = ps.executeUpdate();
    if(i!=0){
    out.println("<h2>PDF inserted successfully");
    else{
    out.println("<h2>Problem in image insertion");
    catch(Exception e){
    out.println("<h2>Failed Due To "+e);
    %>
    O/P: PDF inserted successfully
    i tried to display that pdf using servlet. i am giving the code below.
    import java.io.IOException;
    import java.sql.*;
    import java.io.*;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    public class DispPDF extends HttpServlet {
         * The doGet method of the servlet. <br>
         * This method is called when a form has its tag value method equals to get.
         * @param request the request send by the client to the server
         * @param response the response send by the server to the client
         * @throws ServletException if an error occurred
         * @throws IOException if an error occurred
         public void service(HttpServletRequest request, HttpServletResponse response)
                   throws ServletException, IOException {
              //response.setContentType("text/html"); i commented. coz we cant use response two times.
              //PrintWriter out = response.getWriter();
              try{
                   InputStream sPdf;
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                        Connection con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.1.135:1521:orcl","scott","tiger");
                        PreparedStatement ps,pstmt,psmnt;
                   psmnt = con.prepareStatement("SELECT image FROM pictures WHERE id = ?");
                        psmnt.setString(1, "4"); // here integer number '4' is image id from the table.
                   ResultSet rs = psmnt.executeQuery();
                        if(rs.next()) {
                   byte[] bytearray = new byte[1048576];
                        //out.println(bytearray);
                        int size=0;
                        sPdf = rs.getBinaryStream(1);
                        response.reset();
                        response.setContentType("application/pdf");
                        while((size=sPdf.read(bytearray))!= -1 ){
                        //out.println(size);
                        response.getOutputStream().write(bytearray,0,size);
                   catch(Exception e){
                   System.out.println("Failed Due To "+e);
                        //out.println("<h2>Failed Due To "+e);
              //out.close();
    OP
    PDF-1.4 %âãÏÓ 2 0 obj <>stream xœ+är á26S°00SIá2PÐ5´1ôÝ BÒ¸4Ü2‹ŠKüsSŠSŠS4C²€ê P”kø$V㙂GÒU×713CkW )(Ü endstream endobj 4 0 obj <>>>/MediaBox[0 0 595 842]>> endobj 1 0 obj <> endobj 3 0 obj <> endobj 5 0 obj <> endobj 6 0 obj <> endobj xref 0 7 0000000000 65535 f 0000000325 00000 n 0000000015 00000 n 0000000413 00000 n 0000000168 00000 n 0000000464 00000 n 0000000509 00000 n trailer <<01b2fa8b70ac262bfa939cc786f8770c>]/Root 5 0 R/Size 7/Info 6 0 R>> startxref 641 %%EOF
    plz help me out.

  • I won Lightroom 1.0 a few years ago at an Adobe clinic in Fremont. I have since misplaced the original disk and cannot get the program to open. It wants a serial number and I don't have one. How can I get the serial number so I can use the software?

    I won Lightroom 1.0 as a door prize a few years ago at an Adobe clinic in Fremont. I have since misplaced the original disk and cannot get the program to open. It wants a serial number and I don't have one. How can I get the serial number so I can use the software?

    Thanks for replying, Jim. I wasn't planning to use it for raw images. I shoot film, black and white, and have many negatives I want to print. I am unfamiliar with the upgrades in Lightroom. I wasn't unhappy with the version I have. It was useful for my purposes.
    Because it was a few years ago, I don't remember if I registered the product. I was able to login to my account. But could not find a path to communicate with Adobe. I will keep trying.
    Ken

  • How do you increase the maximum number of migration batches using EAC?

    When I try to run a new batch, I'm getting the following error message:
    The maximum number of migration batches is already running. Please remove a batch before you add another one.
    How do I increase the maximum number of migration batches using EAC? Thanks for your help.

    Hi WinndowsGuy,
    Is there any update on this thread?
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • How can o move a doc from mail to Ipage using iCloud?

    How can o move a doc from mail to Ipage using iCloud?

    upload it at https://www.icloud.com/#iwork

  • New computer: How do I find the serial number so I can use final cut?

    New computer: How do I find the serial number so I can use final cut?

    On the assumption you want to install Final Cut Express (and not something from the app store), you find the serial number on on the documentation that came with the FCE disks. If you do not have the documentation, you are out of luck.
    x

  • How do I change the phone number that ipad is using for iMessage and FaceTime

    Since the latest iOS update my ipad uses my husbands phone number for iMessage and FaceTime. How do I change the phone number to match my iPhone?

    Sign out of FT and iMessage on both your iPad and your iPhone. Sign back in on the iPhone. Wait for everything to activate. Then, sign back in on the iPad using the same Apple ID.

  • How to save the selected row number to NSUserDefaults

    I am trying to save the indexpath.row of the selected row to NSUserDefaults temporarily until my detail view controller can load its UITextFields based on which row is tapped. First of all is this good? I chose this design because the detail view controller cannot access the master view controller so I can't find out which row its tapped. To save to NSUSerDefaults, I did the following code, and the NSLog is always returning row 0 no matter what row I tap. Plus the title is not being set: its still blank.
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
        [patientList deselectRowAtIndexPath:indexPath animated:YES];
        [[NSUserDefaults standardUserDefaults] setInteger:indexPath.row forKey:@"rowSelected"];
        NSLog(@"The selected row saved is row %d"), [[NSUserDefaults standardUserDefaults] integerForKey:@"rowSelected"];
        if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
            PatientDetailViewController *detailViewController = [[PatientDetailViewController alloc] initWithNibName:@"PatientDetailViewController" bundle:nil];
            detailViewController.title = [patientDisplayName objectAtIndex:[[NSUserDefaults standardUserDefaults] integerForKey:@"rowSelected"]];
            // Pass the selected object to the new view controller.
            [self.navigationController pushViewController:detailViewController animated:YES];
            [detailViewController release];

    I have also tried setting the title differently (I also added comments to explain each line what it does, the rest is the same), but neither methods work
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
        // Deselect the row
        [patientList deselectRowAtIndexPath:indexPath animated:YES];
        // Save to memory the row selected
        [[NSUserDefaults standardUserDefaults] setInteger:indexPath.row forKey:@"rowSelected"];
        // Show saved row to make sure it saved correctly
        NSLog(@"The selected row saved is row %d"), [[NSUserDefaults standardUserDefaults] integerForKey:@"rowSelected"];
        // Check if user is using iPhone
        if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
            // Load the view
            PatientDetailViewController *detailViewController = [[PatientDetailViewController alloc] initWithNibName:@"PatientDetailViewController" bundle:nil];
            // Set the title of the detail view controller based on row selected
            detailViewController.title = [patientDisplayName objectAtIndex:indexPath.row];
            // Push the detail view controller
            [self.navigationController pushViewController:detailViewController animated:YES];
            // Release the detail view controller
            [detailViewController release];

  • How to save a very large number of samples?

    I will need to sample 12 channels of signal with 10Mhz bandwidth simultaneously using two NI-PCI-5105 for about 60ms (12 x 3.6 million samples) at 60Msamples/s, and save it to file(s).
    I'm currently testing the system with only one channel to take 6 million samples at 60Msamples/s. The project file is attached with this mesage. After I pushed the [Run Once] button, I can see the memory usage was climbing up for a couple minutes up to about 1.7GB, and then it stop with an error popup window: LabVIEW: Memory if full. VI "ExportLVMBlockState Time-WDT 3.vi" was stopped at node 0xEE8 of subVI "cmb_ex_CreateSignalChunkStringSub.vi".
    The windows xp computer than I was using has about 3.4GB of physical memory.
    Please advice me a solution for this problem.
    Thank You,
    Sofyan Tan
    Attachments:
    2008_03_26.zip ‏6 KB

    Currently, SignalExpress will not handle this amount of data.  You have two options, depending upon whether you want to repetitively do this task or do it single-shot.
    You can use two instances of the NI-SCOPE Soft Front Panel if you have a way to simultaneously trigger both devices.  A simple digital trigger will do it (wire the trigger to the digital input of both devices and set both to digital trigger).  Setting both devices to the same analog trigger parameters may work - take the same channel in both devices, just don't fetch it from the second.  Unfortunately, the Soft Front Panel does not support internal synchronization.  Divide the channel count evenly between the two devices and the internal memory of the 5105 should be sufficient to take 60ms of data.  Take one data set, then manually save the data to disk.  I would recommend the HWS format or flat binary for this amount of data.  With HWS, you can save both sets of data into the same file.
    Use LabVIEW and NI-SCOPE to program it yourself.  This is not particularly difficult, but does require use of some less commonly used functions.  The NI-SCOPE examples should give you the information you need.  The rough sequence of events is - synchronize the scope cards, take a set of data, fetch data in chunks from the scope cards and write to disk.  If you take this route, I would recommend you read Managing Large Data Sets in LabVIEW.
    You may wish to repost your question to the NI-SCOPE forum for more feedback.  Let us know if you need more help.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to save an existing file into a new file using "save as" method?

    Hai to all,
    if i'm having a file named as "tab.doc"...
    i want to save it as another file as "tab1.doc" by using
    "save as" method....
    Is there any "save as" method available for doing this process....
    thanks in advance..
    senthil..

    Yes.
    See SDKLayoutHelper::SaveDocumentAs in the SDk documentation.

  • How to test if a port number is already in use ?

    Hi,
    How can I know if a given port is already is use by another program ? I have wrote a TFTP Server in Java that is working on (of course) port 69. The problem, is that I have to start the server with admin rights, because it uses port 69. I then have to start another program (with user rights) and I have to be sure that the TFTP server is running. So how can I test if the port number 69 is already in use, i.e my TFTP Server is already running ?
    Thanks
    Chris

    I should add a few things, because it would actually be simple to test this with a simple
    Socket s = new Socket("localhost",69);
    If I had a IOException, it is almost sure that the server is not running on port 69. Now even if I start the server, i.e the thread to listen on 69, if I do a port scan or use the above code, I have as reponse that there is nothing on port 69. Why this ? It is because I use DatagramSocket ? Or because the port becomes active only after the first exchange of data ?
    Thanks
    Chris

  • How to save formatted text in Transparent or cluster table using WDA

    Hi All,
    From WDA application I want to save formatted text in Transparent or cluster table.
    What Datatypes/Data elements should take in Tables? Format should remain as it is.
    How can I achieve above requirement. Please guide step by step.
    Thanks in advance.
    Note : I will use FormattedText UI element in the view
    BR
    CW

    Hi,
    I am not sure may you can try XSTRING also..
    And you can check this for special char.
    http://www.google.co.in/url?q=http://forums.sdn.sap.com/thread.jspa%3FthreadID%3D1342827&sa=U&ei=ynTkTZDvNsbsrAepvIWsBg&ved=0CBYQFjAA&usg=AFQjCNEHLu2lPsOLP0m78AqWKjZPvBB8Yw
    Cheers,
    Kris.

  • How can I count the participants' number in TextChatApp? (using SharedObject, FMS)

    Hi all.
    How can I count participants' number?
    If the 3st user enter the room, the 3st user have to know that how many users are in the room.
    How do I know how many users are in the room?
    Thanks in advanced.
    Kevin.

    You have server side hooks for connections coming in or being closed (including here custom code for server disconnecting users for idle purposes).
    you need to keep track of the connections I don't remember now what FMS offers out of the box. Let's assume not much.
    When connection is coming in you can choose to accept or reject it. When you accept a connection you need to add it to your existing connections array or whatever data structure you use to keep track of them. Also you need to iterate to all connected users (clients) and call a custom method "userJoined()" on them to notify that a new user has joined.
    When a user leaves you need to remove the user from the collection and also notify that it left.
    on wowza you have stuff like :
    private HashSet();
    public void onConnect(IClient client, RequestFunction function,
                AMFDataList params) {
    public void onDisconnect(IClient client) {
    public void onConnectAccept(IClient client) {
        _connectedClients.add(client); 
        sendUserJoined();
    @param client
        public void onConnectReject(IClient client) {
             _connectedClients.remove(client); 
            sendUserLeft();
        public void sendUserJoined(String userName)
            Iterator it = _connectedClients.iterator();
            while (it.hasNext()) { 
                IClient each =  it.next();
                    each.call("userLeft", userName);
    FMS has similar hooks. This is simplified but you have a rough idea. You can call clients with no parameters and then is up to client so call back for updates to the server if interested. You need to implement "userJoined" and userLeft client side also.
    C

Maybe you are looking for

  • Photoshop CS6 not working on new pc

    I bought a new laptop and have installed my Photoshop CS6 on it, but it won't work. I cannot open the old PSD files or even a photo or new blank page.

  • JavaBean JSP to Servlet

    Presuming this is an easy one. I have created a JavaBean in a JSP page that submits a form to a Servlet, how do I send the JavaBean to the Servlet? I know how to create a JavaBean in a Servlet and send it to a JSP page but not vise versa.

  • Tcode attachment to a report painter---User group Creation

    Hi all, i created a form using fgi4 using Report Painter. And attaching the form to a Transaction Code. For creating Transaction Code I Did the following Steps. SE93 ---> taken the option parameter transaction . 1.Taken the default valuse for transca

  • Ora-00942 when creating time dimension

    hi All, I am new to data warehouse, i have created a date dimension " date_dim " in a target location, it has created a corresponding mapping "date_dim_map" in mappings section. But when i try to deploy the dimension i get error ora-00942 table or vi

  • Model in WD4A

    Hi, whats a model component in WD4A ? when do i create a model ? My typical component development involved in SE80, creating a webdynrpo component, views, embedding them in window, developing context nodes, desigining the layout, event handling in th