Not able to clear bind variable following Fusion Dev Guide Document Steps.

Dear All,
I am having trouble following the Fusion Developer Guide specifically the items on below link
http://docs.oracle.com/cd/E23943_01/web.1111/b31974/bcquerying.htm#CHDDHIHJc
1.     (Request begins and application module is acquired)
2.  Call setWhereClause(null) to clear WHERE clause
3.  Call setWhereClauseParam(null) to clear the WHERE clause bind variables
4.  Call setWhereClause() that references n bind variables
5.  Calling setWhereClauseParam() to set the n values for those n bind variables
6.  Calling executeQuery()
7.  (Application module is released)I wanted to actually clear all my bind variables including the bind variable that I have set in the query.
SELECT Persons.PERSON_ID,
       Persons.PRINCIPAL_NAME,
       Persons.TITLE,
       Persons.FIRST_NAME,
       Persons.LAST_NAME,
       Persons.PERSON_TYPE_CODE,
       Persons.SUPPLIER_ID,
       Persons.PROVISIONED_FLAG,
       Persons.PRIMARY_ADDRESS_ID,
       Persons.REGISTERED_DATE,
       Persons.MEMBERSHIP_ID,
       Persons.EMAIL,
       Persons.CONFIRMED_EMAIL,
FROM PERSONS Persons
WHERE Persons.PERSON_TYPE_CODE = :PERSON_TYPE_CODE_PARAMStep 3 is where I am having problem. I cant find in the API regarding setWhereClauseParam(null) that accepts String but
it only has setWhereClauseParam(int, String)
Not sure if I am running on some documentation bug.
JDEV 11G PS5

This look like a documentation bug to me.
The right method to call is
setWhereClauseParams(null); //note the 's' in Params!Timo

