To avoid unwanted data in graphs

Hi all,
The below code is giving  output in graphical representation. but the problem i am facing is
even though i am passing SPACE for some variables, they are appearing in the output graph.
what should i do to avoid them ?
for example..
       0    to wa_itab-val2,
       0   to  wa_itab-val3,
       0   to  wa_itab-val4.
i am passing    0  to itab-val2, itab-val3, itab-val4,  but in the result graph they are appearing.
types: begin of t_tab,
        class(5) type c,
        val1 type i,
        val2 type i,
        val3 type i,
        val4 type i,
       end of   t_tab.
types: begin of t_opttab,
       c(20),
       end of   t_opttab.
data: itab type table of t_tab,
      wa_itab type t_tab,
      opttab type table of t_opttab,
      wa_opttab type t_opttab.
move: 'BDC' to wa_itab-class,
      12    to wa_itab-val1,
       0    to wa_itab-val2,
       0   to  wa_itab-val3,
       0   to  wa_itab-val4. " space, 0, ''
append wa_itab to itab.
clear wa_itab.
move: 'ALV'   to wa_itab-class,
      space   to wa_itab-val1,
       15     to wa_itab-val2,
       space  to wa_itab-val3,
        ''    to wa_itab-val4.
append wa_itab to itab.
clear wa_itab.
move: 'Scripts' to wa_itab-class,
      space     to wa_itab-val1,
      space     to wa_itab-val2,
      17        to wa_itab-val3,
       ''    to wa_itab-val4.
append wa_itab to itab.
clear wa_itab.
move: 'MPP' to wa_itab-class,
      ''    to wa_itab-val1,
      ''    to wa_itab-val2,
      ''    to wa_itab-val3,
      09    to wa_itab-val4. " space, 0, ''
append wa_itab to itab.
clear wa_itab.
wa_opttab = 'FIFRST = 3D'.     " Graphics type
append wa_opttab to opttab.
clear wa_opttab.
wa_opttab = 'P3TYPE = TO'.      " Object type
append wa_opttab to opttab.
clear wa_opttab.
wa_opttab = 'P3CTYP = RO'.       " Colors of the objects
append wa_opttab to opttab.
clear wa_opttab.
wa_opttab = 'TISIZE = 2'.        " Head Title Size
append wa_opttab to opttab.
clear wa_opttab.
wa_opttab = 'CLBACK = X'.         " Background Color
append wa_opttab to opttab.
clear wa_opttab.
call function 'GRAPH_MATRIX_3D'
     exporting
          col1        =  'BDC'
          col2        =  'ALV'
          col3        =  'Scripts'
          col4        =  'MPP'
          dim2        = 'Type of reports'
          dim1        = 'No of reports'
          titl        = 'ABAP reports'
     tables
          data        = itab
          opts        = opttab
     exceptions
          others      = 1.
leave program.
Thanks
KR.

Hi,
instead of using this extremely old graphics in an external window use the chart engine (cl_gui_chart_engine).
Creating gaps is easy using the chart engine. Just let me know if you need help after changing your project.
Regards, Kai

