Custom Module Error

Hi Group,
After deploying custom module in J2ee server we are getting the below error in communication channel:
Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookupof EXCELTOXMLBean
Can any body suggest.

In your module, there's something like this ???
DataSource ds = (DataSource) context.lookup("java:...")
Check:
Module Name: FilenameModuleBean
Type: Local Enterprise Bean
Module Key: Any Constant Value
Module parameters for module key (if the custom module expects any inputs)
And remember that you have to type the full JNDI name in module configuration, like follow:
sap.com/fnmodear/<FilenameModBean>
Note that the JNDI name construction in XI 3.0 and PI 7.1 is different.

Similar Messages

  • Printing java layer error stack in a custom module!--Experts, please reply!

    Hi to all OAF experts,
    We are in a process of making a fully customized module, which is integrated with OM and other modules, and takes the place of Quoting module. There is beasically a custom module which takes the place Quoting module in Apps in Order to cash cycle. Now in the final page of this module where we submit the quote, we need to through the entire Java layer error stack, similar to what is done in stanadard quoting module. There they use AOLMessageManager class for this purpose. But since quoting module is in JTT/JTF framework and our custom module is in OAF , we were looking for alternatives.
    I was going through oaf doc and i found a class called OAExceptionUtils, which contains a method called processAOLJErrorStack(ErrorStack)
    As per the documentation it says --"Returns an OAException representing the error stack populated by the Oracle Applications user session context AppsContext. ", that is exactly what we need. But , when i use this method, i get error stack as null! Any idea y this is happening? Any alternative how to get this done!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi Mani,
    What is the source (technology source) of the error?
    This is OAF.In a way we have developed entire quoting module from scrath .I believe you would be embedding the Quoting (JTF) pages on to your custom OAF pages. This is similar to how it is implemented in the Standard Sales module.
    We are using same quoting APis to create quote. Our code only goes in JTF tech only while entering in and of configurator.Is your requirement to read the java error stack (JTF Code) from the standard quoting application (embedded in your custom OAF Page) in your Custom page's controller (OAF Code)?
    Yes, we can create quotes from quoting as well as from our custom table,the only difference is that if you create aquote from quoting, it does not updates our custom tables. We want to throw the same java error which quoting throws, while submitting a code in our oaf controller. It throws even Order management error messages!Any idea how we can go about this..!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Runtime Error Custom Module Adapter 7.31

    Hi experts.
    We've developed a custom module adapter to be used in HTTP_AAE sender adapter. The deployement is successfull, the module is started but we are facing this error at runtime:
    Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_IN_MODULECHAIN, null
    ¿Any idea what can be happening?
    We are working with version 7.31 SP 10 Java only stack installation.
    Thanks a lot.
    Kind regards.
    Christian.

    Hi Amit.
    Thank u so much but your response.
    Regarding your quesion, yes I have done it.
    Regards.
    Christian.

  • Create a PDF as attachment in custom module in mail receiver adapter

    I'm trying to create a PDF attachment to an email using a custom module with the following codes. The attachment was created and sent, but when I tried to open it, I got the following error message: the file cannot be read either because a invalid encoding or the file is damaged.
    Anybody knew if I did anything wrong in the way I'm opening and creating the PDF attachment below?
    // add a new pdf attachment to the message
    FileInputStream fi = new FileInputStream("c:/ftmailxi.pdf");
    byte[] attachmentContent = new byte[fi.available()];
    Payload attachmentPDF = msg.createPayload();
    attachmentPDF.setName("ftmailxi.pdf");
    attachmentPDF.setContentType("application/pdf");
    attachmentPDF.setContent(attachmentContent);
    //adding our this pdf as an attachment
    msg.addAttachment(attachmentPDF);
    //provide the XI message for returning
    inputModuleData.setPrincipalData(msg);

    This will surly help u
    /people/sravya.talanki2/blog/2006/11/28/e-mail-xml-messages-in-pdf-format-from-sap-xi
    Check this out
    Mail with attachment.
    Regards,
    Prateek

  • What will be input for custom module developed for JDBC adapter

    Hi,
    I have a scenario SQLDB -> Xi -> R3 .
    Here I have added a custom module before callsapadapter module.
    As I know the sequence of module calling will be as follows :
    1. Standard jdbc adapter
    2. custom module
    3. callsapadapter
    Standard jdbc adapter has a select query . After that what will be the input format for my custom module .Will it be the xml structure of my source Data type or will it be a resultset or will it be a inputstream(stream of xml fomat????).
    And then in which format i need to generate the output format for CallSapAdapter.
    Regards

    Hello Moni,
    SAP has a wonderful feature in ABAP. There are some Runtime Errors that you can <i>catch</i>. This is somewhat similar to the Exception Handling procedure in Java / C++. So here's how you go about it....
    Sometimes there might some calculations that we do, multiplication , for example, where the result of the arithmetic operation is known only at run-time. And the recepient for this result may not always be of the right type to take the result. Consider the following code:
    parameters a type i obligatory.
    data : b type i,
           c type i.
    b = 99999999.
    ** Assume that the user has entered 99999999 for the value of the parameter a.
    c = a * b.    " 99999999 * 99999999 "
    write c.
    This program will certainly give a short dump saying that there was an arithmetic overflow. But we can actually avoid this Shor Dump and handle the situation quite elegantly. consider the following.
    parameters a type i obligatory.
    data : b type i,
           c type i.
    b = 99999999.
    CATCH SYSTEM-EXCEPTIONS ARITHMETIC_ERRORS = 1.
    ** Assume that the user has entered 99999999 for the value of the parameter a.
       c = a * b.    " 99999999 * 99999999 "
    ENDCATCH.
    if sy-subrc ne 0.
      write: 'There was an arithmetic overflow in the calculation.'
    else.
      write c.
    endif.
    This way you can actually avoid the short dump and make the system set a value for sy-subrc. Based on the avlue of the sy-subrc, you can go ahead with further processing / error-handling, as the case may be.
    Here, ARITHMETIC_EXCEPTIONS is called an <i>exception group</i>. For more information on what other run-time errors can be <i>caught</i>, and What the various exception groups contain, please refer to the online documentation for the CATCH statement.
    Regards,
    Anand Mandalika.

  • Unable to load your custom module provider's module-factory-class

    I am having a problem while I deploy my application. it gives me following error:
    Unable to load your custom module provider's module-factory-class com.bea.p13n.descriptor.module.ConfigModuleFactory
    Dont know how to resolve it. the class is in p13n_system.jar file, I have added that jar as a library in deployment but still it shows the same error.
    Added it in classpath as well but same error. (Dont know exactly how to add in class path, i have added just in "Start Server" tab's classpath)
    Any help will be greatly appreciated

    Below link might be helpful.
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=1049509&tstart=0
    Regards,
    Anandraj
    http://weblogic-wonders.com/

  • JNDI registration for custom module

    Hello,
    I have deployed my module with NWDI(NWDS 7.11). but it is not replecting in JNDI registry..and when I am executing this module the CC adapter goes into error with JNDI lookup not found...(becuz it is not present in the JNDI registry)..
    so how to register the custom module in the JNDI registry?
    any help will be appriciated...

    provide the jndi during your module development itself. when you deploy the module code the JNDI name gets automatically registered.
    ref: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa?overridelayout=true

  • HELP!! ClassCastException with custom module classloader hierarchy and redeployment

    Hi,
    I am defining custom module classloader hierarchy to avoid redeploying of the
    entire application mainly because we have so many EJBs and it takes a long time
    to deploy the entire app. I deploy my app using the exploded directory, add a
    new method to an EJB in my dal.jar, redeploy, run my unittest and I get ClassCastException.
    I am using weblogic.Deployer utility to reploy my module using "-targets dal.jar@accsserver"
    argument. I even tried undeploying that module and redeploy again with no luck.
    here is weblogic-application.xml definition of the custom class loader
    <classloader-structure>
    <module-ref>
         <module-uri>floghmi.war</module-uri>
         </module-ref>
    <module-ref>
         <module-uri>cts.jar</module-uri>
         </module-ref>
    <module-ref>
         <module-uri>fdbs.jar</module-uri>
         </module-ref>
    <classloader-structure>
         <module-ref>
              <module-uri>dml.jar</module-uri>
         </module-ref>
    <classloader-structure>
         <module-ref>
         <module-uri>dal.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </classloader-structure>
    thanks,
    Nasrin

    Rob,
    regarding your question on redeploying the whole app without the classloader
    structure, yes, that works fine. If I change a class and redeploy the whole app,
    things are ok. However, when I speocify the classloader structure, and try to
    redeploy the dal.jar, I get ClassClasException.
    You are right about dml.jar being in a separate classloader. I have changed my
    structure after I posted my question to load dml.jar from the application classloader.
    So Rob, is there a bug in Weblogic 8.1 that causes this exception?
    please let me know, I am anxiously waiting your response.
    thanks,
    Nasrin
    Rob Woollen <[email protected]> wrote:
    >
    >
    Nasrin Azordegan wrote:
    Rob,
    if I remove my classloader structure from weblogic-application.xml,I get an
    error during redeployment, saying "You must include all of<list ofmy module names
    here> in your files list to modify <dal.jar>. Yes, the server enforces constraints on partial redeployments. You must
    deploy all the modules in a given classloader and any modules in child
    classloaders.
    Just to make sure, if you initially deploy your app, or redeploy the
    whole thing, it works fine without the classloader-structure, right?
    The problem I am trying to solve is to minimize our deployment time.Our application
    has over 700 CMP 2.0 entity beans and 200 session beans. Our applicationdeployment
    follows the J2EE layer architecture. The data mapping layer which consistof 700
    entity beans are located in dml.jar. The data access layer which consistof 200
    session beans are located in dal.jar. We create our ear with thesetwo jar files
    plus some other framework jars and deploy on bea weblogic 8.1 SP2 andthat takes
    about an hour. I need to be able to modify a session bean, i.e. changethe implementation
    of a session bean or add a new method to a session bean interface andredeploy
    only data access layer, the dal.jar, not the entity beans. This explainswhy you
    see dml.jar in a classloader with a child classloader that loads dal.jar.
    I included the ClassCastException from weblogic server console below.What is
    happening is that I have a session bean with 6 methods that just doesa println.
    I deploy my session bean, ExerciseSessionBeanFactory, and run my unittest that
    invokes test1 through test6 methods. I modify my bean to add "test7"method and
    redeply dal.jar successfully. I run my unit test that invokes test1through test7
    methods and then I get a ClassCastException.
    I hope this helps. Please let me know if you need more details.If you push dml.jar into a subloader, that means you can change dml.jar
    without touching anything in the parent loader. However, it also means
    that you've isolated it's classes and other modules can't see them.
    -- Rob
    thanks,
    Nasrin
    in test method
    in test2 method
    in test3 method
    in test4 method
    in test5 method
    in test6 method
    <Apr 12, 2004 9:26:03 AM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
    EJB: SimTimeListener is unable to connect
    to the JMS destination: cn=t.cms.cts.simTimeInfo. Connection failedafter 184
    attempts. The MDB will attempt to reconne
    ct every 10 seconds. This log message will repeat every 600 secondsuntil the
    condition clears.>
    <Apr 12, 2004 9:26:03 AM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
    EJB: SimTimeListener is unable to connect
    to the JMS destination: cn=t.cms.cts.simTimeInfo. The Error was:
    [EJB:011011]The Message-Driven EJB attempted to connect to the JMSdestination
    with the JNDI name: cn=t.cms.cts.simTimeI
    nfo. However, the object with the JNDI name: cn=t.cms.cts.simTimeInfois not a
    JMS destination, or the destination found
    was of the wrong type (Topic or Queue).>
    in test method
    in test2 method
    in test3 method
    in test4 method
    in test5 method
    in test6 method
    <Apr 12, 2004 9:28:26 AM PDT> <Warning> <RMI> <BEA-080003> <RuntimeExceptionthrown
    by rmi server: com.trs.cv.infr.istr.
    sc.sim.factory.ejb.ExerciseSessionFactory_zhotso_EOImpl.test7()
    java.lang.ClassCastException.
    java.lang.ClassCastException
    at com.trs.cv.infr.istr.sc.sim.factory.ejb.ExerciseSessionFactory_zhotso_EOImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Rob Woollen <[email protected]> wrote:
    You'll have to give me some more information on the ClassCastException.
    Where does it happen? Print out the classnames and the
    classloaders of the 2 objects.
    Does everything work fine if you remove your classloader-structure?
    -- Rob
    Nasrin Azordegan wrote:
    Hi,
    I am defining custom module classloader hierarchy to avoid redeployingof the
    entire application mainly because we have so many EJBs and it takesa long time
    to deploy the entire app. I deploy my app using the exploded directory,add a
    new method to an EJB in my dal.jar, redeploy, run my unittest and
    I
    get ClassCastException.
    I am using weblogic.Deployer utility to reploy my module using "-targetsdal.jar@accsserver"
    argument. I even tried undeploying that module and redeploy again
    with
    no luck.
    here is weblogic-application.xml definition of the custom class loader
    <classloader-structure>
    <module-ref>
         <module-uri>floghmi.war</module-uri>
         </module-ref>
    <module-ref>
         <module-uri>cts.jar</module-uri>
         </module-ref>
    <module-ref>
         <module-uri>fdbs.jar</module-uri>
         </module-ref>
    <classloader-structure>
         <module-ref>
              <module-uri>dml.jar</module-uri>
         </module-ref>
    <classloader-structure>
         <module-ref>
         <module-uri>dal.jar</module-uri>
    </module-ref>
    </classloader-structure>
    </classloader-structure>
    </classloader-structure>
    thanks,
    Nasrin

  • OPMN Custom module starts - but opmn doesn't notices it - why?

    Hi,
    This is my opmn custom module configuration:
    <ias-component id="Apache_Tomcat6">
                <process-type id="Apache_Tomcat6" module-id="CUSTOM">
                   <process-set id="Apache_Tomcat6" restart-on-death="true" numprocs="1">
                      <module-data>
                         <category id="start-parameters">
                            <data id="start-executable" value="/opt/tomcat/apache-tomcat-6.0.16/bin/startup.sh"/>
                         </category>
                         <category id="stop-parameters">
                            <data id="stop-executable" value="/opt/tomcat/apache-tomcat-6.0.16/bin/shutdown.sh"/>
                         </category>
                         <category id="ping-parameters">
                            <data id="ping-type"    value="http" />
                            <data id="ping-url"     value="/" />
                            <data id="ping-host"    value="somehost.cumquat.office" />
                            <data id="ping-port"    value="8082" />
                            <data id="ping-limit"   value="3" />
                            <data id="ping-timeout" value="300" />
                         </category>
                         <category id="ready-parameters">
                            <data id="use-ping-for-ready" value="true" />
                         </category>
                      </module-data>
                   </process-set>
                </process-type>
             </ias-component>Executing: opmnctl startproc process-type Apache_Tomcat6
    Returns:
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
        Apache_Tomcat6/Apache_Tomcat6/Apache_Tomcat6
    Error
    --> Process (pid=12342)
        failed to start a managed process after the maximum retry limit
        Log:
        /oracle/as/10.1.2/mtier/opmn/logs/Apache_Tomcat6~1Strangely enough though tomcat is started
    Question: why does OPMN raise the error?

    Got it working. The previous issue must have had something to do with the way catalina is called from startup.sh/shutdown.sh. For information, this is what I changed:
    <category id="start-parameters">
                            <data id="start-executable" value="/opt/tomcat/apache-tomcat-6.0.16/bin/catalina.sh" />
                            <data id="start-args" value="run" />
                         </category>
                         <category id="stop-parameters">
                            <data id="stop-executable" value="/opt/tomcat/apache-tomcat-6.0.16/bin/shutdown.sh"/>
                            <data id="stop-args" value="stop" />
                         </category>Now I can start/stop Apache Tomcat6 from opmnctl. Anybody got a clue how I can make this entry show up in OEM?

  • Custom 404 Error page in Sharepoint Foundation 2013

    Hi all,
    How to point to the custom 404 error page in Share Point Foundation 2013. I have seen some links but not working for me. Please me let me know if you have any suggestion.
    Thanks.

    Can i create any page and pass the page url in it,like if i have created a page as custom404.aspx under pages library so do i need to do like this?
    $spsite = Get-SPSite "<http://sharepoint:1000/>"
    $spsite.FileNotFoundUrl = "<pages/custom404.aspx>"
    is this the correct way or i am doing incorrectly??
    please suggest

  • How can I set up a custom 404 error page on OSX Server?

    I moved my web site to a local server and changed the structure drastically.  Unfortunately I am getting hits for information that was on the old server which I haven't put back yet.  I'd like to set up a custom 404 Error Page to let people know what's up.  In server.app I can set up a 500 error page but not a 404 and when I tried hand coding it into the sites .conf file I really messed things up.  It took me a while to get that all corrected!
    Thanks for any advice,
    Bill W

    Found it!
    Under the web server Advanced Setting set "Allow overrides using .htaccess" then create an .htaccess file in the root directory with the line:
    ErrorDocument 404 notfounderror.html
    Use whatever HTML/PHP/etc. document you have created.

  • Custom Module

    Hi All,
    Is it possible to add custom module to RFC adapter..?  Also using custom module is it possible to convert a payload into attachment in XI..?

    Hi,
    Generally The RfcAdapter will use one which is called 'localejbs/RfcAFBean'. This can be configured in the Integration Directory for each communication channel on the tab 'Module'. If the list is empty on this tab, it defaults to the EJB named above and nothing has to be done. So if no modules should be used, everything will work without a special configuration. If some custom modules are configured to be used, the last module always has to be the RfcAdapter module. This will establish the communication between the adapter and the Adapter Engine.
    Can you go through the below urls which may help you in developing a new module processor:
    /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    /people/gowtham.kuchipudi2/blog/2006/01/04/testing-sample-adapter
    Also go through the help which might answer your queries:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm
    Thanks
    Swarup

  • "Internal module error" in NSU - fix offered here!

    Just received this:
    Dear updaters,
    We have noticed some of you reporting the message "Internal module error".
    When installing Nokia Software Updater, sometimes the Microsoft XML4 DLL silent installation fails. This problem can be resolved by manually registering DLL. Go to Start > Run > enter "regsvr32 C:\WINNT\system32\msxml4.dll" > OK > OK.
    We apologize for the inconvenience.
    Regards
    The Nokia Software Update team
    edit: solution updated.Message Edited by vandelay on 15-Feb-2007
    03:38 PM
    I wrote all my posts from 2005-2011 as an "Admin" for this community. I still work for Nokia as an external consultant, so my rank in all posts is now "Employee".

    It worked absolutely fine,
    Yes finally after a lot of effort and all the support from this site,, especially VAN...I have updated my phone firmware to the latest 3.0705.1.0.31
    yups i am dammn happy and express my gratitude to the help extended by the nokia team. hey VAN thanks again .
    now about the firmware i am sure there will be more updates to come depending upon the views of the people but just one thing that i wanna bring out,,
    the option of exiting the music player from the equalizer was nice, which is not included in this firmware and hence becomes an issue of debate, i feel that it was a good option and should be included in the next upgrade of the firmware.
    thx

  • Customer Module Deployment in PI 7.1

    Hi All,
    We have a custome adapter module developed in PI 7.0 and we have upgraded that to PI 7.1 based on the guidelines from SAP. Now we would like to deploy that upgraded module in new PI 7.1 server. Could any one please tell me how can i deploy the new custom module.
    Please suggest me various methods of doing it.
    Thanks in advance.
    Best Regards,
    Prasad Babu.

    hi,
    refer to:
    http://help.sap.com/saphelp_nw70/helpdata/en/87/4797422930c56ae10000000a155106/content.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00838345-708c-2a10-1199-9514c0b0a91c
    regards,
    ujjwal kumar

  • How to collect debug logs for custom module only in EBS by AppsLog.write?

    Hi,
    Customer is trying to retrieve logs for their custom module (XXKCZ) and
    put it to /log/kcz.log by using AppsLog.write() method. (refer to sample code below)
    Customer has set these profile values in the application level and removed the values
    in the site level. But the file /log/kcz.log is created but does not have any lines in it.
    Is there something wrong to the coding of AppsLog.write?
    Application Name "xxkcz"
     FND: Debug Log Enabled "Y"
     FND: Debug Log Module "xxkcz%"
     FND: Debug Log Level "UNEXPECTED"
     FND: Debug Log Filename "/log/kcz.log"
     ---- [Sample Code starts] ----
     Package jp.kaikei.oracle.apps.xxkcz.util.server;
     import oracle.apps.fnd.common.AppsContext;
     import oracle.apps.fnd.common.AppsLog;
     import oracle.apps.fnd.common.Log;
     public class CommonLog{
     public void initLog() {
     AppsContext appsCtx = new AppsContext();
     AppsLog appsLog = appsCtx.getAppsLog();
     appShortname = "xxkcz"
     message ="Message started"
     CLASS_NAME = "jp.kaikei.oracle.apps.xxkcz.util.server.CommonLog";
     String moduleName = appShortName + "." + CLASS_NAME + ".initlLog;
     appsLog.write(moduleName, message, Log.UNEXPECTED)
     ---- [Sample Code ends] ----
    Any advise?
    Thanks.

    May be some initialization is missing,
    I have created my own writetoFile method,
    if you want you can try this,
    * Method to write the debug messages into a File
    public void writeFile(String debugMsg, String userName)
    String logDir = (String)this.getOADBTransaction().getProfile("XXPO_OA_PDT_PDT_DEBUG_DIR");
    BufferedWriter out;
    //DateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
    Date date = new Date();
    // if(logDir ==null)
    // logDir = "/ebsgld/ebsgldcomn/temp/";
    String fileName = logDir+userName+"-pdt_log.log";
    //createDiag(XXPO_APP_SHORT_NAME,"[AM]fileName "+fileName);
    try
    out = new BufferedWriter(new FileWriter(fileName,true));
    out.write("\n\n" + debugMsg);
    out.close();
    } catch (IOException e)
    //System.out.println("exception in Writing the log file "+e.toString());
    //createDiag(XXPO_APP_SHORT_NAME,"[AM] Exception in Writing the log file "+e.toString());
    //Only start and end file
    if(debugMsg.indexOf("##########")!=-1)
    String impFileName = logDir+userName+"-pdt_imp_log.log";
    // System.out.println("File Name is "+fileName);
    try
    out = new BufferedWriter(new FileWriter(impFileName,true));
    out.write("\n\n" + debugMsg);
    out.close();
    } catch (IOException e)
    createDiag(XXPO_APP_SHORT_NAME,"[AM] exception in Writing the log imp file "+e.toString());
    With regards,
    Kali.
    OSSI.

Maybe you are looking for

  • What's wrong with my Air?

    I have a Mid 2013 13 inch MacBook Air. Recently I've noticed that when I go to About My Mac->"More Info.." it doesn't show the model of my Air. There's only "MacBook Air". What's wrong with it?

  • ABAP-PI port example

    Hi, Can anyone give me an example code of what should go into a FM attached to an ABAP-PI port? I have a scenario in which i have to make changes to an IDOC before i sent it out to XI. so i have configured to first send it to an ABAP-PI port make the

  • New Photo Booth effects??

    I installed Leopard earlier on today (Family license) on both my iMac and my MacBook. I thought both installations had gone perfectly smoothly, but it transpires that the new effects in Photo Booth haven't been installed on my iMac! =( They've been i

  • Cisco Hreap WLC and Apple TV

    We are having problems getting apple tv to work for a customer.  We have this working on a different controller and the AP (non Hreap).  The AP/SSID that is having problems is setup the same (Blocking is set to disabled, and mutlicast is enabled).  T

  • BAPI for Profit Center Accounting

    Hi Guys, Which BAPI is used to post revenues (Profit center) in ECC? Best Regards