Problem in creating AppsDataSource for EBS using fnd user with APPS Schema connect role

Hi,
I have done all the setup on EBS R12.1.3 like apply patch for additional profile options, set required profile options, generated DBC file for external node and some entry in FND_NODES table. I have rebuilt the fndext.jar file on external server, and placed it at required path. after doing all these we created fnd user with UMX/APPS_SCHEMA_CONNECT role but I'm not able to create DataSource every time I'm getiing invalid username/password error, properties my connection are below:
Driver Class Name:: oracle.apps.fnd.ext.jdbc.datasource.AppsDataSource
Properties:
user=ASYSTEM
dbcFile=D:\adf\VISI121_FCN15152-L.INDIA.RAPIDIGM.COM
Database user name as FND user name and FND user's pwd
Error Stack:
<Dec 10, 2013 5:40:37 PM GMT> <Error> <Console> <BEA-240003> <Console encountered the following error java.sql.SQLException: ORA-01017: invalid username/password; logon denied
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
  at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:689)
  at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:452)
  at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
  at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
  at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:384)
  at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:811)
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
  at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)
  at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:238)
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
  at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
  at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:404)
  at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:288)
  at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:208)
  at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:789)
  at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
  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 org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
  at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
  at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
  at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
  at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
  at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
  at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
  at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
  at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
  at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
  at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)
  at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)
  at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)
  at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)
  at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
  at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261)
  at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
  at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
  at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
  at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
  at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
  at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:262)
  at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
  at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:134)
  at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
  at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
  at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
  at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106)
  at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
  at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
  at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
  at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
  at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
  at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
  at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
  at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
  at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
  at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
  at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
  at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
  at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
  at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
  at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
  at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
  at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
  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:300)
  at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
  at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
  at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
  at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
  at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
  at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
Please help.
Regards,
Reetesh Sharma

I'm trying to create EBS DataSource to integrate ADF application with EBS, for this I have followed steps mentioned in Document 974949.1 but still I'm not able to move forward.
Why? What is the issue?
For this Do I need to install Oracle E-Business Suite AccessGate. But this is not mentioned in Metalink Doc. This I'm trying on Weblogic server on Windows.
AccessGate requires extra steps for EBS integration as mentioned in (Integrating Oracle E-Business Suite Release 12 with Oracle Access Manager 11gR1 PS2 (11.1.1.7.0) using Oracle E-Business Suite AccessGate (Doc ID 1543803.1)) which I believe is not required here.
Thanks,
Hussein