Similar Messages

  • How to avoid clear data in the block in a form

    Hi All
    I am using Oracle form 10g and db 10g.
    My form i have a list item in my main canvas. It has a value of (EXPENSE,AMOUNT,SUPPLIER,ACCOUNT).
    The user used to select the list item one by one and used to enter values in the each canvas assigned to the Item(expense,amount,supplier,account) and go for a save.
    For instance when the user enter the value in expense ,amount and supplier and again back when the user navigate back to amount the entered value get cleared.
    how to avoid the data get cleared.
    Thanks & regards
    Srikkanth

    you can use EXECUTE_QUERY built-in to populate the data when that canvas or block instance. If it need at block level write this at When New Block Instance. if it a tab page then you can write when tab page change. If need where condition, add block level where condition.

  • Sm36 job with unwanted data

    hi experts,
    i am using the following functions in my ALV.
    1.REUSE_ALV_FIELDCATALOG_MERGE
    2.REUSE_ALV_BLOCK_LIST_INIT
    3.REUSE_ALV_BLOCK_LIST_APPEND
    4.REUSE_ALV_BLOCK_LIST_APPEND
    while running alv thru se38 there is no unwanted data. while running the same prg thru sm36 and seeing in a mail (HTML Format)  i am getting the following message.
    Sort criteria Ascdg Descnd Subtotal
    Inv Date X X
    Data statistics Number of
    Records passed 9
    Calculated total records 6
    How to remove this unwanted data. Kindly help me.
    Thanks  & Regards
    R.vijai

    I think u r using the FM REUSE_ALV_BLOCK_LIST_DISPLAY to display the report. In this Fm we have one parameter called
    IS_PRINT. Check these fields : PRNT_INFO,no_print_selinfos,no_coverpage,no_print_listinfos for this parameter. Any one of the field is responsible for displaying this unwanted data.

  • How to filter data in Graphs?

    Hi,
    i want to filter data in graph. can anyone provide me links or information how to put filters as well as sorting.
    Thanks,
    Lax

    Re,
    see attached files :
    1) the signal non filtered
    2) the signal filtered with a parameter 0.9999999
    3) the signal filtered with a parameter 0.9999
    I didn't understood what you wanted to remove from your signal : is it the peaks, or the noise ?
    let me know if it's good for you, and I will send you the VI in 8.5 (or in 8.0 if you want)
    Best regards,
    Vincent
    V-F
    Attachments:
    filtered 0,9999.JPG ‏186 KB
    non filtered.JPG ‏185 KB
    filtered 0,9999999.JPG ‏189 KB

  • Need to remove unwanted data in log file

    hai experts,
                    how to identify and remove the unwanted data from log file.plz help me.
    regards,
    pugazh.

    brarchive takes a backup of all offline redologs, then deleted them. this is done at OS level.
    if you do not need them and you do not need archiving, a permanent solution is to disable archiving:
    stop SAP first, then:
    sqlplus / as sysdba
    shutdown immediate;
    startup mount
    alter database noarchivelog;
    alter database open;
    exit
    after this, you will never be able to do a recovery point-in-time, and won't be able to start online backups.

  • It's my understanding that when traveling overseas, all i have to do is turn off cellular data to avoid high data charges.

    it's my understanding that when traveling overseas, all i have to do is turn off cellular data to avoid high data charges.

    With Airplane Mode you will not receive phone calls.  If you are just worried about Data Charges then just go to Settings>Cellular>Data 'Off'  This may also turn your iMessage off such that all your iMessages even in a WiFi environment go out as Text Messages.  If you still want to use iMessage from Apple device to Apple device in a WiFi network then go to Settings>Messages> and turn it back on after you have set Cellular Data to Off.  Ckuan is correct though about having some per minute received or outgoing call and text charges.  For one example, if you were traveling in Canada but didn't have a Canada Plan you would pay about 89 cents per minute and 50 cents per send / receive Text.

  • How to data log graphs using front panel data logging?

    Hello I have a VI that collects data from DAQmx thermocouple readings and graphs the temperature vs time using a while loop to collect data and graph. I have 9 control operators that define the correction factor of the thermocouples.
    I want to create a datalogging using the option under Operations>Data Logging
    When I retrieve the data the only information that is present are the control operators correction factors that I defined. The graphed data that was created is not retrieved.
    Is there a solution to show the graphed data plots that were created on the front panel? They remain unchanged from the last run of the VI or blank if I open the VI without having ran the program.
    Thank you.

    This is expected for the Data Logging in LabVIEW. If you want to record the signla data, use the Write to Measurement File Express VI.  Here's a link with a walk-through:
    http://www.ni.com/academic/students/learn-daq/data-logging/
    The Data Logging from the Operate Menu is for recording front panel control(s), as you have observed.
    Mark P.
    Applications Engineer
    National Instruments
    www.ni.com/support

  • Programming NI-6052 using VC++ to Display data in Graph or Chart

    Hi
    I am using Visual C to acquire the data and display it . I successfully run the example shipped with Labview CD  located in (C:\programm files\Naitonal Instruments\nidaq\examples\ANSI C). for AI of single Voltage channel. 
    But how to display the Acquired data to graph or Chart ? and also how to Store in a file?
    help will be appreciated
    thanks

    Hello,
    I've only heard that Gigasoft's charting is absolutely an improvement over
    Measurement Studio's built in charting. Faster, way more robust, way better
    rendering and far more attention to detail. Plus an easy API to use as
    needed independent of development platform. Please visit www.gigasoft.com
    for engineering, scientific, and instrument/oscilloscope type charting for
    Measurement Studio, MFCs, .NET and others.
    best regards,
    Robert Dede
    Gigasoft, Inc.
    www.gigasoft.com
    "Haider Abbas" <[email protected]> wrote in message
    news:[email protected]..
    > Hi
    > I am using Visual C to acquire the data and display it . I successfully
    > run the example shipped with Labview CD&nbsp; located in (C:\programm
    > files\Naitonal Instruments\nidaq\examples\ANSI C). for AI of single
    > Voltage channel.&nbsp;
    > But how to display the Acquired data to graph or Chart&nbsp;? and also how
    > to Store in a file?
    > help will be appreciated
    > thanks
    > &nbsp;
    > &nbsp;

  • I want display the data in graph

    Hi,
    i want print the data in graph using field-symbols.i done the program abd i have downloaded the data in excel and i print the graph but i cant get the datas mean
    in the report jan feb mar apr for this i diapalyed the bar under the i should display jan feb mar apr the month how to display using field symbols iam not using FM.
    help me.
    Regards,
    Siva Kumar

    siva,
      Go to tcode SE83 --->Controls -
    > Graphics here you will find good example..
    Pls. mark if useful

  • After upgradataion ,In testing phase- after search ,in result view we are getting some unwanted data ' +++++" should be added in Name .how to remove it.can you please help.

    Hi Team,
    After upgradataion ,In testing phase- after search ,in result view we are getting some unwanted data ' +++++" should be added in Name .how to remove it.can you please help.
    I want to remove ++++ in that column.

    Hi Kalpana,
    Please provide additional information for community users to relate this issue. Info like versions (old & new), the object which has this problem or component/view name will be useful to get the answers.
    Regards,
    Shobhit

  • How to avoid losing data when communicat​e with high speed motor?

    I connect with high speed servo motor via RS232. To avoid losing data. i thought to set receive buffer, only read the buffer if it collected all bytes. Is this possible?

    Hi,
    If you know the number of bytes you are trying to read, you can set a viRead call to return information once the particular number of bytes have been read.  For more information on this, take a look at the KnowledgeBase article on a Serial VISA Read to read a requested number of bytes. 
    Even if you read before all bytes have been collected, you should not lose data.  When the specified number of bytes are stored in the buffer, the viRead call will send the information to the program, and new data coming in will be stored in the buffer until the byte count is reached again.
    I hope this helps,
    Lauren L.
    Applications Engineering
    National Instruments

  • How to avoid invalid data entering in LOV through code

    hi
    1)i have developed lov in table region, but user easily can enter invalid data and saved into the database tables.
    2)i created one formvalue and mapping into that return item , still its not working in table region LOV.
    3)how to avoid invalid data entering in LOV through code. i have tried this below code in EOimpl set value method. but some how its not wokring.
    if (value!=null)
    throw new OAAttrValException(OAAttrValException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(),
    getPrimaryKey(),
    "ProcurementCategory",
    getProcurementCategory(),
    "FND",
    "FND_LOV_SELECT_VALUE");
    Thanks.
    krish.

    Thanks reetesh and gourav for your help.
    i followed below mapping details
    LOV Item Properties
    ID -PurcCommodity
    ViewInstance -VendorVO1
    ViewObject -PurcCommodity
    map1 properties
    LOV Region Item - segment1
    Return Item -PurcCommodity
    CriteriaItem -PurcCommodity
    Usefor Validation -Default
    map2 properties
    LOV Region Item - segment1
    Return Item -validation(formvalue)
    CriteriaItem -
    Usefor Validation -yes
    form value properties
    ID -validation
    ViewInstance -VendorVO1
    ViewObject -PurcCommodity
    Gourav- i double checked multiple rows it is not working, some times it is not working for single row too.
    Thanks
    krish.

  • How to avoid duplicate data while inserting from sample.dat file to table

    Hi Guys,
    We have issue with duplicate data in flat file while loading data from sample.dat file to table. How to avoid duplicate data in control file.
    Can any one help me on this.
    Thanks in advance!
    Regards,
    LKR

    No, a control file will not remove duplicate data.
    You would be better to use an external table and then remove duplicate data using SQL as you query the data to insert it to your destination table.

  • HOW TO ELIMINATE UNWANTED DATA FROM ADF

    When I call the bpel in ADF app's I'm getting output.Input like compositename and output is compositeStatusDtails.
    I'm getting the output like {#item='CLOSED AND COMPLETED',#item='CLOSED AND STALE'},I don't want *'#item='* how to eliminate it.
    Thanks
    Mani

    Hi shray,
    In BPEL I'm executing the Query for getting the composite status details.Query is
    SELECT (CASE WHEN STATE=1 THEN 'OPEN AND RUNNING'
    WHEN STATE=2 THEN 'OPEN AND SUSPENDED'
    WHEN STATE=3 THEN 'OPEN AND FAULTED'
    WHEN STATE=4 THEN 'CLOSED AND PENDING'
    WHEN STATE=5 THEN 'CLOSED AND COMPLETED'
    WHEN STATE=6 THEN 'CLOSED AND FAUTED'
    WHEN STATE=7 THEN 'CLOSED AND CANCELLED'
    WHEN STATE=8 THEN 'CLOSED AND ABORTED'
    WHEN STATE=9 THEN 'CLOSED AND STALE'
    WHEN STATE=10 THEN 'NON-RECOVERABLE' ELSE STATE || '' END) AS STATE, COUNT(*) AS NUM_OF_CUBE_INST FROM soainfra.CUBE_INSTANCE where composite_name = :CompositeName GROUP BY STATE;
    When I test bpel it's working fine in EM.
    Now I'm calling this BPEL in mt ADF app's by using WS Datacontrol.Here also I'm get the output with unwanted data also.I think this should gives the clear picture.
    Thanks
    Mani

  • HT4859 Can I go to my iCloud backup to delete unwanted data. If so, how?

    I don't want to purchase additional storage for the iCloud.  I'd like to stick with the 5GB.... Can I go into my backup and delete unwanted data?  If so, how?

    Welcome to the Apple Community.
    Unfortunately not.
    Delete the back up and start again, this time choosing just the items you want backed up.

