Restrict rows

Hi,
this query is working fine when it has one loan, when i enter multiple loans then it shows me in two lines,
how will i stop this. can anyone guide me.
select emp_number, emp_name, car_loan, medical_loan, personal_loan, family_visa_bal, personal_ticket_bal,
car_ins_recovery_bal, iqama_charge_bal,salary_adv_bal, Medical_treatment_pay, sponsorship_transfer_bal, val
,location, type_id, ass_id, assign_act_id
from
select pap.employee_number emp_number
,pap.full_name emp_name
,sum(value) val
,case when pbv.balance_name in('CAR_LOAN_BALANCE') then sum(pbv.value)
else
0
end as car_loan
,case when pbv.balance_name in('MEDICAL_LOAN_BALANCE') then sum(pbv.value)
else
0
end as Medical_loan
,case when pbv.balance_name in('PERSONAL_LOAN_BALANCE') then sum(pbv.value)
else
0
end as Personal_loan
,case when pbv.balance_name in('FAMILY_VISA_BALANCE') then sum(pbv.value)
else
0
end as Family_Visa_Bal
,case when pbv.balance_name in('PERSONAL_TICKET_BALANCE') then sum(pbv.value)
else
0
end as Personal_Ticket_Bal
,case when pbv.balance_name in('CAR_INSRUANCE_RECOVERY_BALANCE') then sum(pbv.value)
else
0
end as Car_Ins_Recovery_bal
,case when pbv.balance_name in('IQAMA_CHARGES_BALANCE') then sum(pbv.value)
else
0
end as Iqama_Charge_Bal
,case when pbv.balance_name in('SALARY_ADVANCE_BALANCE') then sum(pbv.value)
else
0
end as Salary_Adv_Bal
,case when pbv.balance_name in('MEDICAL_TREATMENT_PAYMENT') then sum(pbv.value)
else
0
end as Medical_Treatment_Pay
,case when pbv.balance_name in('SPONSORSHIP_TRANSFER_BALANCE') then sum(pbv.value)
else
0
end as Sponsorship_Transfer_Bal
,hrl.description location
,pbv.balance_type_id type_id
,max(paa.assignment_id) ass_id
,pbv.assignment_action_id assign_act_id
from pay_balance_values_v pbv
,per_all_assignments_f paa
,per_all_people_f pap
,pay_people_groups ppg
,hr_locations hrl
where pap.person_id = paa.person_id
and paa.assignment_id = pbv.assignment_id
and sysdate between paa.effective_start_date and paa.effective_end_date
AND sysdate between pap.effective_start_date and pap.effective_end_date
and paa.people_group_id = ppg.people_group_id
and paa.location_id = hrl.location_id
and pbv.balance_type_id = nvl(:p_balance_type_id,pbv.balance_type_id)
and pbv.balance_name IN('CAR_LOAN_BALANCE','MEDICAL_LOAN_BALANCE','PERSONAL_LOAN_BALANCE','FAMILY_VISA_BALANCE','PERSONAL_TICKET_BALANCE',
'CAR_INSRUANCE_RECOVERY_BALANCE','IQAMA_CHARGES_BALANCE','SALARY_ADVANCE_BALANCE','MEDICAL_TREATMENT_PAYMENT','SPONSORSHIP_TRANSFER_BALANCE')
and pbv.dimension_description = 'Assignment Inception To Date Dimension'
and pap.employee_number = '410'
and pbv.assignment_action_id in
select max(assignment_action_id) --,pbv_o.assignment_id
from pay_balance_values_v pbv_o
where pbv_o.assignment_id = nvl(:p_assign_id ,pbv_o.assignment_id)
and pbv_o.BALANCE_TYPE_ID = nvl(:p_balance_type_id,pbv_o.BALANCE_TYPE_ID)
and pbv_o.balance_name IN('CAR_LOAN_BALANCE','MEDICAL_LOAN_BALANCE','PERSONAL_LOAN_BALANCE','FAMILY_VISA_BALANCE','PERSONAL_TICKET_BALANCE',
'CAR_INSRUANCE_RECOVERY_BALANCE','IQAMA_CHARGES_BALANCE','SALARY_ADVANCE_BALANCE','MEDICAL_TREATMENT_PAYMENT','SPONSORSHIP_TRANSFER_BALANCE')
and pbv_o.dimension_description = 'Assignment Inception To Date Dimension'
group by pbv_o.assignment_id
group by pbv.BALANCE_NAME, pbv.balance_type_id,pap.employee_number ,pap.full_name,hrl.description, pbv.value, pbv.assignment_action_id
where val <> 0
order by to_number(emp_number)
Thanks in Advance

