How to pass Earmarked Fund in BAPI_ACC_INVOICE_REceipt_post

We are using this bapi to do FB60 and need to pass the reservation &res. line number to the GL lines.  This will sit in the Earmarked Fund Field.  But I did not see the fields I could use to pass this info.  Any Help on how to send this into the document ?
cheers
Prashant

Hello Prashant,
I have a similar issue. Could please let me know how you resolved your issue.

Similar Messages

  • How to View the Actual Remaining Budget for Earmarked Fund?

    Hi All,
    First of all, pardon if my questions below are very basic, I'm an ABAPer trying to gasp the big FI process.
    Background:
    I created a project definition then allocate a budget via CJ30.  I created WBS Element then allocate a budget again.
    I created an Earmarked Fund via TCODE FMZ1 using WBS Element as my main budget allocation.  I then created a vendor invoice using that WBS Element.  I then post a payment against the invoice created.
    Via PS Report s_alr_87013557, I can see that my actual budget was deducted by the funds disbursed from my payment document.
    Does it have an impact on my earmarked fund?
    If I use the Earmarked Fund in my posting, is there a similar report to PS where I can see the actual budget deduction?
    Thanks.

    I am dealing with a similiar situation right now. In the standard PS reports, I cannot find where the value type (2A) for funds reservations (earmarked funds) is included in the report characteristics.
    We made a copy of one of the standard PS reports S_ALR_87013534 (form 12KST1G)  by going into CJE6 and then added value type 2A. After changing the custom report, your payment using the earmarked fund will be in the actual column and the remaining unused amount for the earmarked funds should be in the commitment column.
    In the earmarked fund document when you display it there is a button for consumption that shows the activity for that document.

  • Earmarked funds - Express document "Update was terminated" error

    Hi,
    When i create a contract(RECN), a earmarked funds document getting created and it updates the table KBLK with single primary key BELNR.
    I see in the Tcode OK60, the number range assinged is '05' - 0200000000 to 0299999999.
    KBLK table has entries created from 0200000000  to 0299994311 which were created earlier.
    From this financial year, when i am creating a contract, the new BELNR is started again from 0200000000 series, hence it throws an error message "Express document "Update was terminated" since entries are already exist in the KBLK table.
    Finally i understand we have to change number range assignment.
    Where can i do this? Please help if my understanding is wrong, how can i rectify this issue.
    Thanks,
    Bharath.

    Hi,
    U can change the number range for the contract for this fical year and make it start from  0299994312 to 0299999999.
    But it seems u have already used most of the numbers, so go for a new number range for both the documents.
    Hope this helps
    Deepak

  • KR Reference Field coming from Earmarked Fund

    Hi Experts,
    We have distributed our data entry of non PO related invoices out to end users.  They data enter and park the invoice.  Then Central AP uses their workflow inbox (SBWP) to view and "approve" the document to post it.
    This works great EXCEPT when the invoice is charged to an Earmarked Fund (specifially a funds commitment), AP gets an error that "For document type KR, an entry is required on field Reference number"  XBLNR is filled in with the Vendor's invoice number on the parked document, but we are told by SAP, that it is our config that is causing the issue.
    On the funds commitment (fmz3), we can view that on the Header of the commitment that we have always left the field REFERENCE blank.   We did configure under Earmarked Funds and Funds Transfers\Define Rules for account assignment, that the Reference Document Number is Active, but this allows us to fill in field REFBN in other areas for reporting. 
    When we just post an invoice FB60, we've never had a problem with the funds commitment's REFERENCE field conflicting with the Invoice's Reference field.  When I do enter something on the REFERENCE field of the funds commitment, it OVERWRITES what the invoice had in the reference field when we do the Park then POST using workflow (uses FBV0 funcitonality).  It does not overwrite it though when I just post using FB60 or FV60. 
    SAP has stated that they intentially designed their programs differently which is why they behave differently.
    So does anyone have any suggestions on how to get the parked document to post BUT to keep the Vendor's Invoice number in the Reference field? Instead of it being overwritten from the Funds Commitment?
    Would appreciate your guidance,
    Cindy

    Hi,
    I think your FM analyst got the direction wrong. System will always populate REFBN field in table FMIOI with PO# or other source document number. The configuration you mentioned controls whether you want the system to transfer the value of REFBN to a follow-on document with reference to an earmarked fund - the direction is from FM to FI. For example, when you create an earmarked fund 1234, you will see an entry in table FMIOI with field REFBN populated with 1234; this has nothing to do with the configuration in defining rules for account assignment transfer in earmarked fund. Then, you create an invoice with reference to earmarked fund 1234; this time, system will transfer the values of the fields in document 1234 to the invoice according to the said configuration.
    Regards,
    Ming

  • Budget mandatory for earmarked fund

    the funds managment module is made mandatory and activated. while accounting the expenses the system checks the buget avaialality and does not allow unitl the budget is available for a committment item.
    i want to make the budget availablity mandatory even while raising the earmarked fund against the budget. i am able to raise earmarked fund even without any budget upload.
    i want to know how to make budget mandatory for earmarked fund pleae.
    regards
    sathya

    Hi,
    That's up to your update profile. Check whether earmarked funds are created as statistical updates; you can do it via OFUR transaction. Then, change it to be non-statistical for relevant value type (81, 65 or 82 - depending what earmarked funds - commitments or reservation - you are using).
    Regards,
    Eli

  • FMX2 - earmarked funds  and SAP Content server

    Hello all,
    Need a help to find solution for the following issue.
    Customer would like to have earmarked funds   attachments  save on SAP Content server u201Eout of databaseu201C.
    So in detail, customer run FMX2 change document and from menu choose Environment > Object list > create attachments
    Attachment is save on DB, so question is how to change this to save attachments on SAP Content server. And what is need to set up at transaction OAC3 to which Object type and document type is for attachment at FMX2.
    SAP Content server is up and running also we have repositories u2013 this is not issue. Issue is only to fill in data at OAC3 with correct object type and doc. Type.
    Thanks for any help
    Peter

    Hi, it's better to ask from basis team. In table maintained link between Document type and 'place' where you want to save your documents, it's not FM customizing

  • Earmarked Funds and Funds Transfers Workflow WS50000016

    Hi all,
    I'm trying to activate the Earmarked Funds and Funds Transfers Workflow with no success.
    On the Funds Management IMG I've found some info about it with some steps to activate this workflow.
    But the template WS50000016 in that info is not in this Installation, neither the Standar Task TS80500064 that also appears in the IMG documentation.
    Can you tell me if I can find or download or see that template so I can continue with the steps?
    Or if a will have to do it from scratch, what are the steps?
    I'm not a workflow expert.
    Thanks in advance for your help
    Jose Pinedo

    Hi Ravi, what you said is almost exactly the same as I did in my last message.
    When I solved the issue I marked this post as "answered" because I didn't see how to close it.
    Regards,
    Jose

  • Earmarked funds budget check in SRM

    Hello to all SRM experts,
    I've added two customer fields (earmarked funds and earmarked funds item) in the account assignment according to note 672960 using the INCL_EEW_PD_ACC_CSF structure.
    Now we need to add those fields to the standard account assignment check performed by the system.
    We are using ECC 6.0 for our B/E system and SRM 5.0 deploying the extended classic scenario.
    What the client expects is for a budget check against the earmarked fund along side with the FM budget check.
    Any ideas how to add those to customer fields to the standard account check?
    Raz
    Message was edited by:
            Raz Golan

    Hi
    <b><u>Please go through this -></b></u>
    <u>You need to code the SRM Budget checks logic part by your logic and implement the same on the Customer fields using BADIs.
    Use BBP_DOC_CHANGE_BADI (For changing Buget values) and
    BBP_DOC_CHECK_BADI (For issing Customer messages to Shopping cart web page)</u>
    <b>Budget availabiltiy check will take place in R/3. This check has to be set in R/3 as there is no specific FI settings in SRM for availability check.</b>
    <u>This is customized in SRM when defining your backend system:</u>
    <b>SPRO Path -></b>
    <u><u>Supplier Relationship Management -> SRM Server -> Technical Basic Settings -> Define Backend Systems</u></u>
    <b>Manage column FI valid with "Real-time backend validation".</b>
    Function module - BBP_BUDGET_CHECK (The database table BBP_USRBDGT contains the value for the purchasing budget in the column AmountSpent.)
    Are the below ones used while checking...?
    <u><i>PO create/change</u></i>
    FM - B31I_ACC_PURCHASE_ORDER_CHECK
    <u>SC create/change</u>
    FM- B31I_ACC_PURCHASE_REQUI_CHECK
    FM - B31I_ACC_PURCHASE_ORDER_CHECK
    <u><b>For SRM standard Budget checks, please go through the relatd links -></b></u>
    OSS Note 520717
    Re: FM for budget check in ECS ?
    Budget availability check
    Purchasing-Budget Workflow
    http://help.sap.com/saphelp_srm40/helpdata/en/4e/1d74eff196d64e880fd28d41d4502b/frameset.htm
    Costcenter wise budget
    Re: Cost Center wise Budget
    Hope this will help.
    Do let me know.
    Regards
    - Atul

  • FI/FM - Earmarked funds - Consumption History (and cash journal)

    Hello, I create accounting document (payment) in FBCJ and in FB01 transactions
    - Accounting document contains tax positions (Tax code + Calculate tax)
    - Accounting document contains a refer to Earmarked funds
    When I create accounting document in FBCJ (cash journal), there are two positions in Consumption History of Earmarked funds appear - one position with total amount and another position with tax amount. Theese two positions have inverse sings. (see pic.)
    When I create accounting document in FB01, only one position appears in Consumption History of Earmarked funds - with total amount. (see pic.)
    I need to know how I can create accounting documents in FBCJ and create only one position in Consumption History of Earmarked funds? Probably I need some customization..?
    [Documents - picture ...|http://belrealty.ru/_my/sap/pic_04.gif]
    Best regards, Nick.

    Solved.
    System creates reference to Earmarked funds In tax position of accounting document (in BSEG) when posting an accounting document from FBCJ. We create substitution in OBBH which delete this reference. The problem was solved.

  • Problem filling earmarked funds in FI invoice with BAPI_ACC_INVOICE_RECEIPT

    Hi everybody,
    I am facing a problem using the bapi BAPI_ACC_INVOICE_RECEIPT.
    My goal is to generate a FI invoice , it works fine.
    But I can't populate the field ( earmarked funds  as BSEG-KBLNR). The only BAPI parameter that take this field is purchaseorder-FUNDS_RES.
    Does anyone know a way to populate the field BSEG-KBLNR without any reference to a purchase order?
    If more information or details needed, please ask me.
    Rene

    I am not sure but check with below links
    BAPI_ACC_INVOICE_RECEIPT_POST
    BAPI_ACC_INVOICE_RECEIPT_POST
    reading of particular lines from appl. server

  • MIGO not possible when posting with Earmarked Funds

    Hi,
    I am using Earmarked Funds to budget for Sales Promotion Expenses.
    Have set the  field KBLNR as mandatory for a few GL Accounts and have set it as optional Posting Key 81.
    I have created a Purchase Order with a Earmarked Fund. But when I am trying to do a MIGO for the PO I get the following error message "Field Doc. item is a required field for G/L account"Message no. F5808.
    The field Earmarked funds is hidden in MIGO transaction .
    Any clues on how I could bring this field in MIGO so that it can flow from the Purchase Order.
    Thanks and Regards.

    Hi,
    Thanks.
    I have changed the Field status and have made the field earmarked funds as mandatory through a FI validations for FI postings.
    I tried to check the field at the time of creating Purchase Orders and used Exit_SAPLFMCH_001.
    But this exit doesn't seem to work as the fields are getting cleared when the save button is hit and the Purchase Order gets saved with out the Earmarked Funds.
    Is there any other exit or work around I can make Earmarked Funds mandatory for certain Commitment Items at the time of creating Purchase Orders ?
    Regards.

  • Complete Indicator for earmarked funds

    Hi,
          How can i check the complete indicator check box for earmarked funds while creating the program for journal entries. Iam using the BAPI "BAPI_ACC_DOCUMENT_POST".Is there is functional chnages if i always uncheck the checkbox for done indicator.
    Thanks & Regards,
    Arun.

    Hi,
    Kindly let me know if you have found a way to set it through BAPI or some workaround to set the completion indicator for Earmarked funds in BAPI_ACC_DOCUMENT_POST.
    Thanks.
    BR,
    Jay.

  • How to pass the data from a input table to RFC data service?

    Hi,
    I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
    I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
    Thanks for your answer.

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • How to pass credentials/saml token access sharepoint web service ex:lists.asmx when sharepoint has single sign on with claims based authentication

    How to pass credentials/saml token exchange to the sharepoint web service ex:lists.asmx when sharepoint has single sign on with claims based authentication 
    Identity provider here is Oracle identity provider 
    harika kakkireni

    Hi,
    The following materials for your reference:
    Consuming List.asmx on a claims based sharepoint site
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f965c1ee-4017-4066-ad0f-a4f56cd0e8da/consuming-listasmx-on-a-claims-based-sharepoint-site?forum=sharepointcustomizationprevious
    Sharepoint Claims based authentication and Single Sign on
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/2dfc1fdc-abc0-4fad-a414-302f52c1178b/sharepoint-claims-based-authentication-and-single-sign-on?forum=sharepointadminprevious
    Sharepoint Claim Based Authentication Web Service issuehttp://social.msdn.microsoft.com/Forums/office/en-US/dd4cc581-863c-439f-938f-948809dd18db/sharepoint-claim-based-authentication-web-service-issue?forum=sharepointgeneralprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to pass a list of parameters to a query?

    Hi,
    I use OracleXE 10 Database with JDeveloper 11g.
    In my project I use a Toplink mapping to get access to the database (Toplink Object Map file). This mapping xml file is called crmMap.xml.
    In the crmMap.xml file I define a mapping to a "User table" which has the four columns id (number), title (varchar2), firstName (varchar2) and lastName (varchar2). A title can have the four values Bachelor, Master, Doctor and Professor.
    I do define a query in crmMap.xml which has to find all the users that have a special title. I do give the query one parameter called "title" which has the type "java.util.ArrayList". The parameter "title" is a list that has for example the two values "Bachelor" and "Doctor", if I want to find all the users that are Bachelor or Doctor. The query looks like this ...
    Select * from User where title in(?title)I do use an EJB Session Bean to call the query. The code looks like this ...
    public List<User> findUserByStatus() {
        Session session = getSessionFactory().acquireSession();
        Vector params = new Vector(1);
        List stati = new ArrayList();
        stati.add("Doctor");
        stati.add("Bachelor");
        params.add(stati);
        List<User> result = (List<User>)session.executeQuery("findUserByStatus", User.class, params);
        session.release();
        return result;
    }Doing this I get an error, in the line
    List<User> result = (List<User>)session.executeQuery("findUserByStatus", User.class, params);while the app is trying to execute the query.
    Part of my log
    WARNING: ADFc: Invalid column type
    java.sql.SQLException: Invalid column type
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:116)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:177)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:233)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:407)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectCritical(OraclePreparedStatement.java:7931)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:7511)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectInternal(OraclePreparedStatement.java:8168)
         at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:8149)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.setObject(OraclePreparedStatementWrapper.java:229)
         at oracle.toplink.internal.databaseaccess.DatabasePlatform.setPrimitiveParameterValue(DatabasePlatform.java:1694)
         at oracle.toplink.internal.databaseaccess.DatabasePlatform.setParameterValueInDatabaseCall(DatabasePlatform.java:1684)
         at oracle.toplink.platform.database.oracle.Oracle9Platform.setParameterValueInDatabaseCall(Oracle9Platform.java:339)
         at oracle.toplink.internal.databaseaccess.DatabasePlatform.setParameterValuesInDatabaseCall(DatabasePlatform.java:1669)
         at oracle.toplink.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:649)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:517)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:467)
         at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:447)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:193)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:179)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:250)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:583)
         at oracle.toplink.queryframework.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:467)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:674)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
         at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:445)
         at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2260)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1074)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1058)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1032)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:945)
         at de.virtual7.crmTL.model.crmFacadeBean.findUserByStatus(crmFacadeBean.java:720)
         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.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:281)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:187)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:154)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:15)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:30)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:126)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:114)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:210)
         at $Proxy90.findUserByStatus(Unknown Source)
         at de.virtual7.crmTL.model.crmFacade_etlagg_crmFacadeLocalImpl.findUserByStatus(crmFacade_etlagg_crmFacadeLocalImpl.java:838)
         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 oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:563)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2119)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:2929)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:396)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:258)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1441)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2126)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:414)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:311)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:697)
         at oracle.adf.model.binding.DCInvokeAction.refreshInternal(DCInvokeAction.java:46)
         at oracle.adf.model.binding.DCInvokeAction.refresh(DCInvokeAction.java:32)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2970)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2639)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:110)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:77)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:135)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:19)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:229)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:265)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:69)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:51)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:354)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:85)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:257)
         at oracle.security.jps.wls.JpsWlsSubjectResolver.runJaasMode(JpsWlsSubjectResolver.java:250)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:100)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    07.09.2009 11:50:16 oracle.adf.controller.faces.lifecycle.FacesPageLifecycle addMessage
    WARNUNG: ADFc: EJB Exception: : Lokaler Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink - 11g (11.1.1.0.1) (Build 081030)): oracle.toplink.exceptions.DatabaseException
    Interne Exception: java.sql.SQLException: Ungültiger Spaltentyp
    Fehlercode:17004
    Aufruf:Select * from User where title in(?title)
         bind => [[Doctor,Bachelor]]Does anyone know a way how to pass a list of parameters
    Thanks Bodhy

    Hi,
    One alternative way is to create String with , sepearted as pass the string to in clause.For example ,create a string ('Bachelor','Doctor') and pass this string to in clause.
    Session session = getSessionFactory().acquireSession();
    String params=( 'Bachelor','Doctor);
    List<User> result = (List<User>)session.executeQuery("findUserByStatus", User.class, params);
    session.release();
    This is an alternative way and workaround which can work for Strings .
    Or you can use EXpression to build the query to pass the collection as example given below.
    Expression addressExpression;
    ReadObjectQuery query = new ReadObjectQuery(Employee.class);
    ExpressionBuilder emp = query.getExpressionBuilder();
    addressExpression =
    emp.get("address").get("city").equal(
    emp.getParameter("employee").get("address").get("city"));
    query.setName("findByCity");
    query.setSelectionCriteria(addressExpression);
    query.addArgument("employee");
    Vector v = new Vector();
    v.addElement(employee);
    Employee e = (Employee) session.executeQuery(query, v);
    Hope this helps.
    Regards,
    Vinay Kumar

Maybe you are looking for

  • Can i plug a data stick into the usb lead used to charge my i pad ?

    I need to transfer my Nikon NX viewer software from from CD  disc to my i pad, i have copied complete software disc data to usb data stick, what is the best way to transfer the data to my i pad. any help would be appreciated.

  • Oracle Text contain query limit with 9i

    The Oracle Text contain query is defined as this: CONTAINS( [schema.]column, text_query VARCHAR2 [,label NUMBER]) RETURN NUMBER; Is the size limit of text_query 4000 bytes with 9i? Is it increased with 10g or is it accepting CLOB in 10g? I always got

  • Slide show in Elements 6

    How do I access a slideshow created and saved in Elements 6 to add to it?

  • Assigning parameters dynamically for command line processing

    hi, how do i put the parameter dynamically for post processing in the file adapter? for processing UNIX scripting in the commandline in the receiver file adapter i need to use paramaters, like file name and directory dynamically. how can this be achi

  • Using a datalink with sequence

    Hello all! I'm trying to use a sequence from a differnet database by using a datalink. I know my sequence works as well as my datalink. However, my stored procedure won't compile because of this statement. select cahistoryid.nextval into v_nNewCAHist