Error using FND_RUN_FUNCTION.get_run_function_url   results in error

All --- we (two Sr. and me ) are trying figure out how to create a url using FND_RUN_FUNCTION.get_run_function_url . the below code is used. we get to the 2nd page w/ a link that is created with no problem (params passed, link created). when the link is clicked we are getting the error :
You are trying to access a page that is no longer active. - The referring page may have come from a previous session. Please select Home to proceed.
purpose : a intermediate page will come up if multiple doc numbers. the user will hit a button of which one they want. then a package will be called, params passed, and the results will be produced by creating a html string to get us to view the results. this works great if you enter a 1 number. now w/ multiples we need a link to be created and then pass the string back
eventually this will be the params used at all places p_out out varchar2 , rmode IN STRING, doc_type IN VARCHAR2 DEFAULT 'TEL', doc_id IN VARCHAR2 DEFAULT NULL, doc_num IN VARCHAR2 DEFAULT NULL
Also the package is being modified from htp.p 11i to html r12
So the question is 1) is this possible to create a link and pass it back to view, 2) if so what is causing the error, 3) any input, suggestions, examples would be great & helpful. the link will be created. it will then be given to the developer doing the pkg
//PKG
procedure my_test( p_out out varchar2 ) is my_string varchar2(500); lc_url varchar2(32767);
p1 varchar2(100) := null; p2 varchar2(100) := 'TEL'; p3 varchar2(100) := NULL; p4 varchar2(100) := '3524204';
begin
--testing my_string and they both work
--my_string := '<html><body><a href=http://www.foxnews.com>Fox News</a> </body></html> ';
-- my_string := '<html><body>my test </body></html> ';
lc_url:= FND_RUN_FUNCTION.get_run_function_url(p_function_id => 30027,
p_resp_appl_id => 201, --null,
p_resp_id => 54930, --null,
p_security_group_id => 0,
p_parameters => '&rmode='||p1||'&doctype='||p2||'&docid='||p3||'&docnum='||p4,
p_override_agent => null,
p_org_id => null,
p_lang_code => null,
p_encryptParameters => false); -- false
dbms_output.put_line(lc_url);
my_string := '<html><body><a href="||    lc_url     || ">my test</a> </body></html> '; // my test is a link to click on link created. but errors out.
lc_url := my_string;
p_out := lc_url ;
end my_test;
In MainCO ...... params passed via hashmap to second page where the work is done
//in AMImpl
public String my_test(String p_out /*, String rmode, String doc_abbr*/ ) // testing a link
CallableStatement st = null;
OADBTransaction txn = (OADBTransaction)getDBTransaction();
Connection conn = txn.getJdbcConnection();
String sql = " BEGIN scotts_test_proc_p.my_test(:1); END; "; //using for p_out param only
// String sql = " BEGIN scotts_test_proc_p.my_test(:1, :2, :3); END; "; eventually params to be passed here.
CallableStatement cs = txn.createCallableStatement(sql,1);
String ErrorExist = "";
String xxxx = "";
try
// cs.setString(1, rmode); // cs.setString(2, doc_abbr); //paramDOC_TYPE); // cs.registerOutParameter(3,Types.VARCHAR);
cs.registerOutParameter(1,Types.VARCHAR);
cs.execute();
xxxx = cs.getString(1 ) ;
cs.close();
catch (SQLException sqle)
try { cs.close(); }
catch (Exception e) {}
throw OAException.wrapperException(sqle);
return xxxx;
in CO on page 2
String p_out = null;
String paramdoc_abbr = null;
Serializable paramList [] = {p_out/*,paramRMODE, paramdoc_abbr*/   };
OAApplicationModule am1 = (OAApplicationModule)pageContext.getApplicationModule(webBean);
OADBTransaction dbtrans1;
Serializable paramABCD = "test";
paramABCD = am1.invokeMethod("my_test", paramList);
/* --- found this.... might be helpful
String sourceUrl="OA.jsp?OAFunc=WFUAB_DOC_LOCATOR_RESULTS";
WebAppsContext paramList2 = (WebAppsContext)((OADBTransactionImpl) pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext();
String secureUrl = URLTools.generateSecureURL ("my_test", paramList2);*/
OARawTextBean htmlResults = (OARawTextBean)webBean.findIndexedChildRecursive("htmlResults");
htmlResults.setValue(pageContext, paramABCD );
This error comes up You are trying to access a page that is no longer active.
- The referring page may have come from a previous session. Please select Home to proceed.
All Framework Pages should have a Function defined on the page when MAC Lite is enabled and the URL MAC Check fails.

