Help require coloring the Tabbedpane in Unix

Hey i have problem in setting the colors to tab in unix.I have written a logic to set colors to tabs using the setBackgroundAt(int,Color) method of each tab.It work fine in Windows platform but when I run the application in Unix it displays its own color and does not make use of the setBackgroundAt() method.Can anyone suggest me a solution for this problem.
Thanks in advance,
Ramnath

Is the version of Java you're attempting to run supported on SunOS 5.5? I'm not certain, but isn't that quite an old version (My Solaris 8 and 9 systems report as SunOS 5.8 and 5.9). You might also need to install one or more patches to the system, but the page where you downloaded the Java install package from should have more details.

Similar Messages

  • Help Required(Rewriting the query to reduce steps)

    With and Without Group ID,I am populating a value into a column,Can anyone please help to write the same query in an other way.This is a sample column.Likewise,there are 5 more columns to be populated.So that I have to write 2 left outer joins for a single column with a little difference.
    SELECT
    CASE
         WHEN T6.ACTUAL_FUNCTION IS NOT NULL
         THEN T6.ACTUAL_FUNCTION
         WHEN T10.ACTUAL_FUNCTION IS NOT NULL
         THEN T10.ACTUAL_FUCNTION
              ELSE T5.ACTUAL_FUCNTION
    END AF_NOM_PRE_GTEES
    FROM
    ABC_WT17 T1
         INNER JOIN
         ABC_CUSTOMER_WT01 T3
         ON T1.ORIGINAL_SDS_PARTY_IDR=T3.ORIGINAL_SDS_PARTY_IDR
         AND T1.IDR_TYPE_CODE=T3.IDR_TYPE_CODE
         LEFT OUTER JOIN /* This is the condition with group ID*/
         RESIDUAL_CONTROL T6
         ON
         T1.NOM_PRE_GTEES = T6.VALUE_MAX
         OR
         T1.NOM_PRE_GTEES > T6.VALUE_GREATER_THAN
         AND
         T1.NOM_PRE_GTEES < T6.VALUE_MAX
         AND
    _     T1.GROUP_ID = T6.GROUP_ID_
         AND
         T6.FALLBACK_IND = ‘N’
    LEFT OUTER JOIN /* this is the condition without Group ID*/
         RESIDUAL_CONTROL T10
         ON
         T1.NOM_PRE_GTEES = T10.VALUE_MAX
         OR
         T1.NOM_PRE_GTEES > T10.VALUE_GREATER_THAN
         AND
         T1.NOM_PRE_GTEES < T10.VALUE_MAX
         AND
         T10.FALLBACK_IND = ‘N’
         CROSS JOIN
         RESIDUAL_CONTROL T5
         ON T5.FALLBACK_IND = ‘Y’
    Thanks in advance.

    KVB wrote:
    With and Without Group ID,I am populating a value into a column,Can anyone please help to write the same query in an other way.This is a sample column.Likewise,there are 5 more columns to be populated.So that I have to write 2 left outer joins for a single column with a little difference.
    SELECT
    CASE
         WHEN T6.ACTUAL_FUNCTION IS NOT NULL
         THEN T6.ACTUAL_FUNCTION
         WHEN T10.ACTUAL_FUNCTION IS NOT NULL
         THEN T10.ACTUAL_FUCNTION
              ELSE T5.ACTUAL_FUCNTION
    END AF_NOM_PRE_GTEES
    FROM
    ABC_WT17 T1
         INNER JOIN
         ABC_CUSTOMER_WT01 T3
         ON T1.ORIGINAL_SDS_PARTY_IDR=T3.ORIGINAL_SDS_PARTY_IDR
         AND T1.IDR_TYPE_CODE=T3.IDR_TYPE_CODE
         LEFT OUTER JOIN /* This is the condition with group ID*/
         RESIDUAL_CONTROL T6
         ON
         T1.NOM_PRE_GTEES = T6.VALUE_MAX
         OR
         T1.NOM_PRE_GTEES > T6.VALUE_GREATER_THAN
         AND
         T1.NOM_PRE_GTEES < T6.VALUE_MAX
         AND
    _     T1.GROUP_ID = T6.GROUP_ID_
         AND
         T6.FALLBACK_IND = ‘N’
    LEFT OUTER JOIN /* this is the condition without Group ID*/
         RESIDUAL_CONTROL T10
         ON
         T1.NOM_PRE_GTEES = T10.VALUE_MAX
         OR
         T1.NOM_PRE_GTEES > T10.VALUE_GREATER_THAN
         AND
         T1.NOM_PRE_GTEES < T10.VALUE_MAX
         AND
         T10.FALLBACK_IND = ‘N’
         CROSS JOIN
         RESIDUAL_CONTROL T5
         ON T5.FALLBACK_IND = ‘Y’
    Thanks in advance.Thread: HOW TO: Post a SQL statement tuning request - template posting
    HOW TO: Post a SQL statement tuning request - template posting

  • Help required for the screen color of PSE 7

    I think I posted my original question in the wrong forum. opps sorry about that.
    I wonder if anyone can help me please. I used to have PSE 2 and the screen was a blue and beige color and could be seen quite good.see attachment.
    I now have PSE 7 and the screen background is a horrible brownish color. see attachment.
    I am partially blind and have trouble with the PSE 7 screen.  Can it be changed to the same as PSE 2??
    Any advise or help would be greatly appreciated.
    Kindest regards
    Dede
    PS I hope they got attached. not sure if I did it correctly??

    Hi, Dede - just come on to the Forum site!  I've been moaning ever since I downloaded PSE6 (an upgrade from the 4), as I was quite shocked to find it is an even worse colour than appears in your attachment for the 7.  The 6 is black with the drop down menus being black and the writing/illustrations on the drop down menus black as well!  Unlike you, I can see well and even I can't see a thing!  The worst is the clone/brushes palette and the size slider.  Coupled with that, they've gone and moved lots of features around, so you can't find them where they were in the 4!  I've sent emails to Adobe to ask if the background colour can be changed - and their response was "no"!  I've been scouring the internet trying to find forums to ask help from, and it seems that there are lots of complaints over the 6. Heaven alone knows who designs these things but obviously someone who never uses it!!  My advice to you is to get a 4 - which has a clear screen and clear headings and menus - it doesn't have curves, et al, but it much more user friendly.  Hope this helps.

  • Help required for the users  report requirement

    Hello,
    User requirement is to get the report as follows
    Period            planned order     Production order      Backlog
    Feb2008          15                           3                      18
    March2008      4                            11                     15
    Backlog is the formula for planned order & production order.
    My problem is that, In the cube the data for planned order is the char value 'X' or a blank.
    It has to count the total of planned order for the entire month of feb,& print the value counting the number of 'X',here as shown as 15.
    Planned order, Production order are in rows & are chracteristics.
    Is thr any solution to count master data which has a char value(X).
    I have tried using the formula variable.I had created the new formula.Then using the data functions as count(Formula variable),using the replacment path.But it did not work
    Help me out to find the total for the char value of the master data.
    Help would be rewarded!

    Hello,
    For BACKEND:
    1) Create a normal KF say counter and include it in the cube.
    2) Now you can populate the value for this KF via end routine in transformation.
    3) You need to check whether the value for planned order is X. If yes then update KF with value 1.
    4) I hope you can take care of this routine part. Once this is done the data in the cube might look in below manner:
    Month Planned-Order Counter
    Feb 2007 | X | 1
    Feb 2007 | X | 1
    Feb 2007 |  | 0
    Feb 2007 | X | 1
    Feb 2007 |  | 0
    Mar 2007 |  | 0
    Mar 2007 | X | 1
    Mar 2007 |  | 0
    Mar 2007 |  | 0
    Mar 2007 | X | 1
    Now in the report if you include month and counter the report will look like
    Month Counter
    Feb 2007 | 3
    Mar 2007 | 2
    If you see the counter is getting aggregated to give you the sum against the value of planned order as X against month.
    I think this should work.
    If this dosent work let me know i will let you the alternate solution for frontend. but for that too you need to make the above backend changes.
    So do the backend changes and try to use counter KF for showing planned orders and i think it should work fine.
    Regds,
    Shashank

  • Urgent help required: color template - use color ramp instead

    hello,
    I want to match color using the color matching vi. i understand you need a color template before executing the system.
    however i want to give my users the chance to choose any color from a color ramp and then this should be used an input to the color match vi (template). is this possible????
    if yes how... i have put a color ramp in the front panel and then put the output to the input of the color match template but get an error: not a template...
    thanks

    Hi farhan,
    Can you please send in some example code, as I can not find the VI you are talking about. The closest match I have is IMAQ Color Match and this does not have a template input.
    Please can you also tell me what version of LabVIEW you are using as well.
    Regards
    JamesC
    NIUK and Ireland

  • Help required in the code

    CREATE OR REPLACE procedure pt_load_withouttran1(tabname in varchar2 , tabname2 in varchar2, condition in varchar2) is
    --tabname varchar2(100) := 'atlanta_operator';
    -- tabname2 varchar2(100) := 'pt_atlanta_operator';
    sql_text varchar2(2000) := 'declare ' ||
    'type rc_type is ref cursor ;' ||
         'rc rc_type;' ||
         'v_count number;' ||
         'p_sql varchar2(500);'||
         'p_sql := '''||' select * from ' || tabname ||' '|| condition || ''';' ||
         'dbms_output.put_line(p_sql);' ||
         'type temp_type is table of '|| tabname || '%rowtype index by binary_integer;' ||
         'temp_tab temp_type;' ||
              'begin ' ||
              ' select to_number(value) into v_count from t2_system_parameter where name=''batch_size'';' ||
                   ' open rc for p_sql;' ||
                   'loop ' ||
                   ' fetch rc bulk collect into temp_tab limit v_count;' ||
                   ' forall j in 1..temp_tab.count '||
                   ' insert into ' || tabname2 || ' values temp_tab(j);' ||
                   ' end loop;' ||
                   'commit; end;' ;
    begin
    execute immediate sql_text;
    end;
    begin
    pt_load_withouttran1('atlanta_operator','pt_atlanta_operator','where atlanta_operator_id is not null');
    end;
    I am getting a run time error in calling this procedure . Please help.

    Hello there.
    You end up with a PL/SQL block that does something like :
    declare
    type rc_type is ref cursor ;
    rc rc_type;
    v_count number;
    p_sql varchar2(500);
    p_sql := ' select * from ..... ';
    dbms_output.put_line(p_sql);
    As you can see, I think it's simply that the last 2 lines above end up in your DECLARE
    section, not (as it should be) after the BEGIN.
    Regards

  • Efilogin-helper requires for the discrete graphic card

    After updating to the latest version of osx on my 2014 macbook pro 15.
    There is a process named efilogin-helper always requesting for the discrete graphic card and taking the energy and CPU..
    Is there any solution to fix this problem??

    I have to use a software to change the graphic card to integrated one only..

  • Help Required using the staic Ip with the DHCP

    We have a server on which SBS 2011 is installed. I have installed the DHCP role and configured the DHCP on the server. The following are the details of the server
     IP address : 192.168.100.65
     Subnet: 255.255.255.0
     Gateway: 192.168.100.1
    DNS server : 192.168.100.1
    This server is connected to the BT Hub 3 router. But the problem is i found that Public Ip of the server changes frequently. this IP is configured in  BT HUb router at
    Settings --> Broadband --> TCP/IP Settings--> IP Adresss
    Now we have purchased 5 static Ips out of which one I want to configure on this server. So that I can have the fixed Public IP. I dont want to change the DHCP Settings on the server. How to achieve this??.
    When i configure one of the the static ip for the server in the settings --> Business Network. The internal Ip address gets replaced.
    I tick mark both options while configuring static Ip
    a) Use public fixed ip address
    b) Always use this Ip address
    And when i again manually enter my internal DHCP address, it again takes the public Ip from
    Settings --> Broadband --> TCP/IP Settings--> IP Adresss
    And my server is not visible in the Business Network.
    How can i configure the static Ip on the router????
    Please Help!!!

    Welcome to the BT Residential Customers forum
    If you are a business user, please could you post on the BT Business forum at http://business.forums.bt.com/
    Thanks
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Help required in the installation of Designer package

    Hi,
    I have a query from the user on the installation of Designer package of Oracle Forms 6i.
    He says "I have successfully isntalled a version of the runtime application but I am unable to install the Designer Package. The installer stops at plus80.map(0) FILE_NOT_FOUND ..."
    Any suggestions on this?

    I am not quite sure what you are doing.
    Are you trying to install Designer or a form that was generated by Designer?
    Michael

  • Help required understanding the purpose of having instance Init blocks

    I want to know exactly what the purpose of having instance initialization blocks in Java. As in static init blocks, we can execute some commands before creating an instance of a class.
    And also in instance init blocks, we are executing some commands which we can do in a constructor. So I’m little bit confused of the purpose of having this concept instance init blocks without writing it in the constructor itself.
    Really appreciate if anyone can explain this ASAP as I am still a beginner who is studying for SCJP exam.
    Thanks in advance.

    The instance initialization blocks are always executed before the constructor code is executed. This may be used for some activity which is common to all constructors (in case constructors are overloaded).

  • Help required in the last step of SAP Query

    Hi Experts,
    I have walked through all the steps of SAP Query except for the last one.Please tell what to do in the attached screen shot of SAP Query.
    Thanks and regards
    Rajeev Chhabra

    Hi Vinod
    My problem is that
    1.I am not getting the screen Basic List Line structure in the Tcode SQ01 can you tell me how to get that.
    2. In the last step of the SQ01 transaction code Can you please tell what to do on the screen Query layout design(Please give adetailed response)
    Thanks and regards
    Rajeev Chhabra
    Message was edited by: rajeev chhabra

  • Help required for the query

    sir
    below query runs fine
    but the probblem is...i am not able to display the figures in the format '999999.99'
    Also please guide me as to make the query short... can i use cursors here?
    i am using 10g
    select
    LBRCODE branch,
    trim(substr(PRDACCTID,1,8)) product,
    sum(case when totsanclimit between 0 and 200000  then
         (Case when  hrk in (13,14) THEN 
              (CASE WHEN bal4 !=0 THEN  1 else 0 END )
              ELSE
              (CASE WHEN BAL1-(BAL4-BAL5)!=0 THEN 1 ELSE 0 END)
                   END )
    else 0 end )as "bktCount-1",
    SUM( CASE WHEN TOTSANCLIMIT between 0 and 200000 then
         (Case when  hrk in (13,14) THEN 
              to_number(to_char(bal4,'99999999999.99'))
         else
              to_char(BAL1,'99999999999.99')-(to_char(BAL4,'99999999999.99')-to_char(BAL5,'99999999999.99'))
         END )
    ELSE
    0 end) AS"Bkt_1",
    sum(case when totsanclimit between 200001 and 1000000 then
    (Case when  hrk in (13,14) THEN 
              (CASE WHEN bal4 !=0 THEN  1 else 0 END )
              ELSE
              (CASE WHEN BAL1-(BAL4-BAL5)!=0 THEN 1 ELSE 0 END)
                   END )
    else 0 end )as "bktCount-2",
    SUM(
    CASE WHEN TOTSANCLIMIT between 200001 and 1000000
    then
         (Case when  hrk in (13,14) THEN 
              to_number(to_char(bal4,'99999999999.99'))
         else
              to_char(BAL1,'99999999999.99')-(to_char(BAL4,'99999999999.99')-to_char(BAL5,'99999999999.99'))
         END )
    ELSE 0 end) AS"Bkt_2",
    sum(case when totsanclimit between 1000001 and 5000000 then
    (Case when  hrk in (13,14) THEN 
              (CASE WHEN bal4 !=0 THEN  1 else 0 END )
              ELSE
              (CASE WHEN BAL1-(BAL4-BAL5)!=0 THEN 1 ELSE 0 END)
                   END )
    else 0 end )as "bktCount-3",
    SUM(
    CASE WHEN TOTSANCLIMIT between 1000001 and 5000000
    then
         (Case when  hrk in (13,14) THEN 
              to_number(to_char(bal4,'99999999999.99'))
         else
              to_char(BAL1,'99999999999.99')-(to_char(BAL4,'99999999999.99')-to_char(BAL5,'99999999999.99'))
         END )
    ELSE 0 end) AS"Bkt_3",
    sum(case when totsanclimit between 5000001 and 10000000  then
    (Case when  hrk in (13,14) THEN 
              (CASE WHEN bal4 !=0 THEN  1 else 0 END )
              ELSE
              (CASE WHEN BAL1-(BAL4-BAL5)!=0 THEN 1 ELSE 0 END)
                   END )
    else 0 end )as "bktCount-4",
    SUM(
    CASE WHEN TOTSANCLIMIT between 5000001 and 10000000
    then
          (Case when  hrk in (13,14) THEN 
              to_number(to_char(bal4,'99999999999.99'))
         else
              to_char(BAL1,'99999999999.99')-(to_char(BAL4,'99999999999.99')-to_char(BAL5,'99999999999.99'))
         END )
    ELSE 0 end) AS"Bkt_4",
    sum(case when totsanclimit BETWEEN  10000001 AND 200000000  then
    (Case when  hrk in (13,14) THEN 
              (CASE WHEN bal4 !=0 THEN  1 else 0 END )
              ELSE
              (CASE WHEN BAL1-(BAL4-BAL5)!=0 THEN 1 ELSE 0 END)
                   END )
    else 0 end )as "bktCount-5",
    SUM(
    CASE WHEN TOTSANCLIMIT  BETWEEN  10000001 AND  200000000
    then
         (Case when  hrk in (13,14) THEN 
              to_number(to_char(bal4,'99999999999.99'))
         else
              to_char(BAL1,'99999999999.99')-(to_char(BAL4,'99999999999.99')-to_char(BAL5,'99999999999.99'))
         END )
    ELSE 0 end) AS"Bkt_5",
    sum(case when totsanclimit > 200000000 then
    (Case when  hrk in (13,14) THEN 
              (CASE WHEN bal4 !=0 THEN  1 else 0 END )
              ELSE
              (CASE WHEN BAL1-(BAL4-BAL5)!=0 THEN 1 ELSE 0 END)
                   END )
    else 0 end )as "bktCount-6",
    SUM(
    CASE WHEN TOTSANCLIMIT  >  200000000
    then
    (Case when  hrk in (13,14) THEN 
              to_number(to_char(bal4,'99999999999.99'))
         else
              to_char(BAL1,'99999999999.99')-(to_char(BAL4,'99999999999.99')-to_char(BAL5,'99999999999.99'))
         END )
    ELSE 0 end) AS"Bkt_6",
    --total
    sum(
         (Case when  hrk in (13,14) THEN
                     (CASE WHEN bal4 !=0 THEN  1 else 0 END )
                  ELSE
                     (CASE WHEN BAL1-(BAL4-BAL5)!=0 THEN 1 ELSE 0 END)
           end)
    )as "TotCount-7",
    SUM((Case when  hrk in (13,14) THEN 
              to_number(to_char(bal4,'99999999999.99'))
         else
              to_char(BAL1,'99999999999.99')-(to_char(BAL4,'99999999999.99')-to_char(BAL5,'99999999999.99'))
         END )
    ) AS"Total"
    from
    select
    q1.lbrcode,q1.prdacctid,q1.totsanclimit,q2.balance1,balance3,balance4,balance5,balance6,balance7,q3.hrk
    FROM
    SELECT LBRCODE,PRDACCTID,SANCDATE,TOTSANCLIMIT,RNK FROM
               SELECT
               LBRCODE,
               PRDACCTID,
               EFFFROMDATE,
               CURCD,
               PLRLINKYN,
               SANCAUTHORITY,
               SANCDATE,
               TOTSANCLIMIT,
               RANK() OVER (PARTITION BY LBRCODE,PRDACCTID ORDER BY EFFFROMDATE DESC) AS RNK
               FROM LIMIT_MAST
               WHERE LBRCODE IN (3)
    --    AND PRDACCTID LIKE 'PLLN %'
    WHERE RNK=1
    )Q1,
    (SELECT LBRCODE,PRDACCTID,CBLDATE,BALANCE1,BALANCE2,BALANCE3,BALANCE4,BALANCE5,BALANCE6,BALANCE7 FROM
    ( SELECT TRN_MAST.*,
      RANK() OVER(PARTITION BY LBRCODE,PRDACCTID ORDER BY CBLDATE DESC) AS HRK
      FROM TRN_MAST
      WHERE CBLDATE <= TO_DATE('31-MAR-2008','DD-MON-RR')
      AND (LBRCODE,TRIM(SUBSTR(PRDACCTID,1,8))) IN (SELECT LBRCODE,TRIM(PRDCD) FROM PRD_MAST
            WHERE MODULETYPE IN (13,14,30))
    )WHERE HRK=1
    )Q2,
    ( SELECT LBRCODE,TRIM(PRDCD) prd,MODULETYPE hrk FROM PRD_MAST
    WHERE (LBRCODE,TRIM(PRDCD)) IN
    (SELECT LBRCODE,TRIM(SUBSTR(PRDACCTID,1,8)) FROM LIMIT_MAST)
    )q3
    WHERE Q1.LBRCODE=Q2.LBRCODE
    AND Q1.PRDACCTID=Q2.PRDACCTID
    AND TRIM(SUBSTR(Q2.PRDACCTID,1,8))=q3.PRD
    AND Q1.LBRCODE=q3.LBRCODE
    group by lbrcode,trim(substr(prdacctid,1,8))
    order by lbrcode
    /

    Like this?
    SQL> select 123456 my_num from dual;
        MY_NUM
        123456
    SQL>
    SQL> column my_num format 999999.99
    SQL>
    SQL> select 123456 my_num from dual;
        MY_NUM
    123456.00
    SQL>Asif Momen
    http://momendba.blogspot.com

  • Help required for the list and set_block_property

    i have 2 questions.
    1. how to assign just the column names to the list. e.g. in sql we write a query "desc [table name]" so it shows the column name. so how can we assign the column names dynamically to the list values.
    2. after assigning these values how to use set_block_property to select a select a specific column name and get the results using orderly clause.
    i shall be very thank full to every body who mail me these answers at
    [email protected]

    Hi   Sri lz70d7,
    While filling Setup tables:
    1) Did you get the Shipment Cost Document ranges that are relevant to your data
        to be extracted?
    2) Also give the start date something meaningful.
        Most important....make the end date as a date in the future. It means you need to give
        the correct Document number range to get relevant data.
    Good luck, BB

  • Help required regarding the outbound delivery creation by batch job

    Hi Gurus,
    We are facing one problem in the outbound delivery creation.
    The deliveries will be created automatically (using program RVV50R10C) from the existing open sales orders through the run of a batch program for every 5 minutes.
    The program RVV50R10C is scheduled to run for every 5 minutes, which picks up all the open sales orders and creates outbound deliveries. However, during one run we have found an error.
    The error had message class V50R, message no: 024 and message type : I. The error message reads as follows : u201CAt least one order was blocked and could not be deliveredu201D.
    When we have checked the VBFS table, it showed the sales document line items with the Message type : E, Message no: 24 and message id : V50R.
    Can anybody decipher what could be the reason why this error message is appearing?
    Thanks in advance,
    Krishna

    Hi Friend,
    to clearly identify the issue,
    Goto SE38 and give the program which you are using as Back ground job to create the deliveries and  give the sales order number as mltiple entries and execute the program in back ground.
    In most of the cases we can identify the issue behind the job while doing this.
    please revert me if you need more clarification
    regards,
    santosh

  • Urgent help required to write the code in  update routine

    Hi all,
    i want to calculate open purchase order qty in update routine
    formula is
    open purchase order qty = scl qty - rec qty
    where schd line date is less then or equal to 90 days from the current date.
    I have written one code : but its giving error that comm_structure is not defined in abap dictionary,can any body help to write appropriate routine. this calculation i am making for MM, and data source and cube are 2lis_02_scl and cube is zc_pur01 ( made by coping the 0pur_c01), data source scl has all fields required in the foumula...here is my code
    DATA:  COMM_STRUCTURE LIKE  /BIC/CS2LIS_02_SCL.
    DATA: SCL_QTY LIKE COMM_STRUCTURE-/BIC/ZK_SCLQTY.
    DATA:      GR_QTY LIKE COMM_STRUCTURE -/BIC/ZK_GRQTY.
    DATA: SCL_DATE.
    SCL_DATE = SY-DATUM + 90.
    SELECT COMM_STRUCTURE -/BIC/ ZK_SCLQTY COMM_STRUCTURE -/BIC/ ZK_GRQTY FROM
    /BIC/CS2LIS_02_SCL INTO   SCL_QTY     GR_QTY  
    WHERE
    COMM_STRUCTURE -/0SCHED_DATE LE SCL_DATE.
    IF SYSUBRC  = 0
    RESULT = SCL_QTY - GR_QTY.
    ELSE = NOVALUE.
    ENDIF.
    Can any body help me soon its very urgent.
    thanks

    Hi Anupam,
    I am not a very good ABAP Programmer, but found some things to notify u inyour code..
    DATA: COMM_STRUCTURE LIKE /BIC/CS2LIS_02_SCL,
          SCL_QTY LIKE COMM_STRUCTURE-/BIC/ZK_SCLQTY,
          GR_QTY LIKE COMM_STRUCTURE -/BIC/ZK_GRQTY.
    DATA  SCL_DATE LIKE SY-DATUM.
    SCL_DATE = SY-DATUM + 90.
    SELECT COMM_STRUCTURE -/BIC/ ZK_SCLQTY COMM_STRUCTURE -/BIC/ ZK_GRQTY FROM
    /BIC/CS2LIS_02_SCL INTO SCL_QTY GR_QTY
    WHERE
    COMM_STRUCTURE -/0SCHED_DATE LE SCL_DATE.
    IF SYSUBRC = 0
    RESULT = SCL_QTY - GR_QTY.
    ELSE.
    What should be the return value if you dont have to    calculate the result."
    ENDIF.
    try it.. and see..
    regards,
    kishore.

Maybe you are looking for