Runtime fileds in the file generation.

Hi,
I am developing a program to generate a file based on the data from MKPF and MSEG.
There are five checkboxes like MATNR, MBLNR, LGORT, BWART etc. Based on the checkboxes
selected I need to put these fields in the file.
Sometime user may select one checkbox or two or may be all five.
So how to define the internal table for this because there would be multiple internal tables for the all
possible combinations.
Please suggest me how to tackle this with the one inernal table or may be two.
thanks in advance.
- Chetan.

Hi
You can use dynamic select statements for your requirement, based on the checkboxes selected.
Search forums for dynamic select statements for usage.
Check this example:
[http://sample-code-abap.blogspot.com/2008/07/sap-abap-dynamic-internal-table-and.html|http://sample-code-abap.blogspot.com/2008/07/sap-abap-dynamic-internal-table-and.html]
Regards
Raj
Edited by: Rajasekhar Dinavahi on Dec 2, 2008 1:53 AM

Similar Messages

  • Change the file generation DME - RFFOBR_U

    Guys, you know what needs to be changed to point us to achieve customization file in the Bradesco bank?

    How about breaking this out into 2 mappings? In the first mapping, map a flat file operator to an table using SQL*Loader code. Then define a second mapping using the table as source and therefore generate PL/SQL. Then use process flow to launch the 2nd map to run after completion of first.

  • File generation from Report 3.0

    Hi,
    I have Developer 2.1 and I tried to run a report from a Form (RunProduct). It works, but when (from the prewiewer) I generate a file (for example a HTML file) this file has no data in. That is it has all the headings (constant data)but no data base data.
    Example :
    the previewer shows something like this
    empno employee name
    113 Scott
    114 Red
    the Html file shows something like this :
    empno employee name
    Another thing: if I run R30RUN32 the file generation works correctly.
    Anyone has faced such a problem ?
    Thanks in advance.
    Dino Pesce
    null

    Now I am using reports 6.0..
    still that problem is there in 6.0 also
    what you can do to solve this problem is
    you accept parameters in form for
    destination type , dest format and dest name
    (DESTYPE,DESFORMAT,DESNAME)
    Pass this parameters to report using parameter list..
    you can disable "generate to file" menu item
    in previewer menu by passing following parameter
    DISABLEFILE..
    Add_Parameter(pl_id,'DISABLEFILE',TEXT_PARAMETER,'YES');
    PS: you need not create all these parameters as user parameters in reports

  • File generation at runtime

    I am working on a mobile web application and I would like to auto-generate a CSS upon user login such that certain customizable LAF (i.e. font-size, font-family, color, background-color, etc) components will be specific to the person who has logged in.
    Has anybody done anything with CSS generation at run-time and can offer some direction for me - maybe some online documentation or even a third-party API for CSS file generation.
    Thanks!
    Tonya

    Thanks,
    I guess I was just looking for best practices on generating a file at runtime for immediate use like that. I would really like to have an existing CSS that just has some size and color properties with a value that is indicated by some kind of keyword... i.e.
    span.myClass {
    font-size: $fontSize;
    color: $fontColor;
    And then at runtime I can just replace the $keyword with the value I get from the database - something like that.
    I was hoping something was out there already that can do that kind of keyword replace at runtime for any generic file - not necessarily CSS in particular. And I could just create some kind of XML mapping for that replacement.
    I suppose it shouldn't be too hard to have a regular expression replace on a file, but every minute I can save if it's been done already really helps right now.
    Thanks for your feedback, I appreciate it.

  • How do I add a new worksheet to an excell file utilizing a template with the report generation toolkit?

    Hello,
    My vi is gathering data from a piece of machinery. At varrious points durring the process, my vi must create printable reports. I am using the report generation tool kit to do this. What I want to do is for every report generated durring the run, add it as a new worksheet in an Excell workbook. My excell template works fine for the initial master report and I can add new data to new worksheets. What I am having a problem figuring out is how do I add the new data to a new worksheet using an excel template? I have 5 different reports that need to be generated at different times with some more often than others. I would like all these reports to be in the
    same master excel file. Thanks in advance
    -Greg
    Gregory Osenbach, CLA
    Fluke

    Hi Greg,
    There is no built-in support in LabVIEW to add a new worksheet to an existing Excel report simply because this functionality does not exist in the Excel application itself.
    My suggestion would be to open up the template you wish to use for the new worksheet. Copy the cells from the template and paste them into your new worksheet that you've created. Then close the original template and you have another copy of the template in which you can populate with data values.
    I have attached an example program of how to Copy and Paste a Cell in Microsoft 97 Using ActiveX in LabVIEW to this post. Hope this helps!
    Kileen C.
    Applications Engineer
    National Instruments
    Attachments:
    XL_cell_copy_and_paste.llb ‏76 KB

  • Getting the file at runtime in package interfaces

    Hello Friends,
    ORACLE ODI 11G.
    I have a package where in which I am having multiple interfaces.
    The purpose of this package is to load the Text file to Oracle DB ( 11g ) .
    All the interfaces will be processing the same text file -
    I have a project variable where i can specify the file name but
    In KM that I am using - IKM FAST FILE TO ORACLE ( SQLLDR ) I don't have options to use the variable that will get the file name at runtime.
    How to implement where in which the interfaces take file name at runtime.
    Appreciate your help.
    Thanks/KUMAR

    Read these:
    https://blogs.oracle.com/dataintegration/entry/using_parameters_in_odi_the_dy_1
    http://odiexperts.com/multiple-files-single-interface/

  • Why is the file size very big when I add captive runtime?

    I have a game that is 2.56 MB. When I package it up for a captive runtime apk it becomes 12.2 MB. This is very reasonable, but my problem is that when I add this apk on my phone through debugging, the size of the game jumps from 12.2 MB to 30.7 MB! I am using Air 3.9 and I don't understand why it is that big, can anyone help me please!

    IPA and APK are .zip files in disguise. Your app is simply unzipping all or a portion of itself when it is installed, depending on OS. For example one of mine is 35MB (APK) and it goes to 50.2MB after install every time.
    The captive runtime has little to do with it besides it's just one more compressed item. If you added any other random ~10MB of assets instead of captive runtime, depending on the content you'd end up with around the same size app anyhow.

  • RunTime Exception while reading the file

    Hi,
    I am using aixs1.0 for my current project. I have uploading an image file. if the file is in c: drive then upload successfully. if the file is in desktop it gives socket connection exception. while the desktop name is with .v example.c:\documents and settings\srinivas.v\desktop\image2.gif when I amreding this file from the project it gives the following error. can u please help in this regard
    10/10 18:33:12 error [axis] java.io.IOException:
    java.net.SocketException: Software caused connection abort: socket write error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:106)
    at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
    at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:395)
    at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
    at java.io.OutputStreamWriter.write(OutputStreamWriter.java:191)
    at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:111)
    at java.io.BufferedWriter.write(BufferedWriter.java:206)
    at java.io.Writer.write(Writer.java:126)
    at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:277)
    at org.apache.axis.Message.writeTo(Message.java:440)
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
    va:466)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:122)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
    y.java:71)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:2248)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at com.stellent.www.CheckIn.CheckInSoapStub.checkInUniversal(CheckInSoap
    Stub.java:210)
    at jrun__Product_Info__CompetitiveProductConfirmation2ejsp30._jspService
    (jrun__Product_Info__CompetitiveProductConfirmation2ejsp30.java:266)
    at jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43)
    at jrun.jsp.JSPServlet.service(JSPServlet.java:119)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at jrun.servlet.security.StandardSecurityFilter.doFilter(StandardSecurit
    yFilter.java:103)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
    249)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
    527)
    at jrun.servlet.http.WebService.invokeRunnable(WebService.java:168)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPoo
    l.java:348)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j
    ava:451)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.
    java:294)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    10/10 18:39:47 error
    java.lang.NullPointerException
    at jrun__Home__Home2ejspe._jspService(jrun__Home__Home2ejspe.java:182)
    at jrun.jsp.runtime.HttpJSPServlet.service(HttpJSPServlet.java:43)
    at jrun.jsp.JSPServlet.service(JSPServlet.java:119)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at jrun.servlet.security.StandardSecurityFilter.doFilter(StandardSecurit
    yFilter.java:103)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invokeNext(JRunRequestDispatcher.j
    ava:447)
    at jrun.servlet.JRunRequestDispatcher.forwardInvoke(JRunRequestDispatche
    r.java:417)
    at jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java
    :175)
    at jrun.servlet.file.FileServlet.service(FileServlet.java:306)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at jrun.servlet.security.StandardSecurityFilter.doFilter(StandardSecurit
    yFilter.java:103)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
    249)
    at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
    527)
    at jrun.servlet.http.WebService.invokeRunnable(WebService.java:168)
    at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPoo
    l.java:348)
    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.j
    ava:451)
    at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.
    java:294)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    ThankYou
    Srinivas Vakkalanka

    Hi,
    check the MOS Note: readDomain() on UnPacked WLS 12c Domain will Fail with com.oracle.cie.common.CommonException: fail to load domain from directory. (Doc ID 1681602.1)
    https://support.oracle.com/epmos/faces/DocContentDisplay?id=1681602.1
    Borys

  • How do I stop the auto generation of previews to imported files?

    In a recent post it was suggested that I do not let Aperture automatically generate the previews to all imported files. I think that is a great idea, but how do I stop the auto generation of such files?
    Under Preferences/Previews I have unchecked the New projects automatically generate previews, but after I do the import the processing wheel continues to spin for quite some time (depending on how many files I imported).
    Thanks in advance.
    David

    Take a look here:
    Pretty much the same in Ap2 and Ap3
    [http://photo.rwboyer.com/2009/01/03/aperture-2-quick-tip-managing-previews>
    RB

  • Vcd file generation for the T2 core

    Hello everybody,
    I want to generate a vcd file of a specific unit of the T2 using vcs (I haven't Debussy).
    Which are the compile time flags and the runtime flags to be set using the sims script?
    I tried the -enableEvcd and vcsd and cli at compile time and in the compile.log file I read
    ***** Warning: ACC/CLI capabilities have been enabled for the entire design.
    For faster performance enable module specific capability in pli.tab file
    But when I run the simulation with -dump_evcd instance_name in the sims.log I read
    Error: $dumppports needs acc/cli capabilites specified at compile time. Please recompile with acc/cli capabilites enabled.
    What am I doing wrong? I checked and I run the correct simv executable.
    Thanks a lot in advance
    Regards
    pico

    it is very simple, for example I wanted to generate the evcd file for the pick unit of the T2 core so I added
    $dumpports( tb_top.cpu.spc0.pku, "pku.evcd");
    in the file verif/env/common/verilog/misc/dump.v
    after :
    `ifndef VCD_OFF
    // VCD Dumpfile
    // sims does file naming and start/stop for us.
    initial begin
    $dumpports( tb_top.cpu.spc0.pku, "pku.evcd");
    and I recompiled the T2.
    Then as vcs_run_args I put +vcd
    I recall you that this is not a clean solution, the evcd file will be created every time, maybe you can find something better!
    HTH
    pico

  • Content generation error. Please confirm the file can be opened in InDesign?

    I have been trying to upload a couple of files to a folio that was built yesterday, everytime I try to upload one of them I recieve the error message "Content generation error.Failed to open the InDesign file. Please confirm the file can be opened in InDesign." I have no idea why this is happening as one of the files was successfully uploaded to the folio yesterday and I have not made any changes to it since. I have a also restarted and trashed InDesign preferences so there are no problems there. If anyone has any answers or has experienced any similar problems could you please let me know.
    Thanks
    Adam Flanagan

    That was the first thing I tried because obviously I wanted to find out if it was a problem with my file or a general issue with all uploads to that folio. It seems to be working ok now, although I still have no idea what the problem was and I have never seen that error message before :s
    Thanks for your response.
    Adam

  • Have video/file specs changed with the latest generation of iPod?

    I have just purchased a 120 GB iPod to replace an older 160 GB model. When syncing the new iPod, I received several messages that select videos could not be copied and were 'grayed out' on the iPod sync pages in iTunes. These videos did copy over on the new unit but were resident and used on the older 160 GB model. All my videos are .mpg. Has something changed with file/video specs with the latest generation on iPod Classics?
    Thanks,
    Brian

    Ran the diagnostic tool and it found a problem and 2nd time it passed , then in the help menu it has just let me update the software to 1.1.5. saying that is the latest.?
    Has just let me name the ipod and is downloading all Music and  photos.
    Wondering now is there anyway of getting it to accept APPS ?

  • Need help in writing the script in windows to read the file at runtime

    Hi All,
    I need a help with a Script. I need to read a filename from a directorty based on a specific format. I will be looking for the file in a directory that will have a file added to it each month. The script will need to go out to that directory determine the current month and Year and then grab that file based on the MONTHYEAR contained itn the file name and
    in the same script pass the filename to SQL Loader.
    The filename will consist of three parts VARIABLECONSTANTDATE.ext (example: FUELFILE11262007.txt: FUEL is a VARIABLE, FILE is constant, 11 two digit month, 26 two digit day,2007 four digit year.)
    I am stuck as how to how to read that into a string, find the file name and then pass that to sql loader.
    Any help much appreciated..
    Looking forward for your response.

    Use of External Tables will ease your problem...
    Here's what you can do:
    1. Create External tables (fuelfile.asc)
    2. Use Java code to read all filenames in a particular directory and store them in table
    3. Use PL/SQL block to loop through each filename in the table and write the file to the file of external table (fuelfile.asc)
    3.1 Transfer data from External table to main table
    Aalap Sharma :)

  • My 6th generation 160gb ipod classic is displaying the red cross logo directing me to apple support. It's completely full and I'm wondering how I can recover the files form it. The iPod isn't recognized by my computer or by iTunes, help is appreciated!

    Looking for help as to recover the files, thanks!

    Hello Lawrence,
    I do have AppleMobileDeviceService.exe running.
    My USBs are plugging in straight into the laptop.  All 4 work.  Just today, I synced my iPod with multiple USB ports.  It works for the iPod, but the iPhone won't pop-up.  The iPhone does not appear in iTunes as a button anywhere.
    I am unable to use another computer for this.  I can actually go into iTunes, add file to library, and add photos that way.  So, it's recognized by my computer.
    This should have been seperated.  Basically, I don't have another computer accessible to me to back-up sync on iTunes with.
    The last part means in iTunes, I can click "File > Add file to library" and the iPhone is shown as a camera icon.  I can click on it and have access to photos.  I can add those photos to the iTunes library.  That's about as far as the connectivity goes with the iPhone right now.

  • Hash problem while split the fileds after reading the file(In V4.6C)

    <<Frequently Asked Question>>
    Hi Experts,
    I have uploaded the file with tab delimiter in application server,tab is replaced with hash(#) in the application server.How we split the fields after reading the record.i am working on 4.6c version.
    Edited by: Matt on Dec 6, 2009 1:39 PM

    Dear thr,
    Could you please share your experience that how it got resolved as i am using standard transaction ve94 and tab delimited file is converted into Hash delimited file and # is also uploded with the data that is unwanted for it.
    Thanks
    KuldeepJain

Maybe you are looking for

  • Wdr:select_options and highlight Error Message with a Link to Inputfield

    Hi, I have created a InputField on a View using WDR_SELECT_OPTIONS. I want to validate this Input Field and give Error Message, when User fill it with wrong Values. How can we achieve this and important is to mark it on Screen WITH a RED STAR. ( e.g.

  • Update controlling area

    Hello experts, I need your help. My client is using controlling area 40(USS) and he wants to change to 10(R$-brazillian currency) that is the same as the company code. However, all the planning of 2009 were created using 40 currency. If I change the

  • Managed server not coming up due to weblogic.management.DeploymentException

    While bringing up the managed server we aare getting these errors in the logs.And the server is not coming up. Kindly help <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'FileAdapter' due to error weblogic.management.Deployment

  • No edit options appearing - help!

    Hi - using iMovie 10 for the first time (have used previous versions). I can not get any imported video to show any editing options at all. I have followed online tutorials, so I know what should be happening regarding right clicking a selection to g

  • .Mac To Do's bug in Mail?

    I think this is a bug, but wanted other to try and see if it acts the same way. If you have a .Mac email and use Mail. Inside mail prefs, choose Composition. and on the ""Create Notes and To Do's in..." choose "On My Mac" Now select some text from a