I had a similar experience with formula Weeknum. I had the Dutch Excel version installed and used the Dutch version of the formula, it did not work same message. Then I tried the formula in English,  of course Excel could not execute it, BUT Xcelsius did work fine.
So I guess you have the Spanish Excel installed also, try both languages.

Similar Messages

  • Using Obvious library results in error in Awesome WM

    Hello,
    I'm trying to configure Awesome to have a battery meter.  Using Obvious seemed like the easiest route.  When I add even this one line to my rc.lua:
    require("obvious")
    I get this error when running Awesome:
    /usr/share/awesome/lib/obvious/lib/hooks/init.lua:31: attempt to call method 'connect_signal' (a nil value)
    And the rc.lua will not load.  Has anyone had any success when using Obvious?

    rthomas6 wrote:What do you use to set up Awesome?  Do you have a battery monitor?  I'm open to using anything.  I've only been using Awesome for about a week now.  I really love everything about it so far, but it's pretty hard to find good documentation on extensions and libraries for it.  It honestly seems a little disorganized.
    I only use vicious for widgets. And I've got a custom imagebox widget for my battery status. It's a fairly messy setup: it gets the battery data from a vicious widget, and then draws a rectangle on a simple battery icon. The color and size of the rectangle is dependent on the battery level.
    It's not an ideal setup. I mostly just did it to see if I could. I wouldn't necessarily recommend using it, but if you want you can see the code here. I'm still getting the hang of lua, myself.

  • Configuration validation resulted in error(s)

    Hi,
    I am facing a problem in configurator,we are using deferred booking workflow.When we are creating new orders with ATO/PTO items the standard BOOK Node in the workflow is getting completed with result Incomplete.
    The error message on sales order, which we can see from View all open messages, is saying as"Configurator validation resulted in error(s)".
    When we copy the above sales order which is failing with above error and create a new order, the new order is getting booked successfully.We are not changing anything in the copied order.
    Also the deferred workflow is not giving any issues when creating a sales order using the Standard item.The OM debug is also not suggesting anything related to this.
    Please let me know if anyone have come across this issue.
    Thanks!

    Thanks Sandeep for ur reply on this..
    I followed the process u mentioned but it didnt work.Actually as I mentioned in my first question, this issue is coming up only when we are creating new sales order.If we copy the sales order which is not getting booked then the new one(copied) sales order's gets booked correctly.Though the copied sales order also have same configuration.
    I also tried to validate the Configuration for the sales order having issue using the api CZ_CONFIG_API_PUB.verify_configuration and this resulting as SUCCESS.
    Is there any thing in the deferred booking process which may cause this issue?
    Also the error message Configuration Validation resulted in errors is coming through a exception, and the exception is being used in CZ_BATCH_VALIDATE.The batch validate is being called from Send_Input_xml procedure.It seems if we copy the order this procedure for batch validate is not being called.
    but i m not getting any clue in Send_Input_xml procedure abt why exception is being raised.
    Thanks!

  • Item Validation Resulted in Error(s)

    Hi,
    We getting this message ' Item Validation Resulted in Error(s)' while doing the following.
    - Changed the ship to address at the header level for the booked order
    - Oracle is asking whether to cascade the changes to the line level
    - On selection yes to cascade the changes to the line level we are getting
    this error message' Item Validation Resulted in Error(s)'
    Do you have any idea about the fix for this problem.
    Note - Currently we are using a workaround for this.
    Step 1) deselecting and the Item identifier type and Ordered item on the MAIN order line tab --> Saving the changes
    Step 2) Changing the Ship to address to the new desired value on the ADDRESSES tab.
    Thanks
    Sunil

    Hi - I am getting something similar when attempting to add a line to certain order via the Process Order API. The source for this new line is copied from a previous order but when I try to copy to the new order I get the same error. In order to get around the problem, I do not copt the original ORDERED_ITEM and ITEM_IDENTIFIER_TYPE (which was 'CUST'). When doing this, the order line copies to the new order successfully but shows the item's SEGMENT1 value rather than the ORDERED_ITEM from the source order. Any pointers would be much appreciated
    Steve

  • When I book the PTO or ATO model, I am getting the error "Configuration validation resulted in error(s)."

    Deal All,
    When I try to BOOK the PTO or ATO model, I am getting this error "Configuration validation resulted in error(s).". System is not allowing me to BOOK the order.
    Really appreciate if anyone faced this type of issue and please provide some solution on this.
    Regards
    Subramanyam Jayaram
    Mobile : +91-888 680 1966

    Please review the following docs and see if any helps.
    Configuration Validation Resulted In Error(s) While Booking after Upgrade to R12 (Doc ID 1679380.1)
    Configuration validation resulted in error(s); ORA-01403: no data found in Package oe_config_pvt (Doc ID 384266.1)
    11.5.10.25.37 or lower - When Booking, Configuration Validation Resulted In Error(s) (Doc ID 727949.1)
    "CONFIGURATION VALIDATION RESULTED IN ERROR(S)" WHEN BOOKING THE ORDER (Doc ID 1065818.1)
    Configuration Validation Resulted In Error(s) While Booking (Doc ID 358164.1)
    OEXOEORD: Booking Errors. Configuration Validation Resulted In Error(S). (Doc ID 311606.1)
    Thanks,
    Hussein

  • DML error table intermittently fails to generate error handling in package

    Hi!
    In OWB 11gR2 (11.2.0.1), we're seeing an issue when setting the DML Error table name on a target table. Sometimes, mostly on older and complex mappings, the error handling logic does not get generated when we deploy the mapping, and nothing is populated in the error tables for error conditions, though the errors display as warnings in the OWB UI.
    When I create a new mapping that is very simple - one table loading another - setting the DML Error table name always results in errors being put in the error table. That's great, but that doesn't help us with our more-complex mappings that aren't logging errors.
    We can't determine the cause of the issue. I can't see a difference in the configuration of the mappings that work and don't work. Generation Mode is All Operating Modes. Default Operating Mode is Set based fail over to row based. We've generated the error table using DBMS_ERRLOG.CREATE_ERROR_LOG. The target tables do not have primary keys.
    I've tried synchronizing the target table operator in the mapping as another forum thread suggested. No change.
    Has anyone else seen this issue or know of a workaround?
    Thanks,
    Jayce

    Which logic did you talk about ?
    For the version 10, you will find the error table more on the insert statement such as:
    INSERT INTO "TSALES"
      ("PROD_ID",
      "SALES"."AMOUNT_SOLD" "AMOUNT_SOLD"
    FROM
      "SALES"  "SALES"
    LOG ERRORS INTO TSALES_ERR (get_audit_detail_id) REJECT LIMIT 50;Come from here:
    http://blogs.oracle.com/warehousebuilder/2007/08/set_based_errors_dml_error_log.html
    Then check the insert SQL generated.
    Cheers
    Nico

  • Using LOV with Validation on the Numeric Fields results in Error

    Dear JHeadstart Team,
    During my work with lov I encountered another problem. I defined a lov and attached the lov to a numeric field and check the LOV for validation. Now when I use LOV using the LOV button it works fine but when I enter some numbers and then press tab the LOV was not shown correctly and resulted in the following errors and the worst thing is that you can not navigate to any other pages and all try to navigate to other pages results in errors too. When we put the same LOV on a string field (which is not desirable for us) it worked fine.
    It seems to me like a bug. Am I right? Is ther any solution or workaround for this problem?
    Thanks in advance,
    Navid
    16:31:29 DEBUG (LovItemBean) -Cleared value of item HrTrainingCourseSchedulesTitle
    16:31:29 DEBUG (LovItemBean) -Cleared value binding #{bindings.HrTrainingCourseSchedulesTitle.inputValue} of item HrTrainingCourseSchedulesTitle
    16:31:29 ERROR (ApplyRequestValuesPhase) -java.lang.ClassCastException: java.lang.Long
    javax.faces.el.EvaluationException: java.lang.ClassCastException: java.lang.Long
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1079)
         at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
         at oracle.adf.view.faces.component.UIXSelectInput.broadcast(UIXSelectInput.java:215)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:249)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at com.pooya.controller.jsf.PooyaAuthenticationFilter.doFilter(PooyaAuthenticationFilter.java:256)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: java.lang.Long
         at oracle.jheadstart.controller.jsf.bean.LovItemBean.validateWithLov(LovItemBean.java:101)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 31 more

    Hi Navid,
    We ran into the same bug and have the next workaround for it:
    We extended the JHeadstart class 'LovItemBean' and we have overridden the method 'validateWithLov(...)' with:
      public void validateWithLov(ValueChangeEvent valueChangeEvent)
        Object newValue = valueChangeEvent.getNewValue();
        if(newValue != null && !(newValue instanceof String))
          newValue = newValue.toString();
          ValueChangeEvent newEvent = new ValueChangeEvent(valueChangeEvent.getComponent(), valueChangeEvent.getOldValue(), newValue);
          newEvent.setPhaseId(valueChangeEvent.getPhaseId());
          super.validateWithLov(newEvent);
        else
          super.validateWithLov(valueChangeEvent);
      }Next step is to use a custom template in your JHeaedstart Application Structure file for 'LOV_ITEM_BEAN'. In this custom template you should use your own class as 'managed-bean-class' instead of the default JHeadstart one.
    Now you can safely generate LOV with validation of number fields.
    Maybe something the JHeadstart can pcik up in the next release of JHeadstart :-)
    Hope this helps.
    Pascal

  • Use of LdapRealm results in [LDAP: error code 32 - No Such Object]

    Hi,
    I'm testing with the example 'basic-auth' of the SJSAS7 2004Q2 with the LdapRealm.
    This little test app can successfully authenticate my user against LDAP.
    package de.zdf.qmv.helloworld.test;
    import javax.naming.*;
    import javax.naming.directory.*;
    import java.util.Hashtable;
    public class TestLdap {
      public static void main(String[] args) {
        Hashtable env = new Hashtable();
        env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
        env.put(Context.PROVIDER_URL,            "ldap://123.123.123.123:389/o=aaa");
        env.put(Context.SECURITY_AUTHENTICATION, "simple");
        env.put(Context.SECURITY_PRINCIPAL,      "uid=myuser,ou=ddd,o=ccc,o=bbb,o=aaa");
        env.put(Context.SECURITY_CREDENTIALS,    "mypwd");
        try {
          DirContext ctx = new InitialDirContext(env);
          ctx.close();
        } catch (Exception e) {
          e.printStackTrace();
    }But when I try to use these Settings for the LDAP Security Realms in the AppServer it doesn't work.
    <auth-realm name="ldap" classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm">
      <property value="ldap://123.123.123.123:389/o=aaa" name="directory"/>
      <property value="ou=ddd,o=ccc,o=bbb,o=aaa" name="base-dn"/>
      <property value="ldapRealm" name="jaas-context"/>
    </auth-realm>I get this error:
    AM: Processing login with credentials of type: class com.sun.enterprise.security.auth.login.PasswordCredential
    FEIN: Logging in user [myuser] into realm: ldap using JAAS module: ldapRealm
    AM: Login module initialized: class com.iplanet.ias.security.auth.login.LDAPLoginModule
    AM: search: baseDN: ou=ddd,o=ccc,o=bbb,o=aaa  filter: uid=myuser
    WARNUNG: SEC1106: Error during LDAP search with filter [uid=myuser].
    WARNUNG: SEC1000: Caught exception.
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=ddd,o=ccc,o=bbb,o=aaa'Is the base-dn of the LDAP Security Realms properties the equivalent to the SECURITY_PRINCIPAL (without uid= )?
    Is there a missing property in the LDAP Security Realms properties to get this work?
    Thanks for your help

    I have the same error with my code...
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://localhost");
    Context ctx = new InitialContext(env);
    SQLServerDataSource mds = new SQLServerDataSource();
    ctx.bind("jdbc/, mds);
    // ERROR!!!!LDAP: error code 32 - No Such Object
    I just installed the qcslapd.exe, running qcslapd -debug i get the result:
    20030514 14:28:13 conn=6 fd=2 connection from e700 (127.0.0.1)
    20030514 14:28:13 conn=6 op=0 BIND dn="" method=128
    20030514 14:28:13 unknown version 3
    20030514 14:28:13 conn=6 op=1 BIND dn="" method=128
    20030514 14:28:13 conn=6 op=0 RESULT err=2 tag=97 nentries=0
    20030514 14:28:13 conn=6 op=1 RESULT err=0 tag=97 nentries=0
    20030514 14:28:13 conn=6 op=2 SRCH base="jdbc" scope=0 filter="(objectclass=*)"
    20030514 14:28:14 conn=6 op=2 RESULT err=32 tag=101 nentries=0
    can you help... HELP

  • Display Error: The display template had an error. You can correct it by fixing the template or by changing the display template used in either the Web Part properties or Result Types. $(...).slick is not a function (OnPostRender: )

    Hi Team,
    I implemented news carousel using display template concepts.
    Its working.
    But some times it shows like some thing went wrong
    when clicke on show details
    it showing the error like
    Display Error: The display template had an error. You can correct it by fixing the template or by changing the display template used in either the Web Part properties or Result Types.
    $(...).slick is not a function (OnPostRender: )
    some times showing result and while refreshing the page am getting the error like below
    How to fix the issue
    Regards,
    Dhayanand

    Hi Wendy Li,
    Finally we fixed.
    The prob is that we referring two different version of jquery files in master page and page layout.
    We corrected by referring same version of jquery files in both pages
    Regards,
    Dhayanand

  • DSC: Importing Shared Variables results in error -1950679010

    This post is more of an "FYI" rather than a question.  I am using LV DSC 8.2.
    ASIDE:  I ran into this problem because I was trying to solve a related problem with Deploy Library.vi (I had dependant libraries that deployed manually, but not programmatically).  Eventually, I found the answer in http://digital.ni.com/public.nsf/allkb/8EF71E1DDDC36C908625716900594B50 (not a very satisfactory answer however, IMHO).
    During my solution search, another hint was provided with http://forums.ni.com/ni/board/message?board.id=170&message.id=177268&requireLogin=False which hints that using a "Network" defined SV, as opposed to a "Project" defined SV, could help.  Then I discovered the difference between NetworkrojectPath and Network:URL in the SV property definition.  Then I realized that NetworkrojectBinding is exposed in the Import fields (using the Multiple Variable Editor to do the importing of course), and this gave me the idea of being able to define a Network SV using the Import function.
    Unfortunately, it does not work.  In the csv file I set NetworkrojectBinding to FALSE, Network:UseBinding to TRUE and provide a valid Network SV path, but this results in error -1950679010: "Shared variable is bound but path or URL is not specified", which occurs when trying to save the LVLIB.  It would be nice to know why this doesn't work, as I think it should.  I think it is a problem with the SV import mechanism.
    David Moerman
    TruView Technology Integration Ltd.

    Yes, you can do this programatically.  I've attached a small chunk of example code (LV 8.5) that creates just 1 variable, as well as an image of it in case you are using an earlier version of LV.  If you want to create multiple variables for the same library just put the "AddSharedVariableToLibrary" in a loop, of course.
    David Moerman
    Attachments:
    Create Library and SV.PNG ‏48 KB
    Create Library of SVs - BASIC.vi ‏24 KB

  • Message "Error in connection:No result set, result attempts = 100" on VC

    Hi,
    I am using a JDBC datasource to retrieve, update, insert and delete information from a SQL Server database using executing store procedures from VC.
    The selection of the data is perfect but for the deletion, insert or update of any data using store procedures I always get the following message:
    "Error in connection:No result set, result attempts = 100"
    At the end the information is modified in the database but I get error.
    Here is an example of one of my store procedure:
    CREATE PROCEDURE [dbo].[DelData]
         @id uniqueidentifier
         -- Add the parameters for the stored procedure here
    AS
    BEGIN
         -- SET NOCOUNT ON added to prevent extra result sets from
         -- interfering with SELECT statements.
         SET NOCOUNT ON;
        -- Insert statements for procedure here
         delete from data     
           WHERE Rowid=@id;
    END
    Let me know if somebody knows the reason of this and if there is something that I am doing wrong.
    Thanks,
    Zareh

    Hi,
    when you SELECT data, you get a result. So your connection gets a result set. When you DELETE, INSERT,... you have no result, because you didn't select data. So your connection can't get any result sets.
    best regards,
    Christian

  • Error while posting payroll results to FI -IN PY

    Dear Consultants,
    When I am posting Payroll results to FI I am able to see the + amount and - amount is equal still it giving error and when I check PCP0 it says incorrect document generated. Please do needful.
    Error message: Error in document: HRPAY 0000000094 DEVCLNT200
    Error in document: HRPAY 0000000094 DEVCLNT200
    Message no. RW609
    Diagnosis
    Errors occurred when checking or posting the document
    Reference type = HRPAY
    Reference key = 0000000094
    Logical system = DEVCLNT200
    You can find the errors in the log.
    System Response
    The document cannot be posted.
    Procedure
    Remove the error in the document and create and post the document again.
    Second error message : Posting period 012 2012 is not open
    Message Text
    Posting period 012 2012 is not open
    Technical Data
    Message type__________
    E (Error)
    Message class_________
    F5 (Document Editing)
    Message number________
    201
    Message variable 1____
    012
    Message variable 2____
    2012
    Message variable 3____
    +
    Message variable 4____
    COSM
    Message Attributes
    Level of detail_______
    2 (Level of detail 2)
    Problem class_________
    Sort criterion________
    Number________________
      1
    Environment Information
    Item__________________
    000
    Please do needful, why this error is coming even though the +and - amount are equal.
    Regards,
    Naresh.KM

    Dear Siva,
    Sorry for delay in reply, as per my understanding I have done the assignment correctly, and the same arrears are coming in RT table as well as in payslip. When I checked the report RPDKON00 I have got a list of wage types assigned to GL account under Country grouping 40,
    A.Define wage type posting characteristics : I have copied arrears, carryforward wage types from their original wage types.
    Example : From Basic pay (which is using in infotype 0008)  I have copied Basic arrear wage type and basic carryforward wage type. and assigned the same in ZN42, ZN43, ZN44 and did the assignment.
    B. Define symbolic account : I have copied the symbolic account which is assigned to Basic wage type and copied the same and created new symbolic account and assigned to only basic arrear wage type which is coming in RT table.
    C .Assigned wage type to symbolic account : I have not assigned arrear wage type symbolic account to Original wge type in V_T53EL. Only Basic wage type symbolic account is mapped here.
    D Mapping symbolic account to G/L account : I have assigned the arrear wage type Symbolic account to the same GL which is assigned to original Basic wage type symbolic account.
    I have followed the same process for all the arrear wage types, and even the report RPDKON00 it is showing the same there is no error message.
    Apart from that I have created a New Symbolic account for /ZF5 and did all assignment, and assigned /ZF5 wage type symbolic account to /3F1 wage type symbolic account and GL mapping also same as /3F1.
    In Standard /552 arrear process there is no /ZF5 postings it will directly deduct the amount.
    Please suggest do I need to check any other area or how can I solve this error. kindly do needful.
    Regards,
    Naresh.KM 

  • Error using Acrobat Reader in W2K Terminsl Services

    We are trying to install Reader 9.0 on a Windows 2003 SP2 64BIT Terminal Services server and have used several methods, but if anyone other thatn an administrator tries to open a PDF or start the program it receives a VB Runtime error and closes after acknowledging the error. The Application log shows: Faulting application AcroRd32.exe, version 9.0.0.332, faulting module msvcr80.dll, version 8.0.50727.3053, fault address 0x000046b4.
    I have installed it using the Add Remove Programs (which is suppose to put it in Install mode) and running it the first time as an admin while still in install mode. I also tried manually placing the server in install mode (change user /install) then running the app before putting it in execute mode, same result.
    Any information on getting this to work would be appriaciated.
    Thanks,
    Nlaurino

    The problem is the enhanced security, turned on by default, in Adobe 8.2 and 9.3 - specifically restrictions on cross domain scripting.  
    You need to install a crossdomain.xml file in the root of your application server.
    See the Enhanced Security and Troubleshooting Guide and FAQ: http://learn.adobe.com/wiki/download/.../Enhanced_security_faq.pdf
    And the Cross Domain Policy File Specification: http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html

  • Getting "Method 'sign_in' does not exist" Error (using Charles)

    This may be a bit off the FLEX field, and have to do with Zend Framework's ZEND_AMF class. Unfortunately I haven't been able to dig anything up, and comments posted on Wade Arnolds site have not received any responses, so I thought I'd give it a go here.
    My ServiceController Class:
    public function loginAction()
         $this->_helper->viewRenderer->setNoRender();
         $server = new Zend_Amf_Server();
         $server->setClass('LoginAmfService', 'LoginService');
         $server->setClassMap('CurrentUserVO', 'CurrentUserVO');
         $server->setProduction(false);
         print($server->handle());
    My LoginAmfService class:
    class LoginAmfService
          * Main login function.
          * @param  string        $name
          * @param  string        $password
          * @return CurrentUserVO
         public function sign_in($name, $password)
              $authAdapter     = new Zend_Auth_Adapter_DbTable(Zend_Registry::get('db'), 'users', 'user_name', 'password', 'PASSWORD(?) AND active = 1');
              $returnValue     = new CurrentUserVO();
              $authAdapter->setIdentity(htmlspecialchars($name))
                   ->setCredential(htmlspecialchars($password));
              $authResult = $authAdapter->authenticate();
              if ($authResult->isValid())
                   $userArray                          = $authAdapter->getResultRowObject(array('id', 'first_name', 'last_name', 'title', 'photo'));
                   $returnValue->first_name     = $userArray->first_name;
                   $returnValue->last_name          = $userArray->last_name;
                   $returnValue->title               = $userArray->title;
                   $returnValue->photo               = $userArray->photo;
                   $returnValue->token               = $userArray->id;
              return $returnValue;
          * Function used to log people off.
         public function sign_out()
              $authAdapter = Zend_Auth::getInstance();
              $authAdapter->clearIdentity();
    My SignIn FLEX module (the relevant portions):
         <mx:RemoteObject
              id="LoginRemote"
              destination="login"
              source="SignIn"
              showBusyCursor="true"
              fault="parentDocument.handleFault(event)"
         >
               <mx:method name="sign_in" result="signin_handle(event)" />
               <mx:method name="sign_out" result="signout_handle(event)" />
         </mx:RemoteObject>
         <mx:Script>
              <![CDATA[
                   import mx.rpc.events.FaultEvent;
                   import mx.utils.ArrayUtil;
                   import mx.rpc.events.ResultEvent;
                   import mx.controls.Alert;
                   import com.brassworks.ValueObjects.CurrentUserVO;
                   import mx.events.VideoEvent;
                   [Bindable]
                   private var this_user:CurrentUserVO = new CurrentUserVO();
                   private function mdl_init():void
                        focusManager.setFocus(txt_username);
                   private function signin_handle(event:ResultEvent):void
                             this_user = event.result as CurrentUserVO;
                             if (this_user.token == null) {Alert.show("Supplied login credentials are not valid. Please try again.");}
                             else
                                  this.parentApplication.setUser(this.this_user);
                   private function signout_handle(event:ResultEvent):void
                   private function sign_in(event:Event):void
                        try
                             //Alert.show(txt_name.text + "|" + txt_password.text);
                             LoginRemote.sign_in(txt_username.text, txt_password.text);
                        catch (error:Error)
                             this.parentDocument.handleFault(error);
                   private function sign_out(event:Event):void
                   private function show_error(error:Error, s_function:String):void
                        Alert.show("Method:" + s_function + "\nName: " + error.name + "\nID: " + error.errorID + "\nMessage: " + error.message + "\nStack Trace: " + error.getStackTrace() + "\nError: " + error.toString());
                   private function handleFault(event:FaultEvent):void
                        Alert.show(event.fault.faultDetail, event.fault.faultString);
              ]]>
         </mx:Script>
    Now, all this is great and good, as it works with Zend Framework 1.7.6. However, when I try to upgrade to 1.7.8 (to take advantage of session management and other bug-fixes), I get the following error (using Charles):
    #1 /var/web/htdocs/core/library/Zend/Amf/Server.php(390): Zend_Amf_Server->_handle(Object(Zend_Amf_Request_Http))
    #2 /var/web/htdocs/core/application/default/controllers/ServicesController.php(73): Zend_Amf_Server->handle()
    #3 /var/web/htdocs/core/library/Zend/Controller/Action.php(503): ServicesController->loginAction()
    #4 /var/web/htdocs/core/library/Zend/Controller/Dispatcher/Standard.php(285): Zend_Controller_Action->dispatch('loginAction')
    #5 /var/web/htdocs/core/library/Zend/Controller/Front.php(934): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
    #6 /var/web/htdocs/core/application/bootstrap.php(39): Zend_Controller_Front->dispatch()
    #7 /var/web/htdocs/core/public/index.php(5): Bootstrap->runApp()
    #8 {main} ?Method "sign_in" does not exist
    I have no idea why this would not work anymore. My assumption is that I am not correctly setting up Zend_Amf (but then again, my counter-argument is that it worked before, so ..... ????)
    Thanks for any help!
    -Mike

    For those that are also fighting this issue:
    The problem appears to be that the RemoteObject needs to specify the class containing the methods as a source parameter. According to this bug report (http://framework.zend.com/issues/browse/ZF-5168) it is supposed to have been addressed, but apparently has re-emerged in Zend_Amf since version 1.7.7.
    Using my example above, I would have to specify the RO as:
    <mx:RemoteObject
              id="LoginRemote"
              destination="login"
              source="LoginAmfService"
              showBusyCursor="true"
              fault="parentDocument.handleFault(event)"
         >
               <mx:method name="sign_in" result="signin_handle(event)" />
               <mx:method name="sign_out" result="signout_handle(event)" />
         </mx:RemoteObjecct>

  • FAX failure! Sending fax results in error every time.

    I have been trying to use an Apple USB modem on my iMac (latest version). Every time I attempt to send a word processing document I get a failure message. The modem dials and connects to the remote computer and says it is sending the document but then it disconnects and reschedules another transmission.
    Console gives the following errors:
    I [21/Jan/2009:22:12:51 -0500] [Job 38] Adding start banner page "none".
    I [21/Jan/2009:22:12:51 -0500] [Job 38] Adding end banner page "none".
    I [21/Jan/2009:22:12:51 -0500] [Job 38] File of type application/pdf queued by "johngrif".
    I [21/Jan/2009:22:12:51 -0500] [Job 38] Started filter /usr/libexec/cups/filter/cgpdftoraster (PID 9867)
    I [21/Jan/2009:22:12:51 -0500] [Job 38] Started filter /usr/libexec/cups/filter/rastertotiff (PID 9868)
    I [21/Jan/2009:22:12:51 -0500] [Job 38] Started backend /usr/libexec/cups/backend/fax (PID 9869)
    E [21/Jan/2009:22:14:39 -0500] [Job 38] There was a fax protocol error.
    E [21/Jan/2009:22:14:39 -0500] PID 9869 (/usr/libexec/cups/backend/fax) stopped with status 1!
    I [21/Jan/2009:22:14:39 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
    I [21/Jan/2009:22:14:39 -0500] [Job 38] Backend returned status 1 (failed)
    I [21/Jan/2009:22:19:53 -0500] [Job 38] Started filter /usr/libexec/cups/filter/cgpdftoraster (PID 10119)
    I [21/Jan/2009:22:19:53 -0500] [Job 38] Started filter /usr/libexec/cups/filter/rastertotiff (PID 10120)
    I [21/Jan/2009:22:19:53 -0500] [Job 38] Started backend /usr/libexec/cups/backend/fax (PID 10121)
    E [21/Jan/2009:22:21:03 -0500] CUPS-Add-Modify-Printer: Unauthorized
    I [21/Jan/2009:22:21:03 -0500] Saving printers.conf...
    I [21/Jan/2009:22:21:03 -0500] [Job 38] Started filter /usr/libexec/cups/filter/cgpdftoraster (PID 10148)
    I [21/Jan/2009:22:21:03 -0500] [Job 38] Started filter /usr/libexec/cups/filter/rastertotiff (PID 10149)
    I [21/Jan/2009:22:21:03 -0500] [Job 38] Started backend /usr/libexec/cups/backend/fax (PID 10150)
    I [21/Jan/2009:22:21:03 -0500] Printer "External_Modem" modified by "johngrif".
    E [21/Jan/2009:22:21:03 -0500] PID 10121 (/usr/libexec/cups/backend/fax) crashed on signal 9!
    I [21/Jan/2009:22:21:03 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
    W [21/Jan/2009:22:21:13 -0500] [Job 38] Waiting for modem to become available
    W [21/Jan/2009:22:21:21 -0500] [Job 38] Waiting for modem to become available
    W [21/Jan/2009:22:21:29 -0500] [Job 38] Waiting for modem to become available
    W [21/Jan/2009:22:21:45 -0500] [Job 38] Waiting for modem to become available
    E [21/Jan/2009:22:23:54 -0500] [Job 38] There was a fax protocol error.
    E [21/Jan/2009:22:23:54 -0500] PID 10150 (/usr/libexec/cups/backend/fax) stopped with status 1!
    I [21/Jan/2009:22:23:54 -0500] Hint: Try setting the LogLevel to "debug" to find out more.
    I [21/Jan/2009:22:23:54 -0500] [Job 38] Backend returned status 1 (failed)
    I [21/Jan/2009:22:27:23 -0500] [Job 38] Canceled by "johngrif".
    I [21/Jan/2009:22:43:07 -0500] Saving job cache file "/private/var/spool/cups/cache/job.cache"...
    I [22/Jan/2009:10:41:21 -0500] Printer sharing is off and there are no jobs pending, will restart on demand.
    I [22/Jan/2009:10:41:21 -0500] Scheduler shutting down normally.
    Does anyone have an idea as to what is preventing the fax from working?
    Griff

    This is a problem on all Macs from what I can tell. I have had a Case open with Apple Support for over 2 months now regarding this issue and they are not helpful at all. I believe it is either a problem with the "efax" open source program that Apple uses or some hardware issue. I have many phone lines here and Apple USB Modem to Apple USB Modem for faxing works fine, but to our Fuji-Xerox machine here; Fax Protocol Error. So clearly in the Apple Utopia faxing is fine, so case closed!
    It seems whenever there is a "fax protocol error", the fax has sent successfully, it's just that something happens prior to hang-up that causes this issue.
    Here is my work around, which ignores "fax protocol errors". When "efax" (/usr/bin/efax) returns "0", this is success. "1" is something like line engaged, no answer, etc. (normal errors). "3" is "fax protocol error". Therefore as "root" in Terminal I did the following:
    1. "mv /usr/bin/efax /usr/bin/efax.orig"
    2. "vi /usr/bin/efax"
    3. Enter the following (press "i" to insert text, <esc> to stop entering text):
    #!/bin/sh
    /usr/bin/efax.orig $@
    RESULT=$?
    if [ "$RESULT" = "3" ] ; then
    RESULT=0
    fi
    exit $RESULT
    4. Save and quit "vi" (enter ":wq")
    5. "chmod a+rx /usr/bin/efax"
    Good luck!

Maybe you are looking for