What exactly do you want/expect as result? That isn't really clear from your post. Neither is the structure of your schema. So, I'll have to assume lots of things when trying to answer. I assume you want one row per employee, that contains total sum of loans, and this sum of loans split out over several balance_names. For that, your group by contains way too many fields, and the position of the case and sum in the select seems reversed.
Basically, that would translate into something like:
select  pap.employee_number emp_number
,       pap.full_name emp_name
,       sum(pbv.value) val
,       sum(decode(pbv.balance_name, 'CAR_LOAN_BALANCE', pbv.value, 0)) car_loan
,       sum(decode(pbv.balance_name, 'MEDICAL_LOAN_BALANCE', pbv.value, 0)) medical_loan
from    pay_balance_values_v pbv
,       per_all_people_f pap
,       per_all_assignments_f paa
where   pap.person_id = paa.person_id
  and   paa.assignment_id = pbv.assignment_id
  and   sysdate between paa.effective_start_date and paa.effective_end_date
  and   sysdate between pap.effective_start_date and pap.effective_end_date
  and   ...
group by pap.employee_number, pap.full_name
having sum(pbv.value) > 0
order by emp_number;But again, it's not really clear to me if that is what you mean.

Similar Messages

  • Restricting rows in table control.

    I only want 4 rows in my table control but it is coming as a number of rows...I want to restrict row in my table control,Please tell me how do that?

    Hi priya
         I am sending the code which i used in my screen see weather it will suite you.if any doubts let me know as well this is for 10 lines
    MODULE COUNT_UPDATE INPUT.
      data cnt(10).
       DESCRIBE TABLE itab1 lines cnt.
    append itab1 TO ITAB2.
    LOOP AT itab2.
       IF itab2-srno is INITIAL.
         cnt = cnt + 1.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
           EXPORTING
             INPUT         = cnt
          IMPORTING
            OUTPUT        = itab2-srno
        itab2-srno = cnt.
       ENDIF.
       READ TABLE itab1 WITH TABLE KEY srno = itab2-srno aufnr = itab2-aufnr." vbeln = itab2-vbeln.
       IF sy-subrc eq 0.
         MOVE-CORRESPONDING itab2 to itab1.
        MODIFY itab2.
        MOVE itab2[] to itab1[].
       else.
         MOVE-CORRESPONDING itab2 to itab1.
        append itab1.
       ENDIF.
    ENDLOOP.
    PERFORM operations.
    REFRESH CONTROL 'TCL' FROM SCREEN '1000'.*
    tcl-lines = 10.  " for 10 lines
    clear itab2.
    CLEAR itab2[].
    ENDLOOP.
    ENDMODULE.

  • How to use vpd to restrict rows by application and schema_name?

    We have a need to reuse a schema name many times in a test/dev. environment. Normally we just create a new instance so development can test their apps. using the same schema_name, let's call it test_user. This is very tedious and time consuming to create many db's and sometimes we don't have the hardware to support so many db's. So I was wondering if I could use vpd and an application_context to restrict the rows & columns that can be seen. But instead of restricting it by schema_name I want to restrict it by schema_name and another env. variable like app_name or something similar. So when the middle layer connects with test_user user name and the app is called accts_payable they see parts of the rows that pertain to them. But if the middle layer connects with the test_user user name and the app is called accts_payable2 they see completely different rows. Any help would be appreciated.
    Thanks,
    George

    I was hoping someone else had already been down this path so I don't have to re-invent the wheel. But it looks like I'm going to go down that path. I did find something in the manual that may help but again it's not exactly what I was hoping for so I will have to test it. It mentions using dbms_session to set the application name in the environment like this:
    Consider the application server, AppSvr, that has assigned the client identifier 12345 to client SCOTT. It then issues the following statement to indicate that, for this client identifier, there is an application context called RESPONSIBILITY with a value of 13 in the HR namespace.
    DBMS_SESSION.SET_CONTEXT( 'HR', 'RESPONSIBILITY' , '13', 'SCOTT', '12345' );
    Thanks for your help on this. If anyone else has been through a similar situation please reply.
    Thanks,
    George

  • Restricting Row number in pivot table

    Hi,
    As we can restrict the row number in table by putting 'Row Count' can we restrict number of rows in pivot table?
    Regards,
    Deepak

    hi,
    check the above answer as well as this...
    http://oraclebizint.wordpress.com/2008/01/23/oracle-bi-ee-101332-total-number-of-rows-and-pagination/
    but explain us a little bit more..what exactly do you want...
    i hope i helped....
    http://greekoraclebi.blogspot.com/
    ///////////////////////////////////////

  • How do you restrict rows returned in a group by query

    I have a select statement with a "group by" and a "order by"
    clause and I want the number of rows returned restricted to the
    first 10. Normally this is easy using rownum but it does not
    work in my case with the "group by" and a "order by" clauses.
    Any ideas anybody?
    select remote_host,
    sum(bytes_transfered) total_bytes_transfered from proxy_log
    where bytes_transfered > 0
    group by remote_host
    order by sum(bytes_transfered) desc

    how about:
    select * from
    (select remote_host,
    sum(bytes_transfered) total_bytes_transfered from proxy_log
    where bytes_transfered > 0
    group by remote_host
    order by sum(bytes_transfered) desc )
    where rownum <=10
    It's not pretty , it may not be clever, but it does work (at
    least in 8.1.6)
    rgds, APC

  • ALV - icon word processing there's a way to restrict rows before word open

    Hi everyone !
    I would like to get only rows that selected in the alv.
    how can i restrict which lines will be display in word ?

    someone can help ?

  • Using collection list in subquery to restrict rows

    How can I use a collection list in a subquery?
    Something like this:
    TYPE listOfIDs_t IS TABLE OF NUMBER;
    v_listOfIDs_arr listOfIDs_t;
    CURSOR c1 IS
    SELECT *
    FROM tbl
    WHERE id IN (SELECT column_value
    FROM TABLE ( CAST(v_listOfIDs_arr AS listOfIDs_t ))
    When I try something like this, I get "invalid datatype" on the collection type, listOfIDs_t. Any suggestions? Basically, I want to use the list of values in my collection to restrict my cursor/query without having to loop through my collection and execute the cursor/query each time.

    PL/SQL is two languages. PL is a programming language based on ADA. It is a formal procedural declarative language. It is "Turing complete". SQL is neither - not procedural and not Turing complete.
    PL/SQL mashes these two in a single integrated coding environment - you can write and mix PL and SQL code and the PL engine will figure out where it needs to make calls to the SQL engine, what PL variables it need to pass to the SQL engine (using SQL bind variables) and so on.
    Now you define a structure in the PL engine. The structure resides in the PL engine memory area (the process global area or PGA).
    You now want to pass that structure to the SQL engine and run SQL on it. The SQL engine cannot reference that local PL variable directly. PL has to copy it into the SQL engine.. as what?
    The SQL engine only supports SQL data types. The SQL engine does not know of the PL engine's existence. Just like it does not know about Java, C/C++, Delphi, C#, Visual Basic etc. Nor does the SQL engine support data types of these languages.
    All these languages, including PL, supports the SQL engine in some form or another. Via ODBC, BDE, OCI, JDBC, etc.
    Okay, now how does PL pass that local PL structure to the SQL engine? It cannot. That is a custom PL structure. It can contain (and often does) have features that are not supported by the SQL engine. Like boolean fields.
    What PL can do and does support is SQL data types. Including user defined data types. And these it can use itself natively inside PL (as you also can as objects in Delphi, Java etc).
    And these it can also pass back to the SQL engine for processing.
    That all said - the best place for data is inside the SQL engine (i.e. in tables). It is not the best of ideas to create data structures in PL and then continually pass (copy) these to the SQL engine to run SQLs against. It is slow. It does not scale.
    So make sure that you have sound technical reasons when actually doing this - creating a PL variable of a SQL table type, stuffing data into it, and then running SQLs on it.

  • Can we Restrict Rows or Stop rows from breaking across pages in XSL-FO

    Hi,
    Iam working on PO Print report and my requirement is to Stop rows from breaking across pages.
    Suppose there are three Lines in a PO.Then the information of the Third line of PO comes partly on page1 and the rest on Page 2.I need all the line information in a single page and not break across pages.Can i control the rows from breaking across pages....If not then can i limit the Rows?
    Any Help would be appreciated....Thanks

    Hi vetsrini,
    not very sure where to add the code.I have tried but its not working...i have sent u the xsl file on [email protected]
    Please let me know where i should add the code.
    Thanks in advance

  • How to update  the restricted rows that were selcted using fetch

    Hi
    I have to fetch  one row at a time from my staging table using JDBC Sender Adapter,  which is configured against AS400 DB2 and push it to R/3.
    The select  SQL looks like this in JDBC Sender Adapter
         <b>select  jedata, oxruns from fxjrnep2 where oxsts=' '   fetch first 1 rows only</b>
                                       and
    update sql is
         <b>update suplib.FXJRNEP2 set OXSTS='SUC' where OXSTS=' ' </b>
    The problem here is my select gets one row, which is what i want, but my update actually updates all the rows that satisfied the where condition oxsts=' ' instead of one.
      I couldn't  use <b>fetch first 1 rows only</b> at the end of the update sql to update the selected row. DB2 does not allow  fetch in update sql.
    Can anyone suggest solution here or recommend alternative?
    Best Regards
    Venkat

    check for update query where u can club the select stmt u had used with udpate like:
    update suplib.FXJRNEP2 set OXSTS='SUC' where OXSTS = (select jedata, oxruns from fxjrnep2 where oxsts=' ' fetch first 1 rows only
    just need to try combinations of this type.
    if still this is not working use a bpm and get all the records where OXSTS is null and process record one by one within a block

  • Query - restricting rows based on specific combinations of columns

    I have two columns in two different tables T1 and T2 like below
    T1.Column1 T2.Column2
    1 a
    2 b
    3 c
    4 d
    5 e
    I need all the combinations of values in the columns, which I can choose like
    select T1.Column1, T2.Column2 from T1, T2 ------ (Without specifying any join ie. cartesian product)
    But, in those, combinations, I need to restrict the following combinations, from not being selected - (1,b), (1,c),(3,b), in the same sql, or using a subquery. I am not able to achieve this after several attempts. Can any one help?

    Just pad it and check
    SQL> select no,name from a,b where to_char(no)||name not in ('1b','1c','3b')
      2  /
            NO N
             1 a
             1 d
             1 e
             2 a
             2 b
             2 c
             2 d
             2 e
             3 a
             3 c
             3 d
            NO N
             3 e
             4 a
             4 b
             4 c
             4 d
             4 e
             5 a
             5 b
             5 c
             5 d
             5 eThanks,
    Karthick.

  • Restricting Rows on the Dashboard

    Hi All,
    I have a report to be shown on a dashboard which contains lot number of rows.
    My requirement is, I want to display only 10 rows on the dashboard for the request. Is there any way possible (at request or at dashboard level) with out applying filters to the requrest.
    Thanks in Advance,
    Imtiaz.

    Hi,
    This is the Physical query generated when I use Rank function and the report is fine.
    select distinct D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12,
    D1.c13 as c13,
    D1.c14 as c14,
    D1.c15 as c15
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12,
    D1.c13 as c13,
    D1.c14 as c14,
    D1.c15 as c15
    from
    (select Case when D1.c1 is not null then Rank() OVER ( ORDER BY D1.c1 DESC NULLS LAST ) end as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c1 as c4,
    D1.c4 as c5,
    D1.c5 as c6,
    D1.c6 as c7,
    D1.c7 as c8,
    D1.c8 as c9,
    D1.c9 as c10,
    D1.c10 as c11,
    D1.c11 as c12,
    D1.c12 as c13,
    D1.c13 as c14,
    D1.c14 as c15,
    ROW_NUMBER() OVER (PARTITION BY D1.c1, D1.c2, D1.c3, D1.c4, D1.c5, D1.c6, D1.c7, D1.c8, D1.c9, D1.c10, D1.c11, D1.c12, D1.c13, D1.c14 ORDER BY D1.c1 ASC, D1.c2 ASC, D1.c3 ASC, D1.c4 ASC, D1.c5 ASC, D1.c6 ASC, D1.c7 ASC, D1.c8 ASC, D1.c9 ASC, D1.c10 ASC, D1.c11 ASC, D1.c12 ASC, D1.c13 ASC, D1.c14 ASC) as c16
    from
    (select distinct T690.SUM_REVN_AMT as c1,
    T690.NAME as c2,
    T2216.NAME as c3,
    T690.X_PETROFAC_REVN as c4,
    T690.SUM_WIN_PROB as c5,
    T690.X_PERCENT_GET as c6,
    T690.SUM_WIN_PROB * T690.X_PERCENT_GET / nullif( 100, 0) as c7,
    T690.X_EC_PRIORITY as c8,
    T19028.LOGIN as c9,
    T690.X_COUNTRY as c10,
    T690.X_REGION as c11,
    T18311.NAME as c12,
    T18641.NAME as c13,
    T18238.NAME as c14
    from
    SIEBEL.S_BU T18238 left outer join (
    SIEBEL.S_USER T19028 left outer join (
    SIEBEL.S_OPTY T690 left outer join SIEBEL.S_STG T2216 On T690.CURR_STG_ID = T2216.ROW_ID) left outer join SIEBEL.S_ORG_EXT T1189 On T690.PR_DEPT_OU_ID = T1189.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18311 /* Competitor */ On T690.PR_CMPT_OU_ID = T18311.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18641 /* Partner */ On T690.PR_PRTNR_ID = T18641.ROW_ID) left outer join SIEBEL.S_POSTN T19114 On T690.PR_POSTN_ID = T19114.PAR_ROW_ID) left outer join SIEBEL.S_OPTY_BU T18280 On T690.ROW_ID = T18280.OPTY_ID) left outer join SIEBEL.S_OPTY_X T19415 On T690.ROW_ID = T19415.PAR_ROW_ID) On T19028.PAR_ROW_ID = T19114.PR_EMP_ID) On T18238.ROW_ID = T18280.BU_ID
    ) D1
    ) D1
    where ( D1.c16 = 1 )
    ) D1
    order by c1 desc
    But When I apply Filter on this Rank column then it gives me the error. THis is the Physical query for that
    select distinct Case when D1.c1 is not null then Rank() OVER ( ORDER BY D1.c1 DESC NULLS LAST ) end as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c1 as c4,
    D1.c4 as c5,
    D1.c5 as c6,
    D1.c6 as c7,
    D1.c7 as c8,
    D1.c8 as c9,
    D1.c9 as c10,
    D1.c10 as c11,
    D1.c11 as c12,
    D1.c12 as c13,
    D1.c13 as c14,
    D1.c14 as c15
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12,
    D1.c13 as c13,
    D1.c14 as c14
    from
    (select T690.SUM_REVN_AMT as c1,
    T690.NAME as c2,
    T2216.NAME as c3,
    T690.X_PETROFAC_REVN as c4,
    T690.SUM_WIN_PROB as c5,
    T690.X_PERCENT_GET as c6,
    T690.SUM_WIN_PROB * T690.X_PERCENT_GET / nullif( 100, 0) as c7,
    T690.X_EC_PRIORITY as c8,
    T19028.LOGIN as c9,
    T690.X_COUNTRY as c10,
    T690.X_REGION as c11,
    T18311.NAME as c12,
    T18641.NAME as c13,
    T18238.NAME as c14,
    Case when T690.SUM_REVN_AMT is not null then Rank() OVER ( ORDER BY T690.SUM_REVN_AMT DESC NULLS LAST ) end as c15
    from
    SIEBEL.S_BU T18238 left outer join (
    SIEBEL.S_USER T19028 left outer join (
    SIEBEL.S_OPTY T690 left outer join SIEBEL.S_STG T2216 On T690.CURR_STG_ID = T2216.ROW_ID) left outer join SIEBEL.S_ORG_EXT T1189 On T690.PR_DEPT_OU_ID = T1189.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18311 /* Competitor */ On T690.PR_CMPT_OU_ID = T18311.ROW_ID) left outer join SIEBEL.S_ORG_EXT T18641 /* Partner */ On T690.PR_PRTNR_ID = T18641.ROW_ID) left outer join SIEBEL.S_POSTN T19114 On T690.PR_POSTN_ID = T19114.PAR_ROW_ID) left outer join SIEBEL.S_OPTY_BU T18280 On T690.ROW_ID = T18280.OPTY_ID) left outer join SIEBEL.S_OPTY_X T19415 On T690.ROW_ID = T19415.PAR_ROW_ID) On T19028.PAR_ROW_ID = T19114.PR_EMP_ID) On T18238.ROW_ID = T18280.BU_ID
    ) D1
    where ( D1.c15 <= 10 )
    ) D1
    order by c2, c3, c4, c5, c6, c7, c8, c9, c10, c11, c12, c13, c14, c15
    Thanks,
    Imtiaz

  • Restrict number of rows to be pulled from PeopleSoft's PS_LEDGER table while importing data in FDMEE

    Hi,
    We need to know if FDMEE 11.1.2.3.520 product supports restricting number of rows to be pulled from PeopleSoft's PS_LEDGER table.
    All the records fetched from PS_LEDGER is getting loaded into TDATASEG table.
    Currently, it is trying to pull all the records based on the given "period", "version" and "year" combination. We are looking to restrict rows based on specific account/entity/program/subprogram combination.
    If this is can be done, will it be an out-of-the-box functionality or does it require any customization/import scripts/api.
    Admin guide does say we can use Jython to filter rows using import scripts. However, it seems to be limited to file not a table as a source.
    I have attached a document with the screenshots so that the issue is better understood !
    Thanks,
    Hari

    1)
    When you set a column to hidden in a classic report using the method I described, it creates hidden form elements for that column.
    <tt><input type="hidden" name="f01" value="" id="f01_0002"></tt>
    You should inspect the source to figure out the name value.
    Since this belongs to the wwv_flow form, we can therefore get this data with: wwv_flow.f01
    Alternatively, you could have used the apex_item API to achieve the same result, which probably gives a bit better control.
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_item.htm#CHDBFHGA
    select apex_item.hidden(1, col) || col col
    from table
    Set that column to a standard report column so it doesn't escape the html.
    You can also reference the data in these fields using PL/SQL using the apex_application API:
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35127/apex_app.htm#CHDGJBAB
    2)
    As above, setting the column to hidden creates hidden elements on the page. It is simply f01 because that is the only hidden field I would have on my page. With four reports on the page, you would need to be careful not to do the same on the other reports, as you would get inaccurate data. For each report, setting columns to hidden always starts with f01. In that, you would be best to use the apex_item API.
    I actually initially ran into this issue when i had a tabular form on the same page as a report with hidden fields, which was causing conflicts in the page processes.
    Hope it helps.

  • How can I filter the LOV rows at the runtime

    I am working in oracle forms 6i.
    My lov is based on a view. If I selected one row from LOV, that row should not appear in list box.
    I would like to restrict rows before saving a form. How can i filer the LOV rows at the runtime?
    Please help me.

    Dear Mr.MH_BD,
    Thanks for your immediate response,
    My form is built based on master and detail link.  On the multi row detail section I am invoking this LOV.  The record group containing the following query:
    select fees_id,fees_name,term_fees from sk_fees_mst where fees_bal>0;
    fees_id
    fees_name
    term_fees
    12
    Tuition Fees
    2500
    13
    Smart Class
    100
    14
    Admin Fees
    300
    If I selected the fees_id 13 for the first row of detail section, then the LOV should display only the following in the next row:
    fees_id
    fees_name
    term_fees
    12
    Tuition Fees
    2500
    14
    Admin Fees
    300
    (ie.) Before commit form I need to filter the already selected fees ids from record group.
    Thanks in advance.

  • Using a Infoobject (fiscweek) in columns and rows

    Hi SDN,
    We have a requirement where Zfiscweek of type NUMC to be shown in columns so I have restricted it with a char variable (user entry, and gave a offset value range as 52 weeks) i.e, if a user enters particular week then the O/P must have 52 weeks,
    And
    one row showing past 8 weeks of quantity (basic key figure)
    and another row showing 18 weeks in future (including that week which we have entered).Now after putting the Zfiscweek in columns when I try to restrict row (quantity ) the system is not allowing me to do so. but if I remove the Zfiscweek from columns the design goes wrong. would please give your opinion on this.
    THank you,
    Prasad

    Use structure in rows.
    It should have selction as follows:
    1. Prior 8 weeks
    2. Next 16 weeks
    Use offset settings on value ranges on variable to get those ranges (-8 and +16)..
    Add fisc week in colums.
    Since you don't want to show next 16 weeks in first row, use cell referencing to suppress the display if required.
    Abhijeet

  • Row count in Pivotal View (10 rows per page)

    Hi
    I tried following options to restrict row count in Pivotal view of a report, however the out put is inconsistent in pivotal view.
    1. CEILING((RCOUNT(1))/10.0)
    2. TRUNCATE((RCOUNT(1)-1)/10, 0) +1
    3. Even Case statement also
    Appreciate the help extended

    just a note now its ok..i think its a transactional database ....some how the data has changed it modified the query and ur getting correct results am i correct ?
    think of a solution to get a bug free report ;)
    thanks,
    Saichand.v

Maybe you are looking for

  • Balance(total) and line items balance difference in FS10N

    Dear All, We are facing an eccentric issue. When we execute transaction FS10N for a particular account,(outgoing cheque account) the balance it is showing is 497,241,737.46. But when we drill down to see the line items balance, it shows a different b

  • Colorspan help needed

    Hello. I have a Colorspan 72SR that I of course bought used. It won't boot up and gives an error of "no internak disk detected". I had to replace the power supply before I could get anything out of it and don't know if I damaged the onboard DOM card

  • Create Object for archiving Custom Table

    Hi guru!! I have a problem, I must create a archiving object for custom table.. I must create a report for READ, DELETE and ARCHIVING this type of table.. colud you help me? thanks a lot guru!!!

  • Officejet Pro 8600-in the print que it is stating error.

    When i go to print the job status in the print que comes up as an error.  i have deleted the jobs in the print que numberous times and try again to print but nothing is working.  I was able to print under the ePrint up until last week as we are conne

  • How to convert Outlook PST files to Entourage MBOX

    I am migrating over to mac after my windows system has been corrupted. Luckily I had back-up of all my mails in a storage device. Outlook stored them as .pst files. What I need to do now is take those .pst files and convert them to .mbox files for En