Problem to read/write and Analyse/Regenerate Signal

hey,
i would like to do a complex platform. i have a RF signal, i would like to save it in a binary File (like TDMS file) and after that, i would like to regenerate it, but i have a problem with that.
My configuration: Labview 8.5 with modulation toolkits, OS Windows XP, PXI-5660 (Analyser) and PXI-5670 (Generator) 
Find two VIs attached, please help me 
Seb_MDI
France
Attachments:
Save_read_test_dynamique_trigger_IQ.vi ‏87 KB
read_emit_test_dynamique_IQ.vi ‏87 KB

Hello,
You can use the Arbitrary Waveform Generation Mode, in order to generate custom data with your RF signal generator.
You will find an example doing this with a simple file : LabVIEW » Help » Example Finder and look for RFSG Write Signal From File.vi
This will help you do what you want. You will have to retrieve the data from your TDMS file like it is done in the example with binary files.
Have a nice day.
Regards,

Similar Messages

  • Read,write and create word document with list data

    Hi,
    My requirement is that I have a custom list called List1 and which has a 4 (suppose XName, location, phone, email)columns and also have a Template document(.dot). If I click on save button , new document has to create from the Template document(.dot) and
    should modify the content depends on list columns.
    For that I need to read the document , find out the text where XName , location,,phone, email and replace with the list item data(user entered data). 
    Can anybody please refer links for read,write and create word document?
    Thanks in advance.

    Yes, you can using Office Open XML. I found it to be a lot more cumbersome and in the end not a money saving approach:
    https://msdn.microsoft.com/en-us/library/office/bb448854.aspx?f=255&MSPPError=-2147217396
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Can TestStand open, read, write and close binary files?

    From a TestStand sequence, I need to open, read, write and close binary files. Does TestStand support this capability?

    Christine -
    In the past I have used the C/C++ Adapter to call directly into the CVI RTE functions. The CVI functions I have used are OpenFile, WriteFile and CloseFile. The functions are exported from the DLL as CVI_OpenFile, CVI_WriteFile, and CVI_CloseFile. I just had to make sure that on termination of the sequence, that the integer handle was properly released by calling the close function.
    If you are using LabVIEW, you could call directly into the low level VIs to do a similar set of operations.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • What is the best software programs that I can use to read, write and modify data / files on external HD (NTFS format i.e.  Windows) ?

    Hi guys,
    I’m new to Mac and have a MacBook Pro Lion OS (10.6.8 I think !!!) with Parallels 7 (Windows 7) installed. Can someone please tell me what is the best software program that I can use to read, write and modify data / files on external HD (NTFS format) from the Mac OS ? I heard of Paragon and Tuxera NTFS. Are they free ? Are they good ? Are there any other software programs out there ? I heard that some people have issues with Paragon.
    Thanks.

    Your best bet would be to take the drive to the oldest/compatible with that drive Windows PC and grab the files off, right click and format it exFAT (XP users can download exFAT from Microsoft) and then put the files back on.
    Mac's can read and write all Windows files formats except write to NTFS (and in some cases not read) so if you can change the format of the drive to exFAT (all data has to be remove first) then you will have a drive that doesn't require paid third party NTFS software (a license fee goes to Microsoft) for updates.
    Also it's one less hassle to deal with too.
    .Drives, partitions, formatting w/Mac's + PC's

  • SCTL-NFC1 is a Near Field Communication(NFC)/Radio Frequency Identification(RFID) Reader and Payment Adaptor designed for iPhone/iPod Touch to provide NFC two-way communication,RFID read/write and contactless payment capabilities.

    SCTL-NFC1 is a Near Field Communication(NFC)/Radio Frequency Identification(RFID) Reader and Payment Adaptor designed for iPhone/iPod Touch to provide NFC two-way communication,RFID read/write and contactless payment capabilities.
    commercial applications such as asset tracking, document tracking, healthcare, security and access control.

    We are the manufactuer of the reader

  • Problem with Data Model and Analysis View

    I create an analyze in BI Publisher and then i create a data model using this object.
    When i try to generate an XML with a number of rows the BI Publisher return an empty XML (Only with de DATA_DS tags but no data).   To bypass this problem i make and XML file by hand and this allow me to create reports and design it but when i try to view the reports i got the message that says "No Data Found".
    So i was check the analysis and all looks appears to be fine,  In the results tab it show me a complete table with the data i was looking to use.
    So i try to repeat the error and when  i try to create the XML for the Data Model i found this two error in the logs:
    [root@server ~]# [2013-07-17T16:37:22.844-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 2361] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2b34,0] [APP: bipublisher#11.1.1] Incomplete xslt._XDONFSEPARATORS: decimal separator: null, grouping separator: null
    [2013-07-17T16:37:26.828-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 2361] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2b3a,0] [APP: bipublisher#11.1.1] Incomplete xslt._XDONFSEPARATORS: decimal separator: null, grouping separator: null
    [2013-07-17T16:37:26.865-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 2361] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2b3a,0] [APP: bipublisher#11.1.1] oracle.xdo.servlet.CreateException: Path: /FOLDER/MODEL.xdm is not pointing to a report. Actual type: ReportItem, sub-type: DataModel[[
            at oracle.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
            at java.lang.Throwable.<init>(Throwable.java:196)
            at java.lang.Exception.<init>(Exception.java:41)
            at oracle.xdo.servlet.ReportException.<init>(ReportException.java:36)
            at oracle.xdo.servlet.CreateException.<init>(CreateException.java:18)
            at oracle.xdo.servlet.ReportRepository.getReport(ReportRepository.java:104)
            at oracle.xdo.servlet.ReportRepository.getReport(ReportRepository.java:128)
            at oracle.xdo.servlet.dataengine.DataProcessorFactory.getDataModelPath(DataProcessorFactory.java:207)
            at oracle.xdo.servlet.dataengine.DataProcessorFactory.isSemanticLayerDataModel(DataProcessorFactory.java:99)
            at oracle.xdo.servlet.dataengine.DataProcessorFactory.isSemanticLayerDataModel(DataProcessorFactory.java:78)
            at oracle.xdo.servlet.ReportModelContextImpl.getReportXMLData(ReportModelContextImpl.java:157)
            at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:346)
            at oracle.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:101)
            at oracle.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:1074)
            at oracle.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:639)
            at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:492)
            at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:462)
            at oracle.xdo.servlet.XDOServlet.doGet(XDOServlet.java:280)
            at oracle.xdo.servlet.XDOServlet.doPost(XDOServlet.java:313)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:64)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:125)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:63)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    And when i try to view the report that use the analysis i got this two warning in the logs:
    [2013-07-17T16:58:01.615-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 57] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2d7c,0] [APP: bipublisher#11.1.1] Incomplete xslt._XDONFSEPARATORS: decimal separator: null, grouping separator: null
    [2013-07-17T16:58:02.034-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 57] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2d84,0] [APP: bipublisher#11.1.1] Incomplete xslt._XDONFSEPARATORS: decimal separator: null, grouping separator: null
    As i understand there is has a reference to a null value but i cant find what column of the analysis has the problem.
    Any ideas about how to solve or debug this?
    Thanks

    I follow your instructions and it works fine. I can create the XML and the reports can show data.
    So, i already know that there is no problem with the data and with the BI Publisher installation but i still doesn know what is the problem with the analysis view that fails.
    Any idea how to debug it?
    Thanks.

  • How to read, write and save a file?

    Hello everybody,
    I have a question about reading , writing and save something into a file (etc text file)
    For example: I want to create a file of football in which there are many key words as: "football", "touch down", "quarterback", "ball", "linebacker", "coach", "player"...
    Now i want to open to read, write one more word "head" ( synonym with "coach") and store it for using next time. How could i do that?
    Could anybody help me about that?
    Thank you very much in advance.
    still_learn

    take a look in the API about FileInputStream and FileOutputStream

  • Read, Write and create files from java applet.

    Dear All,
    I have created a two files. One is applet and one application file. I am creating a instance of application file in applet. Application file is used for reading, writing and creating files. When I invoke applet from broser it dipslays error wrt file access permission. From the forum search I know that we need to sign the applet / edit the java policy to run the code locally. Final delivery of my code should execute on different system. Its not web. I have created a html page on submitting the form it invokes applet to read the form values from param and needs to update the values in xml file located locally. Please help me on how I can proceed with this fix.
    Thanks in advance.

    Sorry if I have not stated the problem clearly. I need to update content to files hosted in local system using java applets.
    I belive there are two ways to achive that.One with jar signer and one with modifying the java policy file. But this application needs to be installed in different system locally as I have created a application with webpage as useinterface and need to update the content in local files on submission. Not sure on how to modify the java.policy files in each end user system and whats the value we need to update in java policy file. Please help me on the steps to be followed

  • Problems Installing Reader X and FlashPlayer on Mac running 10.7.3

    Attempted to install both Reader X and Flashplayer on two new Macs, both running 10.7.3. Downloads went without a problem. Unfortunately, installations begin but never complete. No error messages are posted, the installer simply never completes. No antivirus SW installed. Was able to download Reader 9.

    Grab the install.log file for Acrobat located at "/var/log/install.log". 
    Paste the contents in the forum.
    I'm guessing but you probably have a perms issue somewhere interfering with the installation.

  • Unusual disk read write and system lockup - Gen 1 MacPro dual Intel

    I have had this issue for a while - but I think it is getting worse (or I'm just more tired of it). The disks start reading/writing ( I can see it in Activity Monitor) and continue for several minutes. Meanwhile, the system is fully occupied and cant be used.
    In the Activity Monitor window, I notice that ICalExternalSync is using up nearly a gig or memory and 2 gigs virtual memory - is this normal?
    Also, the kernal_task item is using up 58 threads, another gig of virtual memory but just 80mb of real memory. Just seems odd.
    Any suggestions?
    Phil
    Model Name: Mac Pro
    Model Identifier: MacPro1,1
    Processor Name: Dual-Core Intel Xeon
    Processor Speed: 2.66 GHz
    Number Of Processors: 2
    Total Number Of Cores: 4
    L2 Cache (per processor): 4 MB
    Memory: 3 GB
    Bus Speed: 1.33 GHz
    Boot ROM Version: MP11.005C.B08
    SMC Version (system): 1.7f10

    I answered my own question - it stopped when I quit IcalExternal sync using the Activity Monitor - so now the answer is why is this service flooding my system with disk read/writes?

  • Problem with Reader download and McAfee

    I am the administrator of a small charity with a number of very naive users. They need to be able to read PDFs and so must have a PDF reader. I can tell them the link to download the Adobe Reader but unless they untick the McAfee box they will install McAfee. Most of them will then be thrown in unrecoverable confusion. It's no great help if I warn them that they need to untick the McAfee box - many will forget. And uninstalling McAfee will be way beyond many of them.
    Is there a link I can give them which will enable them to download the Reader without getting McAfee by default?
    I could find an alternative non-Adobe reader and give them the link to that, but there is a further complication that we have got some more competent users who need to edit and return the PDFs I send them. Is there an alternative product which would enable them to do that?
    I don't want to have to provide two links, one for naive users to a non-Adobe reader and the other for more competent users to the Adobe Reader with a warning about unticking McAfee.

    Many thanks to Pat for the very prompt response.
    I followed the link suggested by Pat and requested the right to distribute the Reader as the Administrator of the charity. The email granting the right gave me a link to a window from which I was able to download the Installer for the Reader, an executable file, without having to untick McAfee. That is what I would like our members to be able to do, but it seems to me that the only person allowed to use this link is me as the Administrator - I don’t think I can pass it on to the members.
    I think that instead I am expected to pass the installer executable file to the members. The email says I would do that, for example, as a download bundled in with the Distributer’s installer. We don’t have anything like that. I assume that in principle I could attach the file to an email and send it to the members, but it is far too large for an email attachment. Other means of getting it to the members, such as a private Dropbox, would get too complicated for our least technically able members.
    I can’t find any way to email Adobe Support about this, so hope that pat or other people in this group might have some ideas.

  • Problems about reading Japanese and writing Chinese

    Hi all experts,
    Now I have a encoding problem.
    My task is, read some Japanese in a text-based file, and then replace that Japanese with a Chinese string.
    That means, the program must be able to understand both the Japanese encoding and the Chinese encoidng. But the dilemma is that, in the OS I am using (Windows), you can only have one locale at a time. If you set your OS locale to Chinese, the program is able to write Chinese, but it cannot properly detect the Japanese. On the othe hand, if you set your OS locale to Japanese, the program is able to detect Japanese, but it cannot properly write Chinese.
    So can any one help me get around this problem (for instance, there is some special API dealing with encodings and so on)?
    Thanks a lot!

    InputStreamReader and OutputStreamWriter constructors both accept parameters to specify the encoding of the data stream.
    The New IO (NIO) classes have these and additional capabilities, including converting from one encoding to another using code like this:
    Charset charset = Charset.forName("ISO-8859-1");
    CharsetDecoder decoder = charset.newDecoder();
    CharBuffer charBuffer = decoder.decode(buffer);Look at the java.nio.charset package.

  • Problem ACS reader ACR128 and card JCOP 3.1

    Hi I have problem with ACS ACR 128U reader and card with JCOP3x JCOP4x.
    When I load applet throud ICC or SAM interface eclipse write ERROR.
    When I use Reader Omnikey CardMAn 5321 or PICC interface all is OK.
    terminal "winscard:4|ACS ACR128U ICC Interface 0"
    --Opening terminal
    /card+--Waiting for card...+
    +ATR=3B FA 18 00 00 81 31 FE 45 4A 43 4F 50 34 31 56 ;.....1.EJCOP41V+
    +32 32 31 9D 221.+
    +ATR: T=1, FI=1/DI=8 (31clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V221"+
    +> 00 A4 04 00 07 A0 00 00 00 03 00 00 00 .............+
    +jcshell: Unable to select Card Manager or invalid FCI: Unknown Global Platform Java Card.+
    +Subsequent commands might fail! Inspection might not be possible!+
    +> /terminal "winscard:4|OMNIKEY CardMan 5x21 0"+
    +--Opening terminal+
    +> /card+
    +--Waiting for card...+
    +ATR=3B FA 18 00 00 81 31 FE 45 4A 43 4F 50 34 31 56 ;.....1.EJCOP41V+
    +32 32 31 9D 221.+
    +ATR: T=1, FI=1/DI=8 (31clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V221"+
    +> 00 A4 04 00 07 A0 00 00 00 03 00 00 00 .............+
    +(152585 usec)+
    +> 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65 o..............e+
    +01 FF 90 00 ....+
    +Status: No Error+
    ++
    PCSC function SCardTransmit return 0x0000045d
    I dont knou where is problem.
    Thanks
    Edited by: martan007 on Nov 10, 2009 5:45 AM

    the problem is the reader/firmware/driver
    my advice: don't use an ACR128 or an ACR122.
    These readers are bad, we only have problems with them here.
    use an omnikey or a SDI (sdi010 is my friend)
    regards

  • Problem in reading Data and Inserting...Urgent help..

    INITIALIZATION.
      AUTHORITY-CHECK OBJECT 'ZZABAP'
               ID 'ZZABAP' FIELD 'ZCOU2006'
               ID 'ZZAKTI' FIELD '1'.
      IF sy-subrc <> 0.
        MESSAGE e001(zm) WITH text-001.
      ENDIF.
    *... Selektionen .......................................................
      PARAMETER:
        bu AS CHECKBOX,
        p_vtweg LIKE zknvh-vtweg OBLIGATORY.           ".. Update JA/NEIN ?
    START-OF-SELECTION.
    *... Löschen ZKNVH .....................................................
      IF NOT bu IS INITIAL.
        DELETE FROM zknvh WHERE hityp = 'A'.
        IF sy-subrc GT 4.
          ROLLBACK WORK.
          MESSAGE e001(zm) WITH text-002.
        ENDIF.
      ENDIF.
    *Select the Vtweg and perform based on the Vtweg..
    *Running two Variants in the BG processing..
      IF p_vtweg EQ 'MZ'.
        PERFORM form_06.
      ELSEIF p_vtweg EQ 'AU'.
        PERFORM form_04.
      ENDIF.
          FORM form_06                                                  *
    FORM form_06.
    *... Fuellen LKNVH ....................................................
      SELECT * INTO CORRESPONDING FIELDS OF TABLE lknvh
               FROM knvh
               WHERE hityp = 'A'
               AND   datbi GE sy-datum
               AND   hzuor = '06'.
      MESSAGE i002(zm) WITH text-005 sy-dbcnt.
    *... Fuellen Knoten KKNVH .............................................
      SELECT * INTO CORRESPONDING FIELDS OF TABLE kknvh
               FROM knvh
               WHERE hityp = 'A'
               AND   datbi GE sy-datum
               AND   hzuor LT '06'.
    *... Aufbau BU_ZKNVH ..................................................
      LOOP AT lknvh.
        CLEAR: bu_zknvh, flag.
        MOVE-CORRESPONDING lknvh TO bu_zknvh.
        zaehler = 6.
        DO 4 TIMES.
          zaehler = zaehler - 1.
          UNPACK zaehler TO help_hzuor.
          bu_zknvh-hier05 = lknvh-hkunnr.
          IF sy-index = 1.
            READ TABLE kknvh WITH TABLE KEY
                       mandt = sy-mandt
                       hzuor = help_hzuor
                       hityp = lknvh-hityp
                       kunnr = lknvh-hkunnr
                       vkorg = lknvh-hvkorg
                       vtweg = lknvh-hvtweg
                       spart = lknvh-hspart.
          ELSE.
            READ TABLE kknvh WITH TABLE KEY
                       mandt = sy-mandt
                       hzuor = help_hzuor
                       hityp = kknvh-hityp
                       kunnr = kknvh-hkunnr
                       vkorg = kknvh-hvkorg
                       vtweg = kknvh-hvtweg
                       spart = kknvh-hspart.
          ENDIF.
          IF sy-subrc = 0.
            CASE help_hzuor.
              WHEN '05'. bu_zknvh-hier04 = kknvh-hkunnr.
              WHEN '04'. bu_zknvh-hier03 = kknvh-hkunnr.
              WHEN '03'. bu_zknvh-hier02 = kknvh-hkunnr.
              WHEN '02'. bu_zknvh-hier01 = kknvh-hkunnr.
            ENDCASE.
          ELSE.
            WRITE: / text-004,
                     kknvh-hityp,
                     kknvh-kunnr,
                     kknvh-vkorg,
                     kknvh-vtweg,
                     kknvh-spart,
                     kknvh-hkunnr,
                     kknvh-hvkorg,
                     kknvh-hvtweg,
                     kknvh-hspart,
                     kknvh-hzuor.
            flag = 'X'.
            EXIT.
          ENDIF.
        ENDDO.
        IF flag IS INITIAL.
          APPEND bu_zknvh.
        ENDIF.
      ENDLOOP.
    ENDFORM.                                                    " form_06
    Form_4 looks exactly like form_6 just the table name changed and Hier05 and Hier04 fields are Blanks..
    INSERT zknvh from Table bu_zknvh.
      MESSAGE i002(zm) WITH text-006 sy-dbcnt.
      IF sy-subrc <> 0 OR bu IS INITIAL.
        ROLLBACK WORK.
        MESSAGE e001(zm) WITH text-003.
      ELSE.
        COMMIT WORK.
      ENDIF.
    INSERT zknvh from Table au_zknvh.
      MESSAGE i002(zm) WITH text-006 sy-dbcnt.
      IF sy-subrc <> 0 OR bu IS INITIAL.
        ROLLBACK WORK.
        MESSAGE e001(zm) WITH text-003.
      ELSE.
        COMMIT WORK.
      ENDIF.
    1) When I select VTWEG 'MZ' everything is working without anyproblem...
    2) When I select VTWEG 'AU' I can see only one RECORD.. where as their are around 41,000 records.. in this Selection..
    Normally with this prog the ZKNVH table should be filled with the specified fields..
    Only if the VTWEG is AU the Hier05 and Hier04 is Blank and others are filled with data.. bcoz in the Customer Hierarchy of AU has only 4 levels...
    and if VTWEG is MZ all the fields should be filled with data as the Customer Hierarchy of Mz has 6 levels..
    Please check the prog and suggest me how I can Fill append the table ZKNVH with data when I select AU..
    Thanx in advance...
    Preethu
    Message was edited by: Preethu

    HERE IS THE FULL CODE:: please help
    REPORT zcou2006.
    TABLES: zknvh.
    *... Datentypen ................................
    TYPES:
         BEGIN OF t1_knvh,                 "... Knoten
            mandt LIKE knvh-mandt,
            hzuor LIKE knvh-hzuor,
            hityp LIKE knvh-hityp,
            kunnr LIKE knvh-kunnr,
            vkorg LIKE knvh-vkorg,
            vtweg LIKE knvh-vtweg,
            spart LIKE knvh-spart,
            hkunnr LIKE knvh-hkunnr,
            hvkorg LIKE knvh-hvkorg,
            hvtweg LIKE knvh-hvtweg,
            hspart LIKE knvh-hspart,
            grpno LIKE knvh-grpno,
            bokre LIKE knvh-bokre,
            prfre LIKE knvh-prfre,
          END OF t1_knvh,
          t2_knvh LIKE knvh,
          t3_zknvh LIKE zknvh,
          t4_zknvh LIKE zknvh,
        t1_hknvh TYPE HASHED TABLE OF t1_knvh WITH UNIQUE KEY
                  mandt hzuor hityp kunnr vkorg vtweg spart.
    DATA:
      lknvh TYPE t2_knvh OCCURS 0 WITH HEADER LINE,
      bu_zknvh TYPE t3_zknvh OCCURS 0 WITH HEADER LINE,
      au_zknvh TYPE t4_zknvh OCCURS 0 WITH HEADER LINE,
      kknvh TYPE t1_hknvh WITH HEADER LINE,
      flag(1) TYPE c,
      help_hzuor LIKE knvh-hzuor,
      zaehler TYPE p.
    INITIALIZATION.
      AUTHORITY-CHECK OBJECT 'ZZABAP'
               ID 'ZZABAP' FIELD 'ZCOU2006'
               ID 'ZZAKTI' FIELD '1'.
      IF sy-subrc <> 0.
        MESSAGE e001(zm) WITH text-001.
      ENDIF.
      PARAMETER:
        bu AS CHECKBOX,
      p_vtweg LIKE zknvh-vtweg OBLIGATORY.          
    START-OF-SELECTION.
      IF NOT bu IS INITIAL.
        DELETE FROM zknvh WHERE hityp = 'A'.
        IF sy-subrc GT 4.
          ROLLBACK WORK.
          MESSAGE e001(zm) WITH text-002.
        ENDIF.
      ENDIF.
      IF p_vtweg EQ 'MZ'.
        PERFORM form_06.
      ELSEIF p_vtweg EQ 'AU'.
        PERFORM form_04.
      ENDIF.
    FORM form_06.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE lknvh
               FROM knvh
               WHERE hityp = 'A'
               AND   datbi GE sy-datum
               AND   hzuor = '06'.
      MESSAGE i002(zm) WITH text-005 sy-dbcnt.
    SELECT * INTO CORRESPONDING FIELDS OF TABLE kknvh
               FROM knvh
               WHERE hityp = 'A'
               AND   datbi GE sy-datum
               AND   hzuor LT '06'.
      LOOP AT lknvh.
        CLEAR: bu_zknvh, flag.
        MOVE-CORRESPONDING lknvh TO bu_zknvh.
        zaehler = 6.
        DO 4 TIMES.
          zaehler = zaehler - 1.
          UNPACK zaehler TO help_hzuor.
          bu_zknvh-hier05 = lknvh-hkunnr.
          IF sy-index = 1.
            READ TABLE kknvh WITH TABLE KEY
                       mandt = sy-mandt
                       hzuor = help_hzuor
                       hityp = lknvh-hityp
                       kunnr = lknvh-hkunnr
                       vkorg = lknvh-hvkorg
                       vtweg = lknvh-hvtweg
                       spart = lknvh-hspart.
          ELSE.
            READ TABLE kknvh WITH TABLE KEY
                       mandt = sy-mandt
                       hzuor = help_hzuor
                       hityp = kknvh-hityp
                       kunnr = kknvh-hkunnr
                       vkorg = kknvh-hvkorg
                       vtweg = kknvh-hvtweg
                       spart = kknvh-hspart.
          ENDIF.
          IF sy-subrc = 0.
            CASE help_hzuor.
              WHEN '05'. bu_zknvh-hier04 = kknvh-hkunnr.
              WHEN '04'. bu_zknvh-hier03 = kknvh-hkunnr.
              WHEN '03'. bu_zknvh-hier02 = kknvh-hkunnr.
              WHEN '02'. bu_zknvh-hier01 = kknvh-hkunnr.
            ENDCASE.
          ELSE.
            WRITE: / text-004,
                     kknvh-hityp,
                     kknvh-kunnr,
                     kknvh-vkorg,
                     kknvh-vtweg,
                     kknvh-spart,
                     kknvh-hkunnr,
                     kknvh-hvkorg,
                     kknvh-hvtweg,
                     kknvh-hspart,
                     kknvh-hzuor.
            flag = 'X'.
            EXIT.
          ENDIF.
        ENDDO.
        IF flag IS INITIAL.
          APPEND bu_zknvh.
        ENDIF.
      ENDLOOP.
    ENDFORM.                                                    " form_06
    FORM form_04.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE lknvh
               FROM knvh
               WHERE hityp = 'A'
               AND   datbi GE sy-datum
               AND   hzuor LE '06'.
      MESSAGE i002(zm) WITH text-005 sy-dbcnt.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE kknvh
               FROM knvh
               WHERE hityp = 'A'
               AND   datbi GE sy-datum
               AND   hzuor LT '06'.
      LOOP AT lknvh.
        CLEAR: au_zknvh, flag.
        MOVE-CORRESPONDING lknvh TO au_zknvh.
        zaehler = 6.
        DO 4 TIMES.
          zaehler = zaehler - 1.
          UNPACK zaehler TO help_hzuor.
          au_zknvh-hier05 = '          '.
          IF sy-index = 1.
            READ TABLE kknvh WITH TABLE KEY
                       mandt = sy-mandt
                       hzuor = help_hzuor
                       hityp = lknvh-hityp
                       kunnr = lknvh-hkunnr
                       vkorg = lknvh-hvkorg
                       vtweg = lknvh-hvtweg
                       spart = lknvh-hspart.
          ELSE.
            READ TABLE kknvh WITH TABLE KEY
                       mandt = sy-mandt
                       hzuor = help_hzuor
                       hityp = kknvh-hityp
                       kunnr = kknvh-hkunnr
                       vkorg = kknvh-hvkorg
                       vtweg = kknvh-hvtweg
                       spart = kknvh-hspart.
          ENDIF.
          IF sy-subrc = 0.
            CASE help_hzuor.
              WHEN '05'. au_zknvh-hier04 = '          '.
              WHEN '04'. au_zknvh-hier03 = kknvh-hkunnr.
              WHEN '03'. au_zknvh-hier02 = kknvh-hkunnr.
              WHEN '02'. au_zknvh-hier01 = kknvh-hkunnr.
            ENDCASE.
          ELSE.
            WRITE: / text-004,
                     kknvh-hityp,
                     kknvh-kunnr,
                     kknvh-vkorg,
                     kknvh-vtweg,
                     kknvh-spart,
                     kknvh-hkunnr,
                     kknvh-hvkorg,
                     kknvh-hvtweg,
                     kknvh-hspart,
                     kknvh-hzuor.
            flag = 'X'.
            EXIT.
          ENDIF.
        ENDDO.
        IF flag IS INITIAL.
          APPEND au_zknvh.
        ENDIF.
      ENDLOOP.
    ENDFORM.                                                    " form_04
    END-OF-SELECTION.
      INSERT zknvh FROM TABLE bu_zknvh.
      MESSAGE i002(zm) WITH text-006 sy-dbcnt.
      IF sy-subrc <> 0 OR bu IS INITIAL.
        ROLLBACK WORK.
        MESSAGE e001(zm) WITH text-003.
      ELSE.
        COMMIT WORK.
      ENDIF.
      INSERT  ZKNVH FROM TABLE AU_ZKNVH.
      MESSAGE I002(ZM) WITH TEXT-006 SY-DBCNT.
      IF SY-SUBRC <> 0 OR BU IS INITIAL.
        ROLLBACK WORK.
        MESSAGE E001(ZM) WITH TEXT-003.
      ELSE.
        COMMIT WORK.
      ENDIF.
      CALL FUNCTION 'Z_SELECT_OPTIONS_PRINT'
           EXPORTING
                irepid  = 'ZCOU2006'
                ausgabe = ' '
           EXCEPTIONS
                OTHERS  = 1.
    Message was edited by: Preethu

  • Physical reads, writes and logical reads,writes

    hi there,
    is there any way to find the physical reads and writes, logical reads and writes
    other than statspack report?

    It depends which version of Oracle are you using.
    If you are using 10g, you can get very comprehensive information from the dictionary views.
    If you are on <=9i, then, use, v$sysstat and look for 'physical reads', 'logical reads'.
    The values dervied from v$sysstat are cummulative values. i.e. values counted since the instance started.
    Jaffar

Maybe you are looking for

  • Dynamic Creation of a Database Using Coldfusion

    Here is what i want to do. Through the simple click of a button on want to dynamicly create a new databas e for a completely new user.   I have a database already designed but what i want is for that database to act as my "perfect database image"  th

  • Dual boot windows 7+archlinux on separate disks; grub errors. [solved]

    Hello, I am very excited to try arch linux, but am having trouble with the installation.  My situation is as follows:  I have 3 hard drives: windows 7 lives on sda and sdb.  I am installing arch on sdc, which is 500GB. I partitioned the hard drive as

  • DVD DL with a DVD-rom part

    Hi, With DVD SP 3.0.2, I'm trying to burn a DVD-DL, containing a DVD-video part (2,1 Go) and a DVD-rom part (4 Go). The layer is set to Dual and the Break Point is set to Automatic. DVD SP reports an error : "Formatting Failed. Formatting was not suc

  • Activities under a delimited Org unit

    Hello, We have recently implemented EIC. Have a simple query,if we delimit a particular Org unit,whether activities under that Org unit can be processed or not. Thanks & Regards, sushil

  • Is a Time Machine back up sufficient if I have a USB pen drive with Mavericks from which to reinstall the OS?

    I have used SuperDuper to make bootable back ups in the past, but if Time Machine backs up files on the fly it seems unnecessary to make a full back up from time to time. The bootable backup is easier to restore, but takes up another disk. The chance