Multiprovider Definition changed..Impact on query

Hi,
I had created a query on multiprovider...
Now the underlying Infocubes  (Two)  of multiproviders needs to be changed as the datamodel completly changed..
I had copied both the cubes to the new cubes..
Now i need to include this new two  cubes in multiprovider which the query can use...
What would be the best procedre for it?
IF i directly change the defintion of multprovider then query gets affected ..
as the original query has lot of formulas and selections and i do not want to play with original query definiton..
Any idea of how to procede..
Since this multiprovider has been used in roles i cannot create a new multiprovider..if i have to create new multicube then i also need to create roles ( we have three kinds of roles)...

Hi,
   Changing the underlying cube means, are you going to remove any existing field or only going to include fields?.
   If you are going to remove existing objects from cube, defenetly your original query will be affected.
Or if you are going to include some more fields with existing fields, you can just include the new cubes and scrap the existing cubes from multiprovider( since new cubes will be having the structure of existing one also).
Then just a copy your original query into a new query (on same multirprovider) , if you want you can adjust the query with the new fields added , otherwise use the same.
Regards,
V.Senthil

Similar Messages

  • Local Changes to a Query in a Workbook

    Hi guys.....
    In 7.0... Theres a way to change locally a query assigned to a workbook?
    Like in version 3.5 wher you can change locally the query definition......
    I need to know if its possible or we need to create another query...??
    Regards

    Hi Oscar,
    Did you wanted to reassign a different query to the same workbook ?
    Try :
    BI 7.0
    Run the workbook
    Switch on Design Mode ( Letter A )
    RClick on table - Properties
    Click on Pencil Icon
    Assign Query - Select the new one

  • How to track changes in Adhoc query?

    Hi all,
    We have requirement for retrofitting  the changes done in one Server to other, in the process the Changes in New server should not be overwritten.Currently for Adhoc queries - we're downloading from one server-  loading to the New server.
    Is there any way to track the changes in Adhoc query to avoid overwriting the changes.
    Thanks  in advance.
    Harika.

    Hi,
    You can download the Employee wise Bank Details of IT0009 or using Adhoc query
    You have employee wise WT reporter
    Now do a Vlookup with the Employee Wt report  and the Adhoc query.
    If you have problems in vlookup
    pls send both the files to me on hemant.mahale capgemini com
    Regards
    Hemant V. Mahale

  • Infotype 0120 - changes in adhoc query program

    Hi All,
    I have to make some code changes for the std infotype 0102 - Grievances NA in the adhoc query. My requirement is :-
    1) A range from 000-999 should be available for each Employee for the Grievance Number field. P0102-GRNUM.
    2) If a record already exists for the employee for a particular Grievance Number -GRNUM(e.g - 467) and Stage- GRSTG(e.g.- Stage1), the system should not allow to enter another record with the same Grievance Number and Stage for the same employee.i.e. No duplication should be allowed. i.e only 3 records for 1 Grievance Number as there are only 3 stages.
    Please advice me how to proceed for the same.
    Thanks & Regards,
    Preeti

    hi
    Its not getting clear that u want the changes for ADhoc query or in pa30.
    if u want validations in adhoc query as u have mentioned in the question
    u need not to go to a user exit.
    In adoc query itself u can incorporate these changes
    u can go to infoset of this query and write a abap code which checks the Infotype 102 for the grievance no.
    If u want the validation on while creating the record then u have to use user exit ZXPAUD01 or can use BADI's also .
    Regards
    Manish
    Award reward paoints If Useful

  • Multiprovider design (InfoObject assign) and query dehavior

    Hi experts,
    we have a hetergenous  multiprovider, it has several InfoCube as the basis cube.  when execute the query, it will display some duplicated records.
    1) the two duplicated records are exactly the same, including characteristics, navigational atrribute, key figures.
    2) the two duplicated records have the same characteristics, navigational attribute, with some of different key figures .
    It's very hard to identify the root cause why for some of the records, it will have duplicated records.  Meanwhile, I have some question for the multiprovider design..
    For example, now we have 4 InfoCube..
    In those 4 infoCube, we have the 0Material inside. at Multiprovider level, 0Plant are assign from those 4 infoCube
    Only 3 of the InfoCube, have the 0Plant inside. at Multiprovider level, 0material are assign from those 3 infoCube.
    1) what will happen , if I include 0plant and 0material as the rows in the query designer, will this cause some duplciated records ?
    Now , 0Material, have the navigational attrribute, 0mateiral_0matl_type,  If I only 3 Cube has the
    0mateiral_0matl_type Open and assign into the Multiprovider..
    In my query, I use the 0material, and also 0material_0matl_type as the variable , both could input the values, and display in the rows
    What will happen ? if not all the navigational attribute are assigned at the Multiprovider level, but the master data InfoObject 0material it self are all assigned at the multiprovider level.
    2 ) Is there any influence to retrieve the record ?  I am not sure if 0Material are correctly assigned, 0material_matl_type will influence the result (number of records), or will this cause duplicate records ?
    I think in some of the case, in the sub -cube, not all the required InfoObject, or navigational attribute are avalable at the ALL Cube level, but in the query level, they are used.
    Finally, what could be the reason for duplicated records ?? they should be merged after execution..
    Please share your comments.  Thank you very much.
    Best Regards,
    muwenziwu

    HI muwenziwu,
    If you iunclude any characteristics or a navigational attribute which is not common in both the infoproviders
    then the it will show the result in a seperate line ,
    But you have a option to overcome this , refer the How to document in the below link
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70dcd7b5-6a3d-2d10-c984-e835e37071a2
    Hope this helps
    Regards,
    Sathya

  • How do I change the underlying query for the task board (and backlog board) on TFS Preview

    All,
    We work with multi-area projects, each area representing a significant component within the project with its own release/iteration cycle. i.e. Several areas may be active at once, each with different iterations.
    When we look at the task board these take no account of the area being worked on. What I need to do is to be able to change the query behind these boards to point to a particular release/iteration for a particular area.
    Unfortunately there is no drop down selection on these pages to see this automatically so I need to be able to change the underlying query that populates these boards to get the the area and release/iteration that I need.... but I can't find where these
    are.
    Using multiple areas is actually highly frustrating with TFS Preview as it doesn't seem geared up at all to make it easy to switch between them... are we doing something wrong?
    I think I can do this by changing the current iteration - but I can't work out how to do this either once an iteration for a particular area has started.
    Can anybody help?
    Thanks

    It is not possible to modify the query behind the task board. If I understand you correctly, you would like to filter the task board by area path.
    In TFS 2012 we have repurposed the area path field to be the field that determines the team you are working on. We are continuously improving our product and being able to filter your task is one of the improvements that we are thinking of.
    Sorry I can't help you better than this for the moment.
    Please remember to mark the replies as answers if they help.
    Hi Ewald,
    We have a similar problem, see the thread "Best approach for multi-team/multi-projects." on this forum. I'm hopping you can help, since so far the different answers doesn't help.
    Best Regards,
    SYSOTI

  • Change logs for query...........

    Hi,
    How to check the logs for query changes. Means which user has done what change.In properties we get the last user only.
    Is there any way to check the full history of changes?
    Can we change that in some transport request?
    Bye,
    Jeetu

    Hi,
    There is no such facilities available to find, which user has done what changes in the query. you can only get the last changed 's user name of query. in transport request also you cannot change the query.
    To add, check out this:
    Tcode SQ01>select 'Environement' from the menu>Directories>All Queries
    in the popup window, select a query and click on 'Display' button. you would get some useful information about that query
    Bye

  • Bind option in report. How to change setting in Query Designer?

    Hello,
    Is there any way of changing the 'Bind display of textx/attributes in data provider result and in value help' in the portal. We can change this option from the report by right clicking on the characteristic -> Properties -> Characteristic -> Selecting the 'Advanced' tab. But we want to make a permanent change to this option from the query designer so that the users would not have to change it every time they run the report. Can anyone point to where I can make that change in the query designer or anywhere else if that works?
    There is a characteristic say 'XYZ'. It has a attribute 'ATTR'. We want to display the attribute alone in the column of the query. We are able to do so by bringing the characteristic 'XYZ' and dragging and dropping the attribute 'ATTR' under it. We then change the display options to make the characteristic as 'No dispaly'. But this affects not just the characteristic in the columns, but also in the Navigational blocks. So the users are not able to see any values while filtering. One way to fix this is to uncheck the 'Bind display of textx/attributes in data provider result and in value help' option after the report is executed which is an end user task. But we want to find out a way of changing this from the query designer, so that the users won't need to carry out his activity every time they run the report.
    Any help is appreciated.
    Thanks

    <p>There are a few ways that you can achieve this. If your SQL Queries have their filters modified (ie. WHERE clause) then this can be easily solved by adding report parameters to the Report filter. Search the in-product help for "Record Filter" and you should get a number of helpful resources returned.</p><p>Additionally, you can pass in java.sql.ResultSet objects with a populated recordset of the data you want to show in the report. We don&#39;t currently provide any tools to assist the creation of the code stubs for thick-client applications (like we do for JSP pages) however you can download a collection of thick-client sample code from here:</p><p><a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip">http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_desktop_samples.zip</a> </p><p>As I mentioned, this sample contains a collection of code snippets. The one in particular you will be interested in is titled "JRCResultsetDatasource". Hopefully, this will provide you with a few options. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • Can i change table in query as per user given data

    hi master
    sir,
    can i change table in query as per user given data
    see
    select * from @variable
    i need use in lov
    please give me idea
    thankingyou
    Aamir

    You cant directly use in sql instead you can write an anonymous block and frame the query as per the input table name and then use execute immediate to execute the query.
    Something like this
    declare
    qry_table varchar2(30);
    qry_stmt varchar2(1000);
    type typ_sample is table of VARCHAR2(100) index by binary_integer;
    tab_sample typ_sample ;
    begin
    qry_table := &Table_name
    qry_stmt := 'select a from '||qry_table;
    execute immediate qry_stmt bulk collect into tab_sample ;
    end;
    Message was edited by:
    Shasi

  • Changing LOV VO Query programmatically

    Hi All,
    I have a requirement where I need to change the LOV query programmatically based on another component on the page. The issue is demonstrated below where I need to change the 'Owner'
    LOV query based on 'Owner Type' .
    Owner Type : EMP/GRP
    Owner : Based on value in 'Owner Type' which is EMP/GRP , two different queries are fired , based on which the LOV should be populated.
    Query for Owner incase EMP is selected in 'Owner Type'(EmpLovVO) :
    select emp_number, emp_name from emp;
    Query for Owner incase GRP is selected in 'Owner Type'(GrpLovVO1) :
    select grp_number, grp_name from grp;
    I have created two VO EmpLovVO , GrpLovVO and added to the OwnerLovAM . I have written the below code to change the Lov VO in CO(processRequest).
    if(OwnerTypeVar.equals("GRP"))
         ((OAListOfValuesBean)webBean).setViewUsageName("GrpLovVO1");     
    Can you please let me know what items are to be added to OwnerLovRN and from which VO. Please note the column names are diffent in two VO's and i am using LOV component as messageLovInput. Also let me know if i am missing any step.

    Eventhough the column names are different, while creating VOs for for the LOV use alias names and make sure that both VOs have same attributes.
    Then in your controller, based on the owner set the VO instance. In your CO code make sure you also handles both EMP and GRP ower types.
    Regards,
    Peddi.

  • Change area of query and infoset.

    Hello experts ,
    I have query and infoset that it save in client specific , if i want to transfer them into the Q.A system
    Which i must to save them to global area ? if yes , how can i to change area of query and infoset from client specific to global area without  create them from the beginning ?
    Thanks for your help.
    Avi.

    No relationships of any sort can exist between objects from different query areas
    You have to create the same query from beginning in Global area and then transport it as follows :
    1. By using the standard program u2018RSAQR3TRu2019
    2. By using the transport option available on the application bar in Transactions SQ02 or SQ03.
    Note : Order of transport should be :
                     User Group transport
                     Infoset transport
                     Queries transport
    Edited by: harsh bhalla on Mar 26, 2009 11:42 AM

  • Last changed date of query showing old date

    Hi All,
    We have made a change to a query (description change) and saved.  When we open the Analyzer we still see the old description and also the last changed date shows an old date.  Not the latest date the query was last changed on.  We tried generating the query in RSRT, but no luck.
    Can someone let us know what we can do?
    Thanks!

    Hi Kams,
    We are using the Analyzer, log out back in, etc...
    As mentioned we did a regenerate by RSRT 'generate'
    any other ideas?

  • Is there any change log for query change in BIW?

    Hi Buddies,
    Could you please tell me if there is a change log in BIW to record all changes made to query and workbook? Since yesterday, I found a very important query had been deleted from our BI system, but I did not who had done this.
    Thanks in advanced.
    best regards
    Patrick

    Unfortunately there isn't. Check if you have the query in another system (test, development) and transport it again. You could also check if there is still an entry in RSRREPDIR but I don't think so.
    Best regards
    Dirk

  • Change my sql query where-clause in an extended controller

    Hello,
    i am trying to change my sql query where-clause in an extended controller
    personAplListVO.setWhereClause(null); // first set to null
    personAplListVO.setWhereClauseParams(null); // first set to null
    personAplListVO.setWhereClause(personAplListVOWhereClause +
    newWhereClause);
    personAplListVO.setWhereClauseParams(whereClauseParams);
    personAplListVO.executeQuery();
    System.out.println(">>>>>>>>getQuery = " + personAplListVO.getQuery());
    when i get the query ( personAplListVO.getQuery()) after executeQuery(), the new newWhereClause values are missing.
    Also i am getting null from personAplListVO.getWhereClause() after executeQuery()
    as if the above code is not making any effect.
    any ideas why?
    Thank you

    Hello,
    My Query:
    /* Formatted on 2011/06/15 15:50 (Formatter Plus v4.8.8) */
    SELECT /*+ FIRST_ROWS */
    NULL AS selectflag, ppf.full_name AS person_name,
    ppf.first_name AS person_first_name, ppf.last_name AS person_last_name,
    ppf.email_address, addr.derived_locale, addr.address_id,
    phn.phone_number, phn.phone_id, ppf.date_of_birth, addr.address_line1,
    (SELECT COUNT (*)
    FROM per_all_assignments_f paf2,
    per_all_people_f ppf2
    WHERE paf2.assignment_type = 'A'
    AND :1 BETWEEN paf2.effective_start_date AND paf2.effective_end_date
    AND paf2.person_id = ppf2.person_id
    AND paf2.effective_start_date BETWEEN ppf2.effective_start_date
    AND ppf2.effective_end_date
    AND ppf2.party_id = ppf.party_id
    HAVING COUNT (*) > 0) AS jobs_applied_for,
    (SELECT MAX (paf.effective_start_date)
    FROM per_all_assignments_f paf,
    per_all_people_f ppf2
    WHERE paf.assignment_type = 'A'
    AND :2 >= paf.effective_start_date
    AND paf.person_id = ppf2.person_id
    AND paf.effective_start_date BETWEEN ppf2.effective_start_date
    AND ppf2.effective_end_date
    AND ppf2.party_id = ppf.party_id) AS last_application,
    ppf.person_id, ppf.effective_start_date, ppf.effective_end_date,
    DECODE (vac.manager_id, :3, 'Y', 'N') AS my_applicants,
    vac.NAME AS vacancy_name, vac.vacancy_id, paf.assignment_id,
    (SELECT /*+ push_subq */
    MIN (pasf.effective_start_date)
    FROM per_all_assignments_f pasf
    WHERE pasf.assignment_id = paf.assignment_id) AS application_date,
    paf.effective_end_date AS assignment_end_date,
    ast.user_status AS application_status, ast.assignment_status_type_id,
    vac.status AS vacancy_status, mgr.full_name AS recruiting_manager,
    mgr.person_id AS recruiting_manager_id,
    mgr.effective_start_date AS effective_start_date1,
    mgr.effective_end_date AS effective_end_date1,
    rec.full_name AS recruiter, rec.person_id AS recruiter_id,
    rec.effective_start_date AS effective_start_date2,
    rec.effective_end_date AS effective_end_date2,
    ppf.per_information_category, ppf.per_information1,
    ppf.per_information2, ppf.per_information3, ppf.per_information4,
    ppf.per_information5, ppf.per_information6, ppf.per_information7,
    ppf.per_information8, ppf.per_information9, ppf.per_information10,
    ppf.per_information11, ppf.per_information12, ppf.per_information13,
    ppf.per_information14, ppf.per_information15, ppf.per_information16,
    ppf.per_information17, ppf.per_information18, ppf.per_information19,
    ppf.per_information20, ppf.per_information21, ppf.per_information22,
    ppf.per_information23, ppf.per_information24, ppf.per_information25,
    ppf.per_information26, ppf.per_information27, ppf.per_information28,
    ppf.per_information29, ppf.per_information30,
    FLOOR
    (irc_location_utility.sdo_miles (iwp.geometry, loc.geometry, 0.01)
    ) AS distance_to_location,
    loc.location_id, loc.derived_locale AS derived_locale1,
    doc.document_id, doc.file_name,
    NVL2 (doc.document_id, 'Y', 'N') AS previewenabled,
    inp.notification_preference_id, ppf.attribute_category, ppf.attribute1,
    ppf.attribute2, ppf.attribute3, ppf.attribute4, ppf.attribute5,
    ppf.attribute6, ppf.attribute7, ppf.attribute8, ppf.attribute9,
    ppf.attribute10, ppf.attribute11, ppf.attribute12, ppf.attribute13,
    ppf.attribute14, ppf.attribute15, ppf.attribute16, ppf.attribute17,
    ppf.attribute18, ppf.attribute19, ppf.attribute20, ppf.attribute21,
    ppf.attribute22, ppf.attribute23, ppf.attribute24, ppf.attribute25,
    ppf.attribute26, ppf.attribute27, ppf.attribute28, ppf.attribute29,
    ppf.attribute30, TO_CHAR (ROWNUM) AS rownumber,
    TO_CHAR
    ((irc_utilities_pkg.get_recruitment_person_id (ppf.person_id, :4))
    ) AS root_person_id,
    TO_CHAR
    (irc_skills_matching_pkg.vacancy_match_percent
    (irc_utilities_pkg.get_recruitment_person_id (ppf.person_id,
    :5
    vac.vacancy_id,
    :6
    ) AS match_percent,
    ppf.party_id, paf.effective_start_date AS assignment_start_date,
    pov.vendor_id, pov.vendor_name, regatmpt.attempt_id AS reg_attempt_id,
    TO_NUMBER (DECODE (regatmpt.raw_score, -1000, NULL, regatmpt.raw_score)
    ) AS reg_attempt_score,
    NVL2
    (regatmpt.mastery_score,
    DECODE (GREATEST (regatmpt.mastery_score, regatmpt.raw_score),
    regatmpt.raw_score, 'P',
    'F'
    NVL2 (fnd_profile.VALUE ('IRC_REGISTER_TEST'),
    NVL2 (inp.attempt_id, 'A', 'N'),
    NULL
    ) AS reg_attempt_status,
    aplatmpt.attempt_id AS apl_attempt_id,
    TO_NUMBER (DECODE (aplatmpt.raw_score, -1000, NULL, aplatmpt.raw_score)
    ) AS apl_attempt_score,
    NVL2
    (aplatmpt.mastery_score,
    DECODE (GREATEST (aplatmpt.mastery_score, aplatmpt.raw_score),
    aplatmpt.raw_score, 'P',
    'F'
    NVL2 (vac.assessment_id, NVL2 (iad.attempt_id, 'A', 'N'), NULL)
    ) AS apl_attempt_status,
    hrl.meaning, hrl.lookup_type, hrl.lookup_code,
    iad.assignment_details_id, iad.considered AS considered,
    vac.business_group_id,
    NVL
    ((SELECT iav.manage_applicants_allowed
    FROM irc_agency_vacancies iav
    WHERE iav.vacancy_id = vac.vacancy_id
    AND iav.agency_id = fnd_profile.VALUE ('IRC_AGENCY_NAME')),
    'Y'
    ) AS manage_applicants_allowed,
    DECODE (paf.source_type, 'ER', 'Y', 'N') AS referred,
    ircreferralinfoeo.start_date, ircreferralinfoeo.end_date,
    (SELECT meaning
    FROM hr_lookups
    WHERE lookup_code = ircreferralinfoeo.source_type
    AND lookup_type = 'REC_TYPE') AS sourcetype,
    DECODE (ircreferralinfoeo.source_type,
    'ER', (SELECT full_name
    FROM per_all_people_f
    WHERE person_id = ircreferralinfoeo.source_person_id
    AND SYSDATE BETWEEN effective_start_date
    AND effective_end_date),
    ircreferralinfoeo.source_name
    ) AS sourcename,
    ircreferralinfoeo.object_id, ircreferralinfoeo.object_type
    FROM per_addresses addr,
    per_phones phn,
    per_all_people_f ppf,
    per_all_assignments_f paf,
    per_all_vacancies vac,
    per_assignment_status_types_v ast,
    per_all_people_f mgr,
    per_all_people_f rec,
    irc_notification_preferences inp,
    hr_locations_all_vl loc,
    irc_documents doc,
    irc_search_criteria iwp,
    per_all_people_f irc_ppf,
    po_vendors pov,
    ota_attempts regatmpt,
    irc_assignment_details_f iad,
    ota_attempts aplatmpt,
    hr_lookups hrl,
    irc_referral_info ircreferralinfoeo
    WHERE irc_utilities_pkg.get_recruitment_person_id (ppf.person_id, :7) =
    irc_ppf.person_id
    AND :8 BETWEEN ppf.effective_start_date AND ppf.effective_end_date
    AND irc_ppf.party_id = ppf.party_id
    AND ppf.person_id = paf.person_id
    AND paf.assignment_type = 'A'
    AND paf.vacancy_id = vac.vacancy_id
    AND :9 BETWEEN paf.effective_start_date AND paf.effective_end_date
    AND paf.assignment_status_type_id = ast.assignment_status_type_id
    AND irc_ppf.person_id = doc.person_id(+)
    AND irc_ppf.person_id = phn.parent_id(+)
    AND phn.parent_table(+) = 'PER_ALL_PEOPLE_F'
    AND phn.phone_type(+) = 'H1'
    AND :10 BETWEEN NVL (phn.date_from(+), :11) AND NVL (phn.date_to(+), :12)
    AND vac.manager_id = mgr.person_id(+)
    AND :13 BETWEEN mgr.effective_start_date(+) AND mgr.effective_end_date(+)
    AND vac.recruiter_id = rec.person_id(+)
    AND :14 BETWEEN rec.effective_start_date(+) AND rec.effective_end_date(+)
    AND irc_ppf.person_id = inp.person_id(+)
    AND inp.person_id = addr.person_id(+)
    AND NVL (inp.address_id, DECODE (addr.address_type(+), 'REC', addr.address_id(+),
    -1)) = addr.address_id(+)
    AND :15 BETWEEN addr.date_from(+) AND NVL (addr.date_to(+), :16)
    AND loc.location_id(+) = vac.location_id
    AND doc.TYPE(+) LIKE '%RESUME'
    AND doc.end_date(+) IS NULL
    AND irc_ppf.person_id = iwp.object_id(+)
    AND iwp.object_type(+) = 'WPREF'
    AND :17 BETWEEN irc_ppf.effective_start_date AND irc_ppf.effective_end_date
    AND ( inp.agency_id = fnd_profile.VALUE ('IRC_AGENCY_NAME')
    OR fnd_profile.VALUE ('IRC_AGENCY_NAME') IS NULL
    AND inp.agency_id = pov.vendor_id(+)
    AND inp.attempt_id = regatmpt.attempt_id(+)
    AND paf.assignment_id = iad.assignment_id(+)
    AND :18 BETWEEN iad.effective_start_date(+) AND iad.effective_end_date(+)
    AND iad.latest_details(+) = 'Y'
    AND iad.attempt_id = aplatmpt.attempt_id(+)
    AND hrl.lookup_type(+) = 'VACANCY_STATUS'
    AND vac.status = hrl.lookup_code(+)
    AND paf.assignment_id = ircreferralinfoeo.object_id(+)
    AND SYSDATE BETWEEN ircreferralinfoeo.start_date(+) AND ircreferralinfoeo.end_date(+)
    AND ( 1 = 1
    AND (NVL (doc.document_id, 1) =
    NVL ((SELECT MAX (idoc1.document_id)
    FROM irc_documents idoc1
    WHERE idoc1.person_id = irc_ppf.person_id
    AND idoc1.TYPE IN ('RESUME', 'AUTO_RESUME')
    AND idoc1.end_date IS NULL
    AND idoc1.last_update_date =
    (SELECT MAX (idoc2.last_update_date)
    FROM irc_documents idoc2
    WHERE idoc2.person_id = irc_ppf.person_id
    AND idoc2.TYPE IN
    ('RESUME', 'AUTO_RESUME')
    AND idoc2.end_date IS NULL)),
    1
    and my where clause that i want to append to the existing one:
    and ppf.sex = 'M' and ppf.nationality = '1680'
    my processFormRequest function in my extended CO
    public void processFormRequest(OAPageContext pageContext,
    OAWebBean webBean) {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String genderValue = pageContext.getParameter("gender");
    String nationality = pageContext.getParameter("nationality");
    ViewObject personAplListVO = am.findViewObject("PersonAplListVO");
    String personAplListVOWhereClause = personAplListVO.getWhereClause();
    Object[] whereClauseParams = personAplListVO.getWhereClauseParams();
    String newWhereClause = "";
    //gender
    if (genderValue != null && !genderValue.trim().equals("")) {
    newWhereClause += " and ppf.sex = '" + genderValue + "'";
    //nationality
    if (nationality != null && !nationality.trim().equals("")) {
    newWhereClause += " and ppf.nationality = '" + nationality + "'";
    System.out.println("\n>>>>>>>>getQuery = " + personAplListVO.getQuery());
    System.out.println("\n>>>>>>>>newWhereClause = " + newWhereClause);
    if (!newWhereClause.equals("")) {
    personAplListVO.clearCache();
    personAplListVO.setWhereClause(null); // first set to null
    personAplListVO.setWhereClauseParams(null); // first set to null
    personAplListVO.setWhereClause(personAplListVOWhereClause +
    newWhereClause);
    personAplListVO.setWhereClauseParams(whereClauseParams);
    personAplListVO.executeQuery();
    // System.out.println(">>>>>>>>newWhereClause" +
    // personAplListVOWhereClause + newWhereClause);
    // System.out.println(">>>>>>>>getWhereClause" +
    // personAplListVO.getWhereClause());
    // System.out.println(">>>>>>>>getQuery = " +
    // personAplListVO.getQuery());
    any tips?
    thanks a lot

  • Can we change the ABAP QUERY exists in Global area

    Hi All,
    I have a requirement to  add new column in the ABAP query in layout for that I am changing a ABAP query ME80FN which is calling  infoset  /SAPQUERY/ME80FN  defined in the global area ( Environment->query areas->global area).
    1) Can I change this infoset and query
    or
    2) Do I need to follow any other steps.
    If I change the existing query in DEV can I transport this to production.
    Please clarify.
    Thanks,
    Jwala

    Yes. We can change the background of an input field. The way you do this is by editing the theme that webdynpro application uses. To edit the theme, you will need to install NWDS PLUS the theme edit plugin (Available for download from SAP).
    Once you have edited the theme, you will need to upload your theme back to application server. You can use the program : BSP_UPDATE_MIMEREPOS to do this.
    Bydefault, the theme used by webdynpro applications is :
    /SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow
    You can apply another theme by calling the webdynpro application with a theme parameter. For example, if my webdynpro application name is "zgopaltest", then
    <i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_tradeshow</b></i>
    will apply the sap_tradeshow theme.
    Likewise, you can apply diffrent theme. There is another theme that SAP provides. Its called : sap_hcb. Hence, you can apply the theme to the above application by:
    <i><b>http://<server>:port/sap/bc/webdynpro/sap/zgopaltest?SAP-EP-THEMEROOT=/SAP/PUBLIC/BC/UR/nw5/themes/sap_hcb</b></i>

Maybe you are looking for

  • How do I bounce tracks to multiple outputs at the same time

    Hi, I have more or less 30 to 40 stereo audio tracks routed to 4 stereo outputs and want to bounce these tracks in one bounce process, so that I get 4 stereo tracks. How do I do this? I know the different possibilities as bounce in place, the differe

  • Update user defined fields in MARA using bapi_material_savedata

    Hi, I have this problem: I am creating materials from a Z table filled by another application (not SAP). I am using the bapi "bapi_material_savedata" to create the materials and it is working fine. But now I need to fill user defined fields in the MA

  • Not able to load Material deltas

    Hi    I search the SDN forums for delta some suggested to make a init load then do a delta...But when I does that Init load was succesfully loaded with more than 5 lacks records, then I could see the init req in RSA7 too ! But when I create an infopa

  • How to find Backend tables for a reports in oracle iSetup

    Hi, We are planning to implement oracle iSetup for our client. Before that we would like to understand the functionality of iSetup in oracle Apps. Also from where the report is getting the data. I mean How is data collected from the backend tables? H

  • Best Practice Using Data Access Object Pattern

    I was wondering what would be the best approach with regards to implementing the Data Access Object pattern: Given the following database tables: teacher {teacher_id, teacher_name, ...} subject {subject_id, subject_name, ...} teacher_subject {teacher