Similar Messages

  • Problem in creating DLL for a LabVIEW VI

    Hi
    I am facing problems in creating DLL for a LabVIEW VI. Previously i had no problems in creating DLL for the VI that transmits a message from serial port to NI - PXI 7831-R Reconfigurable I/O card (configured by FPGA MOdule). When i try the same VI with a customized port developed using IVI drivers i am not able to create the DLL. It gives me error as follows:
    Fatal Internal error: "datamgr.cpp", Line No: 1882
    Please somebody help me out to fix this error.
    Regards,
    Subramania Bharathi

    Hi,
    Thanks for your curiosity in replying my questions. I am really sorry for replying so late. Actually the problem was with the NI SWITCH 2503 functions. Actually i was multiplexing the channels of my customized serial port using NI Switch module. This switching is done before i start my communication. My VI follows a sequence as follows.
    1. Connect two channelss using Switch functions
    2. configuration of both FPGA and the customized port
    3. Transmit data from the port
    4. Receive it in FPGA.
    5. Reset the channels using Switch functions
    I never expected that the error was because of NI Switch. When i removed them from my VI i was able to create the DLL and able to create sequence successfully to run in the Testsand. And
    further i am using Switch Executive for swithcing the channels in TestStand.
    But now i am very curious why it posted me that error when i used my NI Switch function?? I tried to create DLL for a VI that switches two channels and i was successful. But the error occurs only when i combine i with my FPGA functions!! If you could trace out the reason, please let me know
    Once again thanks a lot for your support
    Regards,
    Subramania Bharathi

  • Can I create books for iPhone using iBooks Author?

    Can I create books for iPhone using iBooks Author?

    There is a new $5 iBooks Creator app in iOS app store for the iPad.
    The output looked pretty good for an iPad app.
    There is a video on how to use it to give you an idea of how easy it is.
    It creates ePub 2 whihc can be read on all platforms with an ePub reader except Amazon Kindle whihc forbids such things.
    You can run the ePub through Calibre and get MOIB for Kindle which works for me.
    I have done thirty or forty conversions so far.

  • Sample code creating BOM for CS01 using BDC recording.

    Hi,
    Can anyone give me sample coding creating BOM for CS01 using BDC recording.
    I want to display the flat file records,under one (Alternative BOM).
    I m already working on it,but i m getting one A.BOM for each records.
    [       Header data          ]    [      Item Data               ]
    SOFTDRINKS   WIND   1       13            1     ml     l
    SOFTDRINKS   WIND   1       11            1     ml     l
    SOFTDRINKS   WIND   1       15        1     ml     l
    SOFTDRINKS   WIND   1       14       1     ml     l
    Code:
    report ZBOM
           no standard page heading line-size 255.
    *include bdcrecx1.
    *DATA: BEGIN OF bdc OCCURS 0,
          matnr(18),
          werks(4),
          stlan(1),
         END OF BDC.
    *DATA: BEGIN OF BDC1 OCCURS 0,
          idnrk(18),
          MENGE(18),
          MEINS(3),
          postp(1),
          posnr(4),
         END OF bdc1.
    DATA: BEGIN OF BDCDATA OCCURS 0,
             matnr(18),
             werks(4),
             stlan(1),
             idnrk(18),
             MENGE(18),
             MEINS(3),
             postp(1),
             posnr(4),
          END OF BDCDATA.
    data  ibdcdata type standard table of bdcdata WITH  header line.
    *start-of-selection.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\Documents and Settings\dilipkumar.b\Desktop\soft.txt'
       FILETYPE                       = 'ASC'
       HAS_FIELD_SEPARATOR            = ','
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                     =
      HEADER                         =
      TABLES
        DATA_TAB                      = BDCDATA
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *perform open_group.
    loop at bdcdata.
    perform bdc_dynpro      using 'SAPLCSDI' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29N-STLAN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29N-MATNR'
                                  'SOFTDRINKS'.
    perform bdc_field       using 'RC29N-WERKS'
                                  'WIND'.
    perform bdc_field       using 'RC29N-STLAN'
                                  '1'.
    perform bdc_field       using 'RC29N-DATUV'
                                  '16.09.2008'.
    perform bdc_dynpro      using 'SAPLCSDI' '0110'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29K-BMENG'
                                  '1'.
    perform bdc_field       using 'RC29K-STLST'
                                  '1'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-EXSTL'.
    perform bdc_dynpro      using 'SAPLCSDI' '0111'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-LABOR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSTP(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FCBU'.
    perform bdc_field       using 'RC29P-IDNRK(001)'
                                  BDCDATA-IDNRK.
    perform bdc_field       using 'RC29P-MENGE(001)'
                                  BDCDATA-MENGE.
    perform bdc_field       using 'RC29P-MEINS(001)'
                                  BDCDATA-MEINS.
    perform bdc_field       using 'RC29P-POSTP(001)'
                                  BDCDATA-POSTP.
    perform bdc_dynpro      using 'SAPLCSDI' '0130'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR'.
    perform bdc_field       using 'RC29P-POSNR'
                                   BDCDATA-POSNR.            "'0010'.
    perform bdc_field       using 'RC29P-IDNRK'
                                  BDCDATA-IDNRK.             "'15'.
    perform bdc_field       using 'RC29P-MENGE'
                                  BDCDATA-MENGE.             "'1'.
    perform bdc_field       using 'RC29P-MEINS'
                                  BDCDATA-MEINS.             "'ml'.
    perform bdc_dynpro      using 'SAPLCSDI' '0131'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POTX1'.
    perform bdc_field       using 'RC29P-SANKA'
                                  'X'.
    *perform bdc_transaction using 'CS01'.
    *perform close_group.
    CALL TRANSACTION 'CS01' USING IBDCDATA MODE 'A' UPDATE 'S'.
    REFRESH IBDCDATA.
    clear ibdcdata.
    endloop.
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR iBDCDATA.
      iBDCDATA-PROGRAM  = PROGRAM.
      iBDCDATA-DYNPRO   = DYNPRO.
      iBDCDATA-DYNBEGIN = 'X'.
      APPEND ibDCDATA .
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    IF FVAL <> NODATA.
        CLEAR iBDCDATA.
        iBDCDATA-FNAM = FNAM.
        iBDCDATA-FVAL = FVAL.
        APPEND iBDCDATA .
    ENDIF.
    ENDFORM.

    Hi,
          I tried with the sample code but i m not getting the required result.
        Can anyone give some other soln.
    Code:
    REPORT  ZBOM2
    no standard page heading line-size 255.
    *include bdcrecx1.
    TYPES: BEGIN OF TY_FLAT,      " structure for flat file
            STRING(200),
           END OF TY_FLAT.
    TYPES: BEGIN OF TY_HEAD,     " structure for header file
            IND(2) TYPE N,
            MATNR(18),
            WERKS(4),
            STLAN(1),
           END OF TY_HEAD.
    TYPES : BEGIN OF TY_ITEM,    "structure for item file
              IND(2) TYPE N,
              POSTP(1),
              IDNRK(18),
              MENGE(13),
              meins(3),
            END OF TY_ITEM.
    TYPES :BEGIN OF TY_FLAT1,   " structure for final file
             MATNR(18),
             WERKS(4),
             STLAN(1),
             posnr(4),
             POSTP(1),
             IDNRK(18),
             MENGE(13),
             meins(3),
           END OF TY_FLAT1.
    INTERNAL TABLE DECLERATIONS:
    DATA : T_FLAT TYPE STANDARD TABLE OF TY_FLAT,
           T_FLAT1 TYPE STANDARD TABLE OF TY_FLAT1,
           T_HEAD TYPE STANDARD TABLE OF TY_HEAD,
           T_ITEM TYPE STANDARD TABLE OF TY_ITEM,
           T_BDCDATA TYPE STANDARD TABLE OF BDCDATA with header line ,
           T_BDCMSG TYPE STANDARD TABLE OF BDCMSGCOLL.
    WORK AREA DECLERATIONS:
    DATA : ST_FLAT TYPE TY_FLAT,
           ST_FLAT1 TYPE TY_FLAT1,
           ST_HEAD TYPE TY_HEAD,
           ST_ITEM TYPE TY_ITEM,
           ST_BDCDATA TYPE BDCDATA,
           ST_BDCMSG TYPE BDCMSGCOLL.
    VARIABLES:
    DATA : FNAM TYPE LOCALFILE,           "rlgrap-filename,
           FTYP TYPE RLGRAP-FILETYPE,
           LF_FNAM TYPE STRING.
    DATA : V_IND(2) TYPE N,                " value 1,
           V_FLD(20),
           V_NO(2) TYPE N.
    *start-of-selection.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\Documents and Settings\dilipkumar.b\Desktop\soft.txt'
       FILETYPE                       = 'ASC'
       HAS_FIELD_SEPARATOR            = ','
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                     =
      HEADER                         =
      TABLES
        DATA_TAB                      = T_FLAT
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT T_FLAT INTO ST_FLAT.
    SPLIT ST_FLAT AT CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
    INTO ST_FLAT1-MATNR ST_FLAT1-WERKS
    ST_FLAT1-STLAN ST_FLAT1-POSTP
    ST_FLAT1-IDNRK ST_FLAT1-MENGE ST_FLAT1-MEINS.
    APPEND ST_FLAT1 TO T_FLAT1.
    CLEAR ST_FLAT1.
    ENDLOOP.
    SORT T_FLAT1 BY MATNR WERKS STLAN POSTP IDNRK MENGE MEINS.
    LOOP AT T_FLAT1 INTO ST_FLAT1.
    MOVE :
    ST_FLAT1-MATNR TO ST_HEAD-MATNR,
    ST_FLAT1-WERKS TO ST_HEAD-WERKS,
    ST_FLAT1-STLAN TO ST_HEAD-STLAN,
    ST_FLAT1-POSTP TO ST_ITEM-POSTP,
    ST_FLAT1-IDNRK TO ST_ITEM-IDNRK,
    ST_FLAT1-MENGE TO ST_ITEM-MENGE,
    ST_FLAT1-MENGE TO ST_ITEM-MEINS.
    AT new STLAN.
      ADD 1 TO V_IND.
    ENDAT.
    MOVE V_IND TO ST_HEAD-IND.
    MOVE V_IND TO ST_ITEM-IND.
    APPEND ST_HEAD TO T_HEAD.
    APPEND ST_ITEM TO T_ITEM.
    CLEAR ST_HEAD.
    CLEAR ST_ITEM.
    ENDLOOP.
    CLEAR V_IND.
    *perform open_group.
    SORT T_ITEM BY IND.
    SORT T_HEAD BY IND.
    DELETE ADJACENT DUPLICATES FROM T_HEAD.
    LOOP AT T_HEAD INTO ST_HEAD.
    perform bdc_dynpro      using 'SAPLCSDI' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29N-STLAN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29N-MATNR'
                                  ST_HEAD-MATNR.
    perform bdc_field       using 'RC29N-WERKS'
                                  ST_HEAD-WERKS.
    perform bdc_field       using 'RC29N-STLAN'
                                  ST_HEAD-STLAN.
    perform bdc_field       using 'RC29N-DATUV'
                                  '16.09.2008'.
    perform bdc_dynpro      using 'SAPLCSDI' '0110'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29K-BMENG'
                                  '1'.
    perform bdc_field       using 'RC29K-STLST'
                                  '1'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-EXSTL'.
    perform bdc_dynpro      using 'SAPLCSDI' '0111'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-LABOR'.
    LOOP AT T_ITEM INTO ST_ITEM WHERE IND = ST_HEAD-IND.
    ADD 1 TO V_NO.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-MENGE(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FCBU'.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FCBU'.
    perform bdc_field       using 'RC29P-IDNRK(01)'
                                  ST_ITEM-IDNRK.
    perform bdc_field       using 'RC29P-MENGE(01)'
                                  ST_ITEM-MENGE.
    perform bdc_field       using 'RC29P-MEINS(01)'
                                  ST_ITEM-MEINS.
    perform bdc_field       using 'RC29P-POSTP(01)'
                                  ST_ITEM-POSTP.
    CONCATENATE 'RC29K-IDNRK(' V_NO ')' INTO V_FLD.
    CONDENSE V_FLD.
    PERFORM BDC_FIELD USING V_FLD
    ST_ITEM-IDNRK.
    CONCATENATE 'RC29K-MENGE(' V_NO ')' INTO V_FLD.
    CONDENSE V_FLD.
    PERFORM BDC_FIELD USING V_FLD
    ST_ITEM-MENGE.
    CONCATENATE 'RC29K-MEINS(' V_NO ')' INTO V_FLD.
    CONDENSE V_FLD.
    PERFORM BDC_FIELD USING V_FLD
    ST_ITEM-MEINS.
    CONCATENATE 'RC29K-POSTP(' V_NO ')' INTO V_FLD.
    CONDENSE V_FLD.
    PERFORM BDC_FIELD USING V_FLD
    ST_ITEM-POSTP.
    V_NO = 1.
    ENDLOOP.
    CLEAR V_NO.
    *perform bdc_dynpro      using 'SAPLCSDI' '0130'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'RC29P-POSNR'.
    *perform bdc_field       using 'RC29P-POSNR'
                                  POSNR.
    *perform bdc_field       using 'RC29P-IDNRK'
                                 bdcdata-IDNRK.
    *perform bdc_field       using 'RC29P-MENGE'
                                 bdcdata-MENGE.
    *perform bdc_field       using 'RC29P-MEINS'
                                 bdcdata-MEINS.
    perform bdc_dynpro      using 'SAPLCSDI' '0131'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POTX1'.
    perform bdc_field       using 'RC29P-SANKA'
                                     'X'.
    perform bdc_dynpro      using 'SAPLCSDI' '0133'.
    perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-matkl'.
    perform bdc_field       using 'RC29P-SANKA'
                                     'zv01'.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29N-POSNR(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FCBU'.
    *perform bdc_transaction using 'CS01'.
    perform close_group.
    CALL TRANSACTION 'CS01' USING t_bdcdata MODE 'A' UPDATE 'S'.
    REFRESH t_bdcdata.
    clear t_bdcdata.
    endloop.
           Start new screen                                              *
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR st_bdcdata.
      st_bdcdata-PROGRAM  = PROGRAM.
      st_bdcdata-DYNPRO   = DYNPRO.
      st_bdcdata-DYNBEGIN = 'X'.
      APPEND st_bdcdata to t_bdcdata .
    ENDFORM.
           Insert field                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    IF FVAL <> NODATA.
        CLEAR st_bdcdata.
        st_bdcdata-FNAM = FNAM.
        st_bdcdata-FVAL = FVAL.
        APPEND st_bdcdata to t_bdcdata.
    ENDIF.
    ENDFORM.

  • Problem while creating PO for Calibration order PR

    Hi,
    I am facing following problem while create PO for calibration order PR:
    "Comparison of the field selection strings from the G/L account 8000010800 and the account assignment category F reveals that there is an incompatible combination of field selections for the field selection group 'Network'.
    The G/L account field selection is stored in table T004F; that for the account assignment is stored in table T162K."
    Can anybody help me urgently.
    Regards,
    Mew

    Hi,
    Check the field selection for account assignment category & Field status group of G/L 8000010800.
    Compare both & set the field selection equally in both.
    Regards,
    Piyush

  • Can you get an Apple ID for corporate use to associate with more than 10 devices?

    Can you get an Apple ID for corporate use to associate with more than 10 devices?

    I don't believe you can. The usual model for iOS app distribution is for each device to have a unique Apple ID and for apps to be acquired separately, either via codes from the Volume Purchase Program or individual purchase through the iTunes Store. The licensing from the iTunes Store doesn't allow an app to be installed on more than one device unless all the devices are being used by a single person, so you legally cannot install one app on multiple corporate devices in the circumstances most businesses use.
    Regards.

  • How to use CMS Users with SAP BOPC NW 7.5

    Hello,
    I have problems importing and using CMS Users with BO PC 7.5 NW.
    I am trying two types of CMS-users
    1. CMS Enterprise Users created in CMS and using "Enterprise" authentication
    2. SAP BW Users imported into CMS using their SAP authentication "secSAPR3")
    but both don't work:
    In the BOPC Admin Client, I can succesfully select Security->Users->"Add new Users". Both CMS "Enterprise Users" and CMS Users that use SAP authentication are displayed in the "Everyone" Group.
    The CMS Enterprise Users are displayed as <username>, e.g. "Miller".
    The CMS users with sap authentication are displayed as <SAPSystem><Client>/<SAPusername>, e.g. "KBE100/Smith".
    Now If I try to import a user...
    1. CMS Enterprise Users
    If can successfully import CMS Enterprise Users and add them to the ADMIN Team, e.g. "Miller".
    The problem is they can't be used to log in to the Admin Client and Excel Client:
    E.g. I enterUser-ID "Miller" and his CMS-Enterprise-password under password after starting Excel Client, an error message shows up: "The UserID, Password or Domain cannot be authenticated. Go back and make sure you entered valid credentials" ... (same error message as if the user wouldn't exist/wrong pw.).
    Seems the user wasn't added as BO PC user. Or do I need to use any prefix before the "user ID" for CMS Enterprise users in the User_ID field instead of just "Miller"?! 
    2. CMS Users which use SAP-authentication (users imported into CMS from BW and use SAP-authentication)
    In the BO PC Admin Client, I can't import them: I go through "1. User Setup" select "KBE~100/Smith", "2. User Detail", "3. Assignments", but if I am in "4. Finish" and click on "Apply", the following error shows up:
    "Failed to create directory \root\Webfolders\<AppSetName>\<Appname>" for "KBE~100/Smith".
    My guess is that the operating system doesn't like the "/" in the Username - but I guess this can't be changed  bc. these Users from CMS and are already displayed with the "/" between SAPSystemID~ClientNummer and username in the User-list in BOPC Admin Client!
    side remark: if I create a SAP CMS Enterprise user which contains a "/" in the username (on pupose ), I am getting the same error message.
    Any help, explanations and workarounds are greatly appreciated - Any solution will be awarded with maximum points!
    Best Regards and thanks a lot for your help!

    Hi Florian,
    The problem seems indeed the file system on the bw not being able to handle "/". The automatic user import from the bw role into the CMC does not give you an option to replace the "/" character with anything else.
    This should solve it:
    - Go to the CMC double click the user. Delete the server part "KBE100/" and click save. Make sure the default system is set to "KBE100". The user should now be able to login from BPC with the user Smith.
    Good luck,
    Martin

  • I'm using the remote with my iPod connected to iTunes why can't I search playlists on the iPod? It only lets me search playlists in iTunes

    I'm using the remote with my iPod connected to iTunes why can't I search playlists on the iPod? It only lets me search playlists in iTunes and only let's me see the current playlist on the iPod only

    You can only sync to one computer.
    You would have to transfer purchases, but the apple ID would need to be the same.
    Or find a 3rd party app to transfer content.

  • Problems Creating a Java Class using a webservice with certificate

    hi,
    i'm developing a java class that call's a webservice that needs a certificate, i'm not used to work with java, last time was 10 years ago, so i'm having some troubles because of the certificate.
    I already add the certificate using java control panel > Security > Certificates. When testing i get the following error: IOException (java.io.IOException: subject key, Unknown key spec)
    I think I need to define the certificate in my class, but i'm having a lots of trouble with the samples that i found over the internet, nothing works and i'm running out of time.
    This is my Class
    create or replace and compile java source named "FishInfoAt" as
    import java.net.*;
    import java.io.*;
    import java.security.*;
    public class FishInfoAt
         public FishInfoAt()
         public static String send(String urlfishinfoat, String mensagem, String mensagem1, String mensagem2, String mensagem3)
              // Init
              String response = "";
              String msgtotal = mensagem+mensagem1+mensagem2+mensagem3;
              String a = "";
              HttpURLConnection conn = null;
              try{
                   URL url = new URL(urlfishinfoat);
                   conn = (HttpURLConnection) url.openConnection();
                   conn.setRequestMethod("POST");
                   conn.setRequestProperty("Content-type", "text/xml; charset=utf-8");
                   conn.setRequestProperty("SOAPAction", "https://servicos.portaldasfinancas.gov.pt:401/sgdtws/documentosTransporte/");
                   conn.setRequestProperty("Content-Length","" + msgtotal.length());
                   conn.setDoOutput(true);
                   conn.setDoInput(true);
                   conn.connect();
                   OutputStream out = conn.getOutputStream();
                   out.write(msgtotal.getBytes());
                   out.flush();
                   InputStream in = conn.getInputStream();
                   int value;
                   while( (value = in.read()) != -1)
                        response+=(char)value;
              catch(Exception e)
    response = ("*** ERROR - IOException (" + e.getMessage() + a + ")");
    return response;
    /

    Hi Deepak,
    Could you please let us know upto which line your code is going safe. Try printing the value in the structure before you send that to the method GetUGEntity().
    I am not too sure that would be a problem. But I have faced a problem like this, wherein I tried to access a structure for which I have not allocated memory and hence got exception because of that.
    Since your JNI code seems to be error free, I got doubt on your C part. Sorry.
    Dhamo.

  • The problem of creating service for adapter for mq series v8.1

    Hi everyone, I have some problem when I try to create service for adapter for mq series using application integration design console. Everything is fine when I define the service but some error shows when I try to test it. The error message is:
    -------- Begin level 0 Exception Stack Trace --------
    com.bea.wlai.client.ApplicationViewException: Failed to locate deployment information for service ' on ApplicationView 'AppView1'
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:186)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:290)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
    at __WLAdapter4MQSeries_Prototype_48f240ab.AppView1_6k4mbt_EOImpl_814_WLStub.getRequestDocumentDefinition(Unknown Source)
    at com.bea.wlai.client.ApplicationView.getRequestDocumentDefinition(ApplicationView.java:573)
    at jsp_servlet.__testrslt._jspService(__testrslt.java:361)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:638)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:423)
    at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:154)
    at jsp_servlet.__display._jspService(__display.java:659)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    -------- End level 0 Exception Stack Trace --------
    And my request document is:
    <?xml version="1.0"?>
    <ns0:s1 xmlns:ns0="wlai/AppView1_s1_request">
    <Data>123</Data>
    </ns0:s1>
    The following is the schema for the request document:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema elementFormDefault="qualified"
    targetNamespace="wlai/AppView1_s1_request"
    xmlns="wlai/AppView1_s1_request"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="s1">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Data"
    type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    Anybody got some idea about this problem? Thanks for your help.

    Did you check these links ->
    http://www.adp-gmbh.ch/ora/admin/creatingdbmanually.html
    http://www.dbasupport.com/oracle/ora10g/CreateDBManually.shtml
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#ADMIN002
    Regards.
    Satyaki De

  • Problem while creating credit memo request using BAPI

    HI,
    I am trying to create credit memo request using the BAPI_SALESDOCU_CREATEFROMDATA1..
    I am getting the error as " No customer master data is available for the customer". But the customer exists in the KNA1 table. What is the mistake i hv done.. this s my code..
    REPORT  ZSV_CREDITMEMO_TEST1.
    Data declarations.
    DATA: v_vbeln            LIKE vbak-vbeln.
    DATA: header             LIKE bapisdhead1.
    DATA: headerx            LIKE bapisdhead1x.
    DATA: item               LIKE bapisditem  OCCURS 0 WITH HEADER LINE.
    DATA: itemx              LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner            LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return             LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    DATA: lt_schedules_ink    TYPE STANDARD TABLE OF bapisdhead1
                             WITH HEADER LINE.
    START-OF-SELECTION.
    Header data
    Sales document type
      header-doc_type = 'G2'. 
      headerx-doc_type = 'X'.
    Sales organization
      header-sales_org = '0001'.
      headerx-sales_org = 'X'.
    Distribution channel
      header-distr_chan  = ''.
      headerx-distr_chan = 'X'.
    Division
      header-division = ''.
      headerx-division = 'X'.
      headerx-updateflag = 'I'.
    *Complete delivery
        header-COMPL_DLV = ''.
        header-COMPL_DLV = 'X'.
    Partner data
    Sold to
      partner-partn_role = 'AG'.
      partner-partn_numb = '0000C10130'.
      APPEND partner.
    Ship to
      partner-partn_role = 'WE'.
      partner-partn_numb = ''.
      APPEND partner.
    ITEM DATA
      itemx-updateflag = 'I'.
    Line item number.
      item-itm_number = '000010'.
      itemx-itm_number = 'X'.
    Material
      item-material = 'C20011'.
      itemx-material = 'X'.
    Plant
      item-plant    = ''.
      itemx-plant   = 'X'.
    Quantity
      item-target_qty = '10000'. 
      itemx-target_qty = 'X'.
    item category
      itemx-ITEM_CATEG = 'X'.
      APPEND item.
      APPEND itemx.
      Fill schedule lines
      lt_schedules_in-itm_number = '000010'.
      lt_schedules_in-sched_line = '0001'.
      lt_schedules_in-req_qty    = '10000'.
      APPEND lt_schedules_in.
      Fill schedule line flags
      lt_schedules_inx-itm_number  = '000010'.
      lt_schedules_inx-sched_line  = '0001'.
      lt_schedules_inx-updateflag  = 'X'.
      lt_schedules_inx-req_qty     = 'X'.
      APPEND lt_schedules_inx.
    Call the BAPI to create the sales order.
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
           EXPORTING
                sales_header_in     = header
                sales_header_inx    = headerx
           IMPORTING
                salesdocument_ex    = v_vbeln
           TABLES
                return              = return
                sales_items_in      = item
                sales_items_inx     = itemx
                sales_schedules_in  = lt_schedules_in
                sales_schedules_inx = lt_schedules_inx
                sales_partners      = partner.
    Check the return table.
      LOOP AT return WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error in creating document'.
      ELSE.
    Commit the work.
        COMMIT WORK AND WAIT.
        WRITE: / 'Document ', v_vbeln, ' created'.
      ENDIF.
    can anyone tell what the error is.?

    Hi
    please look at code below code this succefully creating credit memo may some help to you
    header-doc_type = 'ZS4'.
        PERFORM get_plant.
        headerx-doc_type    = 'X'.
        header-sales_org    = wa_temp1-vkorg.
        headerx-sales_org   = 'X'.
        header-purch_no     = wa_temp1-bstnk.
        header-distr_chan   = wa_temp1-vtweg.
        headerx-distr_chan  = 'X'.
        header-division     = wa_temp1-spart.
        header-purch_no_s   = wa_temp1-bstnk.
        headerx-division    = 'X'.
        wa_partner-partn_role = 'AG'.
        wa_partner-partn_numb = wa_temp1-kunnr.
        APPEND wa_partner TO it_partner.
        wa_partner-partn_role = 'WE'.
        wa_partner-partn_numb = wa_temp1-kunnr.
        APPEND wa_partner TO it_partner.
        CLEAR: wa_partner.
        LOOP AT lt_temp2 INTO wa_temp2 WHERE kunnr = wa_temp1-kunnr.
          "AND matnr = wa_temp1-matnr.
    *wa_item-itm_number = wa_temp2-posnr .
          wa_item-material   = wa_temp2-matnr.
          wa_item-plant      = wa_temp2-werks.
          wa_item-req_qty    = wa_temp2-fkimg * 1000.
          wa_item-target_qty = wa_temp2-fkimg * 1000.
          APPEND wa_item TO it_item.
        ENDLOOP.
        CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
          EXPORTING
            order_header_in       = header
    *   WITHOUT_COMMIT            = ' '
    *   CONVERT_PARVW_AUART       = ' '
         IMPORTING
           salesdocument          = v_vbeln
    *   SOLD_TO_PARTY             =
    *   SHIP_TO_PARTY             =
    *   BILLING_PARTY             =
           return                 = return
          TABLES
           order_items_in         = it_item
           order_partners         = it_partner.
        IF v_vbeln <> space.
          wa_vbeln-vbeln = v_vbeln.
          APPEND wa_vbeln TO lt_vbeln.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          HIDE wa_vbeln-vbeln.
          CLEAR: wa_partner,header,v_vbeln, wa_temp2.
          REFRESH: it_partner,it_item.
        ELSE.
    *    LOOP AT return .
          it_error-srno = idx.
          it_error-err_msg = return-message.
          APPEND it_error.
    *    ENDLOOP.
        ENDIF.
        idx = idx + 1.
      ENDLOOP.
    Regards

  • Problem in creating template for the accounting transactions

    Hi,
    suppose for making an entry through fb50 we have to enter g/l a/c no. in that particular field but if some one does not want his end user to make an entry to this field other than putting an entry through his end user he wants system to take the required g/l a/c by default is it possible by creating template for that particular postings? if yes how to generate the template? i have tried to make a template through the recurring entries but not succeeded in that , so please help me.
    Thanking You
    santosh rothe
    9421542585

    You can create a template with a particular account code string from within FB50.
    Make sure you have the tree turned on (Tree On/ Tree Off button toggles display).
    Once you have entered the standard coding, right click on the Account Assignment Template folder to get a popup menu. Select "Save Account Assignment Template". A dialog box will ask you to name the template.
    You can then instruct users to use this template to record this type of transaction.
    However, this does not prevent the user from doing direct entry or changing account code strings. If you have a situation where for a particular combination of accounting elements, whether header or detail, for which the GL should always be a particular value, you can create a substitution rule in IMG which will automatically populate the GL field with the specific GL account value. The IMG transaction is OBBH.

  • Problem to create EG for WLI

    I followed up the PO example, but my env is a cluster and I get some exections.I was trying to deploy File EG on one of a managed server. could anyone help me out. Thanks very much.
    py script:
    # Jython script to create, deploy & configure event generator
    from java.lang import Boolean
    from java.lang import Integer
    import weblogic.Deployer
    import com.bea.wli.mbconnector.file as eggen
    import com.bea.wli.management.configuration as wlicfg
    import jarray
    import sys
    sys.path.append("lib/wlst.jar/Jython-Lib")
    import getopt
    # The wlst file needs to be generated by starting wlst in interactive mode and doing writeIniFile("wlst.py")
    import wlst
    from org.xml.sax import *
    from java.io import IOException
    from org.w3c.dom import *
    from java.io import FileInputStream
    from javax.xml.transform.stream import StreamSource
    from javax.xml.transform.stream import StreamResult
    from javax.xml.parsers import DocumentBuilderFactory
    propertyFile="EG.xml"
    # globals
    domaindir = None
    username = None
    password = None
    url = None
    domaindir = None
    target="wlidev1-0"
    #     Create the EG
    def createEG( egName, egType):
         print "Creating EG ", egName
         eggen.FileConnGenerator.main([
              "-inName", egName,
              "-outfile", domaindir + "/" + "WLI" + egType + "EG_" + egName + ".jar"])
    # deploy the EG
    # egType has to be "File", "Jms", "Email" or "Timer"
    # (that's the convention the console uses)
    def deployEG( egName, egType ):
         print "Deploying ", egName
         try:
              wlst.deploy( "WLI" + egType + "EG_" + egName, domaindir + "/" + "WLI" + egType + "EG_" + egName + ".jar", target )
         except Exception,e:
              wlst.dumpStack()     
    def undeployEG( egName ):
         print "Undeploying ", egName
         try:
              wlst.undeploy( domaindir + "/" + egName + ".jar",target )
         except Exception, e:
              print "No such app name " + egName + " on " +str(target)
    #     Deploy the rules
    def deployRules( egName, d ):
         print "Creating rules for ", egName
         egCfgMBean = wlst.getTarget("FileEventGenerators/FileEventGenerators")
         egMBean = egCfgMBean.newFileEventGenConfigurationMBean( egName )
         cData = jarray.zeros( 1, wlicfg.FileEventGenChannelConfiguration )
         cData[0] = wlicfg.FileEventGenChannelConfiguration()
         if d.has_key('Channel'):
              cData[0].setChannel( d['Channel'] )
         if d.has_key('ChannelType'):
              cData[0].setChannelType(d['ChannelType'])
         if d.has_key('encoding'):
              cData[0].setEncoding(d['encoding'])
         if d.has_key('FtpHostName'):
              cData[0].setFtpHostName(d['FtpHostName'])
         if d.has_key('FtpUserName'):
              cData[0].setFtpUserName(d['FtpUserName'])
         if d.has_key('FtpPassword'):
              cData[0].setFtpPassword(d['FtpPassword'])
         if d.has_key('FtpPasswordAlias'):
              cData[0].setFtpPasswordAlias(d['FtpPasswordAlias'])
         if d.has_key('FtpLocalDirectory'):
              cData[0].setFtpLocalDirectory(d['FtpLocalDirectory'])
         if d.has_key('FileDirectory'):
              cData[0].setFileDirectory(d['FileDirectory'])
         if d.has_key('ScanSubdirs'):
              cData[0].setScanSubdirs(Boolean(d['ScanSubdirs']))
         if d.has_key('FilePattern'):
              cData[0].setFilePattern(d['FilePattern'])
         if d.has_key('SortByArrival'):
              cData[0].setSortByArrival(Boolean(d['SortByArrival']))
         if d.has_key('ReadLimit'):
              cData[0].setReadLimit(Integer.parseInt((d['ReadLimit'])))
         if d.has_key('PostRead'):
              cData[0].setPostRead(d['PostRead'])
         if d.has_key('ArchiveDirectory'):
              cData[0].setArchiveDirectory(d['ArchiveDirectory'])
         if d.has_key('ErrorDirectory'):
              cData[0].setErrorDirectory(d['ErrorDirectory'])
         if d.has_key('Comment'):
              cData[0].setComment(d['Comment'])
         if d.has_key('PassByFileName'):
              cData[0].setPassByFileName(Boolean(d['PassByFileName']))
         if d.has_key('PollingInterval'):
              cData[0].setPollingInterval(Integer.parseInt(d['PollingInterval']))     
         if d.has_key('PublishAsUser'):
              cData[0].setPublishAsUser(d['PublishAsUser'])               
         print cData     
         try:
              egMBean.setChannels(cData)
         except Exception ,e:
              wlst.dumpStack()     
         wlst.saveDomain()
    # main
    def main():
         global domaindir, username, password, url
         try:
              opts, args = getopt.getopt( sys.argv[1:], "n:p:u:d:", "" )
         except getopt.GetoptError:
              print "invalid option"
              sys.exit(2)
         for o, a in opts:
              if o == "-n":
                   username = a
              if o == "-p":
                   password = a
              if o == "-u":
                   url = a
              if o == "-d":
                   domaindir = a
         print domaindir          
         if ((username == None) or (password == None) or (url == None) or (domaindir == None)):
              print "Bad or Missing parameters"
              sys.exit(2)
         print 'Connecting .... '
         wlst.connect( username, password, url )
         #     wlst.debug()
         factory = DocumentBuilderFactory.newInstance();
         try :
              factory = DocumentBuilderFactory.newInstance()
              builder = factory.newDocumentBuilder()
              inputx = FileInputStream(propertyFile)
              document = builder.parse(inputx)
         except Exception, e:
                   e.printStackTrace()
         eglist = document.getElementsByTagName("FileEG")
         for eg in range(eglist.getLength()):
              egElement = eglist.item(eg)
              nnp = egElement.getAttributes()
              egName=nnp.item(0).getNodeValue()
              print egName
              undeployEG(egName)
              createEG(egName,"File")
              #deploy EGs for     each FileEG node          
              try:
                   deployEG( egName, "File" )
              except Exception ,e:
                   wlst.dumpStack()     
              #get ChannelRule Node attributes
              nl=egElement.getElementsByTagName("ChannelRule")
              for p in range(nl.getLength()):
                   nnm=nl.item(p).getAttributes()
                   d={}
                   for q in range(nnm.getLength()):
                        node=nnm.item(q)
                        d[node.getNodeName()]=node.getNodeValue()
                   #there might be server ChannelRules for one fileEG
                   deployRules( egName, d )
    # invoke main
    if __name__ == "__main__":
    main()
    logs:
    (wlsuser) wlidev1> ./create_eg.wli WLI-DEV
    Buildfile: build.xml
    clean:
    [delete] Deleting directory /export/home/wli-auto/temp
    init:
    [mkdir] Created dir: /export/home/wli-auto/temp
    deploy_egs:
    [java] Welcome to Weblogic Server Administration Scripting Shell
    [java] Type help() for help on available commands
    [java] /data/WLI/user_projects/domains/WLI-DEV
    [java] Connecting ....
    [java] Connecting to weblogic server instance running at t3://wlidevadmin:7001 as username system ...
    [java] Successfully connected to Admin Server 'wlidevadmin' that belongs to domain 'WLI-DEV'.
    [java] StatusUpdateInterface_bs_ifp
    [java] Undeploying StatusUpdateInterface_bs_ifp
    [java] No such app name StatusUpdateInterface_bs_ifp on wlidev1-0
    [java] Creating EG StatusUpdateInterface_bs_ifp
    [java] Deploying StatusUpdateInterface_bs_ifp
    [java] Deploying WLIFileEG_StatusUpdateInterface_bs_ifp from /data/WLI/user_projects/domains/WLI-DEV/WLIFileEG_StatusUpdateInterface_bs_ifp.jar ...
    [java] ...Deployment Failed: weblogic.management.DeploymentException:
    [java] Exception:weblogic.management.ApplicationException: start() failed.
    [java] Module: WLIFileEG_StatusUpdateInterface_bs_ifp Error: Exception starting module: EJBModule(WLIFileEG_StatusUpdateInterface_bs_ifp,status=ACTIVATED)
    [java] Unable to deploy EJB: WLIFileEG_StatusUpdateInterface_bs_ifp.jar from WLIFileEG_StatusUpdateInterface_bs_ifp.jar:
    [java] weblogic.cluster.migration.MigrationException: nulljava.lang.reflect.InvocationTargetException
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:324)
    [java] at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(MessageDrivenEJBHome.java:232)
    [java] at weblogic.ejb20.pool.MessageDrivenPool.createBean(MessageDrivenPool.java:116)
    [java] at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
    [java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDrivenBeanPoolInfoImpl.java:253)
    [java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:286)
    [java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
    [java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
    [java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
    [java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
    [java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
    [java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
    [java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
    [java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
    [java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    [java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    [java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    [java] Caused by: javax.ejb.CreateException: Config could not be obtained java.lang.NullPointerException
    [java] at com.bea.wli.mbconnector.file.FileConnMDB.ejbCreate(FileConnMDB.java:186)
    [java] ... 24 more
    [java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:288)
    [java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
    [java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
    [java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
    [java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
    [java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
    [java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
    [java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
    [java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
    [java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    [java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    [java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    [java] Creating rules for StatusUpdateInterface_bs_ifp
    com.bea.wli.management.configuration.FileEventGenChannelConfiguration)
    [java] StatusUpdateInterface_bs_st
    [java] Undeploying StatusUpdateInterface_bs_st
    [java] No such app name StatusUpdateInterface_bs_st on wlidev1-0
    [java] Creating EG StatusUpdateInterface_bs_st
    [java] Deploying StatusUpdateInterface_bs_st
    [java] Deploying WLIFileEG_StatusUpdateInterface_bs_st from /data/WLI/user_projects/domains/WLI-DEV/WLIFileEG_StatusUpdateInterface_bs_st.jar ...
    [java] .Deployment Failed: weblogic.management.DeploymentException:
    [java] Exception:weblogic.management.ApplicationException: start() failed.
    [java] Module: WLIFileEG_StatusUpdateInterface_bs_st Error: Exception starting module: EJBModule(WLIFileEG_StatusUpdateInterface_bs_st,status=ACTIVATED)
    [java] Unable to deploy EJB: WLIFileEG_StatusUpdateInterface_bs_st.jar from WLIFileEG_StatusUpdateInterface_bs_st.jar:
    [java] weblogic.cluster.migration.MigrationException: nulljava.lang.reflect.InvocationTargetException
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:324)
    [java] at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(MessageDrivenEJBHome.java:232)
    [java] at weblogic.ejb20.pool.MessageDrivenPool.createBean(MessageDrivenPool.java:116)
    [java] at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
    [java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDrivenBeanPoolInfoImpl.java:253)
    [java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:286)
    [java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
    [java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
    [java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
    [java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
    [java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
    [java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
    [java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
    [java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
    [java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    [java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    [java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    [java] Caused by: javax.ejb.CreateException: Config could not be obtained java.lang.NullPointerException
    [java] at com.bea.wli.mbconnector.file.FileConnMDB.ejbCreate(FileConnMDB.java:186)
    [java] ... 24 more
    [java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:288)
    [java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
    [java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
    [java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
    [java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
    [java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
    [java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
    [java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
    [java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
    [java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    [java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    [java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    com.bea.wli.management.configuration.FileEventGenChannelConfiguration)
    [java] StatusUpdateInterface_hnca_ifp
    [java] Undeploying StatusUpdateInterface_hnca_ifp
    [java] No such app name StatusUpdateInterface_hnca_ifp on wlidev1-0
    [java] Creating EG StatusUpdateInterface_hnca_ifp
    [java] Deploying StatusUpdateInterface_hnca_ifp
    [java] Deploying WLIFileEG_StatusUpdateInterface_hnca_ifp from /data/WLI/user_projects/domains/WLI-DEV/WLIFileEG_StatusUpdateInterface_hnca_ifp.jar ...
    [java] .Deployment Failed: weblogic.management.DeploymentException:
    [java] Exception:weblogic.management.ApplicationException: start() failed.
    [java] Module: WLIFileEG_StatusUpdateInterface_hnca_ifp Error: Exception starting module: EJBModule(WLIFileEG_StatusUpdateInterface_hnca_ifp,status=ACTIVATED)
    [java] Unable to deploy EJB: WLIFileEG_StatusUpdateInterface_hnca_ifp.jar from WLIFileEG_StatusUpdateInterface_hnca_ifp.jar:
    [java] weblogic.cluster.migration.MigrationException: nulljava.lang.reflect.InvocationTargetException
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [java] at java.lang.reflect.Method.invoke(Method.java:324)
    [java] at weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(MessageDrivenEJBHome.java:232)
    [java] at weblogic.ejb20.pool.MessageDrivenPool.createBean(MessageDrivenPool.java:116)
    [java] at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:254)
    [java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.start(MessageDrivenBeanPoolInfoImpl.java:253)
    [java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:286)
    [java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
    [java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
    [java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
    [java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
    [java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
    [java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
    [java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
    [java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
    [java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    [java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    [java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    [java] Caused by: javax.ejb.CreateException: Config could not be obtained java.lang.NullPointerException
    [java] at com.bea.wli.mbconnector.file.FileConnMDB.ejbCreate(FileConnMDB.java:186)
    [java] ... 24 more
    [java] at weblogic.ejb20.deployer.MessageDrivenBeanPoolInfoImpl.migratableActivate(MessageDrivenBeanPoolInfoImpl.java:288)
    [java] at weblogic.cluster.migration.MigratableGroup.add(MigratableGroup.java:107)
    [java] at weblogic.cluster.migration.MigrationManager.privateRegister(MigrationManager.java:180)
    [java] at weblogic.cluster.migration.MigrationManager.register(MigrationManager.java:127)
    [java] at weblogic.ejb20.deployer.EJBDeployer.deployMessageDrivenBeans(EJBDeployer.java:1748)
    [java] at weblogic.ejb20.deployer.EJBDeployer.start(EJBDeployer.java:1580)
    [java] at weblogic.ejb20.deployer.EJBModule.start(EJBModule.java:687)
    [java] at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2181)
    [java] at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2222)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2521)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2439)
    [java] at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2156)
    [java] at weblogic.management.deploy.slave.SlaveDeployer.commitUpdate(SlaveDeployer.java:682)
    [java] at weblogic.drs.internal.SlaveCallbackHandler$2.execute(SlaveCallbackHandler.java:35)
    [java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    [java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    BUILD SUCCESSFUL
    Total time: 29 seconds

    Hi,
    In MRP2 view the "Procurrement type" should be "F" for creation of PO for any material and Purchasing view also should be extended for that.
    First you extend the MRP views in MM50 if views are not available and maintain the procurement type indicator as F
    If MRP views are available definitely it will show you the "procurement type" field.
    If the above solution is not useful to you please let me know what is the exact error message you are getting in creation of PO.
    regards,
    KN

  • Problem setting different width for images using HorizontalList tag

    Hi,<br />I succeeded using HorizontalList in my AdvancedDataGrid,<br /><br />  <mx:groupedColumns><br />...<br />...<br />  </mx:groupedColumns>  <br />  <mx:rendererProviders>            <br />        <mx:AdvancedDataGridRendererProvider   <br />            dataField="Actual" <br />            renderer="ChartRenderer" <br />            columnIndex="3" <br />            />         <br />    </mx:rendererProviders>  <br /><br />My Chartrenderer:<br /><br /><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" <br />     xmlns:local="*"><br />  <mx:Script><br />    <br />          import mx.collections.ArrayCollection;<br />          import mx.controls.Image;<br />          private var images:Array;                <br />          private var catalog:ArrayCollection;          <br />          private static var cat:Array = [<br />              "kpi_overtime_bar_10.png", "kpi_overtime_bar_20.png",<br />              "kpi_overtime_bar_30.png", "kpi_overtime_bar_40.png"<br />           ];<br />          <br />                    <br />           private function initCatalog(items:Array):void<br />           {<br />              catalog = new ArrayCollection(items);<br />              myList.dataProvider = catalog;<br />           }<br />                                     <br />      <br />    </mx:Script><br />     <mx:VBox height="20" width="40%" xmlns:mx="http://www.adobe.com/2006/mxml"<br />          horizontalScrollPolicy="off" <br />          verticalScrollPolicy="off"><br />          <mx:HorizontalList width="100%" id="myList"  <br />               horizontalScrollPolicy="off"<br />               verticalScrollPolicy="off"<br />               columnCount="4" <br />               creationComplete="initCatalog(cat)"><br />              <mx:itemRenderer><br />                    <mx:Component><br />                         <mx:Image width="50%" height="20"<br />                              maintainAspectRatio="false"/>                                <br />                    </mx:Component><br />               </mx:itemRenderer><br />          </mx:HorizontalList><br />     </mx:VBox><br /><br /></mx:Application><br /><br />This is a test I've done to see if I can palce a list of images in a cell,<br />and I can :)<br /><br />I have 2 problems:<br /><br />1. Here the size of each image is contant, I need a way to set each image in the list to be different,<br />Can I do it? <br />2. I need to load the images dynamically and not from a fixed Array,<br />Can I do it?<br /><br />It will be great to get help.....<br />Thanks<br />Jo

    On Sunday 15 Feb 2009, Yossi Bar wrote:
    > I think not all my descussion detailes were shown,
    I think you should be asking on FlexCoders...
    Tom Chiverton
    Helping to collaboratively enable 24/7 plug-and-play portals
    This email is sent for and on behalf of Halliwells LLP.
    Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the
    registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority.
    CONFIDENTIALITY
    This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
    For more information about Halliwells LLP visit
    www.halliwells.com.

  • Problem while creating serivce call ..using bapi

    Hi
    I am trying to create a service call using a BAPI(BAPI_FLIGHT_GETLIST) as given in the example...
    while creating the service call in the step Adapt Context  i can see Airline Destination from ,Destination to and max rows,
    i am not getting any choice to select dest from and to...
    and when it is finished.. the node bapi_flights_getlist doesnt have any subnodes like cityfrom country from ... flight list.. as shown in the example...
    Can anyone send me the screenshts of creating a service call specially the step Adapt context...to [email protected]
    points will be given..
    Regards,
    Kiran

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

Maybe you are looking for

  • Hanging Report Builder and Runtime-6i

    Hi The Reports 6i Builder and Runtime screens are taking 15-20 minutes to open in Win NT Environment.Earlier they used to work just fine.In this 'vaccum' time the task list shows Program not responding but eventually after 10-15 minutes ,the window o

  • Length in creation of data type

    Hi Experts,   I have one doubt regarding field length.i will get data from proxy(ECC) through status field and it would be a 25 character. i have created a status field as data type in my proxy source structure  . could you please suggest do i need t

  • Merge cartesian join in query plan

    Hi All Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production W are using many GTT's in our code, the query plan have Merge Cartesain join showing cardinality as '1' which is incorrect, as GTT tables have many rows. Due to this

  • WLC ignore redirect from ISE

    Hi all, I have a question about redirect on a WLC 2504. The problem is that with domain computers the WLC skip POSTURE_REQD an goes in RUN state directly when connecting to the guest SSID. No CWA and guest portal. If I use a non-domain computer, or a

  • Can't turn off metronome on playback

    I recently downloaded the new garageband. I recorded everything with the metronome (and headphones on). Now I would like to play back the song but can;t find a way to turn off the metronome.  Any clues?