PE03 - Cannot directly enter return values

Hi all,
I have a simple feature, the first decision is based on field PERSK (employee sub group) with offset 0 length 1.
I wish to enter directly custom return values such as 1, 2, 3, 4, 5.
But it is forcing me to pick return values from an F4 style pop up.
The problem with using the F4 pop up is currently only Employee sub groups 1* and 2* are configured.
Hence I cannot enter 3, 4 and 5, because 3, 4 5* employee sub groups are not yet configured in the system.
I've checked other existnig features (e.g. QUOMO) and they do allow my to directly key in custom return values in a pop up box, regardless of whether they exist in the system or not.
Any idea why I can do this is one feature and not another feature?
I need to key in directly my own values.
Thanks
Kevin

Problem solved (not really solved but i found the reason why its happening this way).
Each feature is making use of a different structure
It is called "Structure name for decision fields"
(PE03 -> Attributes -> Struct)
QUOMO uses structure PME87 which had no check table against its PERSK field (SE11)
My custom feature was using another structure which had a check table against its PERSK field (SE11)
After debugging PE03 I realize that if there is a check table, it will enforce a F4 style drop down when creating return values from a decision in the feature.
Thanks all.
Kevin

Similar Messages

  • Dynamic Cascading Parameters - cannot select/enter parameter value

    I am rather new working with Crystal Reports and am having problems with Dynamic Cascading Parameters.
    I am using CR 2008 SP2, Version 12.2.0.290.  Data is from SQL server.
    I have a report to print labels for parts in an order.  I want to be able to enter the ShipTo ID then the contract number.  From there I would like a list of the parts on the contract and be able to select multiple parts to print labels for.
    I right clicked on Parameter Fields and chose New.  I named it ShipToContractPartNo, Type String, List of Values=Dynamic. 
    I added the values as follows:
    ShipToID - Editable, Allow Multiple=False, Allow Discrete=True (cannot be changed), Allow Range=False
    ...ContractNo - Allow Multiple=False, Allow Discrete=True (cannot be changed), Allow Range=False
    ... ...CustPartNo - Allow Multiple=True Allow Discrete=True (cannot be changed), Allow Range=False
    I added the Customer Part parameter to the label.
    When I test the label the parameter Enter Values window looks good but the drop down for Enter ShipToID does not have any ShipTo ID's to choose from and I cannot enter a value, therefore I cannot continue.  I also do not have a Cancel button and always have to end through Task Manager but that's probably a different, unrelated issue.
    I have tried this with and without entering Select Expert records.
    Could someone please tell me if I have missed a step or if there is a known issue?  I searched this site, I looked in CR Help, I referred to the book I have and I googled but have not found this speciic issue.
    Thanks in advance for your assistance.  Let me know if additional information is necessary.
    Jan

    OK.  I have rejoined/relinked all my tablesas follows (with abbreviated names for ease of reading). The actual SQL is at the end.
    ..Job_Hdr JOINED to Job_Shipto
    .....Job_Shipto JOINED to Job_Line
    ........Job_Line JOINED to Job_Bin
    ............Job_Line JOINED to Inv_Mast
    When I create a Dynamic Cascading Parameter prompt on just ContractNo (parent - from table Job_Hdr) and ShipTo (child - from table Job_ShipTo) then it gives me list of Contracts to select from and then a list of ShipTo's for that Contract to select from.  I place them in the Report Header.  I do not add them to the Select Expert.  This works great.
    Now I need to be able to select the parts necessary from the Contract/ShipTo.  When I try to create a Dynamic Cascading Parameter with ContractNo and ShipTo (set up the same as above)  and add in ContractPartNumber (from table Job_Bin) to the parameter then my ContractNo and ShipTo parameters no longer work.  It gives me only 1 contract number to choose from, which isn't the one I want.
    I have tried so many different things and I cannot get the parameters to work when I try to add PartNo into the parameters.
    Any suggestions now?
    Jan
    SELECT "p21_view_inv_mast"."item_desc", "p21_view_job_price_line"."customer_part_no", "p21_view_job_price_hdr"."contract_no", "p21_view_job_price_bin"."min_qty", "p21_view_job_price_bin"."reorder_qty", "p21_view_job_price_bin"."line_station", "p21_view_job_price_line"."row_status_flag", "p21_view_job_price_bin"."line_feed", "p21_view_job_price_bin"."row_status_flag", "p21_view_job_price_bin"."contract_bin_id"
    FROM   ((("Prophet21"."dbo"."p21_view_job_price_hdr" "p21_view_job_price_hdr"
    INNER JOIN "Prophet21"."dbo"."p21_view_job_price_customer_shipto" "p21_view_job_price_customer_shipto" ON "p21_view_job_price_hdr"."job_price_hdr_uid"="p21_view_job_price_customer_shipto"."job_price_hdr_uid")
    INNER JOIN "Prophet21"."dbo"."p21_view_job_price_line" "p21_view_job_price_line" ON "p21_view_job_price_customer_shipto"."job_price_hdr_uid"="p21_view_job_price_line"."job_price_hdr_uid")
    INNER JOIN "Prophet21"."dbo"."p21_view_job_price_bin" "p21_view_job_price_bin" ON ("p21_view_job_price_customer_shipto"."ship_to_id"="p21_view_job_price_bin"."ship_to_id") AND ("p21_view_job_price_line"."job_price_line_uid"="p21_view_job_price_bin"."job_price_line_uid"))
    INNER JOIN "Prophet21"."dbo"."p21_view_inv_mast" "p21_view_inv_mast" ON "p21_view_job_price_line"."inv_mast_uid"="p21_view_inv_mast"."inv_mast_uid"
    WHERE  "p21_view_job_price_bin"."row_status_flag"=704 AND "p21_view_job_price_line"."row_status_flag"=704
    ORDER BY "p21_view_job_price_bin"."line_feed", "p21_view_job_price_bin"."line_station"

  • Af:inputListOfValues: updating all attributes from 'List return values'

    Hi all,
    In my ViewObject, I have one LOV enabled Transient attribute (in order to display content meaningfull for the end user)
    In the List return values, I have one extra return value, which updates the real foreign key attribute
    When user launches LOV popup and chooses one of the vaules, both of my attributes from the List return values are updates properly
    However, when the user entered value directly (so, does not launch LOV popup), then the real foreign key attribute has not been set
    What to do in order to set foreign key attribute in both cases ?
    Maybe with one valueChangeListener and autoSubmit enabled ?
    Any idea ?
    P.S. Off topic : Seems thas password finder for my OTN account does not work, is there any way to "unite" my posts from my old account with this new one ?
    Edited by: user11208293 on May 28, 2009 8:49 AM

    Ok. It seems that no solution for this problem, so end user cannot directly enter the value in the af:inputListOfValues (into transient View attrbibute), since there no way to update the real foreign key value. The only option is to enable LOV not for transient, meaningfull attribute, but for f.k. attribute (which does not mean nothing for end user)
    What you doing in this situation ?
    Should I discard af:inputListOfValues ?
    P.S. just to note : LOV Autocompletion, as described in the Steve Muench atricle :
    http://www.oracle.com/technology/oramag/oracle/09-jan/o19frame.html
    works only if user presses Tab button (after entering value in the LOV filed).
    It does not work if user directly enter into LOV field, and then press some command button by the mouse
    Edited by: Cvele_new_account on May 28, 2009 11:38 PM

  • Accessing function's return value

    Hi there. I have created several pl/sql procedures and functions that I can run as standalone programs and I have no problem integrating them into my java code also. However I cannot access the return value of any created function from my java code. The functions appear to execute correctly because when I deliberately enter an invalid select statement I get the errors I expect to get for that instance nad if I enter a valid select statement in the function the program executes correctly but I still cannot access the function's return value. My java code where I execute the pl/sql function is as follows:
    CallableStatement p = cont.conn.prepareCall("{call ? := Hellen.FUNC}");
    p.setString(1, "z006"); //hellen.FUNC = function name
    p.execute();
    How do I access the return value of my function?
    Do I need to get a ResultSet?
    My function is as follows:
    function func
    return varchar
    is tester varchar(4);
    BEGIN
    select cfcc_code into tester from hellen.test1 where test1.cfcc_code = 'A21';
    return tester;
    END;
    Any help will be gratefully received, Joe

    You need to do something like
    p.registerOutParameter(1, java.lang.String);
    p.execute();
    String result = p.getString(1);Cheers, APC

  • Returning value in cursor

    I have a function that worked pretty good until now processing a single records at the time, but now the application requirements has changed. It is required the same function to process any number of records that the application will enter as criteria. I tried to use a (ref)cursor, but I cannot use the returning value inside.
    So, the chagne is below - instead of test_id = X, rownum <101 for example.
    How can I make it work?
    Thanks a lot for the help.
    Mj
    create table TEST ( test_id number, test_col varchar2(100));
    insert into TEST values (1 , 'RAM' );
    insert into TEST values (2, 'ram' );
    insert into TEST values ( 3, 'rAm' );
    set serveroutput on
    DECLARE
    v_delete_test_id number(9, 2) :=0;
    BEGIN
    DELETE FROM test
    WHERE TEST_ID =1 -- the change is here using now where rownum<101 or 10
    RETURNING test_id
    INTO v_delete_test_id;
    commit;
    dbms_output.put_line('test_id ' ||v_delete_test_id|| 'returned');
    END;
    /

    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2236

  • Return value for Direct OBPM SQL Query in OBPM 10GR3

    Hi all,
    I use a direct SQL Query provided by OBPM 10GR3 in my automatic activity to select certain elements from the db. The query is as follows:-
    foreach (element in
    SELECT id FROM TESTTABLE WHERE requestId = 732 and status = 1 )
    // statements
    logMessage("-- The id is-->" +element.id);
    This only returns when the id is found in the db but returns nothing when not found in db?
    How can I always get a return value? atleast a true or false, so that I can put IF statements?
    Because if it returns nothing, the loop does not execute {}? So we cannot put something like:-
    foreach (element in
    SELECT id FROM TESTTABLE WHERE requestId = 732 and status = 1 )
    logMessage("-- The id is-->" +element.id);
    if(element.id == null)
    logMessage("-- Id Not Found -->" );
    else
    logMessage("-- Id Found -->");
    How can I always get a return value from my OBPM direct query ?
    Remember , I am not using DynamicSQL in this case?

    Hi,
    Set a Boolean flag value to False before the SQL query.
    Some thing like:
    boolean flag = false;
    foreach (element in
    SELECT id FROM TESTTABLE WHERE requestId = 732 and status = 1 )
    logMessage("-- The id is-->" +element.id);
    flag = true;
    if(flag) {
    logMessage("-- Id Found -->" );
    else
    logMessage("-- Id Not Found -->");
    Hope the above logic would work fine.
    Bibhu
    Edited by: Bibhuti Bhusan on Sep 2, 2011 11:48 AM

  • Subprocess 33 was not successful. Master cannot read return value from S 33

    Hi All,
    We are on BI 7.0 SP 19.
    We have submitted a planning sequence in the background with automatic packaging.
    The planning sequence has two steps:
    Step 1. Z_PLNG_FUNCTION1
    Step 2. Z_PLNG_FUNCTION2
    As per automatic packaging, the system chose 0ACCOUNT for packaging.
    When submitted, each step has been submitted to 30 packages as 30 subprocesses.
    For Step 1, the log shows that All subprocesses  executed.
    For Step 2, the log shows that the subprocess 33 and 58 failed, which means subprocess #3, and # 28 for the step 2 as the subprocess is numbered in the log in combination with step 1.
    The messages in the log for the failed subprocesses are as follows:
    @5C\QError@     Subprocess 33 was not successful
    @5C\QError@     Master cannot read return value from subprocess 33
    @5C\QError@     Subprocess 58 was not successful
    @5C\QError@     Master cannot read return value from subprocess 58
    Our question is on how to find the exact cause of the subprocess failure.
    I tried to look for the details on the error messages, they have been not helpful.
    What is meant by 'Master cannot read return value from subprocess' and how to get the exact cause of the failure?
    Thanks in advance,
    Best Regards,
    - Shashi

    Shashi,
    implement the following notes and check again:1368659, 1525723, 1532061.
    Regards,
    Marc
    SAP Techology RIG

  • I'm using photoshop elements 2.0 and window vista.  when i want to crop i cannot enter any values in

    I'm using photoshop elements 2.0 and window vista.  when i want to crop i cannot enter any values in the width and height boxes.  the cursor won't enter.  same thing with resolution.  what did i do?  what's wrong?

    The first thing you might try is resetting the Crop Tool by right clicking on the crop icon in the tool options bar and choosing Reset Tool.
    If that doesn't work then the next thing is to reset the photoshop elements 2 settings file by holding down
    the Shift+Ctrl+Alt keys just after clicking or double clicking on the pse 2 shortcut.
    Keep holding the keys until a dialog appears ask if you want to delete the photoshop elements settings file
    and click yes in the dialog.

  • How to map the method action return value directly into screen using variables?

    Hi,
    My JDev version is 11.1.1.6.3.
    I have a 'MethodAction' defined in PageDef file, that goes to model layer and return String value. As this needs to be executed during initializing of pageDef, I have also added an 'InvokeAction' for that.
    <executables>
               <invokeAction id="invokeSayHelloId" Refresh="ifNeeded"
                                    Binds="sayHello"/>
               <variableIterator id="variables">
                    <variable Name="Name" Type="java.lang.String"/>
               </variableIterator>
    </executables>
    <bindings>
              <methodAction id="sayHello" InstanceName="HrAMDataControl.dataProvider"
                                     DataControl="HrAMDataControl" RequiresUpdateModel="true"
                                     Action="invokeMethod" MethodName="sayHello"
                                     IsViewObjectMethod="false"
                                     ReturnName="data.HrAMDataControl.methodResults.sayHello_HrAMDataControl_dataProvider_sayHello_result">
                                        <NamedData NDName="pName" NDValue="Michael John" NDType="java.lang.String"/>
             </methodAction>
    </bindings?
    Requirement:
    I want to map the return value of this method action directly into screen by making use of PageDef variables.
    Question:
    I. I need to know how to map this return value direcly as exprssion against PageDef variable.
    2. If Question 1 is achievable, assuming the method action returls List instead of String (I know well it returns 2 items), can I map the 1st Item against Variable 1 and 2nd Item against Variable 2 directly?
    Thanks in Advance.
    Ragu

    Thanks Frank, but If I directly map the MethodAction's result to UI, there are chances where it might get executed whenever I refresh the UIComponent (UIComponent to which the methodAction result is mapped. Isn't so??). Instead, If I invoke the MethodAction using InvokeAction, I can get the control on when it should get invoked (using RefreshCondition). If I assign the variable to UIComponent (Assume I've mapped the method action result to variable using expression), refreshing of UIComponent will not cause any performance issue I feel.
    Correct me If I am wrong.

  • Cannot enter correct values in the SQL server express 2012 using labview

    Hi everyone,
    I am trying to enter the 2D array I get from DAQ into the SQL server express 2012 using Labview. When I am run the software, it connects with the table but doesn't enter the correct values. It only enters the "0" for each column of the table. I have attached the VI as well as the screenshot from the database server. 
    I am also writing the same 2D array data into the text file and I get the correct readins there. 
    Is there something I am doing wrong here. 
    Attachments:
    test.png ‏251 KB
    test3.vi ‏96 KB

    If you had read the QL manuals or reference books, you would be aware SQL Server doesn't do multidimensional arrays.
    I prefer BLOBs or VARCHAR(MAXCHAR) as an alternative. I enter the values in formatted string values delimiter separated.
    But how to deal with multidimensional arrays. Well up to 3-5 you can use simple value for each "dimension". So the lowest dimension
    would be comma delimit. The next set of values and each succeeding set for each 2nd dimension values would have the "set" of values separated
    by a ":" or semicolon. For the third I use the ":" or colon to separate each 2D block of the 3rd dimension. This can all be easily reparsed
    with a multidimensional parser for the application. Should be simple to build. (e.g.. Use string arrays to parse the higher dimensions
    and numeric array for the lowest dimension). The VARCHAR(MAXCHAR) has an upper data bound of 2GB! If you have to save more
    than 3 dimensions for most all applications, you don't understand how best to analyze the test data and may want to give it more 
    thought to optimize the operation as well as the design, so it doesn't get too complex. By the way I use Data Clusters built in the
    data order and type as for SQL Server Data Table. This makes the design of the SQL Server interface easy as pie .

  • Cannot set Skillbuilder SuperLOV value

    Hello,
    i have a superlov item, P1_CODE which i am trying to set it's value from javascript.
    $s('P1_CODE', 'AA.001');
    The Enterable field is set to Enterable - Not restricted to LOV but i cannot set the field as it remains null. I can select from the popup list or enter directly a value.
    If i use the same code on a e.g. TextBox it works fine.
    I'm using Apex 4.2.3 and SuperLOV 2.0.2
    Teo
    Thank you.

    It does work. Don't forget that the superlov is built as a fieldset which contains a hidden item ( = return value) and the text item ( = display value). Calling either $s or apex.item.setValue with one value will set the return value of the item.
    JavaScript APIs: apex.item.setValue
    JavaScript APIs: $s
    $s(pNd, pValue, pDisplayValue, pSuppressChangeEvent)
    You can see it working as expected by inspecting the html. When you want to set the display value as well as the return value, then simply provide a third parameter.
    eg
    $s("P18_SLOV", "JAMES", "7900")
    Now, also be aware that the superlov has some interesting methods available, as seen in the documentation:
    The getValuesByReturn and setValuesByReturn methods can be used to programmatically fetch return values and set the item using the return values. getValuesByReturn will return a JSON object with the results from the fetch. setValuesByReturn goes a step further using the return values to set the display and return values for the item. Example(s):
    $('#P1_ITEM_NAME').apex_super_lov('getValuesByReturn', '101');
    $('#P1_ITEM_NAME').apex_super_lov('setValuesByReturn', '999');

  • Multiple return values (Bug-ID 4222792)

    I had exactly the same request for the same 3 reasons: strong type safety and code correctness verification at compile-time, code readability and ease of mantenance, performance.
    Here is what Sun replied to me:
    Autoboxing and varargs are provided as part of
    JSRs 14 and 201
    http://jcp.org/en/jsr/detail?id=14
    http://jcp.org/en/jsr/detail?id=201
    See also:
    http://forum.java.sun.com/forum.jsp?forum=316
    http://developer.java.sun.com/developer/earlyAccess/adding_generics/index.html
    Multiple return values is covered by Bug-ID 4222792
    Typically this is done by returning an array.
    http://developer.java.sun.com/developer/bugParade/bugs/4222792.html
    That's exactly the problem: we dynamically create instances of array objects that would better fit well within the operand stack without stressing the garbage collector with temporary Array object instances (and with their backing store: 2 separate allocations that need to be recycled when it is clearly a pollution that the operand stack would clean up more efficiently)
    If you would like to engage in a discussion with the Java Language developers, the Generics forum would be a better place:
    http://forum.java.sun.com/forum.jsp?forum=316
    I know that (my report was already refering to the JSR for language extension) Generics is not what I was refering to (even if a generic could handle multiple return values, it would still be an allocated Object
    instance to pack them, i.e. just less convenient than using a static class for type safety.
    The most common case of multiple return values involve values that have known static datatypes and that should be checked with strong typesafety.
    The simple case that involves returning two ints then will require at least two object instances and will not solve the garbage collection overhead.
    Using a array of variable objects is exactly similar, except that it requires two instances for the components and one instance for the generic array container. Using extra method parameters with Integer, Byte, ... boxing objects is more efficient, but for now the only practical solution (which causes the least pollution in the VM allocator and garbage collector) is to use a custom class to store the return values in a single instance.
    This is not natural, and needlessly complexifies many interfaces.
    So to avoid this pollution, some solutions are used such as packing two ints into a long and returning a long, depacking the long after return (not quite clean but still much faster at run-time for methods that need to be used with high frequencies within the application. In some case, the only way to cut down the overhead is to inline methods within the caller code, and this does not help code maintenance by splitting the implementation into small methods (something that C++ can do very easily, both because it supports native types parameters by reference, and because it also supports inline methods).
    Finally, suppose we don't want to use tricky code, difficult to maintain, then we'll have to use boxing Object types to allow passing arguments by reference. Shamely boxed native types cannot be allocated on the operand stack as local variables, so we need to instanciate these local variables before call, and we loose the capacity to track the cases where these local variables are not really initialized by an effective call to the method that will assign them. This does not help debugging, and is against the concept of a strongly typed language like Java should be:
    Java makes lots of efforts to track uninitialized variables, but has no way to determine if an already instanciated Object instance refered in a local variable has effectively received an effective assignment because only the instanciation is kept. A typical code will then need to be written like this:
    Integer a = null;
    Integer b = null;
    if (some condition) {
    //call.method(a, b, 0, 1, "dummy input arg");
    // the method is supposed to have assigned a value to a and b,
    // but can't if a and b have not been instanciated, so we perform:
    call.method(a = new Integer(), b = new Integer(), 0, 1, "dummy input
    arg");
    // we must suppose that the method has modified (not initialized!)
    the value
    // of a and b instances.
    now.use(a.value(), b.value())
    // are we sure here that a and b have received a value????
    // the code may be detected at run-time (a null exception)
    // or completely undetected (the method() above was called but it
    // forgot to assign a value to its referenced objects a and b, in which
    // case we are calling in fact: now.use(0, 0); with the default values
    // or a and b, assigned when they were instanciated)
    Very tricky... Hard to debug. It would be much simpler if we just used:
    int a;
    int b;
    if (some condition) {
    (a, b) = call.method(0, 1, "dummy input arg");
    now.use(a, b);
    The compiler would immediately detect the case where a and b are in fact not always initialized (possible use bere initialization), and the first invoked call.method() would not have to check if its arguments are not null, it would not compile if it forgets to return two values in some code path...
    There's no need to provide extra boxing objects in the source as well as at run-time, and there's no stress added to the VM allocator or garbage collector simply because return values are only allocated on the perand stack by the caller, directly instanciated within the callee which MUST (checked at compile-time) create such instances by using the return statement to instanciate them, and the caller now just needs to use directly the variables which were referenced before call (here a and b). Clean and mean. And it allows strong typechecking as well (so this is a real help for programmers.
    Note that the signature of the method() above is:
    class call {
    (int, int) method(int, int, String) { ... }
    id est:
    class "call", member name "method", member type "(IILjava.lang.string;)II"
    This last signature means that the method can only be called by returning the value into a pair of variables of type int, or using the return value as a pair of actual arguments for another method call such as:
    call.method(call.method("dummy input arg"), "other dummy input arg")
    This is strongly typed and convenient to write and debug and very efficient at run-time...

    Can anyone give me some real-world examples where
    multiple return values aren't better captured in a
    class that logically groups those values? I can of
    course give hundreds of examples for why it's better
    to capture method arguments as multiple values instead
    of as one "logical object", but whenever I've hankered
    for multiple return values, I end up rethinking my
    strategy and rewriting my code to be better Object
    Oriented.I'd personally say you're usually right. There's almost always a O-O way of avoiding the situation.
    Sometimes though, you really do just want to return "two ints" from a function. There's no logical object you can think of to put them in. So you end up polluting the namespace:
    public class MyUsefulClass {
    public TwoInts calculateSomething(int a, int b, int c) {
    public static class TwoInts {
        //now, do I use two public int fields here, making it
        //in essence a struct?
       //or do I make my two ints private & final, which
       //requires a constructor & two getters?
      //and while I'm at it, is it worth implementing
      //equals(), how about hashCode()? clone()?
      //readResolve() ?
    }The answer to most of the questions for something as simple as "TwoInts" is usually "no: its not worth implementing those methods", but I still have to think about them.
    More to the point, the TwoInts class looks so ugly polluting the top level namespace like that, MyUsefulClass.TwoInts is public, that I don't think I've ever actually created that class. I always find some way to avoid it, even if the workaround is just as ugly.
    For myself, I'd like to see some simple pass-by-value "Tuple" type. My fear is it'd be abused as a way for lazy programmers to avoid creating objects when they should have a logical type for readability & maintainability.
    Anyone who has maintained code where someone has passed in all their arguments as (mutable!) Maps, Collections and/or Arrays and "returned" values by mutating those structures knows what a nightmare it can be. Which I suppose is an argument that cuts both ways: on the one hand you can say: "why add Tuples which would be another easy thing to abuse", on the other: "why not add Tuples, given Arrays and the Collections framework already allow bad programmers to produce unmainable mush. One more feature isn't going to make a difference either way".
    Ho hum.

  • Authorization check on Function module return values

    Hi,
    I have a tricky situation. In our BW implementation, many of the FI infoobjects are authorization relevent. One of the objects is 0COSTCENTER.  A user has been assigned with authorization profile, in which the user is authorised for COST CENTER = A* and #.  All planning templates were working nice.
    We were on SP 12 earlier, now we upgraded to SP 20. Now came a issue, the user gets error that user is not authroised for the data. After our analysis, we found nothing wrong as such, so contacted SAP. They came back with a root cause
    In my planning function, an ABAP function module is used. The function module returns a COSTCENTER value. This return value is then assigned to a variable, this variable is of type 0COSTCENTER.
    SAP said there was a bug in their own design. The bug was, if the cost center value is directly used in planning function for other calculations, it will throw an authorization error.  But, if the COST CENTEr value is given to a variable and that variable is used for other calculations,  it works fine. Thats why it worked for us earlier.
    Now, they have removed that bug, so variables are also checked against authorizations and they said we need to either change the code or give * for the COST CENTER authorization.
    So we have a problem. It is not straight forward to give * for COSTCENTER in FI BW implementation. SAP theory is that they cannot say which value the functional module will return. So they will check against ALL the values for COSTCENTER but not the authorised values.
    Has anyone seen this issue before? is it only specific to planning function or its just ABAP concept? Any suggesations to come out this problem?

    Bindu, thanks,
    The error is coming at the program compile level itself i.e. before executing the planning group itself. As per the F1 help on forumla editor and from their support, the system reads all the reference data,  So when it sees the function module and its export parameter, it captures all the data for COST CENTER as reference data.
    Thus even I am sure that the return value will be always authorized, the reference data is checked for the full authorization. Thus its failing

  • Return values for deadlock handling in BDB-SQLITE

    The whitepaper titled "Oracle Berkeley DB SQL API vs.SQLite API – A Technical Evaluation, November 2010" notes that
    all programs should be able to handle SQLITE_ERROR or SQLITE_LOCKED while handling potential deadlocks. From the sqlite errorcode page
    #define SQLITE_ERROR 1 /* SQL error or missing database */
    Further documentation lists SQLITE_ERROR as "This return value indicates that there was an error in the SQL that was passed into the sqlite_exec."
    Question 1:
    Why is BDB-SQLITE raising a generic errorcode "SQLITE_ERROR" when we have to abort a transaction and start all over again?
    While running my test application under intensive load, I have never gotten SQLITE_ERROR. I have gotten SQLITE_LOCKED and occasionally SQLITE_BUSY which is being handled in my code.
    Question 2:
    Can someone please confirm whether is this indeed is the expected behaviour?
    Thank you for your time.

    The behavior described in the white paper only applies to Berkeley DB version 5.0, versions 5.1 and beyond do not have this behavior.
    In DB-5.0 SQLITE_ERROR is returned when you attempt to use an explicit transaction that has already returned SQLITE_LOCKED. The reason for this is because in BDBSQL (as opposed to SQLite) SQLITE_LOCKED is returned when a transaction is forced to give up its locks because it has entered a state of deadlock with another transaction. Because the transaction has lost its locks it is invalid and cannot be used anymore other than to abort it, that is why SQLITE_ERROR is returned if you continue to use the transaction. In DB-5.1 and beyond SQLITE_LOCKED means only the last operation lost its locks and has been rolled back, the transaction is still good and can still be committed or be used to perform other operations.
    I hope this clears up your confusion.
    Lauren Foutz

  • POPUPKEY_FROM_QUERY returning value to wrong row

    Hi,
    I'm running Apex 3.0.1. I have a tabular report that I'm trying to add a popup from query that returns the key/code value (instead of the display value).
    I can call the pop-up okay, but it's returning the value to the wrong table row. I can see in the naming of the Javascript functions that it's looking at the wrong row. For example, here are 4 rows in display order and the names of the Javascript function calls:
    1. javascript:genList0_f15_1()
    2. javascript:genList0_f15_3()
    3. javascript:genList0_f15_2()
    4. javascript:genList0_f15_0()
    I can see in the function call that it's passing an index that doesn't match the displayed row number here:
    "&p_element_index=" +  escape ('1') + So if I click on the LOV icon for row 1 and select one of the LOV values, it will return the value to the second displayed row (zero-based index).
    I've read here of some issues with not having all rows make the call (e.g. in this post from Patrick Wolf date_popup returning value to wrong row but all my rows have values.
    The tabular report allows sorting by column headers, which I would guess is (at least part of) what's messing the function numbering? The query generates the rows, including the function calls, but the report displays in a different order?
    Any suggestions would be greatly appreciated.
    Thanks,
    Stew
    Good luck,
    Stew
    My Oracle Community blog: http://www.oraclecommunity.net/profiles/blog/list?user=stewstryker

    Christina,
    You hit the nail on the head! The tabular form region was defined as SQL Query - without the Updateable part! I'm not sure why I didn't have it that way from the start...
    Now I just have to find and implement the Javascript that will copy the updated value that's returned by the LOV to the correct column (defined as apex_item.text). That was the only way I could figure how to allow the user to enter a value directly or select from a LOV. Clumsy but functional I believe!
    Thanks to you and Scott for the tips.
    Stew

Maybe you are looking for

  • HTML Gallery Output error.

    I am trying to output a folder of photos into an html web gallery and getting an error. Web Gallery Output Error: I get an error when I try and do an HTML Gallery from CS6 Bridge on Windows 7 64bit. After hanging on "generating html for several minut

  • Need help on running methos in Forms 6i

    When I was trying to run a methods from Forms 6i Iget this message PDE_PSD001 Could not resolve reference to <unknown program unit> while loading block PO_05_aug In SQL I run the following code: CREATE OR REPLACE TYPE T_PERSONA AS OBJECT (NOMBRES CHA

  • E.     They are getting material from customers. This while receipt will be non

    Hi Friends,                    1. They are getting material from customers. This while receipt will be non valuated. But they want to avail CENVAT on this.                     2. In some times, Supplies from customer are delayed.So they are adjusting

  • CBO madness after bulk loading

    This is an extension of my other recent posts, but I felt it deserved it's own space. I have a table of telephone call records, one row for each telephone call made or received by a customer. Our production table has a 10-field PK that I want to dest

  • Re: Migration from Sysbase Adaptive Server 11.5 to Oracle 8.0.6

    I had a problem when using Oracle Migration Workbench to migrate a database from Migration from Sybase Adaptive Server 11.5 to Oracle 8.0.6 in NT environment. It contains only 8 tables. Firstly, it captured well the source database from Sybase. But I