Maybe you are looking for

  • I have had problems installing Elements 13 on an iMac running 10.9.5

    I installed trial copy of Elements 13 on an iMac running 10.9.4. All seemed fine...merged a panorama brilliantly. Filled in gaps...saved image. Turned off iMac. Next morning iMac would not turn on. When eventually sorted with Apple tech support....iM

  • ITunes library transfer from PC to Mac

    Hi Folks, My younger brother has just bought a mac and wishes to move all his music he has collected on his PC using ITunes into his new ITunes on the Mac. Having always been a Mac user I have no idea how to help. Is it just a case of dumping all his

  • New to Internet Sales for ERP - Few basic questions.

    Hi, We are going to implement Internet Sales for ERP and I have some questions. 1) Is Product Catalog Mandatory for implementing Internet Sales for ERP / R3? 2) We are already using MDM for catalog and we are not the Product Catalog module in R3. Wil

  • Connection problem in Linux systems: redhat and suse

    I install Sun Java System Application Server Platform Edition 9.0 in RedHat and SuSE linux in my intranet with wondows XP. The servers run correctly in both RedHat and SuSE systems. That means in each system, I can use: http://localhost:8080 or their

  • SQLite Database and TLF Text in Flash CS5

    I encountered the following problem when working with the built-in sqlite database and using TLF TextFields in Flash CS5 When I tried to use TLF TextFields alone, I don't face any probelem, but when I start using a database connectivity code, the TLF