Create a flatfile

I need help. Could anyone show me some code on how to create a flatfile in Java? I need to create a rather large flatfile and call a COBOL bat file to read it.

Create a new java.io.File object and then attach a java.io.FileWriter to it. You can wrap this FileWriter with another one to get access to more functionality, I personally like to wrap it in a java.io.BufferedWriter.
Cheers.

Similar Messages

  • Creating a flatfile for muli- date table

    I am creating a flatfile for reporting purposes. The ASSESSMENT tables can have up to two assessment_date, assessment_type_code per transaction_ID
    ie ASSESSMENT
    Record 1
    TRANSACTION_ID = 1234
    ASSESSMENT_TYPE_CODE = 'ABC;
    ASSESSMENT_DATE = 01/06/2006;
    Record 2
    TRANSACTION_ID = 1234
    ASSESSMENT_TYPE_CODE = 'BBC;
    ASSESSMENT_DATE = 17/06/2006;
    How do I change this update statement to store both records in the flatfile.
    UPDATE FLATFILE2003
    SET
    ASSESSMENT_TYPE_CODE_1 = (SELECT ASSESSMENT_TYPE_CODE FROM ASSESSMENT F WHERE FLATFILE2003.TRANSACTION_ID = F.TRANSACTION_ID AND ?),
    ASSESSMENT_DATE_1 = (SELECT ASSESSMENT_DATE FROM ASSESSMENT F WHERE FLATFILE2003.TRANSACTION_ID = F.TRANSACTION_ID AND ?),
    ASSESSMENT_TYPE_CODE_2 = (SELECT ASSESSMENT_TYPE_CODE FROM ASSESSMENT F WHERE FLATFILE2003.TRANSACTION_ID = F.TRANSACTION_ID AND ?),
    ASSESSMENT_DATE_2 = (SELECT ASSESSMENT_DATE FROM ASSESSMENT F WHERE FLATFILE2003.TRANSACTION_ID = F.TRANSACTION_ID AND ?)
    Thanks
    Brendon

    Do you mean something like this?
    WITH rec1 AS (SELECT 1234  TRANSACTION_ID,
                         'ABC' ASSESSMENT_TYPE_CODE,
                         TO_DATE('01/06/2006', 'dd/mm/yyyy') ASSESSMENT_DATE
                    FROM dual
                   UNION
                  SELECT 1235  TRANSACTION_ID,
                         'ABC' ASSESSMENT_TYPE_CODE,
                         TO_DATE('01/06/2006', 'dd/mm/yyyy') ASSESSMENT_DATE
                    FROM dual),
         rec2 AS (SELECT 1234  TRANSACTION_ID,
                         'BBC' ASSESSMENT_TYPE_CODE,
                         TO_DATE('17/06/2006', 'dd/mm/yyyy') ASSESSMENT_DATE
                    FROM dual
                   UNION
                  SELECT 1236  TRANSACTION_ID,
                         'BBC' ASSESSMENT_TYPE_CODE,
                         TO_DATE('17/06/2006', 'dd/mm/yyyy') ASSESSMENT_DATE
                    FROM dual)
    SELECT rec1.transaction_id       transaction_id,
           rec1.assessment_type_code assessment_type_code_1,
           rec1.assessment_date      assessment_date_1,
           rec2.assessment_type_code assessment_type_code_2,
           rec2.assessment_date      assessment_date_2
      FROM rec1, rec2
    WHERE rec1.transaction_id = rec2.transaction_id
    UNION ALL
    SELECT rec1.transaction_id       transaction_id,
           rec1.assessment_type_code assessment_type_code_1,
           rec1.assessment_date      assessment_date_1,
           rec2.assessment_type_code assessment_type_code_2,
           rec2.assessment_date      assessment_date_2
      FROM rec1, rec2
    WHERE rec1.transaction_id = rec2.transaction_id(+)
       AND rec2.transaction_id IS NULL
    UNION ALL
    SELECT rec2.transaction_id       transaction_id,
           rec1.assessment_type_code assessment_type_code_1,
           rec1.assessment_date      assessment_date_1,
           rec2.assessment_type_code assessment_type_code_2,
           rec2.assessment_date      assessment_date_2
      FROM rec1, rec2
    WHERE rec1.transaction_id(+) = rec2.transaction_id
       AND rec1.transaction_id IS NULL
    ;C.

  • Error while creating more than 100 users using Flatfile Recon

    Hi,
    I am trying to create users in OIM 9.1 using flat file recon. The recon works when I have less than 100 users in the flatfile. But if I add more than 100 users to the file, the recon does not create all users. Less than 50 users get created in OIM if the number of users in the flat file is more than 100. I get the below error in this scenario.
    2012-11-28 23:08:27,599 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: tcDefaultSignatureImpl/verifySignature encounter some problems: object not initialized for verification
    2012-11-28 23:08:27,599 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: Authenticate/connectSignature encounter some problems: object not initialized for verification
    2012-11-28 23:08:27,600 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: Authenticate/connect encounter some problems:
    com.thortech.xl.security.tcLoginException:
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.Authenticate.connectSignature(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.jboss.UsernamePasswordLoginModule.login(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
    Is there any maximum limit to the number of users created in Flatfile recon? I also get lot many errors following the above error. Please suggest
    Edited by: User_OIM on Nov 26, 2012 9:37 PM

    Hi Rajiv,
    I am using GTC for the recon. Below is the complete log
    com.thortech.xl.ejb.databeansimpl.tcDataBaseBean.ejbCreate() throws javax.ejb.CreateException
    2012-11-28 23:08:22,052 DEBUG [org.jboss.proxy.ejb.ProxyFactory] seting invoker proxy binding for stateful session:
    2012-11-28 23:08:27,599 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: tcDefaultSignatureImpl/verifySignature encounter some problems: object not initialized for verification
    2012-11-28 23:08:27,599 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: Authenticate/connectSignature encounter some problems: object not initialized for verification
    2012-11-28 23:08:27,600 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: Authenticate/connect encounter some problems:
    com.thortech.xl.security.tcLoginException:
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.Authenticate.connectSignature(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.jboss.UsernamePasswordLoginModule.login(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
         at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
         at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
         at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
         at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
         at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)
         at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
         at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
         at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
         at org.jboss.ejb.Container.invoke(Container.java:981)
         at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
         at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
         at $Proxy278.create(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.tcBaseUtilityClient.getLocalInterface(Unknown Source)
         at Thor.API.Operations.tcReconciliationOperationsClient.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beans.GCOperationsSession.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
         at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
         at $Proxy368.getDefaultDateFormat(Unknown Source)
         at Thor.API.Operations.GCOperationsClient.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy798.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.gc.runtime.GCScheduleTask.execute(Unknown Source)
         at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    2012-11-28 23:08:27,602 ERROR [XELLERATE.APIS] Class/Method: tcBaseUtilityClient/getLocalInterface encounter some problems: {1}
    java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.tcBaseUtilityClient.getLocalInterface(Unknown Source)
         at Thor.API.Operations.tcReconciliationOperationsClient.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beans.GCOperationsSession.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
         at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
         at $Proxy368.getDefaultDateFormat(Unknown Source)
         at Thor.API.Operations.GCOperationsClient.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor163.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
         at $Proxy798.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.gc.runtime.GCScheduleTask.execute(Unknown Source)
         at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by: javax.ejb.AccessLocalException: SecurityException
         at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:384)
         at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
         at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
         at org.jboss.ejb.Container.invoke(Container.java:981)
         at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:359)
         at org.jboss.ejb.plugins.local.LocalHomeProxy.invoke(LocalHomeProxy.java:133)
         at $Proxy278.create(Unknown Source)
         ... 55 more
    Caused by: com.thortech.xl.security.tcLoginException:
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
         at com.thortech.xl.security.Authenticate.connectSignature(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.Authenticate.connect(Unknown Source)
         at com.thortech.xl.security.jboss.UsernamePasswordLoginModule.login(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
         at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
         at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
         at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
         at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
         at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)
         at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
         at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
         ... 61 more
    2012-11-28 23:08:27,605 ERROR [XELLERATE.GC.FRAMEWORKRECONCILIATION] Reconciliation Encountered error:
    Thor.API.Exceptions.tcAPIException: Unable to retrieve default date format
         at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beans.GCOperationsSession.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         ceptor.invoke(SecurityInterceptor.java:70)
         at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
         at $Proxy368.getDefaultDateFormat(Unknown Source)
         at Thor.API.Operations.GCOperationsClient.getDefaultDateFormat(Unknown Source)
         Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    Caused by [Nested Exception]:
    Thor.API.Exceptions.tcAPIException
         at Thor.API.Base.tcBaseUtilityClient.getLocalInterface(Unknown Source)
         at Thor.API.Operations.tcReconciliationOperationsClient.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getDefaultDateFormat(Unknown Source)
         at com.thortech.xl.ejb.beans.GCOperationsSession.getDefaultDateFormat(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
         at org.jboss.ejb.Container.invoke(Container.java:960)
         at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    2012-11-28 23:08:27,607 WARN [XELLERATE.GC.FRAMEWORKRECONCILIATION] Though Reconciliation Scheduled task has encountered an error, Reconciliation Transport providers have been "ended" smoothly. Any provider operation that occurs during that "end" or "clean-up" phase would have been executed e.g. Data archival. In case you want that data to be a part of next Reconciliation execution, restore it from Staging. Provider logs must be containing details about storage entities that would have been archived
    2012-11-28 23:08:27,704 ERROR [XELLERATE.SERVER] Class/Method: QuartzWrapper/execute encounter some problems: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    org.quartz.JobExecutionException: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    [See nested exception: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    * Nested Exception (Underlying Cause) ---------------
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.updateStatusToError(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.access$600(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    2012-11-28 23:08:27,704 INFO [org.quartz.core.JobRunShell] Job DEFAULT.FLAT RECON_GTC threw a JobExecutionException:
    org.quartz.JobExecutionException: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    [See nested exception: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
    * Nested Exception (Underlying Cause) ---------------
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.updateStatusToError(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.access$600(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionAction.run(Unknown Source)
         at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source)
         at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown Source)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)

  • Error in flatfile load - date not compliant with user date settings

    Hi,
    I want to load a flatfile into BI 2004s.
    so i created a flatfile datasrource, transformation etcetc.. all fine so far.
    the file contains 2 dates in format YYYYMMDD and are loaded in DATS infoobjects (also yyyymmdd).
    but when i load the data into the PSA it immediatly dumps with error message "19771009 does not match the user-dependent date format --> long text"
    the long text sais 19771009 does not correspond to the date format that is assigned to the current user BIWREMOTE. which is correct.. cos there date is DD-MM-YYYY
    when i change the date format in the user settings to YYYY-MM-DD it works fine...... in the forground. In the background,whatever i do, it dumps with this errormessage.
    so i have 2 questions:
    since when is, while loading to the PSA, the date format linked&checked with the date format in the user setting? i cannot recall ever having this issue.
    did anyone encounter this problems.
    grtz
    rogier

    Hi ,Ronald Silberst,R. Poelmann,
    I am facing similar kind of problem, Could u please tell me how you overcome this problem. How to set and adding the RSDAT convesion routine into the datasource definition.
    Appreciate your help . Can any one have some idea please share.
    Regards
    Ramesh

  • IDM5.0 SP4 FlatFile charset codes.

    We use the latin/extended ascii charset. aka iso_8859-1.
    When creating a FlatFile Sync resource we may specify the charset format. I have tried various strings and always I get this error returned by IDM
    "Error iterating accounts for resource STMwinFF:
    com.waveset.util.WavesetException: The FlatFileIterator threw this exception com.waveset.util.CSVParser java.io.UnsupportedEncodingException: 8859-1"
    Ok. since the supported encoding codes are not given in the SP4 documentation could someone please state what charsets are supported (other than UTF-8)
    IDM 5.0 seemed to be happy reading 8859-1 encoded files.

    Not sure if this is relating directly to your query.
    I am running IdM 5.0 SP4 on Apache Tomcat with MySql as the IdM repository.
    Its suprising - when I run the Account Index Report for reconciliation results, I get an error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (latin1_bin,IMPLICIT) for operation '='".
    Other points:
    * I dont get such error when I run any other report.
    * My colleague who's running on other data respository (SQL Server) does not encounter this error - so it is to do wth MySql?

  • Flatfile Hierarchy

    Hi all,
    We have created a flatfile hierarchy in developement system and successfully loaded the hierarchy.
    But when the procee chain related to hierrachy is transported to Quality system, it gave authorization error while transporting.
    You do not have authorization to hierrachy name.'Activity 23'.
    But hierarchy will be created as soon as Infopackage triggers.
    Please throw some light on the cause for this issue.
    Thanks,
    Gayathri

    Hi Gayatri  ,
    I have following question :
    1- Why you want to transport it to Q System ? You have hierarchy in Flat file , so load in Q system via info-Package .
    2- You can create local process chain in Q System also or you do not have authorization ?
    Might be below information is usefule :
    In Info Package " Hierarchy Selection Tab" You can set the check box : Load Hierarchy.....* * and flag for activation or activate it ..
    What it do :
    Select this field to activate the hierarchy automatically after a successful load.
    The hierarchy cannot be activated if it is used in an aggregate, It is then marked for activation. The hierarchy is activated when Hierarchy/Attribute changes are next carried out.
    Hope this helps :
    Regards
    Vikas Sharma
    Robert Bosch
    Edited by: Vikas Sharma-Bosch on May 5, 2011 4:10 PM

  • Help needed in understanding the concept of hierarchical queries

    I really need help in this matter. I have a flafile containing about 4000 rows. It is from my supplier, it's structure is as follows:
    create table Flatfile
    (Pgroup varchar2(30),
    Pclass varchar2(30),
    Manufacturer varchar2(30),
    Article varchar2(30),
    Price Number(6,2));
    Insert into Flatfile Values
    ('Application Software','Database Software','Oracle','Oracle 10G',115);
    Insert into Flatfile Values
    ('Application Software','Database Software','Microsoft','MS SQL Server 2000',200);
    Insert into Flatfile Values
    ('Application Software','Spreadsheet Software','Microsoft','Excel',100);
    Insert into Flatfile Values
    ('Monitor','15"','Acer','Acer 15"" TFT superscreen',199);
    Insert into Flatfile Values
    ('Monitor','15"','Sony','Sony R1500 flat',225);
    Insert into Flatfile Values
    ('Monitor','17"','Philips','Philips Flatscreen',250);
    Insert into Flatfile Values
    ('Monitor','19"','Viewsonic','Viewsonic PLasma Monitor',275);
    Insert into Flatfile Values
    ('Processor','AMD','AMD','FX-55',600);
    Insert into Flatfile Values
    ('Processor','Intel','Intel','P4 3 GHZ',399);
    My goal is to make a hierarchical query with the start with and connect by clauses. From what I have read is that I need to normalize the data of the flatfile.
    How do I achieve a table which I can query so that the query will represent the hierarchy that exists. Namely
    Pgroup
    ++Pclasse
    Application Software
    ++Database Software
    ++Spreadsheet Software
    So a 2-level hierarchy. I'd like to understand this simple concept first. I built on the knowledge that I gain. So the questions are:
    1.What do I need to do to make the table so that I can use a hierarchical query on it?
    2. How should the query syntax be?
    3. Is it also possible to get the data in the hierarchical query sorted asec?
    I would only like to use the simple structures of the start with and connect by clauses first. I've read there are some new additions to 10G. The problem with the examples used by the tutorials is that the tables are already made so that they are suitable for hierarchical queries. I hope to understand it by this example. And take it a step further.
    Sincerely,
    Pete

    Primarily hierarchy query serves to process tree-like structures which RDBMS simulates using through parent-child relation, often in a single table (see famoust
    EMP table where employee can have the manager who is an employee at the same time).
    In your case it could look like:
    SQL> select pgroup, pclass from flatfile;
    PGROUP                         PCLASS
    Application Software           Database Software
    Application Software           Database Software
    Application Software           Spreadsheet Software
    Monitor                        15"
    Monitor                        15"
    Monitor                        17"
    Monitor                        19"
    Processor                      AMD
    Processor                      Intel
                                   Application Software
                                   Monitor
                                   Processor
    12 rows selected.
    SQL> select decode(level,1,pclass,'  ' || pclass), Manufacturer from flatfile
      2  start with pgroup is null
      3  connect by prior pclass = pgroup
      4  /
    DECODE(LEVEL,1,PCLASS,''||PCLASS MANUFACTURER
    Application Software
      Database Software              Oracle
      Database Software              Microsoft
      Spreadsheet Software           Microsoft
    Monitor
      15"                            Acer
      15"                            Sony
      17"                            Philips
      19"                            Viewsonic
    Processor
      AMD                            AMD
      Intel                          Intel
    12 rows selected.The hierarchy syntax is described completely in the documentation including
    LEVEL and PRIOR keywords.
    As for the ordering question you can use siblings ordering:
    SQL> select decode(level,1,pclass,'  ' || pclass), Manufacturer from flatfile
      2  start with pgroup is null
      3  connect by prior pclass = pgroup
      4  order siblings by 1 desc
      5  /
    DECODE(LEVEL,1,PCLASS,''||PCLASS MANUFACTURER
    Processor
      Intel                          Intel
      AMD                            AMD
    Monitor
      19"                            Viewsonic
      17"                            Philips
      15"                            Acer
      15"                            Sony
    Application Software
      Spreadsheet Software           Microsoft
      Database Software              Oracle
      Database Software              Microsoft
    12 rows selected.Rgds.

  • Extract to flat file or IDOC

    Does anybody know how to use BW Datasources in R3 (found in transaction RSA5) to extract data to a flat file for the purpose of loading a non-SAP data warehouse?
    The export file may be an IDoc.
    I tried RSA3, but it seems you have to specify a "target system" which is a BW system. I simply want to use the BW extractors to extract to a file.
    Thanks - I will reward points.

    Hi,
    If it is function module based extractor then you can use the copy/modify the code (copy in case you are authorized to change it). Now at the end of the extractor write an ABAP code to download the data into a flatfile using GUI_DOWNLOAD or any suitable function module. You can use this extractor fn module in an ABAP program and schedule it everyday to create the flatfile.
    If it view/table base extractor then use that in an ABAP program to create the flatfile.
    Revert if you need more info.
    You can find the type of extractor in RSO2 and also in the tabel ROOSOURCE.
    Bye
    Dinesh
    Message was edited by: Dinesh Lalchand

  • Processing of   FI invoic via scanning interface

    hI
    My client are going to buy an external system for scanning of vendor invoices.  My question is how to handle the information up to r3. In this external system the user will do all the accountingprocedures and when the invoice is ok this scanning system can create a flatfil with all neccesary information such as vendor amount accounts and so on.
    Which idoc can i use to post this invoice up to r/3 ?
    // S

    hai,
    inbound process ...use any of the following as per u requirement
    process code CO01.
    f.m  IDOC_INPUT_BBP_ACC_PO.
    process code INVF.
    f.m  IDOC_INPUT_INVOIC_FI.
    OUTBOUND PROCESS.
    process code SD09.
    f.m IDOC_OUTPUT_INVOIC.
    SHAN

  • Unicode in ABAP-Mapping (u00E9 becomes u00C3u00A9)

    Hello all,
    I implemented this guide to create a flatfile from an IDoc. It works fine, but some characters are not mapped correctly: an "é" for example becomes "é" and an "ú" becomes "ú". Is this a Unicode problem or something? If yes, how can I use Unicode in ABAP mapping?
    As the XML-IDoc is transfered correctly to XI the problem is not in communication channels... it's in the ABAP mapping.
    Best regards,
    David

    Hi David,
    As michal said the problem needs to be isolated whether it is at the mapping level or at the file adapter level.
    In case it the file adapter then you can mention the encoding standard and if its at the abap mapping the your objects should be unicode enabled.
    Regards
    joel

  • File to file mapping without xml

    Hello,
    is there a possible way to use a PI7.1 file to file mapping (one static-positioned field must be mapped) without storing the file in xml format ?
    We are having a flatfile and have to send this flatfile through our jms receiver adapter(as flatfile structure) but there is one important field which has to be mapped/changed(static value for all files).
    Our SAP Applikation (File sender) would avoid to change this during or after creating the flatfiles in the R/3 System.
    Thanks,
    Gordon

    Hi Gordon,
    >- Do you have an example for that abap mapping ?
    DATA g_str TYPE string.
      CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
        EXPORTING
          im_xstring  = source
          im_encoding = 'UTF-8'
        IMPORTING
          ex_string   = g_str.
      REPLACE 'ABC' WITH 'XYZ' INTO g_str.
      CALL FUNCTION 'ECATT_CONV_STRING_TO_XSTRING'
        EXPORTING
          im_string   = g_str
          im_encoding = 'UTF-8'
        IMPORTING
          ex_xstring  = result.
    >I think i have to use some entry parameters for my interface right ?
    ?? no..
    >- Is it possible to use that within the integrated configuration ?
    ??  yes..
    Regards,
    Udo

  • How to upload file and put in BDC, need sample func specs to practice on...

    Hi guys,
    I do not have anything to do as of the moment, so I want to practice BDC on, lets say SU01. I have seen existing BDC programs here and I am confused as to why some are using read dataset, open dataset, etc. and others are not using them at all. Anyway, what I want to do is to create a flatfile and upload it then populate the fields in t-code SU01.
    Also, if its not too much, I want some functional specs or requirements that I can practice here in the office:)
    Again, thanks guys and have a nice day!:)
    Message was edited by: viraylab

    Hi,
    In order to practice BDC you better go through recording first through the Tcode SHBD. There you provide the name for the recording and also the Tcode you want to use for BDC. Once you complete with the recording you press the back button and click on program button in the application toolbar. You get the complete program written to execute the BDC in both session method and also Call transaction Method.
    BDC can be done using some flat files in presentation server as well as application server. Data sets will be used for loading the file from application server. For presentation server functions like Ws_Upload and WS_download will be used.
    So if you want to create Flat file in presentation server upload the same through BDC you use functions BDC_open group for opening a session,BDC_insert group to insert the flat file and bdc_close group to close after completion of the upload of data.
    Give me your mail id so that i can send you some specs for the same.
    Hope this helps you.
    Pls reward points for useful answers..
    Regards,
    Ram Mohan

  • Problem with extraction of flat file to infocube

    Hi there,
    We are workin on SAP SCM APO release 7 that has the componente BW release 7. and we're trying to load data from a flat file to infocube like we used to do in release 5.
    The problem is that we get the message that no data is available everytime we run the DTP. The transfer structure is:
    1. source system: flat file
    2. data source: a flat file according with our CSV file
    3. transformation between the data source and the infocube
    4. infocube
    do i need to create an infosource even i'm loading from a flat file? With the release 5 of SAP SCM APO i don't need to create an infosource. It works fine from the data source to the infocube.
    We don't fine any notes related so I'm asking if you have experienced this before with the release 7.0 and how do you solve it.
    Regards

    Hi,
    In BI DTP loads data directly from datasource to infocube. No need to create an infosource. But make sure that you have loaded data till your datasource i.e. upto PSA. For that you need an infopackage to load data from flatfile to PSA. Then from PSA, you can load data to cube by your DTP.
    You have to create a  flatfile datasource and give path to the CSV file. I guess you have already done this. Now right click on your datasource and click on create infopackage to create an infopackage. here also check the path and start the infopackage. It will load data till your PSA. If this loading is successful you have data in your PSA. Right click on your datasource and click on manage. Thus you can check your data in PSA. Now you need transformation between your datasource and cube which you already have. Now run your DTP and your data will be loaded from PSA.
    Indrashis

  • BDC with MM01/ MM02 from MARA table

    Can anybody suggest me for the following problem.
    I want to construct a BDC with MM01/ MM02 from MARA table.
    And I want the source file to be a notepad or Excel sheet. But i am not
    getting, that how to write the data in Notepad/Excel sheet, to feed to the
    master table according to the MM01/MM02 fields .

    This is the sample code for creation of flatfile for MM01 this will be definetly helping you to create a flatfile.
    REPORT  ZBDC_FF MESSAGE-ID BCTRAIN .
    TYPES: BEGIN OF STU,
           MATNR LIKE RMMG1-MATNR,
           MBRSH LIKE RMMG1-MBRSH,
           MTART LIKE RMMG1-MTART,
           MAKTX LIKE MAKT-MAKTX,
           MEINS LIKE MARA-MEINS,
           END OF STU.
    DATA WA_ITAB TYPE STU.
    DATA ITAB TYPE TABLE OF STU.
    WA_ITAB-MATNR = 'T1'.              "MATERIAL NUMBER"
    WA_ITAB-MBRSH = 'K'.                 "INDUSTRY SECTOR"
    WA_ITAB-MTART = 'VKHM'.              "MATERIAL TYPE"
    WA_ITAB-MAKTX = 'TOOLEMATERIAL'.     "MATERIAL DESCRIPTION"
    WA_ITAB-MEINS = 'EE'.                "BASE UNIT OF MEASURE"
    APPEND WA_ITAB TO ITAB.
    CLEAR WA_ITAB.
    *WA_ITAB-MATNR = 'TOL2'.              "MATERIAL NUMBER"
    *WA_ITAB-MBRSH = 'M'.                 "INDUSTRY SECTOR"
    *WA_ITAB-MTART = 'VKHM'.              "MATERIAL TYPE"
    *WA_ITAB-MAKTX = 'TOOLEMATERIAL'.     "MATERIAL DESCRIPTION"
    *WA_ITAB-MEINS = 'EA'.                "BASE UNIT OF MEASURE"
    *APPEND WA_ITAB TO ITAB.
    *CLEAR WA_ITAB.
    *WA_ITAB-MATNR = 'TOL3'.              "MATERIAL NUMBER"
    *WA_ITAB-MBRSH = 'M'.                 "INDUSTRY SECTOR"
    *WA_ITAB-MTART = 'VKHM'.              "MATERIAL TYPE"
    *WA_ITAB-MAKTX = 'TOOLEMATERIAL'.     "MATERIAL DESCRIPTION"
    *WA_ITAB-MEINS = 'EA'.                "BASE UNIT OF MEASURE"
    *APPEND WA_ITAB TO ITAB.
    *CLEAR WA_ITAB.
    *WA_ITAB-MATNR = 'TOL4'.              "MATERIAL NUMBER"
    *WA_ITAB-MBRSH = 'M'.                 "INDUSTRY SECTOR"
    *WA_ITAB-MTART = 'VKHM'.              "MATERIAL TYPE"
    *WA_ITAB-MAKTX = 'TOOLEMATERIAL'.     "MATERIAL DESCRIPTION"
    *WA_ITAB-MEINS = 'EA'.                "BASE UNIT OF MEASURE"
    *APPEND WA_ITAB TO ITAB.
    *CLEAR WA_ITAB.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
    FILENAME     = 'C:\Documents and Settings\chiranjeevi\Desktop\BDC.TXT'
      TABLES
        DATA_TAB     = ITAB
    IF SY-SUBRC <> 0.
    MESSAGE S999 WITH 'EXECUTED'.
    ENDIF.
    Cheers!!!

  • Some Data Missing in the inbound Idoc received from Gentran

    Hi,
    We are receing one custom message type with the basic type ORDER05 in SAP from Gentran. When we checked the destination file generated in Gentran, its showing data for all the segments. However in SAP when we checked the corresponding idoc we find the segment E1EDP05 is missing. The Gentran team says they are placing the destination file in the unix server of SAP. However we dont find these files in the SAP Unix server. Could anybody advise what could be the problem and where we need to check further ?

    Gentran will never be able to create an IDOC within SAP. Here is what happens:
    > Gentran creates a flatfile/XML which is in the IDOC format (the one which you can see in WE60).
    > Gentran then places this flat file/XML in a folder on Application server. This can be UNIX, Windows NT, etc..
    > Gentran then triggers the Startrfc.exe which will trigger EDI_DATA_INCOMING function module.
    > This FM will parse the data, check it for consistency of the defined standards, then write the control record into EDIDC and corresponding data records into EDID4 and updates the relevant statuses (i.e. 01 - added, etc). It'll then look into the partner profile setup, look for process code and moves the status to 64 and calls the inbound FM which will post the application document.
    In you case, you need to find out what file is coming in and where E1EDP05 has missed. The data will only be sent by Gentran. The inbound function modules will never update IDOC data records (unless there is a customization). The status records are updated.
    If E1EDP05 is not mapped and sent by Gentran and you still used to see it, then there should have been a customization in place to add values to IDOC segment fields. Try to get the final file that is mapped from either X12/EDIFACT and then see if E1EDP05 segment is present in there. If it is present then upload the same file into AL11 using CG3Z and call EDI_DATA_INCOMING or WE19 to process it. Once processed, you'll can observe if E1EDP05 is being created or not.

Maybe you are looking for

  • Error on activation of data records from ODS object

    hi, Kindly help with my BW Problem, the error occured on the activation of ODS. The error says "<i>Request REQU_43MNOPW29W4F5M037J7OAFP52 in ODS ZPUR_O01 must have QM status green before it is activated</i>" and "<i>Activation of data records from OD

  • IPad mini Retina suddenly stopped charging

    I have an iPad mini Retina, iOS 8.1.2, which is now out of warranty, but I got a serious problem with it: One day, while it was charging with an Apple original cable and wall charger, the "This accesory may not be compatible" message was displayed an

  • How to connect fax in Hp laser jet m 1005

    I have a HP Laser Jet M 1005, How can i connect fax in Hp laser jet m 1005

  • Netflix  & OSX Maverick unable to confirm Silverlight developer?

    Just got a Macbook Pro, updated to OSX Mavericks,  and wanted to watch Netflix but was told I had to download MS Silverlight. I tried, but got the pop up saying the developer was not recognized and I could not open the application. I'm a bit befuddle

  • 2 ipod videos died one after another...

    I have experienced a disappinting matter with my new ipod video of 60gb, all of a sudden one day it died on me. I have tried to reset it without success. I then called Apple in Italy and they sent me a new ipod, however, as soon as I tried to turn it