How to catch document on return from IBR

Hi,
I need to write filter (or service) to catch MS documents returned by IBR in PDF format. I need to count pages in PDF (I use PDFBox library) and update metadata this number. I don't know what UCM service is called by IBR.
Kuba

IBR does not call an UCM service. It is UCM that tries to retrieve document from IBR by calling the IBR service: PULL_JOB_OFF_CONVERTED_QUEUE.
Filters you can use on UCM side: processRefineryConversionResults or processSuccessfulConversion

Similar Messages

  • How to catch error codes returned from java

    Hi all,
    Is there anyway to capture the exit code that is returned by System.exit() from java. I know a batch file's ERRORLEVEL can do this. However, I want to use c/cpp (JNI) to get this functionality. Please help ..
    Thanks in advance,
    Soujanya.R

    how could you expect me to use JAVA command without compiling it with Javac??
    I complied the java code using javac and then called(executed ) it using the Java..
    I am using JNI_Create/JavaVM() to create a JVM from CPP file. that works fine. Now, my issue is that I want to capture a couple of exit codes that are returned from the System.exit() of the java code.
    now, guys.. is there any way to capture that exit codes returning by Ssytem.exit() in or using JNI ??
    if yes, please help me with the code snippets.
    Thanks,
    Soujanya.R

  • How to open document to PDF from ALV

    Hi ,
      how to open document to PDF from ALV on clicking (hot spot)
    urgent
    thanks,

    something like this:
    line_fieldcat-fieldname = 'vbeln'.
    line_fieldcat-ref_tabname = 'I_vbeln'.
    line_fieldcat-hotspot = 'X'. " Shows the field as ahotspot.
    line_fieldcat-seltext_m = 'Notification '.
    APPEND line_fieldcat TO i_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = ws_repid
    i_callback_user_command = 'MY_USER_COMMAND'
    and rest of parameters,
    FORM MY_USER_COMMAND USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
    IF ucomm = '(Function code of action, say click, or enter'
    CASE selfield-fieldname.
    WHEN 'QMNUM'. "Notification
    IF i_tab-qmnum NE space.
       CALL FUNCTION 'WS_EXECUTE'
          EXPORTING
            commandline = '/F /IM "ACRORD32.EXE"'
            program     = 'TASKKILL'.
    ENDIF.

  • HT203167 my mac had been formated from HD. ...? HOW TO CATCH BACK MUSICS, MOVIES FROM ( PING'S PAGE ) " THERE ARE CATALOGED ALL MY PURCHASED " ???

    my mac had been formated from HD. ...? HOW TO CATCH BACK MUSICS, MOVIES FROM ( PING'S PAGE ) " THERE ARE CATALOGED ALL MY PURCHASED " ???

    Unless you backup your data, follow these instructions.
    http://support.apple.com/kb/HT2519
    Formatting means erasing, and you normally can't recover from an erase short of redownloading, or copying back from a backup.  For more on backing up and data recovery, read this link:
    https://discussions.apple.com/docs/DOC-1992

  • How to catch the mouse event from the JTable cell of  the DefaultCellEditor

    Hi, my problem is:
    I have a JTable with the cells of DefaultCellEditor(JComboBox) and added the mouse listener to JTable. I can catch the mouse event from any editor cell when this cell didn't be focused. However, when I click the editor to select one JComboBox element, all the mouse events were intercepted by the editor.
    So, how can I catch the mouse event in this case? In other word, even if I do the operation over the editor, I also need to catch the cursor position.
    Any idea will be highly appreciated!
    Thanks in advance!

    Hi, bbritta,
    Thanks very much for your help. Really, your code could run well, but my case is to catch the JComboBox event. So, when I change the JTextField as JComboBox, it still fail to catch the event. The following is my code. Could you give me any other suggestion?
    Also, any one has a good idea for my problem? I look forward to the right solution to this problem.
    Thanks.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Test3
    extends JFrame {
    // JTextField jtf = new JTextField();
    Object[] as = {"aa","bb","cc","dd"};
    JComboBox box = new JComboBox(as);
    public Test3() {
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Container content = getContentPane();
    String[] head = {
    "One", "Two", "Three"};
    String[][] data = {
    "R1-C1", "R1-C2", "R1-C3"}
    "R2-C1", "R2-C2", "R2-C3"}
    JTable jt = new JTable(data, head);
    box.addMouseListener(new MouseAdapter() {
    // jtf.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e)
    System.out.println("-------------------JComboBox mouseclick....");
    jt.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e)
    System.out.println("-------------------JTable mouseclick....");
    // jt.setDefaultEditor(Object.class, new DefaultCellEditor(jtf));
    jt.setDefaultEditor(Object.class, new DefaultCellEditor(box));
    content.add(new JScrollPane(jt), BorderLayout.CENTER);
    setSize(300, 300);
    public static void main(String[] args) {
    new Test3().setVisible(true);
    }

  • How to convert localization strings returned from RIDC calls?

    I'm using the RIDC API to extract some data from UCM, but I'm running into issues where some values returned from service calls are the actual localization strings ("wwDocTypeDesc_Application" for example), not their translated values.
    Is there a service or method I can use to translate the strings? Something that evaluates IdocScript perhaps?

    Hey Mike,
    Please refer the following link.
    http://www.corecontentonly.com/index.php/2008/09/16/executing-idocscript-from-java-page-merger/
    looks like customization is the way forward from here. Just create a custom service, call your default ucm service from withing and before you pass on results fetch the required variable and send back.
    I know this is something that should have been taken care be them.
    cheers,
    swapnil

  • How to catch menu click events from B1AddOn Wizard

    Dear Friends,
    I'm adding some custom menus to the SAP BO main menù using B1 Addon Wizard generated code, but then I don't know how to catch the events generated by the menus.
    Thank you for attention
    Massimo

    Thank you Eddy,
    I had a look at the help, but there it is not explainsed that events can be attached only to string menus!!
    It was attempting to do something wrong.
    A further question: is it possible to add new menus and related events to an existing project (I tried with new item and then B1 Addon Component, but it doesn't let me add new menus)?
    Thanks again
    Masimo

  • How do I handle NULL returns from prepared statement?

    Thanks in advance to all those who respond. As a beginner with Java/JSP/JDBC, I need all the help I can get!
    Here's the problem...
    I'm using a prepared statement in JSP to query a MySQL database.
    If there is a value to return, everything works properly.
    If the query returns a NULL (empty set) value, I get the following error:
    javax.servlet.ServletException: Before start of result set
    Here's the code (no negative comments please...I know I'm violating some conventions! I'll restructure it later. Right now I just need help with handling the NULL case):
    <%
    Driver DriverAppt = (Driver)Class.forName(MM_test_DRIVER).newInstance();
    Connection ConnAppt = DriverManager.getConnection(MM_test_STRING,MM_test_USERNAME,MM_test_PASSWORD);PreparedStatement StatementAppt = ConnAppt.prepareStatement("SELECT lastname FROM appts_pid1 WHERE user_id = " + Recordset1__MMColParam + " AND year = " + yy + " AND month = '" + months[mm] + "' AND date = " + dates[dd] + " AND appttime = '16:15:00'");
    ResultSet Appt = StatementAppt.executeQuery();
    boolean Appt_isEmpty = !Appt.first();
    boolean Appt_hasData = !Appt_isEmpty;
    Object Appt_data;
    int Appt_numRows = 0;
    %>
    Thanks for the help!!!

    I think I have a better handle on what's occurring here. To cut to the heart of the problem, I'm going to give a very simple example that illustrates what type of error handling I need.
    HERE'S THE EXAMPLE:
    Let's say that I have a database of users. There are only two columns in the database: user_id and lastname. There are only 2 users, user_id "1" has lastname "Jones" and user_id "2" has lastname "Smith".
    I built a very simple web interface that let's a user enter a number to see if there's a lastname associated with that record. The user has no way of knowing if the user_id exists or not, so they may or may not enter a valid number.
    If the user enters a valid user_id (in this case "1" or "2"), then the correct lastname is displayed. If the user enters an invalid user_id (in this case, anything other than "1" or "2") then I get the same "Before start of result set" error that I'm getting in my real application.
    So, the question is: WHERE IN THIS CODE WOULD I HANDLE THE RETURN OF AN EMPTY SET?
    The goal here is to have the sentence say "The user's lastname is .", basically returning null. If there has to be a value, then have the last sentence say "The user's lastname is unknown."
    If you can solve this simple example, you'll have also solved the problem with my main application!!!! :-)
    Here's the example code:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ include file="Connections/example.jsp" %>
    <%
    String Recordset1__MMColParam = "1";
    if (request.getParameter("user_id") !=null) {Recordset1__MMColParam = (String)request.getParameter("user_id");}
    %>
    <%
    Driver DriverRecordset1 = (Driver)Class.forName(MM_example_DRIVER).newInstance();
    Connection ConnRecordset1 = DriverManager.getConnection(MM_example_STRING,MM_example_USERNAME,MM_example_PASSWORD);
    PreparedStatement StatementRecordset1 = ConnRecordset1.prepareStatement("SELECT * FROM test_table WHERE user_id = " + Recordset1__MMColParam + "");
    ResultSet Recordset1 = StatementRecordset1.executeQuery();
    boolean Recordset1_isEmpty = !Recordset1.next();
    boolean Recordset1_hasData = !Recordset1_isEmpty;
    Object Recordset1_data;
    int Recordset1_numRows = 0;
    %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <form action="test.jsp" method="get" enctype="application/x-www-form-urlencoded" name="form1" target="_self">
    <p> Submit a user id and a lastname will be displayed.</p>
    <p>
    <input type="text" name="user_id">
    <input type="submit" name="" value="Submit">
    </p>
    </form>
    <p>The User's lastname is <%=(((Recordset1_data = Recordset1.getObject("lastname"))==null || Recordset1.wasNull())?"":Recordset1_data)%>.</p>
    </body>
    </html>
    <%
    Recordset1.close();
    StatementRecordset1.close();
    ConnRecordset1.close();
    %>
    A huge "THANK YOU!!!!" to all those who've helped me here!!!

  • How to upload documents to DMS from web application externally

    We have a webdynpro based J2EE application. We want to create a SAP DMS ( KPRO ) document using this web application externally.
    Any inputs on this scenario ?
    I am able to create similar using an ABAP report which reads the client file and create the DMS document using BAPI_DOCUMENT_CREATE.
    How do we achieve this using external web application ..
    Please HELP in this.
    Thanks..

    Hi Divya,
    Good day...!
    A custom UI component will berrequired to upload the data from a Flat File into CRM WEBUI.
    The View in this UI Component can have 2 fields lets say u2013  ID and File to Upload and a button 'upload'.
    When the UPLOAD button is clicked , the event u2018ONFILEUPLOADu2019 is triggered.
    A Javascript function u2018fileUpload()u2019 reads the Excel file and formats the data in the form of a long string with Line Breaks corresponding to each row in the excel file. This string is stored in a Hidden HTML form element u2018Excel_Datau2019.
    In the Event Handler for u2018ONFILEUPLOADu2019, the hidden form element u2018EXCEL_DATAu2019 is read and retrived.
      lv_file_data = request->get_form_field( name = lv_excel_data ).
      me->lv_id = request->get_form_field( name = lv_schema_id ).

  • How read word document in form from server's filesystem?

    I want develope an application using client/server framework:
    In server's filesystem hold a variety of files,for example, .doc,.xls,.pdf,information about these files(for example,file type,file name,file summary) hold in a table,as well as file pointer hold in the table by BFILE datatype.How user open these file from client use client's program design by oracle forms?
    thanks for your help!
    my email :[email protected]

    TLF doesn't have a generic HTML importer. There is one that works with the html used by TextField. To use it, try something like this:
    var htmlString:String =  '<p>Paragraph here</p>';
    var textFlow:TextFlow = TextConverter.importToFlow(htmlString, TextConverter.TEXT_FIELD_HTML_FORMAT);
    - robin

  • How can assign the value returned from javascript to Hidden item

    Hi All,
    I have created a report with button in one column adding following code to SQL select statement like
    SELECT USER_RQST_ID, USER_RQST_DESC, RQST_DATE, STATUS, USER_ID, CNTRY_ID, KPI_LIST, YEAR_LIST, QTR_LIST, MONTH_LIST,
    PROD_LIST, FULL_PERIOD_FLG, GEN_DATE, '<input type=button value="view_list" onclick="javascript:doSubmit('||USER_RQST_ID||');">' button FROM KPI_USER_RQST;
    Then i have implemet doSubmit() function in Javascript like
    function doSubmit(req_id)
    html_GetElement('HIDDEN_ITEM')= req_id.value;
    Here HIDDEN_ITEM is the name of the item, I want to use that HIDDEN_ITEM value in PL/SQL block like...
    BEGIN
    INSERT INTO SAMPLE(KEY) VALUES(:HIDDEN_ITEM);
    END;
    But it is not working, Please help me anybody know the solution How to assign an item in javascript block function.
    Thanks,
    Neel

    Hello,
    doSubmit() is one of the built in javascript functions in apex and it's a bad idea to override it unless you know exactly what you are doing, and even then is a generally bad idea.
    change your function to this
    function mySubmit(pValue){
    $x('HIDDEN_ITEM').value = pValue;
    doSubmit();
    then your onclick will look like this notice the lack of the javascript: and the three ''' quotes to get the proper quotations for your value.
    onclick="mySubmit('''||USER_RQST_ID||''')"
    And there you go
    Carl

  • How to show all data returned from web service in a dashboard

    Hi I need  create a dashboard with conection with a web service  and  whitout  establish a range in excel,  so be displayed on the dashboard n rows returned by the web service.
    how can I do this?

    Hi Ezequiel,
    I agree with Alan.
    You might find it useful to read the Xcelsius 2008 Best Practices whitepaper: [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a084a11c-6564-2b10-79ac-cc1eb3f017ac]
    Regards,
    Matt

  • How to transfer documents to ipad2 from droid rzrm?

    Having trouble learning to transfer documents from droid rzr m to ipad2 can some one help new to the game of digital tech

    scarlettbama,
    Hi there!
    Thanks to the community for the outreach and support! 
    I believe you are trying to move music from your phone to your newly purchase MP3 Player, correct?  While you cannot directly tether your phone to an MP3 player to transfer songs, you can plug your phone into your computer and move the files there. Then, from the computer move to the MP3 player. All phones operate this way. Sounds like a lot of steps, but I assure you its easy once you've got the hang of it. 
    First, use the USB cable to plug your Droid X to your computers USB port. Now that it's plugged in, drag down the notification bar from the top of the screen and tap "USB Connection". Choose 'USB Mass Storage", tap 'OK'. Once you've done that, your computer will begin to respond and download drivers, etc (this is typically a one-time process). Please wait to do anything until you get a message on the computer that drivers were downloaded successfully. 
    The rest of the time, you'll focus on the computer. Depending on your PC system, you will go to the Start menu and click 'Computer' or 'My Computer'. Once that window opens you'll see something like 'Removable Disk/Drive' or a Motorola drive. You'll see all the files in your SD card from the new window that opens. Find the file where your music is located, which the file is usually named for the app you downloaded it from (ie: Amazon MP3). Once you've located your music files you can drag and drop them using the mouse into a file into your computer. I recommend 'My Documents' or ' My Music', both should be pre-loaded folders on your computer.
    Now that the music is on the computer, you can transfer it into your MP3 player per Sony's user manual.
    Here is a link to the support page for the Droid X, including the user guide, emulator and awesome support pages!
    Have a great day!

  • How to delete documents and data from your iphone

    iphone 5s has a lot of things listed in "documents and data" section- and in the "other" section of itunes when updating phone- is there a way to know what is on there so i can delete it?  itunes does not give more information...

    These are 2 different things and have to be address 2 different ways.
    The other, that shows up in iTunes on the bar is memory the device is not recovering, for what every reason.
      To reclaim that you need to wipe the iPhone and setup as new.
    The Documents and Data in the iCloud storage.
      Tap the Doc or data type
      then swipe right to left on the data and press delete

  • Newbie Question: How to cast object that returns from objectAtIndex?

    If I have an array of custom objects, I want to do something like
    [myArray objectAtIndex:indexPath.row].myCustomData = ...;
    But the only way I get it to work is if I do
    MyCustomObject *tempObject = [myArray objectAtIndex:indexPath.row];
    tempObject.myCustomData = ...;
    What is the right way to do this?
    Thanks,
    Brian

    Have you tried with parenthesis ? or at least with the brackets ?
    I am not on my mac, I can't test it...
    ([myArray objectAtIndex:indexPath.row]).myCustomData = X;
    By the way, you can wrap your code between {code} to have it nicely displayed on the forum.
    Barth

Maybe you are looking for

  • Can i upgrade my cpu or gpu in my Pavilion 15 laptop?

    So my Processer is a AMD a10 5750m apu with Radeon HD Grapics. 2.50 ghz 64 bit operating system I want to upgrade to a i7 intel processer if i can... please help!

  • Bluetooth driver problem  on windows 7 64 bit

    I am getting an error code 28 when trying to sync new iphone using bluetooth connection. Problem say driver does not install. I can't find correct driver and no CD came with the iphone. Iphone connects to itunes with no problem when using provided us

  • Oracle upgrade from 10.1.0.4 to 10.2.0.3

    Hi, OS:RHEL3 We are in process of moving database to other machine (same name, same config) and upgrading db from 10.1.0.4 to 10.2.0.3. We forgot to copy home. Can we start db from 10.2.0.3 and invoke dbua for upgrade? or do i need to install 10.1.0.

  • My iTunes wont sync from my phone to my new laptop.

    I purchased a new macbook pro but my iPhone 5s won't allow me to copy over all my music. Purchased items will copy and i can access my music when its plugged in through the on this phone tab, yet i can't copy it over entirely to my laptop. Also i hav

  • Locked layer cursor appears when no layers are locked

    When I open Illustrator and create a new artboard, I cannot edit or interact with the artboard.  No matter what tool I select, the cursor indicates that the artboard/layer is not editable but the layer is definitely not locked. Illustrator CS6 Window