Similar Messages

  • Not able to clear bank statement accounting entry with payment document.

    Hello FI guru,
    We are facing  problem to clear bank statement accounting entry with payment document  posted via t.code F110 (Automatic payment program).
    There is only single entry for payment in bank statment . But many entries in F110 for different vendors. Will posting the bank statement entry i.e Bank clear account Dr
                                        To Bank main account
    Its post with an error Error F5 263 the diference is too large.
    We are using muticash format & we have use 4 which clear Dr GL
    Request your help to resolve the problem Whether we missed any configuration or we have develop program for the same

    Hi,
    This error generally is due to tolerance error. Please check the assignment of the user id with the relevant tolerance groups. Let me know if it worked.
    or go through the following link
    F5 263 - The difference is too large for clearing
    BR,
    Satya

  • F110- not able to clear the debit and credit entry with the same reference

    Hi,
    I am not able to clear the debit and credit entry with the same reference in F110 even after having the payment terms as immediate payment, payment method is maintained in document no and vendor master data. Both debit and credit entry is appearing in FBL1N as an open item but it is not appearing in F110.
    In Log message appear as 8 days grace period is existing whereas as payment term is just 0001- immediate payment.
    Kindly advice me what could be wrong.
    Thanks,
    Manya.

    Hi,
    Credit and debit balance in vendor account are not cleared automatically when only vendor line item has payment method and credit memo has not payment method. Also when there is not payment method maintained in vendor master data.
    In such case to avoid payment to vendor when vendor has debit balance we perform debit balance check.
    In second scenario when u2018individual paymentu2019 is selected in vendor master data vendor invoice and credit memo are not cleared automatically in F110.
    To setoff vendor credit and debit balance in F110 you to uncheck u2018individual paymentu2019 check in vendor master data > company code data > payment data.
    Thanks!
    Raju

  • Not able to clear the credit balances in EURO EEFC account u2013 150180

    Hi Friends,
    Not able to clear the credit balances in euro foreign currency account 
    Kindly do need full.
    Thanks,
    SRIKANTH

    Dear Srikanth,
    Can you be more elaborate. If you are trying to clear the EURO account in your local currency, if system issues error message, then in OBY6, select check box no diff in forex when clearing in local currency.
    If this is not the issue, please elaborate in detail.
    Thanks
    Aravind

  • Not able to set the variable to the variant in dynamic selections

    HI,
    I got a ticket related to variant. The variant is created to the report and logical database is added in the attributes of the report so that we can have the option to choose the dynamic slections. Variables are created in TVARVC table. I am able to set the variable by pressing F4 in dynamic selections to the variant. When i save and comeback, i am not able to see the variables in the dynamic selections. I can save the variables in static selections and it is working fine. Pleas help me i need this urgently.

    Hi,
    maybe sth wrong with the passing of parameters in the value help of the affected field.... Pls check.
    BTW: do u pay us for solving your customer tickets? (-;
    Cheers,
    André

  • HT3775 I am not able to convert movies, keep getting this message The document "The Walking Dead Trailer - YouTube-2.mp4" could not be opened. The movie's file format isn't recognized. not sure why, anybody know

    I am not able to convert movies, keep getting this message The document “The Walking Dead Trailer - YouTube-2.mp4” could not be opened. The movie's file format isn't recognized. not sure why, anybody know

    Sounds like someone ripped the movie off of YouTube and it got corrupted in the process. Try getting the movie file again, or try using an alternative movie player such as VLC: http://www.videolan.org

  • Not able to clear out a formula field value when variables are equal to 0

    I am trying to calculate the difference between a formula field from a main report and a formula field from a subreport. When i run the report i get a correct difference calculation only when both formula fields have a value different than 0. When both values are 0 then the difference calculation shows the last item quantity from the formula field in the subreport that had different values than 0.  It looks like the difference calculation is not being clear out before jumping to the next value calculation.

    try to clear the variable values once done with calculation like
    whileprintingrecords;
    shared numbervar i:=0;
    regards,
    Raghavendra

  • $a_report to refresh a report but it is not picking up the bind variable

    Hi
    APEX          -     Application Express 4.1.0
    Browsers     -     All
    Database     -     11g2
    I have a tree region on a page. When a user clicks a leaf of the tree I want to be able to use the ID to refresh a report in a different region on the same page
    Code for when the user clicks the leaf
    $('div.tree li a').click( function() {
    node_id = $(this).parents('li:first').attr('id');
    if (node_id.substr(0,node_id.indexOf('|')) == 'Y')
    $s('P4_SELECTED_VALUE',node_id.substr(node_id.indexOf('|')+1));
    alert('Value Set: ' + $v('P4_SELECTED_VALUE'));
    //$a_report('28576803999973770','1','20','20');
    $a_report($v('P4_REPORT_ID'),'1','20','20');
    SQL Statement
    SELECT *
    FROM PRODS p WHERE PROD_CODE = :P4_SELECTED_VALUE
    The problem I have is that when the report is run (I know it is refreshing) the P4_SELECTED_VALUE bind variable is set to NULL.
    The alert pop contains the correct value and when I make the P4_SELECTED_VALUE visible it also contains the value?
    Any help is much appreciated
    Rob

    Rob,
    You need to insert P4_SELECTED_VALUE value into APEX session before refreshing the report.
    Add following JS function in your page
    //insert value into session using JS
    function fnSetSessionState(pItem, pValue) {
        var vAjaxDummy = new htmldb_Get(null, $v('pFlowId'), null, 0);
        vAjaxDummy.add(pItem, pValue);
        var vDummy = vAjaxDummy.get();
        vAjaxDummy = null;
    }and your code..
    $('div.tree li a').click( function() {
    node_id = $(this).parents('li:first').attr('id');
    if (node_id.substr(0,node_id.indexOf('|')) == 'Y')
    $s('P4_SELECTED_VALUE',node_id.substr(node_id.indexOf('|')+1));
    alert('Value Set: ' + $v('P4_SELECTED_VALUE'));
    fnSetSessionState('P4_SELECTED_VALUE',$v('P4_SELECTED_VALUE'));
    //$a_report('28576803999973770','1','20','20');
    $a_report($v('P4_REPORT_ID'),'1','20','20');
    });This is how I used to do in version 3.2 or before. But now I prefer to use Declarative dynamic actions..
    Regards,
    Hari

  • Not able to Pass Reference Variables to Deferred task

    Hi All,
    I am not able to Pass the reference variables to Deferred task, With the following code, I am getting null values (for the passed refs) in Deferred Task.
    Code is as:
    <Action id='1' name='Set Deferred Task Action' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='addDeferredTask'/>
    <Argument name='type' value='User'/>
    <Argument name='name' value='$(empId)'/>
    <Argument name='authorized' value='true'/>
    <Argument name='task' value='WF_User Deferred Task'/> // Task defination
    <Argument name='date'>
    <Date>2008-11-19T14:50:18.840Z</Date>
    </Argument>
    <Argument name='taskDefinition'>
    <block trace='true'>
    <defvar name='usrObject'> // This is the variable I am passing to 'WF_User Deferred Task'
    <new class='com.waveset.object.GenericObject'/>
    </defvar>
    <invoke name='setAttributes'>
    <ref>usrObject</ref>
    <map>
    <s>accId</s>
    <ref>empId</ref>
    <s>updStatus</s>
    <ref>newStatus</ref>
    </map>
    </invoke>
    </block>
    </Argument>
    </Action>
    <Transition to='End'/>
    Please suggest me.
    Thanks,
    Ravi.

    yeah, you don't have your usrObject available in the deffered task however all variables that you put inside the usrObject are avialble. Like <ref>accId<ref> and <ref>updStatus</ref>. If you still need them organized hierarchically, you might try to add one more level to the object before passing it to addDefferedTask
                <block>
                  <defvar name='objWrapper'>
                    <new class='com.waveset.object.GenericObject'/>
                  </defvar>
                  <defvar name='usrObject'>
                    <new class='com.waveset.object.GenericObject'/>
                  </defvar>
                  <invoke name='setAttributes'>
                    <ref>usrObject</ref>
                    <map>
                      <s>accId</s>
                      <s>yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy</s>
                      <s>updStatus</s>
                      <s>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</s>
                    </map>
                  </invoke>
                  <invoke name='setAttributes'>
                    <ref>objWrapper</ref>
                    <map>
                      <s>usrObject</s>
                      <ref>usrObject</ref>
                    </map>
                  </invoke>
                  <ref>objWrapper</ref>
                </block>I hope you ve got the idea. Cheerz.

  • Not able to clear customer through EBS FF.5

    Hi,
    I am trying to clear a customer invoice through the MT940 file upload by ff.5. But it is not able to pick up the invoice and ending in error
    stating "the difference is too large for clearing"
    Below is my EBS config
    below is the external transaction type and internal trasaction type config
    this is the customer invoice which I am trying to clear.
    I am trying to upload the below MT940 file by mentioning the invoice number in tag 86
    But I am ending up in the below error.
    Please let me know, where am I going wrong. Has it got something to do with teh OB74 settings?
    Or if I have to put some more info in tag 61 or tag 86. Please let me know.
    Regards
    SR

    Hi Swatik
    If you see in Posting rule CHIC 2 you haven't defined any accountsysmbol and posting  posting key  for Credit side
    to post this you need to go in FEBA . ENter you company code , House bank and account ID . then Execute . here you can see all bank statment .
    Now choose the statement number you want to post and then expand to see all transaction . There you will this Entry in RED . Now  select that transaction and do RIGHt and click on ON post . This will take to Transaction F-05 .where you can post .
    THIS  RULE IS DEFINED TO POST MANUALLY INSTEAD OF AUTOMATICALLY ..
    Many Thanks

  • Not able to clear GR/IR accont

    Hi,
    We are executing transaction code F.13 to clear GR/IR account.
    However, still there are some documents appearing in the account as uncleared.
    For all the documents unclaered, two accounts are involved: one for GR and other one for IR.
    We tried transaction code MR11 also to clear the documents but not succeed.
    Please help us to finf the solution of the issue.
    Please let us know for any other information.
    Regards
    Deepak Garg.

    Hi Deepak,
    MR11 should clear all the balances in the group currency, other than any local amounts or rounding off differences.
    For Auto Clearing of GR/IR Please follow the below steps.
    1. Change the GL Account GR/IR Master Sort Key -014 .
    2. SPRO->Financial Accounting (New)->Business Transactions->Open Item Clearing->Prepare Automatic Clearing
    There you config .
    Chart of Account - Acct Type(S) -GL Accounts(GR/IR Account) - ZUONR(Criterion 1) only.
    3. Execute the T.Code F.13 for Auto Clearing (With GR/IR Account)
    This will work in future posting GRN's only. If you want update old GRN's You need to Run LSMW for updating the assignment field Purchase order number and Line Item number.
    Hope It will clear.
    Regards,
    Kishore K
    Edited by: kishore babu on Nov 17, 2009 2:01 PM

  • Not able to clear an open line item using F-44

    Hi Experts,
                     I am trying to clear  open line items of a document using F-44. But I am getting message "No appropriate line item is contained in this document". The open line item document is available in BSIK table also. Please help me out here.
    Regards
    Amit kumar

    - Check some table fields in the missing documents using Transaction SE16. The following conditions must exist for the missing document numbers in question -
    BSIS-XOPVW = X (Indicator: Open item management, only for G/L accounts)
    BSEG-XOPVW = X (Indicator: Open item management)
    BSEG-AUGBL = space (clearing document number)
    BSEG-DISBN = space (discount document number)
    BKPF-BSTAT = space (document status)
    BKPF-XSTOV = space (indicator reversal flag)
    REGUS/REGUP -> see below
    - Check Note 136754 - F-03, F-32, F-44, F-28 missing open items (link below)
    Note 136754
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=136754]
    Rgds.

  • Customer balance not able to clear in APP (F110)

    Hi,
    We have 4 line items in a document as follows:
    PK               Amount
    04                      40.12 (Opening balance)
    17                   4838758.27-
    17                   1531556.00-
    27                   6370274.15
    The above document Customer & Vendor both are there and 3 line items are cleared. 
    1st line item 40.12 is debit balance and it is not cleared, 
    we put the baseline date as 24.05.2008 and we ran the F110 job and this item is going to exception list.
    (It is showing Discount base 40.12 & No pymt possible because items with a debit bal.still exist)     
    Can you please let me know why this is going to Execption list.
    Best reagards,
    Madhusudhan

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Not able to clear material from quality stock

    Hi,
    There is a stock inconsistency between inspection stock in materials management and inspection stocks managed in inspection lots.Due to this, unable to clear inspection stock. I tried with QA08 ,MB1B also assiging inspection type 08 but still posting not happening fron inspection  stock to unrestricted stock.
    Regards,
    Ravi

    Hi Ravi,
    Please note / clarify following :
    1) If  in material master of QM you have activated  post to inspection (no lot generation with 01 or 04 type insp) then stock will appear in quality, and you should or can only clear it using MB1B 321 movement type.
    2) If already you have activated 01 or 04 or 08 then you will be allowed to post stock through inspection only (QA11).
    3) Check one more important point :
    From old lots somebody might have done result recording and given UD but forgot to do stock posting. you can find such lots with status 'SPRQ'. go to QA32 put particular material, remove range dates and select all insp lots. from the list apply filter to column 'system status' check for ' SPRQ ' in the filter. you will lots where UD given (green radio button)  but stock posting pending.
    Please elaborate if problem if not resolved.
    Best Regards,
    Shekhar

  • Not able to clear vendor items in f-44

    hi guru's
    it is a supplier account that we want to clear. There is a problem of exchange rate as two  posting is in USD and three postings in EURO.
    So We have posted in FB01 a new posting saying that the 172 USD should equal 133.13 u20AC and not 133.38 u20AC.
    Amounts are looks zero when we are matching up in F-44, but at the time of saving document it is giving an error u201CEx.rate diff.accts are incomplete for account 0000260080 currency USDu201D
    What is wrong any idea?
    Regards
    Sunitha

    Hi
    u201CEx.rate diff.accts are incomplete for account 0000260080 currency USDu201D
    It seeems you are not maintaining Exchange Rate Difference Accounts.
    Those accounts are Expense Account and Exchange rate gain Account.
    Go to OBA1 and assign these accounts.
    Your problem will be solved.
    Regards
    Venkat

Maybe you are looking for

  • HT1529 I have multiple apple ID's and want only one.  My accounts have breeze

    My accounts have been compromised. Shady husband doing shady things causing password problems. Please help me to create only one ID to use my iPhone4S iPad Air and windows PC

  • Using Firewire devices results in desktop stuttering

    Firewire traffic is causing desktop performance to decline. On my Mac Mini (late 2009, 4 GB RAM) even slow amounts of firewire traffic is causing bad spaces performance (stuttering while moving from space to space) and jerky window movement. I have t

  • Filesystem V/s raw disk

    Hi all, I have a RAC, with OS solaris 9 and Oracle 9i installed.I want to transfer raw disk from one sun server to filesystem on solaris 9 to another server on the same cluster. How should i Proceed?

  • Warning Message during Reversal of Invoice

    Hi, I receive a warning message when I tried to reverse an invoice that was posted but not paid yet. The message states: FMUP027 "Payments are not updated in FM Ledger 9A". The explanation is that "The payments are not updated in ledger 9A in spite o

  • How to unlock my ipod 5 without passcode

    i cahanged my passcode yestrday but forgo what it eas please help