Cffridcolumn numberformat comma issue

Hi,
I'm using cfgrid cfgridcolumn to display data on a page.  Somehow the following code does not show the comma.  Cfgrid is in html format.
<cfgridcolumn name="InletFlueGasFlow_acfm" numberformat="9,999,999" header="Inlet Flue Gas Flow ACFM">
tried also with type
<cfgridcolumn name="InletFlueGasFlow_acfm"   type="numeric" numberformat="9,999,999" header="Inlet Flue Gas Flow ACFM">
What is a valid numberformat?  The Adobe documentation for cfgridcolumn says numberformat="format"
9 Optional digit placeholder. Same as _ but shows decimal places more clearly.
, Separates thousands with commas.
Any idea why my comma not showing?
Thanks.

Is the data coming from a query? Is the query field numeric or a string of some kind? For example, although its number it could be stored in a varchar datatype which cfgrid might not see as numeric and not apply the format to.

Similar Messages

  • JMS - UserTransaction - Commit issue

    Introduction
    I am moving from WebSphere to Weblogic and have counterd an UserTransaction commit issue.
    The code have not been modified, however the logic in Weblogic and Websphere behaves different.
    The messagingsystem is Websphere MQ, in Weblogic I have QCF, destinations, host and port etc. in a .bindings file, and I have configured JMS server and JMS modules with corresponding jndi names.
    I have verified that this configuration is correct throug a custom develop testtool deployed in WL, message is sent successfully to MQ.
    The problem - description
    However in my application i'm using UserTransaction and this is not working as expected.
    I have two classes that communicate with MQ (AbcDAO.java and QueueBroker.java) AbcDAO.java creates a UserTransaction and communicates with Queuebroker throug a method called "SendToAutoS" this method retrives the corrilationId (for the message sendt to MQ) from Queuebroker.
    The SendMessage method creates qcf, queueconnection, queue etc and sends the message to MQ. When i debug this steps (line:queueSender.send(theMessage) I can verify in MQ that a message count is registerted in mq on the correct queue, but it's not shown (since its not commited). However when performing finalize in Queuebroker, which close both session and connection, the messagecount is gone in MQ, and when returing to AbcDAO.java to perform ut.commit(); there is not any message on Queue.
    For me it looks like the message is rolledback when session and connection closes.
    Actions tried
    If I change this line QueueBroker , transacted to false witch i understand sends message without the need to commit:
    boolean transacted = false;
    queueSession = queueConnection.createQueueSession(transacted, QueueSession.AUTO_ACKNOWLEDGE);
    the message is sendt successfully to MQ. However now either commit or rollback on the UserTransaction is working with transacted=false.
    I need the commit and rollback to be done on the UserTransaction for my application.
    Anyone have an idea why this is not working?
    The files - content
    AbcDAO.java - that creates a usertransaction
    ut = ServiceLocator.getInstance().getUserTransaction();
    ut.begin();
    msgCorId = sendToAutoS(userVO, messageSend, transactionQeueSend, transactionQeueFactory);
    ut.commit();
    //SendToAutoS - that calls the Queuebroker method - sendMessage
    private String sendToAutoS(UserVO userVO, String message, String transactionQueue, String transactionQueueFactory) throws DaoException {
    try {
    log.debug("..");
    return QueueBroker.getInstance().sendMessage(message, transactionQueue, transactionQueueFactory);
    } catch (BrokerException be) {
    log.error("BrokerException", be);
    QueueBroker.java - that sends the message to MQ
    public String sendMessage(String message, String transactionQueue, String transactionQueueFactory) throws BrokerException {
    try {
    // Get service locator
    ServiceLocator sl = ServiceLocator.getInstance();
    // Create QueueConnectionFactory with help form service locator
    queueConnectionFactory = (QueueConnectionFactory) sl.getQueueConnectionFactory(transactionQueueFactory);
    // Create QueueConnection
    queueConnection = queueConnectionFactory.createQueueConnection();
    // Create QueueSession, transacted - client has to commit !
    boolean transacted = true;
    queueSession = queueConnection.createQueueSession(transacted, QueueSession.AUTO_ACKNOWLEDGE);
    // Create queue with help from service locator
    queue = (Queue) sl.getQueue(transactionQueue);
    // Create QueueSender
    queueSender = queueSession.createSender(queue);
    // Create message and sent it
    Message theMessage = null;
    theMessage = queueSession.createTextMessage(message);
    // Log time
    long time = System.currentTimeMillis();
    // Set log time on message
    theMessage.setJMSTimestamp(time);
    // Send
    queueSender.send(theMessage);
    queueSender.close();
    // Return unique messageID for message just been sent
    return theMessage.getJMSMessageID();
    } catch (JMSException je) {
    BrokerException ex = new BrokerException();
    ex.setMessageKey("requisition.jms.broker.queue");
    Object[] o = {"SEND", "String to Autosys = " + message};
    ex.setMessageArgs(o);
    ex.setRootCause(je);
    throw ex;
    } catch (ServiceLocatorException e) {
    BrokerException ex = new BrokerException();
    ex.setMessageKey(e.getMessageKey());
    ex.setMessageArgs(e.getMessageArgs());
    ex.setRootCause(e.getRootCause());
    throw ex;
    } finally {
    // Clean up - close connection and session if exist
    if (queueConnection != null) {
    finalize();
    * Finalize queue handling
    * @throws BrokerException e
    protected void finalize() throws BrokerException {
    try {
    // Close connections
    queueSession.close();
    queueConnection.close();
    } catch (JMSException je) {
    BrokerException ex = new BrokerException();
    ex.setMessageKey("requisition.jms.broker.queue");
    Object[] o = {"FINALIZE", "Close connections" };
    ex.setMessageArgs(o);
    ex.setRootCause(je);
    throw ex;
    Edited by: reZer on 14.sep.2011 13:05
    Edited by: reZer on 14.sep.2011 13:06

    I know you are trying to send a JMS message, but just because this is true the generic JMS forum is not automatically the place you should ask questions like this. Your real beef is with the container you are using (Weblogic), UserTransaction and persistent JMS messages in combination with the specific JMS provider you are using.
    You will have far more chance to get help with this problem if you ask it in the Weblogic forum which you can also find on this very website. If you make a new post, be sure to create a link to it here so people can follow it.
    https://forums.oracle.com/forums/category.jspa?categoryID=193
    And perhaps more specific:
    WebLogic Server - JMS

  • SAP FS-CD - VPVA Partial commit issue

    When we are running VPVA with start current run, dunning will be escalated and the same will be viewed in VYM10 transaction for the dunning history. Also we can view the current dunning level in FPL9 transaction by choosing the below menu
    FPL9->SETTING->ADDITIONAL FIELD->SHOW->OK. 
    Here the issue is, after running VPVA with start current run we are able to view only in VYM10 but its not getting reflected in FPL9 addtional items. Still the dunning level shows as 00.
    How to avoid this partial commit issue. FS-CD Experts please advise on this.

    If FSCD items contain multiple business areas, then there is a possibility that the business area in FI might get populated with a blank space.
    If this issue is occurring with all the posting to FI where the BSEG table ( where as in case of new GL, RBUSA in table FAGLFLEXT for total and FAGLFLEXA for item) is not getting populated with business area then there might be some reconciliation issues depending upon the GL (new or old) used. If you are using new GL, you might have to check if document splitting functionality is activated in new GL (mySAPERP which is ECC 6.00 and pack SAPKH6001 and above) and will have to maintain the Business Area as a splitting rule. Additionally refer to note 990612 & check FM FI_DOCUMENT_POST.

  • Application hanging after commit issued, how to tell why?

    Hi All,
    We're using adf bc, jsp's and jdev 10.1.2.
    The scenario is this.. I have 2 views based on the same entity(called Milk). One view is the control view Milk i.e. straightforward select, no where clause. The other one is based on a join with another entity (Area), which uses where clause parameters to output a row of Milk for every entry on the Area entity. So basically for every area there is, a milk row will be output even if that row does not exist on the milk table.
    So my problem was when the user edited and saved a row which didn't actually exist on the database, the program would hang. Editing of rows that do exist pose no problem at all. So then I thought maybe I should create these rows first so that they would physically exist on the database before the edit. Still to no avail..
    If it's just one row created or many rows, once the commit is issued, the application hangs. I've debugged it and nothing happens once it executes the commit line, there are no error messages, it just never progresses past this line.
    I've tested with the App Module tester and I can create rows here fine. Obvisouly something is wrong or it wouldn't be happening. How can I tell why it's hanging? Or can anyone suggest what I can do. It is extremely crucial that I fix this soon so I would really appreciate any help that anyone can give me.
    Thanks in advance,
    Liz.

    Maybe you should look into
    /var/log/messages.log
    /var/log/daemon.log
    /var/log/kernel.log
    /var/log/Xorg.0.log will be overridden, afaik.
    Last edited by MadTux (2009-11-19 18:50:04)

  • Error while passing date parameters in procedure and commit issue

    Hi
    1) I am doing a archiveing records and pls find my code below and i have couple of issue,pls find my code and want to ensure the commit is happening every 100000 rows inserted but i am archeiving a huge table but when i checks the table frequently it shows 0 records and after it shows count the actual rows around 20 million records.How can i ensure it commiting on every 100000 records. pls find my code my db version is 10g on windows
    CREATE OR REPLACE PROCEDURE doins as
    cnt number:=0;
    FOR x IN (select * from Call_log
    where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY'))
    LOOP
    INSERT INTO call_arch
    select * from Call_log
    where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY');
    cnt := cnt + 1;
    IF( cnt = 10000 )
    THEN
    cnt := 0;
    commit;
    END IF;
    commit;
    END LOOP;
    2) Error while passing date as parameter i am getting following errors while passing date parameter pls find my code and errors
    CREATE OR REPLACE PROCEDURE doins(p_date date) as
    cnt number:=0;
    begin
    FOR x IN (select * from Call_log
    where trunc(c_date) = to_char(p_date,'DD-MON-YYYY'))
    LOOP
    INSERT INTO call_arch
    select * from Call_log
    where trunc(c_date) = to_char(p_date,'DD-MON-YYYY');
    cnt := cnt + 1;
    IF( cnt = 10000 )
    THEN
    cnt := 0;
    commit;
    END IF;
    commit;
    END LOOP;
    end;
    exec doins(11-Aug-2008) then gives
    SQL> exec doins(11-Aug-2008);
    BEGIN doins(11-Aug-2008); END;
    ERROR at line 1:
    ORA-06550: line 1, column 16:
    PLS-00201: identifier 'AUG' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    if i gave exec doins(11-08-2008) it gaves
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'DOINS'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    rgds
    rosh

    CREATE OR REPLACE PROCEDURE doins(p_date varchar2) as
    cnt number:=0;
    begin
    FOR x IN (select A.rowid,A.* from Call_log A
    where trunc(c_date) = to_date(p_date,'DD-MON-YYYY'))
    --hope that's c_date columne is   DATE datatype
    LOOP
    INSERT INTO call_arch
    select * from Call_log
    where rowid=x.rowid;
    cnt := cnt + 1;
    IF( cnt = 10000 )
    THEN
    cnt := 0;
    commit;
    END IF;
    commit;
    END LOOP;
    end;
    thats your correct procedure - but NOT CORRECT ISSUE.
    You should use bulk collect with limit clause and forall clause to do it faster!!! Or Merge clause.

  • JDev 9.0.3.3 Commit issue when using Transaction DataSource

    Hi,
    Env: JDev 9.0.3.3/WL 6.0 sp1/Oracle 8i
    We have successfully deployed our application in 3-tier(remote mode) in JDev 9.0.3.2. using JClient, EO/VO, EJB Session Facade (BMT).
    Now we are planning to use JDev 9.0.3.3
    In JDev 9033 with the same code base we have issues after Commit.
    We are using ejb.txn.type=global (default) and Weblogic Transactional DataSource. It gives following error after Committing and when we navigate to some other row:
    =====================================================
    [690] BaseSQLBuilder Executing DML ... (Update)
    [691] Executing DML...
    [692] UPDATE CISDBA.DCX_X_SAVED_SEARCH SavedSearch SET DCX_MODEL_YEAR=?,DCX_USAGE_VEHICLE_FAMILY=?,DCX_END_ITEMS=?,DCX_RECORD_STATUS=? WHERE DCX_ID=?
    [693] cStmt = conn.prepareCall(" UPDATE CISDBA.DCX_X_SAVED_SEARCH SavedSearch SET DCX_MODEL_YEAR=?,DCX_USAGE_VEHICLE_FAMILY=?,DCX_END_ITEMS=?,DCX_RECORD_STATUS=? WHERE DCX_ID=?"); // JBO-JDBC-INTERACT
    [694] cStmt.setObject(1, "2004"); /*DcxModelYear*/ // JBO-JDBC-INTERACT
    [695] cStmt.setObject(2, "LX"); /*DcxUsageVehicleFamily*/ // JBO-JDBC-INTERACT
    [696] cStmt.setObject(3, "All"); /*DcxEndItems*/ // JBO-JDBC-INTERACT
    [697] cStmt.setObject(4, "All"); /*DcxRecordStatus*/ // JBO-JDBC-INTERACT
    [698] // ERROR: Unknown data type java.lang.Long // JBO-JDBC-INTERACT
    [699] cStmt.setObject(5, "206"); /*DcxId*/ // JBO-JDBC-INTERACT
    [700] cStmt.execute(); // JBO-JDBC-INTERACT
    [701] cStmt.close(); // JBO-JDBC-INTERACT
    BaseCostInvestCost VO before postChanges...
    this.getWhereClause(): null
    isDirty() before executeQuery...
    this.getWhereClause(): null
    isDirty() after executeQuery...
    BaseCostInvestCost VO before postChanges...
    this.getWhereClause(): null
    isDirty() before executeQuery...
    this.getWhereClause(): null
    isDirty() after executeQuery...
    [702] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [703] BaseSQLBuilder: setSavepoint 'BO_SP' ignored
    BaseCostInvestCost VO before postChanges...
    this.getWhereClause(): null
    isDirty() before executeQuery...
    this.getWhereClause(): null
    isDirty() after executeQuery...
    BaseCostInvestCost VO before postChanges...
    this.getWhereClause(): null
    isDirty() before executeQuery...
    this.getWhereClause(): null
    isDirty() after executeQuery...
    [704] BaseSQLBuilder: releaseSavepoint 'BO_SP' ignored
    [705] EJBTxnHandler: Commited txn
    [706] BaseCostInvestCostView2 notify COMMIT ...
    [707] BaseCostInvestCostView1 notify COMMIT ...
    [708] StdCostView1 notify COMMIT ...
    [709] AltCostView1 notify COMMIT ...
    [710] PaperCarView1 notify COMMIT ...
    [711] InvestCostItemView1 notify COMMIT ...
    [712] SavedSearchView1 notify COMMIT ...
    [713] AltCostView1_BaseInvestToAltViewLink_AltCostView notify COMMIT ...
    [714] InvestCostItemView1_BaseInvestToInvestItemViewLink_InvestCostItemView notify COMMIT ...
    [715] PaperCarView_BaseCostTrackedVehicleViewLink_PaperCarView notify COMMIT ...
    [716] VehicleProgramLOV1 notify COMMIT ...
    [717] SubDeptLOV1 notify COMMIT ...
    [718] Transaction timeout set to 28800 secs
    [719] Column count: 14
    [720] ViewObject : Reusing defined prepared Statement
    [721] QueryCollection.executeQuery failed...
    [722] java.sql.SQLException: The transaction is no longer active (status = Committed). No further JDBC access is allowed within this transaction.
         void weblogic.jdbcbase.jts.Connection.checkIfRolledBack()
              Connection.java:468
         void weblogic.jdbcbase.jts.Statement.setMaxRows(int)
              Statement.java:179
         void weblogic.jdbc.rmi.internal.StatementImpl.setMaxRows(int)
              StatementImpl.java:82
         void weblogic.jdbc.rmi.SerialStatement.setMaxRows(int)
              SerialStatement.java:132
         void oracle.jbo.server.QueryCollection.executeQuery(java.lang.Object[], int)
              QueryCollection.java:534
         void
    ===================================================

    Hi Carsten,
    I tried to reproduce your problem, but couldn't. Let me explain what steps I executed and perhaps you can advise where I've not matched your steps.
    --Using build jdeveloper 9.0.3.3.1203, I built a new bc4j project containing a dept-emp default bc4j project (deptEntity, empEntity, deptView, empView, deptempFKAssoc, deptempFKViewLink, ApplicationModule).
    --In dos shell, I went to the directory \jdevdir\jdev\bin and ran setvars -go to set the correct jdk version
    --In the dos shell, in the directory \jdevdir\j2ee\home I executed the following command to install oc4j:
    java -jar oc4j.jar (defaults pswd to welcome for admin)
    --I remoted the appmodule to EJB Session Bean (BMT) and created a new deployment profile using the 9ias configuration for the application module.
    --I deployed the bc4j objects to oc4j
    --I created a new project
    --In this project I created a new jclient master-detail form using the above project's application module for the data model
    --I saved all and compiled the jclient project
    --I ran the jclient form and inserted a master record
    --I committed the transaction successfully
    --I browsed records, then edited a record
    --I committed the transaction successfully, then browsed.
    Is there something I've missed? Did you migrate your project and not start by creating a new project? Is there something special about the database schema you are using?
    Thanks,
    Amy

  • Stateless Release mode and the Commit issue

    What are the implications of setting all the application modules to Stateless Release mode rather than Stateful?
    I’ve read the documentation about this, but I need hands on expert’s opinions
    Specially for a Web Application that a lot of public users will use?
    We have an issue of the way commit work, if we edit a page and then navigate without saving to another page and then save at this second page, the commit will save all changes that have been done in both pages, even of the two pages are bound to two different VOs and two different Application modules, it is really strange, it seems that I need to know that the user is leaving the page so I can rollback, I do not understand this default behavior of ADF/BC ..
    Any work around? Any opinions?

    Hi,
    the behavior is correct as it commits all pending changes. The release mode tells ADF BC how the application module is released to the pool if no longer needed by the user session. If release mode is stateful then the state of the current AM is passivated so it can be recovered. This has nothing to do with the page to page navigation.
    If you want to undo changes performed on a page when navigation off the page, you call refresh(Row.DB_ROW...) on the current row
    Frank

  • NumberFormat pattern issue

    Hi,
    I have to format the number in "##,##,##,###" pattern. I have coded the following code to apply the pattern. Bellow code giving the output as 123,456,789
    As per the applied format output should be 12,34,56,789.
    Please help me to resolve the issue.
            NumberFormat nf = NumberFormat.getNumberInstance();
            DecimalFormat df = (DecimalFormat)nf;
            df.applyPattern("##,##,##,###");
            String output = df.format(123456789);

    There's no "workaround" because this is not a bug. There's nothing that needs to be worked around. It's simply a problem you wish to solve that doesn't have a direct solution already implemented in the core API. So you write a method that implements the same logic you'd use to do it by hand, just like you would for any other such problem.

  • IChat for inter office comm. issues with seeing any other buddies on the sa

    Hello Apple Forums!
    I have a question regarding my ichat service running on a 10.6.2 machine (x-serve)
    I had 1 user today that I set up on our ichat, and when I added her, logged in to the server, however no buddy list. My experience with all other users is when they are added, they immediately see all the other users who are logged in. Im not sure how to resolve this. I know have to add buddies to all the internal employees in order for them to see her. Can someone please tell me what I am doing wrong?
    Please let me know what other information you need.
    Thanks,
    Originally posted in wrong 10.5 forum, reposting responses here:
    tibor.moldovan
    If the service is running OK for the other users, it is possible that that user's iChat program needs to have its preferences cleared.
    username/Library/Preferences/com.apple.iChat...
    and then set up that iChat account again.
    If you try to set up a test account does the same thing happen?
    Tim Harris
    Hello,
    This is the iChat 10.5 server forum. There is a 10.6 forum which is perhaps a better place to post your question.
    I know have to add buddies to all the internal employees in order for them to see her. Can someone please tell me what I am doing wrong?
    Are you saying you HAVE added them, and none show?
    And finally my response to the above 2 Q's:
    cpguru21
    tibor.moldovan:
    I have researched this issue for a while now. I have cleared all the local preferences on the end users machine. I have not set up a test user, however I will. All other clients I have added recently, the entire "workgroup" (everyone part of the same workgroup) show up. Come to think of it, this particular user is in more than one workgroup. Hmmm. Maybe this is related to what is going on? If the "workgroup" group is not primary, then she wouldn't necessarily see everyone else?
    Tim:
    Adding (or sending buddy requests) to the other users in the ichat server (this is a local ichat for interoffice comm only) when accepted, those "added" buddies show up fine and can communicate.

    Thanks for reply Tim.
    The "issue" may not be an issue. the issue may be my understanding of workgroups and how they come into play for iChat.
    My initial problem/issue:
    when I added a particular user to ichat, from our internal jabber (ichat) server, the account added fine, however there were no other users in the list.
    all other users that I added:
    when adding to our internal ichat server, all of the other users showed up.
    The difference between the users that had everyone show up and the one that had no other users show up:
    all users are part of workgroup "workgroup". The user I added that had no "buddies" in her ichat list, was also part of a 2 other groups "workgroup", "fin", and "acctpay".
    So i guess my question is, how can I make the user with no buddies, show all the other users on the ichat server?
    thanks!

  • UIX Commit Issues

    I am following the Creating UIX Browse and Insert Forms tutorial ( in the JDeveloper 10g Help), and when I finish it, my commit buttons do not seem to work. If I go to my browse page after doing a commit, the item is there, but if the browser session is ended, the item is gone. I essentially have everything set up like the tutorial says, but it doesnt work correctly.
    So, the commit is not actually happening. Any ideas what the issue is?

    I followed the Tutorial as listed above, and went through it exactly, IE:
    I created
    (DataPage) /browserPage
    (DataPage) /createEmpPage
    (DataAction) /cancelAction
    (DataAction) /createEmpAction
    Page Links go from /createEmpPage to /cancelAction, from /browserPage to /createEmpAction and from /createEmpPage to /browserPage. Page forwards go from /cancelAction to /browserPage(success) and /createEmpAction to /createEmpPage(success) and /createEmpPage to /browserPage (empPage)
    /createEmpAction has a create action attached to it for the table in question.
    there have been rollback and commit actions dragged as buttons onto createEmpPage, but the commit does not work. Rollback does. The commit button simply adds it to what appears to be the current transaction, but the current transaction doesnt get commited.

  • Parameter Passing w/Comma Issue in APEX 4.1

    So I developed and manage a hosted APEX app that was working fine, except there is now a feature since the hosting company upgraded to 4.1.
    I have a button on a page (lets call this page 1), that links to another page (lets call this page 2) and passes a parameter. Unfortunately, the value for this parameter has a "comma" in it, so I used the following technique when passing:
    set these items: P2_NAME
    With these values: *\*&P1_NAME.*\*
    Note the use of the back slash *\* before and after.
    This worked fine in 4.0, but doesn't seem to be working in 4.1
    When I look at the "resolved" URL at run time it appears to be substituting *%255C* instead of the slashes.
    Has anyone else noticed this issue? Do you have a solution?
    Thanks in advance!
    Paul

    Hi Paul,
    can you provide an example on apex.oracle.com where you can reproduce your problem? I tried but was only able to reproduce that the URL is escaped to
    /apex/f?p=887:2:745085782624400::NO::P2_DEPTNO:%5C10%5Cwhich isn't a problem because that will correctly be converted back to
    /apex/f?p=887:2:745085782624400::NO::P2_DEPTNO:\10\by the web server.
    In your case it appears that a double escaping takes place where the % of the above URL is escaped another time to %25. That's why the web server doesn't convert back the URL to the \ sign.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • ABAP Proxy and commit issue

    Hi,
    I want to send data using an ABAP proxy from SAP ECC to PI.
    The location where I call the method is in MV50AFZ1 Form uxerexit_delete_document
    In my opinion it is not wise to execute a commit work statement in this location. The proxy however needs a commit work to send the data.
    I also tried using a CALL FUNCTION ... IN UPDATE TASK. This also doesn't trigger the proxy to send the data.
    (and it is not allowed te execute a commit in update task .. .because it's already a "commit".
    Is there a way to get this thing working in this way? Or do you always have to program a separate program for sending the data with a proxy??
    Thanks
    Ron

    Hi Ron,
    Try submitting a report as a background job from the user exit...and inside this report you can write the code to call the proxy + commit.
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
    ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
    host like msxxlist-host.
    data: begin of starttime.
    include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
    call function 'JOB_OPEN'
    exporting
    delanfrep = ' '
    jobgroup = ' '
    jobname = jobname
    sdlstrtdt = sy-datum
    sdlstrttm = sy-uzeit
    importing
    jobcount = jobcount
    exceptions
    cant_create_job = 01
    invalid_job_data = 02
    jobname_missing = 03.
    if sy-subrc ne 0.
    "error processing
    endif.
    Insert process into job
    SUBMIT zreport and return
    with p_param1 = 'value'
    with p_param2 = 'value'
    user sy-uname
    via job jobname
    number jobcount.
    if sy-subrc > 0.
    "error processing
    endif.
    Close job
    starttime-sdlstrtdt = sy-datum + 1.
    starttime-sdlstrttm = '220000'.
    call function 'JOB_CLOSE'
    exporting
    event_id = starttime-eventid
    event_param = starttime-eventparm
    event_periodic = starttime-periodic
    jobcount = jobcount
    jobname = jobname
    laststrtdt = starttime-laststrtdt
    laststrttm = starttime-laststrttm
    prddays = 1
    prdhours = 0
    prdmins = 0
    prdmonths = 0
    prdweeks = 0
    sdlstrtdt = starttime-sdlstrtdt
    sdlstrttm = starttime-sdlstrttm
    strtimmed = starttimeimmediate
    targetsystem = host
    exceptions
    cant_start_immediate = 01
    invalid_startdate = 02
    jobname_missing = 03
    job_close_failed = 04
    job_nosteps = 05
    job_notex = 06
    lock_failed = 07
    others = 99.
    if sy-subrc eq 0.
    "error processing
    endif.

  • Distributed Document Capture and UCM commit issue: 302 Moved Temporarily

    I am installing and configuring Oracle Document Capture and Oracle Distributed Document Capture to commit documents to Oracle UCM.
    I am unable to commit documents to UCM because of the following error: "302 Moved Temporarily". What can be wrong with my configuration?
    Error log from the ODDC:
    Wed Dec 15 10:20:14 CET 2010 INFO Document file name is D:\oracle\Document Capture\Batches\001\00000001\00000001_1.
    Wed Dec 15 10:20:14 CET 2010 INFO Begin Check In Process.
    Wed Dec 15 10:20:14 CET 2010 INFO Idc service = CHECKIN_UNIVERSAL.
    Wed Dec 15 10:20:14 CET 2010 INFO Parsing xml to obtain fields data.
    Wed Dec 15 10:20:14 CET 2010 INFO dDocTitle: oddc.
    Wed Dec 15 10:20:14 CET 2010 INFO dDocType: Application.
    Wed Dec 15 10:20:14 CET 2010 INFO Field DocAuthor: weblogic.
    Wed Dec 15 10:20:14 CET 2010 INFO dSecurityGroup: Public.
    Wed Dec 15 10:20:14 CET 2010 INFO dDocAuthor: weblogic.
    Wed Dec 15 10:20:14 CET 2010 INFO dDocAccount: .
    Wed Dec 15 10:20:14 CET 2010 INFO primaryFile: D:\oracle\Document Capture\Batches\001\00000001\00000001.1.
    Wed Dec 15 10:20:15 CET 2010 SEVERE Failed to check in document. Exception: {0}. Error is: oracle.stellent.ridc.protocol.http.HttpProtocolException: HTTP/1.1 302 Moved Temporarily
         at oracle.stellent.ridc.protocol.http.IdcHttpProtocol.writeRequest(IdcHttpProtocol.java:171)
         at oracle.stellent.ridc.IdcClient.sendRequest(IdcClient.java:140)
         at com.oracle.capture.UCM11g.Driver.checkIn(Driver.java:192)
         at com.oracle.capture.UCM11g.ComDriver.checkIn(ComDriver.java:42)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.jniwrapper.win32.com.server.IDispatchServer.invoke(SourceFile:209)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.jniwrapper.win32.com.server.CoInterfaceVTBL$VirtualMethodCallback.b(SourceFile:232)
         at com.jniwrapper.win32.com.server.CoInterfaceVTBL$VirtualMethodCallback.callback(SourceFile:135)
         at com.jniwrapper.Callback.enterPoint(SourceFile:222)
         at com.jniwrapper.Function.invokeCFunc(Native Method)
         at com.jniwrapper.FunctionCall.a(SourceFile:126)
         at com.jniwrapper.FunctionCall.call(SourceFile:34)
         at com.jniwrapper.Function.invoke(SourceFile:188)
         at com.jniwrapper.Function.invoke(SourceFile:212)
         at com.jniwrapper.win32.MessageLoopThread$LoopThread.run(MessageLoopThread.java:489)
    Error log from the WLS - UCM_server1:
    ####<2010-12-15 10:23:52 CET> <Info> <ServletContext-> <???> <UCM_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <8857620d73b0a621:-7e6d4fca:12ce951b643:-7ffd-0000000000000045> <1292405032703> <BEA-000000> <Failed access to redirected secure URL>
    I am using Oracle Distributed Document Capture Release 10gR3 and Content Server 11g Release 1.
    I configured the Oracle UCM 11g Commit Driver:
    user: my_user, password: my_password, Server URL: http://localhost:16200/cs
    When I am trying to commit a batch I am getting the following response:
    HTTP/1.1 200 OK
    Cache-Control: no-cache
    Date: Wed, 15 Dec 2010 09:33:06 GMT
    Content-Length: 664
    Content-Type: text/plain; charset=utf-8
    Set-Cookie: IDCCS_SESSIONID=yycVNLLSL1hJ3P2mQkQrjss7XLZY23r8vFbt2n4wTj7VJ2c9xQ01!-1355344816; path=/; HttpOnly
    X-ORACLE-DMS-ECID: 0000IndO3b39_aW5Pzw0yd1D28UE00000t
    X-Powered-By: Servlet/2.5 JSP/2.1
    <?hda version="11gR1-11.1.1.3.0-idcprod1-100505T121221" jcharset=UTF8 encoding=utf-8?>
    @Properties LocalData
    IdcService=PING_SERVER
    ClientEncoding=UTF8
    UserTimeZone=UTC
    UserDateFormat=iso8601
    addAlert=1
    ActAsAnonymous=1
    dUser=anonymous
    blDateFormat=yyyy-MM-dd HH:mm:ssZ!tUTC!mAM,PM
    refreshSubjects=
    refreshMonikers=
    changedSubjects=
    refreshSubMonikers=
    blFieldTypes=StatusMessage message
    RedirectUrl=/cs/
    changedMonikers=
    idcToken=
    IsJava=1
    @end
    @ResultSet USER_ALERTS
    3
    alertId
    alertMsg
    alertUrl
    csWeblayout8dot3Error
    <$lcMessage('!csWeblayout8dot3Error')$>
    @end
    @ResultSet UserAttribInfo
    2
    dUserName
    AttributeInfo
    anonymous
    account,#none,15,role,guest,15
    @end
    HTTP/1.1 302 Moved Temporarily
    Date: Wed, 15 Dec 2010 09:33:06 GMT
    Transfer-Encoding: chunked
    Location: http://localhost:16200/cs/login/login.htm
    X-ORACLE-DMS-ECID: 0000IndO3c19_aW5Pzw0yd1D28UE00000u
    X-Powered-By: Servlet/2.5 JSP/2.1
    0113
    <html><head><title>302 Moved Temporarily</title></head>
    <body bgcolor="#FFFFFF">
    <p>This document you requested has moved temporarily.</p>
    <p>It's now at http://localhost:16200/cs/login/login.htm.</p>
    </body></html>
    0000
    The Request:
    POST /cs HTTP/1.1
    User-Agent: Java; Stellent CIS 11g
    IdcVersion: 11.1.1
    Host: 127.0.0.1:16200
    Content-Length: 124
    Content-Type: text/hda; charset=UTF-8
    IsJava=1
    <?hda jcharset=UTF-8?>
    @Properties LocalData
    IdcService=PING_SERVER
    UserTimeZone=UTC
    UserDateFormat=iso8601
    @end
    POST /cs HTTP/1.1
    User-Agent: Java; Stellent CIS 11g
    IdcVersion: 11.1.1
    Authorization: Basic d2VibG9naWM6d2VibG9naWMx
    Host: localhost:16200
    Cookie: $Version=0; IDCCS_SESSIONID=Z2ZpNLQbKchmg2tVB5fpQLL2pPphT4BFX18GJPbkqkxMxLVMhbLZ!-1355344816; $Path=/
    Content-Length: 28963
    Content-Type: multipart/form-data; boundary=67xMPN-krvICaGSzKNTkd02u8MLyarA
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="IsJava"
    Content-Type: text/plain; charset=US-ASCII
    1
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="ClientEncoding"
    Content-Type: text/plain; charset=US-ASCII
    UTF-8
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="IdcService"
    Content-Type: text/plain; charset=UTF-8
    CHECKIN_UNIVERSAL
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="UserTimeZone"
    Content-Type: text/plain; charset=UTF-8
    UTC
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="UserDateFormat"
    Content-Type: text/plain; charset=UTF-8
    iso8601
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="dSecurityGroup"
    Content-Type: text/plain; charset=UTF-8
    Public
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="dDocAccount"
    Content-Type: text/plain; charset=UTF-8
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="dDocAuthor"
    Content-Type: text/plain; charset=UTF-8
    weblogic
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="dDocType"
    Content-Type: text/plain; charset=UTF-8
    Application
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="dDocTitle"
    Content-Type: text/plain; charset=UTF-8
    oddc
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="DocAuthor"
    Content-Type: text/plain; charset=UTF-8
    weblogic
    --67xMPN-krvICaGSzKNTkd02u8MLyarA
    Content-Disposition: form-data; name="primaryFile"; filename="00000002.1"
    Content-Type: application/octet-stream; charset=ISO-8859-1
    ˙Ř˙ŕ<file content....>

    "302 Moved Temporarily" is a web server error (I googled it - see e.g. http://www.checkupdown.com/status/E302.html)
    Two recommendations that you can try:
    - do not use 'localhost' - use computer assigned name, or at worst IP address
    - in my system, Server URL is set to http://ecm-base:16200/cs/idcplg (from ODC). Try to modify yours accordingly.

  • Commit issue ?

    Hi,
    Version 10204.
    Please consider the following case.
    The application is inserting 58K rows into a table and commit and the end pf the process.
    In another session after insert complete i am running "select count(*) ... " against the populated table.
    Each time i am running the select count(*) i am getting increasing number of rows until i see all the 58K rows.
    Could one suggest a reason for such a case ?
    Thanks

    Hi,
    Please find that the commit parameters are the same in both instances:
    First DB:
    SQL> show parameter db_name
    NAME                                 TYPE                              VALUE
    db_name                              string                            qcrm
    SQL> show parameter commit
    NAME                                 TYPE                              VALUE
    commit_point_strength                integer                           1
    commit_write                         string
    max_commit_propagation_delay         integer                           0Second DB:
    SQL> show parameter db_name
    NAME_COL_PLUS_SHOW_PARAM       TYPE                           VALUE_COL_PLUS_SHOW_PARAM
    db_name                        string                         lcrm
    SQL> show parameter commit
    NAME_COL_PLUS_SHOW_PARAM       TYPE                           VALUE_COL_PLUS_SHOW_PARAM
    commit_point_strength          integer                        1
    commit_write                   string
    max_commit_propagation_delay   integer                        0Thanks

  • Commit issue in xi

    Hi,
         While executing a particular namespace in sproxy transaction I am getting a message as 'successfull with empty result,commit may be required'.
          But,in the code it says 'in asynchronous mode:no commit in proxy class,but from xi runtime'.
          The data is processed successfully but is not getting posted.
          Please help.
          Thanks in advance!
    Regards,
    Surekha.

    Actually,in the standard program the functions  'BAPI_TRANSACTION_COMMIT'  and 'DB_COMMIT' have been commented during upgradation and there is a comment saying 'no commit in proxy class but from XI runtime (precondition: no errors)'.
    what is the procedure for giving commit in XI runtime in asynchronou mode for a proxy interface?

Maybe you are looking for