Problem in Mapping RefCursors(in/out parameter) and Collections(in/out)

Hi,
Can anyone help to solve the proble listed below as it is affecting the business process
The API for A is listed below. It takes Oracle Object types as input/output.
PROCEDURE A(
p_serviceOrder IN ServiceOrder,
p_serviceID IN OUT p_sm_type.ServiceID,
p_serviceOrderID OUT p_sm_type.ServiceOrderID,
returnStatus OUT CallStatus);
The ServiceOrder and CallStatus are Oracle Object types.
The wrapper procedure for this api would be something like the example with pseudo-code below.
PROCEDURE B(
p_serviceOrder IN REF CURSOR,
p_serviceID IN OUT p_sm_type.ServiceID,
p_serviceOrderID OUT p_sm_type.ServiceOrderID,
returnStatus OUT REF CURSOR) {
Map from REF CURSOR p_serviceOrder To Oracle Object for ServiceOrder;
Map from other data types to local variables;
Call A(pass the parameters here and get output…);
Map output CallStatus to its equivalent REF CURSOR variable;
Return CallStatus (and other OUT parameters if any) as REF CURSORs;
It will be highly needful for the solution as it is affecting the business flow requirement.
Regards
Saugata

Hi,
i think you must set the value for this parameter and additional you must
register this parameter as out parameter.
I hope it works.

Similar Messages

  • Hw To Make Inner Class Distinguish Func Parameter And Outer Class Var

    i fail to make an inner class distinguish among function parameter and outer class variable.
    consider the following code:
    public class a {
         int var; // i want to access this one using inner class.
         public a(int var) {
              this.var = var;
              class b {
                   public void fun() {
                        var = 100;
    i get an error a.java:9: local variable var is accessed from within inner class; needs to be declared final.
    when i change the code to this:
    public class a {
         int var; // i want to access this one using inner class.
         public a() {          
              class b {
                   public void fun() {
                        var = 100;
    it compiled no problem.it seems that inner class is accessing function parameter rather than outer class member.
    is there any syntax i can use to make me access the outer class member variable whithout renaming or removing the function parameter?
    thank you.

    a.this.var = 100; //Use this in the inner class.Amazing syntax -:)

  • Field mapping problem using EntityManager.refresh(...) and @SecondaryTable

    I am experiencing an exception indicating a missing mapping for a field. My problem is that I have a mapping! I suspect the problem has something to do with the fact the field in question is also the @PrimaryKeyJoinColumn. Am I doing something wrong or is this a bug in the refresh() method code since the find() method works with no problem? Thanks in advance.
    Code and log excerpts follow:
    Calling Code...
    TaxableDescription description = em.find( TaxableDescription.class, cusip );
    if (refreshEntity) {
    {color:#ff0000}em.refresh( description );{color}
    Entity Code..
    @Entity
    {color:#ff0000}@Table( name="f_ISSUE" )
    @SecondaryTable(
    name="f_COUPON_INFO",
    pkJoinColumns=@PrimaryKeyJoinColumn(
    referencedColumnName="issue_id", name="issue_id"
    ){color}
    @NamedQueries({
    @NamedQuery(
    name="TaxableDescription.findByCusip",
    query="SELECT d FROM TaxableDescription d WHERE d.cusip = :cusip"
    public class TaxableDescription
    extends Description implements Serializable
    private long issueID;
    private long fkIssueID;
    private String interestFrequencyCode;
    private Date nextCallDate;
    private double nextCallPrice;
    private Date parCallDate;
    private double parCallPrice;
    private boolean defaulted;
    private String variableCouponType;
    //@Id
    @Column( name="issue_id", table="f_ISSUE" )
    public long getIssueID() {
    return issueID;
    public void setIssueID( long issueID ) {
    this.issueID = issueID;
    @Override
    @Id
    @Column( name="CUSIP_nbr" )
    public String getCusip() {
    return super.getCusip();
    @Override
    public void setCusip(String cusip) {
    super.setCusip(cusip);
    @Override
    @Column( name="maturity", updatable=false, insertable=false )
    @Temporal(TemporalType.DATE)
    public Date getMaturity() {
    return super.getMaturity();
    @Override
    public void setMaturity(Date maturity) {
    super.setMaturity(maturity);
    {color:#ff0000} @Column( table="f_COUPON_INFO", name="issue_id", insertable=false, updatable=false )
    {color} public long getFkIssueID() {
    return fkIssueID;
    public void setFkIssueID( long fkIssueID ) {
    this.fkIssueID = fkIssueID;
    @Override
    @Column( table="f_COUPON_INFO", name="coupon", updatable=false, insertable=false )
    public double getCoupon() {
    return super.getCoupon();
    @Override
    public void setCoupon(double coupon) {
    super.setCoupon( coupon );
    @Column( table="f_COUPON_INFO", name="interest_frequency", updatable=false, insertable=false )
    public String getInterestFrequencyCode() {
    return interestFrequencyCode;
    public void setInterestFrequencyCode( String interestFrequencyCode ) {
    this.interestFrequencyCode = interestFrequencyCode;
    @Override
    @Column( table="f_COUPON_INFO", name="dated_date", updatable=false, insertable=false )
    @Temporal( TemporalType.DATE )
    public Date getDatedDate() {
    return super.getDatedDate();
    @Override
    public void setDatedDate(Date datedDate) {
    super.setDatedDate(datedDate);
    @Override
    @Column( table="f_COUPON_INFO", name="first_interest_date", updatable=false, insertable=false )
    @Temporal( TemporalType.DATE )
    public Date getFirstInterestDate() {
    return super.getFirstInterestDate();
    @Override
    public void setFirstInterestDate(Date firstInterestDate) {
    super.setFirstInterestDate(firstInterestDate);
    @Column( name="next_call_date", updatable=false, insertable=false )
    @Temporal( TemporalType.DATE )
    protected Date getNextCallDate() {
    return nextCallDate;
    protected void setNextCallDate( Date date ) {
    this.nextCallDate = date;
    @Column( name="next_call_rate", updatable=false, insertable=false )
    protected double getNextCallPrice() {
    return nextCallPrice;
    protected void setNextCallPrice( double value ) {
    this.nextCallPrice = value;
    @Column( name="par_call_date", updatable=false, insertable=false )
    @Temporal( TemporalType.DATE )
    protected Date getParCallDate() {
    return parCallDate;
    protected void setParCallDate( Date date ) {
    this.parCallDate = date;
    @Column( name="par_call_rate", updatable=false, insertable=false )
    protected double getParCallPrice() {
    return parCallPrice;
    protected void setParCallPrice( double value ) {
    this.parCallPrice = value;
    @Column( name="moodys_code", updatable=false, insertable=false )
    public Integer getIntegerMoodysCode() {
    return super.getMoodysCode();
    public void setIntegerMoodysCode(Integer moodysCode) {
    super.setMoodysCode( moodysCode != null ? moodysCode : 99 );
    @Column( name="s_p_code", updatable=false, insertable=false )
    public Integer getIntegerSpCode() {
    return super.getSpCode();
    public void setIntegerSpCode(Integer spCode) {
    super.setSpCode( spCode != null ? spCode : 99 );
    @Column( name="fitch_code", updatable=false, insertable=false )
    public Integer getIntegerFitchCode() {
    return super.getFitchCode();
    public void setIntegerFitchCode(Integer fitchCode) {
    super.setFitchCode( fitchCode != null ? fitchCode : 99 );
    @Override
    @Column( name="principal_amt", updatable=false, insertable=false )
    public double getPrincipalAmount() {
    return super.getPrincipalAmount();
    @Override
    public void setPrincipalAmount(double principalAmount) {
    super.setPrincipalAmount(principalAmount);
    @Transient
    public boolean getDefaulted() {
    return defaulted;
    @Transient
    public boolean isDefaulted() {
    return defaulted;
    public void setDefaulted( boolean defaulted ) {
    this.defaulted = defaulted;
    @Column( name="defaulted", updatable=false, insertable=false )
    public String getDefaultedFlag() {
    return defaulted ? "Y" : "N";
    public void setDefaultedFlag( String defaultedFlag ) {
    this.defaulted = "Y".equalsIgnoreCase( defaultedFlag );
    @Column( table="f_COUPON_INFO", name="coupon_change_indicator", updatable=false, insertable=false )
    public String getVariableCouponType() {
    return variableCouponType;
    public void setVariableCouponType( String variableCouponType ) {
    this.variableCouponType = variableCouponType;
    @OneToMany( targetEntity=com.bondtrac.entities.TaxableCouponStepEntity.class )
    @JoinTable(
    name="f_CHANGE_SCHEDULE",
    joinColumns=@JoinColumn( name="issue_id", referencedColumnName="issue_id" )
    public List getCouponSteps() {
    return super.getCouponStepSchedule();
    public void setCouponSteps( List couponSteps ) {
    super.setCouponStepSchedule( couponSteps );
    @PostLoad
    private void postLoad() {
    if ( interestFrequencyCode != null &&
    interestFrequencyCode.length() > 0 )
    int intFreq = 2;
    try {
    intFreq = Integer.parseInt( interestFrequencyCode );
    catch ( Exception e ) {}
    if ( intFreq <= 0 ) intFreq = 2;
    super.setInterestFrequency( intFreq );
    else {
    super.setInterestFrequency( 2 );
    if ( nextCallDate != null || parCallDate != null ) {
    CallSchedule _callSchedule = super.getCallSchedule();
    if ( _callSchedule == null ) {
    _callSchedule = new CallSchedule();
    super.setCallSchedule( _callSchedule );
    if ( nextCallDate != null ) {
    _callSchedule.addCall( nextCallDate, nextCallPrice );
    if ( parCallDate != null ) {
    _callSchedule.addCall( parCallDate, parCallPrice );
    @PrePersist
    @PreUpdate
    private void preUpdate() {
    switch ( super.getInterestFrequency() ) {
    case 2 : interestFrequencyCode = "2"; break;
    case 1 : interestFrequencyCode = "1"; break;
    case 4 : interestFrequencyCode = "4"; break;
    case 12 : interestFrequencyCode = "12"; break;
    case 99 : interestFrequencyCode = "99"; break;
    default : interestFrequencyCode = "2"; break;
    nextCallDate = null;
    nextCallPrice = 0.0;
    parCallDate = null;
    parCallPrice = 0.0;
    CallSchedule _callSchedule = super.getCallSchedule();
    if ( _callSchedule != null ) {
    Call call = _callSchedule.getNextCall();
    if ( call != null ) {
    nextCallDate = call.getDate();
    nextCallPrice = call.getAmount();
    call = _callSchedule.getNextParCall();
    if ( call != null ) {
    parCallDate = call.getDate();
    parCallPrice = call.getAmount();
    @Override
    public int hashCode() {
    return cusip != null ? cusip.hashCode() : 0;
    @Override
    public boolean equals( Object o ) {
    if ( !( o instanceof TaxableDescription ) ) return false;
    TaxableDescription otherDescription = (TaxableDescription)o;
    if ( cusip == otherDescription.cusip ) return true;
    if ( cusip != null ) return cusip.equals( otherDescription.cusip );
    return false;
    Server log entry...
    [#|2008-11-20T17:41:42.389-0600|WARNING|sun-appserver9.1|oracle.toplink.essentials.session.file:/opt/SUNWappserver/domains/domain1/applications/j2ee-apps/Bondtrac-EE/Bondtrac-EE-pu.jar-BondtracPU|_ThreadID=36;_ThreadName=p: thread-pool-1; w: 44;_RequestID=5b92f658-e52c-4b83-aafc-454a052fc30b;|
    Local Exception Stack:
    Exception [TOPLINK-45] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/11/2008))): oracle.toplink.essentials.exceptions.DescriptorException
    {color:#ff0000}Exception Description: Missing mapping for field [f_COUPON_INFO.issue_id].{color}
    Descriptor: RelationalDescriptor(com.bondtrac.entities.TaxableDescription --> [DatabaseTable(f_ISSUE), DatabaseTable(f_COUPON_INFO)])
    at oracle.toplink.essentials.exceptions.DescriptorException.missingMappingForField(DescriptorException.java:901)
    at oracle.toplink.essentials.internal.descriptors.ObjectBuilder.addPrimaryKeyForNonDefaultTable(ObjectBuilder.java:154)
    at oracle.toplink.essentials.internal.descriptors.ObjectBuilder.buildRowForTranslation(ObjectBuilder.java:899)
    at oracle.toplink.essentials.queryframework.ReadObjectQuery.prepareForExecution(ReadObjectQuery.java:502)
    at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:622)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:692)
    at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:746)
    at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2233)
    at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:952)
    at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:909)
    at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerImpl.refresh(EntityManagerImpl.java:389)
    at com.sun.enterprise.util.EntityManagerWrapper.refresh(EntityManagerWrapper.java:511)
    at com.bondtrac.ejb.DescriptionDAOBean.getDescription(DescriptionDAOBean.java:76)
    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:597)
    at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
    at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
    at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
    at $Proxy197.getDescription(Unknown Source)
    at com.bondtrac.offeringprocessor.OfferingProcessorBean.process(OfferingProcessorBean.java:1373)
    at com.bondtrac.offeringprocessor.OfferingProcessorBean.processOfferingEntity(OfferingProcessorBean.java:642)
    at com.bondtrac.offeringprocessor.OfferingProcessorBean.calculateOfferings(OfferingProcessorBean.java:926)
    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:597)
    at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1067)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:176)
    at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2895)
    at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3986)
    at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:203)
    at com.sun.ejb.containers.EJBObjectInvocationHandlerDelegate.invoke(EJBObjectInvocationHandlerDelegate.java:77)
    at $Proxy198.calculateOfferings(Unknown Source)
    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:597)
    at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:154)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:687)
    at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:227)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1846)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1706)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:1088)
    at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:223)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:806)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.dispatch(CorbaMessageMediatorImpl.java:563)
    at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.doWork(CorbaMessageMediatorImpl.java:2567)
    at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
    |#]

    What database are you using? My guess is that the database you are using returns field names in Uppercase. While the database may not be case sensitive, most databases will convert the field names to either all upper or lower case when returning the metadata - which associates the fields to the values. In this case, it is looking for a value for "issue_id" in the returned results, when I suspect that the database returned a value for "ISSUE_ID". Try having your column names match what the database will return and see if you still get problems.
    The other part to this problem is that it does not appear mapped correctly. The primarykeyJoincolumn isn't using primary key fields (CUSIP_nbr is specified as the id), and you have a join table also using the "issue_id" field, so it really should be the id. Either way, the Secondary table is specifying f_ISSUE.issue_id to be a foreign key to f_COUPON_INFO.issue_id, and so the getFkIssueID annotation should be marked insertable=true, updateable =true and the annotation on getIssueID marked insertable=false, updatable=false,since it is set through the f_COUPON_INFO.issue_id field. Fixing this will also likely resolve the issue - the error says it can't find a mapping for the f_COUPON_INFO.issue_id but from looking at the code, what I believe it means is that it can't find a writable mapping. Reading this over again, it looks very confusing but I dont know if I can explain it much better. The field f_COUPON_INFO needs to be writeable and set by the application because you have marked it as controlling the field in f_ISSUE. The field in f_ISSUE needs to be read only, because the value is set/controlled by the value in f_COUPON_INFO.
    Best Regards,
    Chris

  • I upgraded to the new version "4" and it will not load any websites..."unable to locate server" is all i get and cannot figure out the problem ....had to delete and go back to an earlier version whichi understand is unsafe...what to do?

    # Question
    I upgraded to the new version "4" and it will not load any websites..."unable to locate server" is all i get and cannot figure out the problem ....had to delete and go back to an earlier version which i understand is unsafe...what to do?

    That was probably caused by your Firewall blocking the newly installed version of Firefox.
    No known security issues with Firefox 3.6.17, which was just released this past week.

  • I have been getting this message " no sim installed " too many times then my phone goes off , its iphone 4S , its really a problem i cant get calls or anything and im not sure how to take the SIM out then insert it again , what to do ??

    i have been getting this message " no sim installed " too many times then my phone goes off , its iphone 4S , its really a problem i cant get calls or anything and im not sure how to take the SIM out then insert it again , what to do ??

    Use the sim tool that came with your phone or a safety pin and just insert it into the hole at the side of the sim tray and push it in and then pull it out.  It is no more difficult than that and then just close it again.

  • I have I.O.S. 6.0.1 and i live in Georgia, Tbilisi. I have got the problem with maps. It does not get directions. Per exemple it was working in italy but in my cuntry it does not work. Could u explain me what can i do to make my maps work in Georgia?

    I have I.O.S. 6.0.1 and i live in Georgia, Tbilisi. I have got the problem with maps. It does not get directions. Per exemple it was working in italy but in my cuntry it does not work. Could u explain me what can i do to make my maps work in Georgia?
    Thank u

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • Problems with Maps 2.0, favorites look-up and adre...

    I have the latest version of Nokia Maps (v2.0 wk26 b02) installed on my N82 some days ago. But now i have problems with adress search. I often notice that adresses that i try to search for, returns no results. This problem appears even if i can see the see the adress on the map, and even if i am connected to a network.
    And if i sometimes find an adress, and try to the function "show location on map", nothing happens...
    This also apply to some of the favorites that i saved earlier. For instance i have saved several places where my family live, but only one of two them can is now working as they did before. When i try the same function "show location on map", nothing happens...
    I even try to save new locations but the problem is still there. When i try to show the locations on map nothing happens.
    Is it only me that have this problem? Is there anyone that have an solution to this problem, or is it a bug that comes with the latest version og Nokia Maps?
    Solved!
    Go to Solution.

    Hi again.
    After a long time with trying and failing with solving this problem, and installed the latest maps 2.0 application all over again, and even installing the 1.0 application nothing helped.
    I even updated the firmware on the phone, but nothing helped. Nothing helped at all.
    But suddenly, with all these mapsproblems something else happened to. You know the multimediabutton on the front, (the one that is a little higher than the others) suddenly wouldn't work at all. If i pushed it the dislplay only "blinked" for a second, and then returned to the normal display again.
    So to solve all problems i decided to use the *#7370# function to reset the phone completely (after i backed up my data of course). Suddenly everything is working again.
    After this i upgraded to the maps 2.0 latest, and installed all my applicatons again. I can now search adresses again and see them on the map, i can save favourites and view them on the map....
    And now my multimediabutton is back to normal again aswell.
    So the problem is now solved :-)

  • Problem with Map Loader 3.0.28.0 and 5800XM

    Hi all, i have a problem with maps upload to my mobile, whenever i start Map Loader i see a message: You have connected at least one phone (Soft) without a Maps drive. Either you are using an old Map version - .. - or have never started your Maps application... I use USB PC-Suite mode, I have had run Maps application on my phone before i try to connect Map Loader, the Maps version installed on the phone is v3.03 10wk01 b05 - so that's obviously not a reason!! Now i can't install new maps anymore - i just can click this error window away and choose some maps, they would be downloaded from the Internet, but  they would not appear on my mobile! With a previous version of the map loader (don't know the version number any more, and previous maps version on the phone, i have no problem)            I also need a link to Maps Updater due the Nokia site malfunction - couldn't find this software anymore.... sorry my poor english :-)
    Nokia users - the biggest beta test community of the world!

    Problem solved! The STUPID software searchs for ALL mass storage devices attached to your computer, so I got error messages all the time until I unplug my USB Hard drive.    
    Thank you Nokia guys, your were great help by solving this problem   .....  
    By the way,  the STUPID software doesn't shows the maps that would be all ready installed on the phone, and you couldn't say that the upload of the maps was really successful  until you waisting your time watching the progress bar to the end.
      I wouldn't be suprise if you can install the same map twice so it takes the twice space....
    regards, and sorry for my poor english
    Nokia users - the biggest beta test community of the world!

  • Problem in mapping GP parameters and process completion

    Hi,
    I have a block which is sequential and it contains:
    1. action ( the first screen of the process)
    2. an alternative block ( 4 actions)
    3. when i run the process, following happen:
        a. the first screen opens up with proper details
        b. on click of button, second screen as well opens up. But the data that gets passed is only the gp single attributes. Any tabular structure data doesnt get passed.
        c. on second screen, if i click reject, it displays the last screen as per the result state set, but again no data gets passed ( in this not even the single attributes)
        d. on second screen, if i click accept, it goest to the third screen as per the result state set, but no structure data gets passed. Only single attributes are displayed.
        e. on the second screen, when i click next button, it doesnt display the thrid screen, just a message that action is completed. Whereas, ideally it should take the user to the fourth screen.
    4. i have mapped all the attributes in the alternative block.
    5. when i created sequential block, in that as well, all the attributes of first action and alternative block were grouped. ( whats the difference between group and propose consolidation functionality)
    6. i have set the targets in the result states of second and third screens.
    Second screen has 2 conditions: if approved, goes to third screen, and if rejected, it goes to the last summary screen.( both happening, but data not getting passed)
    Third screen has only one result state - success. for this also , i have set the target as fourth screen, but it doesnt appear.( not happening)
    Can anyone please help in this regard.
    Thanks  & regards,
    Anupreet

    Hi,
        I think your process flow is like that
          Process
             Sequential block
                   Action
                   Alternative block
                        Action 1
                        Action 2
                        Action 3
                        Action 3
       The Hierachy of Action in Sequential block and Action in Alternative block is different.
    use the process flow like this
            Process
               Sequential block
                    Action
               Alternative block
                    Action 1
                    Action 2
                    Action 3
                    Action 4
      create the Sequential block and Alternative block in the process level and u map the Attributes in the process level.The Attributes will be mapped in the Process Level.The Attributes will be mapped both in Process level and in Block level if it is in same Hierachy level.
    Regards,
    Satheshkumar.R

  • How to change default value of a parameter and LOV attached to a parameter

    Hi All
    I am new to discoverer reports and I need to accomplish the following tasks:
    1. Need to change the SQL query of a discoverer report
    2. Need to change the default value of parameter ( from constant to current month). In the discoverer plus responsibility when I open the report and go to tools>>parameter>>edit
    I can see the constant default value given there. On the right hand side there is a drop down which says 'Value'. I guess if i need to put a SQL as defaul value I need to change the drop down to sql or something and then put the SQL. Problem is the drop down is froezen and I cannot change it.
    Even if I try to create a new parameter/report.
    3. Need to change the LOV associated to the item on which the parameter is based.
    I have the discoverer plus responsibility attached to myself and do not have the discoverer administrator tool (desktop developer tool like forms 6i). My questions are:
    1. Can I change the SQL query by using discoverer plus responsibility or do I need discoverer administrator tool?
    2. Any help on how to get the default value from an SQL query? currently it is a constant value.
    3. Is there any way to figure out is the LOV is madeup of fixed constant values (like independednt value set) or they are fetched from some sql query(table validated value sets)?
    Any pointers/solutions will be highly appriciated!!!
    Thanks in advance.
    Thanks and Regards,
    Shashank

    HI,
    Need to change the SQL query of a discoverer reportThe discoverer generate the SQL according to the item, calculation and conditions designed in the worksheet.
    You cannot edit a specific worksheet SQL.
    In order to change the SQL you need to change the worksheet using the "Edit-> worksheet" from the menu.
    To change the SQL generated inside the folders you need to do that using the administrator.
    Need to change the default value of parameterYou cannot use SQL statements for the parameter default value. it is not supported. if you need default you can use only constant (as it was). otherwise you can set the parameter to be optional and then add to this condition an OR saying that <item>= NVL(:Parameter,<your default>)
    as <your default> you can use calculations so that if for example you want the current date you will create a calculation containing: SYSDATE.
    Is there any way to figure out is the LOV is madeup of fixed constant values (like independednt value set) or they are fetched from some sql query(table validated value sets)?They are based on SQL, even they are const then you will see it as
    select 'a','b'... from dual
    you can find the LOV (called item classes) in the administrator.
    Go to the item your condition is based on and see its properties.
    In the properties you should see the item class it uses.
    Close the properties and go to the item classes tab, search for this item class and figure the folder it came from.
    This is the folder you need to change in order to change the LOV.
    Hope it helped a bit, you sure asked several big questions...
    Tamir

  • Need help in modifying mapping parameters of out the box mapping

    Hi There,
    I am a new bee to dac.
    Need help in modifying mapping parameters of out the box mapping, which is invoked by DAC task.
    We got a requirement to edit mapping parameter. When I go and see parameter under mappings tab in a mapping, I could not see any values in it.
    But when I set any value, and validate it. It is successful.
    Is it right way to do it?
    What my concern is, When I initially go and see parameter values under maapings tab in a mapping, they are blank.
    Where is it storing these values?
    Thanks,
    Rag

    If you modify mapping then u have to create new task in dac and dac itself craete parameter file at run time. if you want to add more parameters then do it in dac system parameters tab.
    Thanks
    Jay.

  • Problem in mapping remoteobject on server side

    Hello all
    I am trying to use remoteobjects in Flex and PHP via Zend_AMF.  I am having problem in mapping the data object in flex with the one in PHP.
    Here's my code....
    private function getAuthors(event:Event):void
         serviceRO = new RemoteObject();
         serviceRO.endpoint = "http://localhost/sampleproj/public/";
         serviceRO.destination = "zend";
         serviceRO.source = "MyService";
         serviceRO.addEventListener(FaultEvent.FAULT, faultListener);
         serviceRO.getData.addEventListener(ResultEvent.RESULT, resultListener);
    Now, here's the server side directory structure that works for me....
    webroot
    + sampleproj
    ++ public
    +++ index.php (index file for the webapp)
    +++ MyService.php (this is the service class)
    +++ VOAuthor.php (this is the Value Object class)
    Since the index file, and the service file and value object are all in same directory, it works.
    This is what DOESN'T work....
    webroot
    + sampleproj
    ++ services
    +++ MyService.php (this is the service class)
    ++ vos
    +++ VOAuthor.php (this is the Value Object class)
    ++ public
    +++ index.php (index file for the webapp)
    The error that I get is:
    Channel.Connect.Failed error
    Here's little of something that's going on in index.php
    <?php
    require_once ('C:/webtools/zendframework/zf/library/Zend/Amf/Server.php');
    require_once ( realpath(dirname(__FILE__) . '/../services/MyService.php') );
    $server = new Zend_Amf_Server();
    $server->setClass("MyService"); // adding the class to AMF server
    $server->setClassMap("VOAuthor", "VOAuthor"); // mapping the ActionScript VO to PHP VO
    echo($server->handle());
    ?>
    My guess is that in ActionScript code I have to do something with RemoteObject's endpoint.
    Can anybody please help me out with this?
    Thanks and Regards
    ShiVik

    The problem turned out to be in the php code.
    Here's how I changed it
    <?php
    require_once ('C:/webtools/zendframework/zf/library/Zend/Amf/Server.php');
    $server = new Zend_Amf_Server();
    // the following methods provide the lazy loading of services and value objects
    $server->addDirectory( realpath(dirname(__FILE__) . "/../services/") );
    $server->addDirectory( realpath(dirname(__FILE__) . "/../vos/") );
    echo($server->handle());
    ?>
    Earlier I wasn't taking into account the change of directories for service and value object files.
    Thanks and Regards
    ShiVik

  • Problem in mapping -Guided procedures

    Hi All,
          I have a interactive form parameter called Price of type decimal in Guided procedure, and i have a BAPI parameter StdPrice of type decimal. when i tried to group these two parameters the "Group" button gets disabled. When i  tried by checking Ignore types i was able to group the parameters but once i save the action and look back its ungrouped again.
    Is there any difference between the BAPI decimal parameter and Adobe interactive form decimal parameter?
    Note : EP Version 7.0 and SP13, Adobe Live Cycle Designer 7.1
    With Regards,
    Gopal.

    The problem turned out to be in the php code.
    Here's how I changed it
    <?php
    require_once ('C:/webtools/zendframework/zf/library/Zend/Amf/Server.php');
    $server = new Zend_Amf_Server();
    // the following methods provide the lazy loading of services and value objects
    $server->addDirectory( realpath(dirname(__FILE__) . "/../services/") );
    $server->addDirectory( realpath(dirname(__FILE__) . "/../vos/") );
    echo($server->handle());
    ?>
    Earlier I wasn't taking into account the change of directories for service and value object files.
    Thanks and Regards
    ShiVik

  • Connection to the Ovi Maps server times out

    Hi, 
    I've been having a lot of problems downloading individual country maps using the Ovi Suite. Occasionally it works, but 95% of the time, the download seems to start ("Preparing") but after a few minutes, I get the following error message:
     "Connection timeout
    The connection to the Ovi Maps server timed out.
    Try again."
    System: Windows 7, Nokia Ovi Suite 2.2.0.241. My internet connection is fine. 
    Phone: E52, Ovi Maps v. 3.03
    Any advice will be appreciated.
    Thanks,
    mic

    Hi Schorly,
    You are right that when you try for maps update, the OVi Suite application connects to the maps server thru' you PC internet connection if you have already connected your PC to the internet.
    There is no settings needs to be configured in OVi suite if you have your PC connected to internet already excluding the proxy user name and password entry (applies only if you need to authenticate yourself to the proxy server, leave it blank if not needed) under OViSuite -> Tools -> Options -> General
    In the OVi Suite application login to your OVi account on the right hand side top of the window to make sure that your OVi suite application connects thru' your internet connection.
    In case if you still have the issue of connecting to the maps server, you may have to re-try later as the server might get timed out due to overload
    Regards,
    Diwa
    If you like my post, kindly acknowlege the same by giving a kudos to me

  • How to pass refcursor as input parameter to a procedure in a package

    Hi there
    Please can anybody explain me with an small example for
    passing a procedure output(output should be a refcursor) and pass that refcursor values into a procedure in a package as input parameter and this value i want to use as join condition in my procedure ie. ename=refcursor.ename like this).That my exact question is how to pass refcursor values as in parameter
    Pls suggest me with some example statements
    thanks in advance
    prasanth a.s.

    I am giving you a generic example.
    SQL> variable v_out REFCURSOR
    SQL> r
      1  DECLARE
      2  PROCEDURE TEST1(p_out OUT SYS_REFCURSOR) IS
      3  BEGIN
      4  OPEN p_out FOR SELECT EMPNO,ENAME FROM SCOTT.EMP;
      5  END;
      6  PROCEDURE TEST2(p_in IN SYS_REFCURSOR) IS
      7  v_empno NUMBER(10);
      8  v_ename VARCHAR2(30);
      9  BEGIN
    10  LOOP
    11  FETCH p_in INTO v_empno,v_ename;
    12  EXIT WHEN p_in%NOTFOUND;
    13  DBMS_OUTPUT.PUT_LINE(v_ename);
    14  END LOOP;
    15  NULL;
    16  END;
    17  BEGIN
    18     TEST1(:v_out);
    19     TEST2(:v_out);
    20* END;
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    PL/SQL procedure successfully completed.

Maybe you are looking for

  • Printing a PDF larger (twice normal size)

    Hello all, I have a PDF I wanna print out. When I print it it's 1 pg long. I want to double its size & print it over 2 pages. I have tried the following: in PREVIEW.app--increasing Page Setup print size to 200%. This just centers the PDF and leaves o

  • Ver 4 EA1 ghost tabs after restart bug

    I noticed that when I had a few new (unsaved) editor tabs open (with code in them) and I closed SQL Developer without saving (deselecting the unsaved tabs), next time I opened SQL Developer, the start tab would be open by default and the previously u

  • Where are the cool Nano features!?

    What features besides audio, file storage and basic alarm clock/watch are available on a Nano? I really want a 6th gen on my wrist to tell me upcoming calendar entries, missed calls, caller ID for starters (imagine the apps!). Any tips? Thanks guys!

  • Play old games on a new mac???

    I've got a lot of old educational games (Shcolastic, JumpStart...) at my home but they simply don't run on my iMac! Isn't there some way to run OS 9 games on 10.5?

  • Lightroom 5 keeps asking for a serial every time it starts after activation

    I just purchsed an upgrade serial for Lightroom 5. I enter it at the Try/Buy splash screen, it indicates that it is correct (green checkmark), I also provide the LR4 serial (autofilled, as it is still installed, green checkmarked), and hit Finish. Li