Relocatedb file generation from brdb6brt

Hi,
we are working on a solution to automate( ABAP stack only ) clone / similar system copy from AB7 to AB3 using EMC storage split mirror .
We are using brdb6brt to relocatedb .
with some edits relocate config file is working fine . How ever ,  we need to automate this file Generation in the part of solution, since there could be many DB2 partitions at source system exists.
in order to keep old containers of DB2 source ,
the following strings needs to replaced
(STR_<A>1 needs to replaced with STR_<A>2
STR_A1="AB7/"
STR_A2="AB3/"
STR_B1="AB7,AB7"
STR_B2="AB7,AB3"
STR_C1=db2ab7,db2ab7
STR_C2=db2ab7,db2ab3
My question How we can make this to work , (which is failing or not working now ?)
STR_A1="AB7/"
STR_A2="AB3/"
STR_B1="AB7,AB7"
STR_B2="AB7,AB3"
STR_C1=db2ab7,db2ab7
STR_C2=db2ab7,db2ab3
brdb6brt -s AB7 -user db2ab7 -using passwd RETRIEVE_RELOCATE -replace  db2ab7=db2ab3,$STR_A1=$STR_A2,$STR_B1=$STR_B2,$STR_C1=$STR_AC2 -nn ALL  -es
the problem is "brdb6brt" interpreting "," as end of search replace ,
though it is part of string in our case .
Any help is appreciated.
Thanks,
Vasu Bollepalli
SAP Center of Excellence
EMC Global Solutions
42 South Street
Hopkinton, MA 01748-9103

Hi,
you should know, that brdb6brt does only replace certain
locations inside the generated script when you use the
-replace option
e.g.
INSTANCE=db2y8d,db2y9d
DB_NAME=Y8D,Y9D
NODENUM=0
this replacement can simply be got with -replace Y8D=Y9D, db2y8d=db2y9d
So I am not sure if you need that "AB7,AB7","AB7,AB3" replacement. This does not work according to - as you say correctly - string interpretation of brdb6brt
Can you try the more simple one, maybe that also works for you.
kind regards
Thomas Matthä

Similar Messages

  • 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

  • CPICTRC File Generation from RFC Server application

    My company has developed a Windows Service that acts as a RFC Server application and pings SAP for remote function calls every so often. We have been running into an issue with the generation of a trace file when the SAP client is shut down. We have tried multiple methods to stop the generation of the trace file but each time it is generated as soon as the connection to the SAP client is severed. Below are the three methods we have used:
    1) Pass TraceLevel = 0 into the RegisterRFCServer method when we register our server application.
    2) Set the CPIC_TRC and even CPIC_TRACE environment variables to 0.
    3) Unchecked the 'Trace' checbox on the RFC destination in SAP.
    Each time we have tried this, even after setting the environment variables and rebooting we see that a CPICTRC file is being generated in the System32 folder with the contents similar to below:
    trc file: "CPICTRC1968", trc level: 1, release: "711"
    [Thr 5836] Sat Sep 19 17:06:15 2009
    [Thr 5836] opened by SAP_CMACCPTP (version=711.2008.04.28)
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    [Thr 5836] *** ERROR => NiSockToHdl: sock 620 not found [nixx.c       1629]
    Does anyone have any idea why this file is being generated even though we are setting the trace level to 0 and, more importantly, how we can go about preventing this file from being generated?

    Hello Rob,
    I assume the gateway trace level is "propagated" from the SAP system to the external server program.
    Can you please check SM59, "Special Options"? There should be a section headed "Send Trace".
    If here the option "Default Gateway Value" is activated, try switching it to  "Do Not Send Trace".
    (Or alternatively you can turn off the gateway trace in transaction SMGW: Menu entry "Goto --> Trace
    --> Gateway --> Reduce Level")
    Best Regards, Ulrich

  • .seq file generation from an external program

    Hi, all,
    Can someone tell me if it's possible to generate a .seq file from a program -- any kind of program -- outside of TestStand? We need this for automatic test generation.
    Java preferred, but I'm willing to live with Intercal if I have to. 
    Thanks,
    - Steve.

    Hello Steve,
    You can absolutely generate a sequence file from any program outside of TestStand.
    First off, you have the method Pacsoft mentioned which uses the TestStand API to programmatically create a sequence file and all the the sequences and steps inside it that you might want. Since you can access the TestStand API from .NET or any language that supports ActiveX you have a wide variety of options with this method.
    Second, you can simply build with any text editor. There is an option to set the sequence file to .ini format in the Sequence Editor. If you do so and then open that file with a text editor you will have the format. You can build this file (one of my customers used an excel spreadsheet and a scripting language to do this), save it with a .seq extension, and simply open it with TestStand.
    Let me know if you have any further questions on either of these methods and have a wonderful day!
    With warm regards,
    David D.

  • Excel file generation from ascx page

    Hi,
    I generated excel file using this below code. I am getting left navigation, top navigation (all contents in a page) are coming in the excel file. I want to generate the excel file only with whatever controls I created. Anyone help in this?
    HttpContext.Current.Response.Clear();
    HttpContext.Current.Response.AddHeader("content-disposition", "attachment;filename=FileName.xls");
    HttpContext.Current.Response.Charset = "";
    HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache);
    HttpContext.Current.Response.ContentType = "application/vnd.xls"
    ScriptManager
    .RegisterStartupScript(btnExcel, this.GetType(), "call me", "ExcelPanel()", true);
    function ExcelPanel() {
    var panel = document.getElementById("<%=updatepanelPrint %>");
    var excelWindow = window.open('', '', 'height=1500,width=800', 'scrollbars=yes');
    excelWindow.document.write(
    '<html><head><meta http-equiv=Content-Type content=:' + '"' + "text/html; charset=utf-8" + '"' + '>');
    excelWindow.document.write(
    '</head><body >');
    excelWindow.document.write(panel.innerHTML);
    excelWindow.document.write(
    '</body></html>');
    excelWindow.document.close();
    return false;

    Hi,
    As this question is more relate to Excel Development, I suggest you post it to the corresponding forum, you will get more help and confirmed answers from there.
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Regarding Excel file generation from xml

    Hi all,
    I want export my JTable information to an excel when a specified action is occured.
    I already completed this task using some third party api.
    Some body told me, there is api in j2sdk itself for export data to excel file. but i didnt find that.
    Could anybody help me out , if sun java api is providing any api for dealing excel files.

    hi
    i've found this:
    http://jexcelapi.sourceforge.net/
    but i had trouble trying to make it works!
    pratically my textpad, we�hen i import the package, tell me tha the package doesn't exists!
    bye! ;)

  • Regarding Excel file generation from java

    Hi all,
    I want export my JTable information to an excel when a specified action is occured.
    I already completed this task using some third party api.
    Some body told me, there is api in j2sdk itself for export data to excel file. but i didnt find that.
    Could anybody help me out , if sun java api is providing any api for dealing excel files.

    hi
    i've found this:
    http://jexcelapi.sourceforge.net/
    but i had trouble trying to make it works!
    pratically my textpad, we�hen i import the package, tell me tha the package doesn't exists!
    bye! ;)

  • TXT file generation

    Dear all,
    I was wondering what would be the best way to handle a txt file generation from SAP on a daily basis required for futher treatment by an external system.
    Type of data: SD/MM
    Volume of data is not that big (10 k)
    Frequency once a day (night time)
    Format to be issued is txt
    Would a batch input be the best way?
    Regards.

    Hi Nozome
    Can you please confirm if this query to download data from SAP to application server???
    Sample code:
    Suppose all the data that has to be downloaded to a text file is in internal table itab:
    DATA: fname LIKE RLGRAP-FILENAME VALUE '/usr/sap/down.txt'.
    OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    IF SY-SUBRC NE 0.
       MESSAGE E001(00) WITH 'Unable to open file.
    ELSE.
       LOOP AT itab.
            TRANSFER itab TO fname.
       ENDLOOP.
       CLOSE DATASET fname.
    ENDIF.
    Hope this gives you some idea.
    Kind Regards
    Eswar

  • Adobe Premiere Elements 7.0 hangs while exporting and during peak file generation.

    I have Adobe Premiere Elements 7.0 (PRE7). I have a project which is using a single clip from a Mini-DV that was captured with Nero 8. Nero 8 was used because it was captured prior to installing PRE7. The file is 12GB and is on a USB disk drive because I don't have the space on my main hard drive (I have about 11GB free). My project doesn't do too much that's fancy. It merely uses about 20 minutes of the 60 minute Mini-DV captured AVI, and it uses simple transitions between each scene. I also have very simple titles at start and end. No themes or anything else.
    I've seen two problems. 1) While editing the project, seemingly (but I'm not positive it's related) while the peek file was being generated, PRE7 would get into a state of using about 40% to 50% CPU, and it would not let me do anything else. The other problem, 2) While using "Share" to export the video to WMA for playback on PC (about 180MB estimated file size according to Adobe), the file is exported to about the last remaining 5 seconds, but then PRE7 goes into that mode of hanging with 40% to 50% CPU usage.
    One time when it had this 50% CPU issue, I let it sit overnight, and the export was finished in the morning. The export that time was to a 90MB FLV for posting to the "web" according to the Share wizard. But when I was doing the above (issue #2), it went into the 50% CPU usage but didn't finish after waiting around 2 hours. Even if I were to let it sit that time, and it were to finish, it seems like something's wrong and that this is unacceptable.
    When this happens, and PRE7 goes into 50% CPU utilization, there is no pacifier or percentage bar advancing. It usually happens near 100% finished. Only one time did it complete successfully after leaving it unattended at 90% complete for an extraordinary amount of time.
    To recap:
    C:\ hard drive ---> PRE7, my project.
    E:\ USB drive ---> 12GB source AVI file and destination for export.
    I saw elsewhere on this forum that someone imported a mini-dv captured AVI into Window Movie Maker and then exported it to Mini-DV from that app. This solved that person's problem with hanging during peak file creation. I had the 50% hang issue during peak file generation but I'm not sure it was related to peak file generation. A peak file was generated in a project which, when exported with share as mentioned above, still did the hang 50% CPU issue. Regardless, I will try the import/export/movemaker thing and report back but I've been trying enough things that I wanted to take a second to ask for assistance.
    Does anyone have this issue, and is there a patch or fix?
    I might be able to provide a user mode dump of the 50% CPU adobe process. There is some call stack information and I'm wondering if developers would want this info if they don't already have a solution/fix to this bug.
    Thanks for any help.

    I have some more info on the hang which I've been experiencing during export/share of a project which uses an AVI as its one main clip. Adobe Premiere Elements 7 (PRE7) appears to be hanging because it's looping endlessly in ImporterAVI.prm. I'm wondering if this info can be passed onto Adobe developers and/or if I can submit this information elsewhere for such processing. I also have a process dump file which might be helpful, not to mention the original project files.
    I used Process Monitor to help analyze this situation, and prior to PRE7 getting into the endless loop, it appears to be reading from the AVI file little by little, and WMEncodingHelper.exe is writing out little by little to the destination file, both of which I would expect. When PRE7 gets to the end of the import/export, Process Monitor appears to show all the aforementioned disk activity ceasing. I see neither process reading or writing. This would be normal if the share/export procedure had completed. But PRE7 is not complete. It is hung and is operating at 50% CPU utilization.
    Far below in this post are technical details which may be helpful to an Adobe developer determine why the importer could get into this endless loop. In those details, there is a jump instruction, "jb ImporterAVI!xImportEntry+0xf32", which will always jump if a particular compare always turns out a certain way. But in my review of the counters being compared, it never will get to a point of exiting. When I modify a flag (the carry flag) to be 0, the loop exits. When I did this, my export/share of my project completed successfully. So it was done, but for some reason, PRE7 was looping and looping in its AVI importor instead of completing the export (aka "Share").
    I cannot say that this certainly indicates a bug with PRE7, but it seems to me that there's enough data for Adobe to be at least investigating this particular issue. I'm not the only person who has seen this as there was at least one other message describing the same problem which the user resolved by effectively re-creating the AVI file via a no-op import/export into and out of MovieMaker. My AVI also goes through MovieMaker, import/export, without a hitch.
    In a sense, I view PRE7's "share" as essentially an import, processing of imported information (i.e., effects and transitions), and an export. It's an import of all clips into the project at the right times, a processing of all effects, and finally an export to a destination. I realize this is simplistic, but the point I'm making is I have a simple project with a single AVI, and it appears that the "import" portion of PRE7's Share option is choking on the only clip used by this project. I also don't have much but simple transitions and a beginning/ending title on the project, so I'm not thinking this use of PRE7 is much more than what I'm doing with MovieMaker when importing/exporting this AVI.
    I fully agree that optimum hardware can be either required or critical for certain types of video editing, but PRE7 is a consumer program and I'm not using anything extensive about it and the symptoms are that PRE7 is looping on its import of a file other programs don't have a problem with. I already tried purchasing a 1TB external, which I'm glad I did, but I really think Adobe developers should look at this issue. There may be a problem with handling certain AVI clips used in a project when those clips come from certain sources. If there is an issue, perhaps it could warrant a fix that would make PRE7 more compatible with these other clips.
    Does Adobe have a procedure for people to upload (or mail) projects and files to it so that they can troubleshoot why the importer gets into this state? I also mentioned earlier that I have a full user-mode dump of the process which may be of value to a dev. Can I submit this information anywhere?
    Here are textual technical details:
    Plug-in which loops: C:\Program Files\Adobe\Adobe Premiere Elements 7.0\Plug-ins\en_US\ImporterAVI.prm
    The following are the instructions at the "bottom" of the loop which never ends. Below, I put "***" at the jump instruction I mentioned earler. If I force the carry flag to be 0 at that point, and the jump is skipped, the export completed successfully. Additionally, notice that [esp-0x1c] is 0x2000, and that both eax and edi are 0. When I see it loop, eax stays at 0 and never reaches 0x2000. I wonder if something about the AVI is causing values used by this importer to be such that it causes this endless loop, and if that's the case, and if such values are valid/good, I'm wondering if the importer can be fixed by being able to detect such values so as to not choke (if in fact it's an importer issue).
    1239dda2 50 push eax
    1239dda3 ffd1 call ecx
    1239dda5 8b442424 mov eax,dword ptr [esp+24h]
    1239dda9 015c2428 add dword ptr [esp+28h],ebx
    1239ddad 03c7 add eax,edi
    1239ddaf 83c410 add esp,10h
    1239ddb2 3b44241c cmp eax,dword ptr [esp+1Ch]
    1239ddb6 89442414 mov dword ptr [esp+14h],eax
    ; *** This is where it loops around and around.
    1239ddba 0f82f2feffff jb ImporterAVI!xImportEntry+0xf32 (1239dcb2)
    ImporterAVI!xImportEntry+0x1040:
    1239ddc0 8b542420 mov edx,dword ptr [esp+20h]
    1239ddc4 52 push edx
    1239ddc5 e810d40000 call ImporterAVI!xImportEntry+0xe45a (123ab1da)
    1239ddca 83c404 add esp,4
    ImporterAVI!xImportEntry+0x104d:
    1239ddcd 5f pop edi
    1239ddce 5e pop esi
    1239ddcf 5d pop ebp
    1239ddd0 33c0 xor eax,eax
    1239ddd2 5b pop ebx
    1239ddd3 83c428 add esp,28h
    1239ddd6 c3 ret
    ChildEBP RetAddr Args to Child
    WARNING: Stack unwind information not available. Following frames may be wrong.
    3195d9b8 12387545 10590f9c 27c53e00 06b35ff6 ImporterAVI!xImportEntry+0x103a
    3195d9ec 1239ea10 06b35ff6 00000000 27ad8a60 ImporterAVI+0x7545
    3195da1c 1238aa31 06b3554b 00000000 7fdf0000 ImporterAVI!xImportEntry+0x1c90
    00000000 00000000 00000000 00000000 00000000 ImporterAVI+0xaa31
    [esp-1Ch]: 3195d9a0 00002000
    eax=00000000 ebx=00000000 ecx=3195dbcc edx=00000000 esi=27ad8a60 edi=00000000
    eip=1239ddba esp=3195d984 ebp=3c7ba50b iopl=0 nv up ei ng nz na pe cy
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000287
    ImporterAVI!xImportEntry+0x103a:
    1239ddba 0f82f2feffff jb ImporterAVI!xImportEntry+0xf32 (1239dcb2) [br=1]

  • Business Component generation from designer fails

    I have data model and application modules in Designer 9i. Using JDeveloper 10g and JHEADSTART for application development.
    I am importing this designer meta-data into JDEVELOPER. Defined a database connection for repository user as well as the database schema having required tables. I created a project and then started Business Components Generation from Oracle Designer to import a form module. A Wizard pops-up. Specified the required repository and database connection. It starts the import process but terminates saying 'oracle.jmig.source.ExtractorException: Caught SQL exception:ORA-00942: table or view does not exist'.
    It does not specify which view/table is missing.
    Can somebody tell, the reason for this error or where can I find the error log to get more details. I believe it is not because of any application table. I created a module without any table, still it gives this error.

    Yes, this is a known issue. We will fix this for the next release.
    Having said that, the next release will contain the JHeadstart Forms2ADF generator which directly reads Oracle Forms .fmb files to ADF, without the need to use Oracle Designer, avoiding problems like this alltogether.
    Steven Davelaar,
    JHeadstart Team.

  • Error in XML file generation :240416

    Hi All,
    I am facing problem with XML file generation.
    Steps:
    1. Source-->Query Transform and maintained Nested Stucture
    2. Generated XML fomat from query transform
    3. Created XML format file
    4. Make XML format as target and given XML generate path
    source table-->Query(nested structure)-->XML Format
    when I validate the job no errors found.
    Note: XSD file is in Local mechine and XML file will be generated in SFTP.
    Prooblems:
    1. Getting below error
    The input XML refers to file which is not part of the definition of this XML Schema format. Check your schema and XML files,
    and check that the root element in the XML file corresponds to the root element in the XML Schema
    Validate your XML Schema using external schema validators (found at w3.org)
    Thanks,
    Deepa

    Hi,
    I think issue Because in your Query Transform output the Root element is Query and XML target is having some other root element. Make the Query trasform name similar to root element and try...

  • Exchange 2010 SP3, RU5 - Massive Transaction Log File Generation

    Hey All,
    I am trying to figure out why 1 of our databases is generating 30k Log Files a day! The other one is generating 20K log files a day. The database does not grow in size as the log files are generated, the problem is log file generation.
    I've tried running through some of the various solutions out there, reviewed message tracking logs, rpc client access logs, IIS Logs - all of which show important info, but none of which actually provide the answers.
    I Stopped the following services to see if that would affect the log file generation in any way, and it has not!
    MS Exchange Transport
    Mail Submission
    IIS (Site Stopped in IIS)
    Mailbox Assistants
    Content Indexing Service
    With the above services stopped, I still see dozens (or more) log files generated in under 10 minutes, I also checked mailbox size reports (top 10) and found that several users mailboxes were generating item count increases for one user of
    about 300, size increases for one user of about 150Mb (over the whole day).
    I am not sure what else to check here? Any ideas?
    Thanks,
    Robert
    Robert

    Hmm - this sounds like an device is chewing up the logs.
    If you use log parser studio, are there any stand out devices in terms of the # of hits?
    And for the ExMon was that logged over a period of time?  The default 60 second window normally misses a lof of stuff.  Just curious!
    Cheers,
    Rhoderick
    Microsoft Senior Exchange PFE
    Blog:
    http://blogs.technet.com/rmilne 
    Twitter:   LinkedIn:
      Facebook:
      XING:
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
    Rhoerick, 
    Thanks for the response. When checking the logs the highest number of hits were the (Source) Load Balancers, Port 25 VIP. The problem i was experience was the following: 
    1) I kept expecting the log file generation to drop to an acceptable rate of 10~20 MB Per Minute (Max). We have a large environment and use the exchange sevrers as the mail relays for the hated Nagios monitoring environment
    2) We didn't have our enterprise monitoring system watching SMTP traffic, this is  being resolved. 
    3) I needed to look closer at the SMTP transport database counters, logs, log files and focus less on the database log generation, i did do some of that but not enough of that. 
    4) My troubleshooting kept getting thrown off due to the monitoring notifications seeming to be sent out in batches (or something similar) stopping the transport service for 10 ~ 15 minutes several times seemed to finally "stop the transactions logs
    from growing at a psychotic rate". 
    5) I am re-running my data captures now that i have told the "Nagios Team" to quit killing the exchange servers, with their notifications, sometimes as much as 100+ of the same notifications for the same servers, issues. so far at a quick glance
    the log file generation seems to have dropped by about 30%. 
    Question: What would be the best counters to review in order to "Put it all together"? Also note: our Server roles are split, MBX and CAS/HT. 
    Robert 
    Robert

  • Exchange 2010 personal archive database massive log file generation

    Exchange Server 2010 SP3 + Update Rollup 4
    Windows Server 2008 R2, all updates
    VMware ESXi 5.5
    Server config: 2 x Xeon Quad Core 2.20GHz, 16GB RAM
    We recently started using personal archives. I created a database for this purpose ("Archive Mailboxes") on the same datastore as our live mailbox database ("Live Mailboxes"). It works great except that the mailbox maintenance generates
    massive amounts of log files, over 220GB per day on average. I need to know why. The Live Mailbox database generates around 70GB of log files every day. The database sizes are: Live = 159.9GB, Archive = 196.8GB. Everything appears to be working fine, there
    are no Error events related to archiving. There are 10025 MSExchangeMailboxAssistant warning events logged every day. I have moved those mailboxes back-and-forth to temp databases (both Live and Archive mailboxes) and the 10025 events have not stopped so I'm
    reasonably certain there is no corruption. Even if there were it still doesn't make sense to me that over 100 log files are generated every single minute of the day for the Archive store. And it's not that the database isn't being fully backed up; it is, every
    day.
    Do I need to disable the 24x7 option for mailbox maintenance to stop this massive log file generation? Should I disable mailbox maintenance altogether for the Archive store? Should I enable circular logging for the Archive store (would prefer to NOT do this,
    though I am 100% certain we have great backups)? It appears to me that mailbox maintenance on the Live store takes around 12 hours to run so I'm not sure it needs the 24x7 option.
    This is perplexing. Need to find a solution. Backup storage space is being rapidly consumed.

    I'm sure it will be fine for maintenance to run only on weekends so I'll do that.
    We use Veeam B&R Enterprise 7.0.0.833. We do not run incremental backups during the day but probably could if necessary. All this is fine and dandy but it still doesn't explain why this process generates so many logs. There are a lot of posts around
    the internet from people with the same issue so it would be nice to hear something from Microsoft, even if this is expected behavior.
    Thank you for the suggestions!

  • File generation based on changes on  field value

    Hi,
    I am selecting fields from different table and passing it into one internal table and then I am generating a file. But my requirement is like out of 10 fields ...I will generate file only when there will be changes in 6 filed values. Can you all please suggest me how to generate file, or which function module I can use for this file generation.
    Regards
    Kumar

    Hi Kumar,
    You could use the class CL_GUI_FRONTEND_SERVICES with the method GUI_UPLOAD to upload the file with data, then you compare the File data with information from the internal table selected from diferent tables, if the fields have changed, then call the method GUI_DOWNLOAD to download the new file ( internal table).
    Best regards,
    Alejandro López.
    Edited by: Alejandro López on Oct 28, 2008 8:45 AM

  • 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.

Maybe you are looking for