How to create a Textfile asset programatically in BCC

Hi Good Evening,
I am trying to create TextFile Asset programmatically through eclipse. I can able to create project , but I cannot able to create Asset. Could you please send the document for creating asset in BCC programmatically .
Regards,
Nageswar

The code which Ashokan mentioned is not is not creating a file.
i used code given below to create and write into it.
But, not is writing into it. I don't konw, where i am going worng !
Code
String sample2="C:/Ash/sample2.txt";     
                                                                                FileWriter fw = new FileWriter(sample2,true);
                                        BufferedWriter bw=new BufferedWriter(fw);
                                        bw.write("EMP ID");     
                                        bw.newLine();
Please help
Regards
aSh

Similar Messages

  • How to create a textfile dynamically(with in the loop) with given data?

    Hi all,
    Can anyone Please guide me how to create a text file in the given path dynamically? (with in the loop) with given data.
    For example:
    <%
    String data1="name";
    String data2="address";
    for(int i=0;i<10;i++)
    create the textfile at c:/test/sample.txt//name of the each file created being "sample.txt"
    //contents of text file will be
    data1+i; //to get name1,name2.....
    data2+i// to get add1,add2........
    delete(sample.txt) //to enable to create another file in the loop with same name
    %>

    The code which Ashokan mentioned is not is not creating a file.
    i used code given below to create and write into it.
    But, not is writing into it. I don't konw, where i am going worng !
    Code
    String sample2="C:/Ash/sample2.txt";     
                                                                                    FileWriter fw = new FileWriter(sample2,true);
                                            BufferedWriter bw=new BufferedWriter(fw);
                                            bw.write("EMP ID");     
                                            bw.newLine();
    Please help
    Regards
    aSh

  • How to create a Fixed Asset Business Area that is restricted to a ledger

    Hello gurus,
    I am having trouble creating a Fixed Asset Business Area that will only restrict users to use only one type of ledger in Discoverer Admin. How do you go about this?
    I know how to create the business area but not sure how to restrict it.
    Any guidance is much appreciated.
    Thank you.
    -Nelly

    Hi,
    You can restrict users to using one type of ledger by adding mandatory conditions to the folders in the in the business area. The conditions can be dependent on the user and/or responsibility so that different users/responsibilities have access to different ledgers. These mandatory conditions do not show in the workbook and cannot be changed by the Disco plus/desktop user.
    Rod West

  • How to create legacy group asset in AS81

    Hi All,
    I got a requirement to upload legacy group assets for IT Depreciation, for that how to create it in AS81.
    Asset takeover date is on 01.04.2010, then what should be the capitalisation date for this group asset as this is a group of assets.
    If I give capitalisation date as Asset takeover date, then takeover value tab is going to grey and not allowing for values input.
    Give your suggestions how to resolve it.
    Thanks
    Syam

    Hi Syam,
    Have you message  Message AY252 - Current fiscal year XXXX has to be after  transfer date ZZ/YY/XXXX?      
    If you enter the date from the error message ZZ/YY/XXXX is should work.  
    You will have to ensure that the      
    Closed Year is in line with Transfer date and        
    Current Fiscal Year is later than Transfer date.     
    Following Parameters are relevant:
    T093B-ABGJA = Closed Year           
    T093C-DATUM = Transfer date         
    T093C-LGJAN =  Current Fiscal Year  
    Regards Bernhard

  • How to create datasource/connection pool programatically?

    Hello,
    We are developing a system that connects to multiple databases by dynamically switching datasources, using ADF 12.1.3. Application is deployed on weblogic and glassfish.
    There is no problem on switching and working on multiple datasources which is created previously on the application server (weblogic/glassfish).
    Now we need to create a datasource while system is running.
    Is it possible to create datasource programatically, and list datasource previously created?
    Jdeveloper/ADF: 12.1.3.
    Thanks,
    Ganbat Bayarbaatar.

    Dear Ashish,
    Thank you for your response, but that is not what I was looking for.
    I haven't any problem on changing datasources. I would like to create new datasource on application server.
    On Andrejus's post, there is a comment about what I'm asking:
    Syed : Nice Post. To enhace this more further. How can we get list of JDBC Data sources available in weblogic in the ADF Application.
    Andrejus: By using WebLogic API this should be possible or by accessing MBean...
    Is there any more-detailed blog post or doc, about "Weblogic API", "MBean"  and using them to create datasource?
    Thanks,
    Ganbat.

  • How to create InboundPlug by Code (Programatically)

    Hi,
    I have to create Inbound Plug Programatically at runtime. I tried to look for option but could not find one. The Outnound Plug creation is possible then why Inbound Plug Creation is not available in the same way.
    Please help.
    Thanks & Regards,
    Dhirendra

    Hi,
    The whole requirement goes this way:
    Standard appliaction would be delivered to customers, now after this Service Center or Customer may need to change the screen flow and hence i am storing complete screen flow in an ABAP system table which decides the flow of views. To provide ease of customization i am thinking to create all plugs and Navigation links programaticaly.
    My concern is even more driven by curiosity as why OutboundPlug creation is possible programatically.
    Please help.
    Thanks & Regards,
    Dhirendra

  • How to create a pdf file?

    Hi,
    I would like to know how to create a pdf file programatically using APIs. I have acrobat8 or acrobat9 sdk but there no dll in sdk.
    Do i need acrobat library? If yes then how to get the same?

    You need Adobe Acrobat.
    The Acrobat SDK is automating/programming Acrobat (and sometimes Reader).

  • How to create a Credit Note to the client for purchasing of an Asset last y

    Hi,
    I have an issue in Asset Accounting as it showed bellow:
    Assets depreciation start date is 1st October 2007.
    We have run the depreciation up to November 2007.
    Than we sold the asset in December.
    However, after the end closed year 2007, client returned the asset in 1 st January 2008.
    So i need to create a Credit Note to the client for purchasing of an Asset last year, but we don't know how to create it?
    We thinks that correct movement should be debit in extraordinary cost / profits account, debit in asset account, credit in accumulated depreciation account and credit in client account.
    Plz help. I will assign full points for any useful answer.
    Thanks
    Edited by: Ricardo Pedro Rodrigues Ferrão on Dec 20, 2007 10:09 AM

    How did you sell the asset?
    You can just reverse the sale transaction by going to transaction AB08.
    Hopefull this may work for you.
    Regards,

  • How to create Parent Child relationship of Assets

    Hi All
    can any one provide the solution for the below mention requirment.
    Problem Description: How to create Parent Child relationship of Assets in below case.
    1. If asset Category of Child assets are different but both parent & child assets are already capitalized.
    2. If asset Category of Child assets are same but both parent & child assets are already capitalized.
    3. If asset Category of Child assets are same for new assets.

    Hi All
    can any one provide the solution for the below mention requirment.
    Problem Description: How to create Parent Child relationship of Assets in below case.
    1. If asset Category of Child assets are different but both parent & child assets are already capitalized.
    2. If asset Category of Child assets are same but both parent & child assets are already capitalized.
    3. If asset Category of Child assets are same for new assets.

  • Can anyone explain how to create lov programatically?

    Hi to all,
    Can anyone explain to me how to create lov programatically?.
    Actually i created a region and items usig code and i want to know how to create lov and mapping also.
    Suppose anyone knows plz let me know. its urgent one.
    Thanks in Advance.
    by
    senthur

    Hi,
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean); OAMessageLovInputBean lovInput =
    (OAMessageLovInputBean)createWebBean(pageContext, LOV_TEXT, null,"inputTest");
    webBean.addIndexedChild(lovInput);
    // Specify the path to the base page.
    lovInput.setAttributeValue(REGION_CODE, "/oracle/apps/dem/webui/Basic");
    // Specify the application id of the base page.
    lovInput.setAttributeValue(REGION_APPLICATION_ID, new Integer(20001));
    // Specify the LOV region definition.
    lovInput.setLovRegion("/oracle/apps/fnd/framework/toolbox/tutorial/webui/EmployeesLovRN", 0);
    // Validation should be enabled for LOVs unless it's essential for the field to allow a partial value (in a "Search" region, for example).
    lovInput.setUnvalidated(false);
    // Configure the LOV mappings.
    // Note that you must call this method after you add the messageLovInput item
    // to the web bean hierarchy.
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_RESULT, // direction
    LOV_REQUIRED_NO);
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_CRITERIA, // direction
    LOV_REQUIRED_NO);
    Read more in Dev Guide. Chapter List of Values & Search forums.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • When create a new asset card,click the Deact,how to react it?

    Hello all,
    A customer of mine ,when he create a new asset card, in the Deprec.Areas, he click the Deact, and the Deprec information for this asset  can't been seen. How can i react the Deprec. information? or i must create a new card?
    Who know,please help me,  thank you!
                                                                                    Doris

    Hi Doris,
    please check the screen layout rule.                                                                               
    CU: FI-AA:                                                        
      -> Master Data                                                  
        -> Screen Layout                                              
          -> Define Screen Layout for Asset Depreciation Areas
                  Field group: 18     Deactiv. area           
    Is it on opt or req?
    Is the meintain. level set (Main number or subnumer) 
    Regards Bernhard

  • How to create and configure JMSConnection Factory programatically?

    Guys,
              How to create and configure JMSConnection Factory programatically and (<b>NOT THRU CONSOLE</b>)?
              There is an option using the JMSHepler to create the Queues.
              Is there an option to create ConnectionFactories using the same or other classes?
              anshuk

    There are no 8.1 "JMSHelper" extensions for creating conection factories (they've been added for 9.0). Instead, you can use a variety of more generic methods.
              You can create configuration scripts using WLST or wlconfig or wlshell, or make direct calls from java into WebLogic's public JMX mbean APIs (all config tools, including the console, call into these APIs).
              For a JMX example, see the implementation of the "JMSML" utility on dev2dev.bea.com. For WLST examples search for "+WLST +JMS".
              Tom

  • How to create citadel database and link it to an existing project library programatically?

    hi,
    does anyone knows how to create citadel database progarmatically and linking it with my project library programatically?
    samriddh sarbalhi
    [email protected]

    hi,
    i have designed an application having four security levels like administrators, engineers, operators & guests.
    now i want that whenever the guest logins in my application, windows components on the desktop will not be accessible to him means he can only view my application but he will not be able to view start menu on the task bar of the windows page or any icon on the desktop.
    please tell me how to accomplish it progarmatically using labview.
    the appropriate response will be highly appriciable.
    thanks
    samriddh sarbalhi
    [email protected]

  • How to create side navigations programatically

    Hi,
    Can you please tell me how to create side navigations for a page programatically.
    Thanks in advance

    See topic "Tabs / Navigation" in dev guide, this is explained ind etaqil with sample code.
    --Mukul                                                                                                                                                                                                                                   

  • How to create segments programatically?

    Hi Folks,
         Anyone has any idea on how to create fatwire segments programmatically?
         Is there any fatwire tags or asset API methods are available for it?
    Thanks

    Segments are basic asset types. Creating a segment should be equivalent to creating a basic asset.
    Have you tried with the usual asset:create, asset:set and asset:save tags?
    -Regards,
    DFy

Maybe you are looking for

  • Can't put Combobox  in Master-Detail Form

    I'm trying to create Master-Detail form with LOV's, but in both the Master and Detail selection, the Item Type LOV doesn't include combobox. From the looking at some of the Posts, this seems to be possible. Does anyone know what I need to do? Thanks

  • HP M7246N Media Center Drive Bay

    I have a HP M7246N Media Center Tower, when I insert a HP Personal Media Drive into the Bay, the Drive lights come on, I do not see the Drive listed with the other My Computer USB Personal Media Drives. Where should you see the drive. Do I have to do

  • Date/Time Field in Access 2000 - INSERT INTO ... syntax error

    I am using Labview 6.1 Professional with the Database Connectivity Toolkit. When I execute this SQL Command "INSERT INTO PRODUCTION (Part, Passed, Date) VALUES ('Part#1', 2, '10/10/2003 10:10:10 AM')" I get a Run-Time Syntax Error. If I remove the Da

  • Remote connection between two macs.

    I'm trying to set up a remote connection between my iMac and my MacBook so I can share them over the network. On the MacBook's Terminal I'm entering the following command: "ssh username@hostname" witch is supposed to let me remotely login into my iMa

  • J2EE Server (Server0) Start up porblems!

    I am slightly concerned about the J2EE Server as when it starts up, after a restart, it can take up to 15 mins before it starts where as everything else starts with a couple of mins at the most. The status says that it is 'Starting Applications'. I a