Change table data without tabular report

Hi,
I am very new the APEX, and PL/SQL for that matter, but hope this is not too newbie.
I am trying to make a page with a report where I can change table values by ediiting text in report columns. I have tried to use tabular report but since my source pl/sql includes a search etc I am not able to write SQL which is accepted as SQL updatable report.... this is my source which works with search:
declare
q varchar(32767);
begin
--Search with no text
if(:p1_report_search IS NULL) then
q := 'select * from tpd_delivery_detail';
--Search According to criteria
else
q := 'select *
from tpd_delivery_detail
where upper(trim(:p1_report_search)) '||:P1_OPERATOR||' upper(trim('||:p1_in||')) ';
end if;
return q;
end;
So my first question is if it is possible to write this as SQL updatable report, and if how?
Then I have a process which start when a button is pressed which is:
declare
l_colA tpd_delivery_detail.status%TYPE;
l_colB tpd_delivery_detail.usr_comment%TYPE;
begin
for i in 1..apex_application.g_f01.count
loop
select status
, usr_comment
into l_colA
, l_colB
from tpd_delivery_detail
where id = apex_application.g_f01(i);
if l_colA != apex_application.g_f12(i) or l_colB != apex_application.g_f13(i) then
update tpd_delivery_detail
set status = apex_application.g_f12(i), usr_comment = apex_application.g_f13(i)
where id = apex_application.g_f01(i);
end if;
end loop;
end;
In the process I try to to see if any of the two updatable columns are changed and needs updating, and if so update. Here my problem is the apex_application.g_f01(i) which when i is a number refering to the row...cant get the apex_application.g_f01(i) to refer to the data in the report.
My question is how I can use the apex_application.g_f (suspect you can only use for tabular report) or if there is another easy way to do the updates I want?
Best regards
Alex

Is it common to implement TDMS without scrambling sensitive data? => This depends on the customer situation , if you feel that you have very sensitive data in sender system and do not want to expose this data to users in receiver system , then for sure scrambling is the way else leave it .
Or to change table auth groups in one system and not in another?=> I do not understand the need of doing this , can you elaborate a bit more .

Similar Messages

  • To change table data runtime when dropdown item is changed

    Hi,
    I have two ui elements(Dropdown by index and table) in single view .
    I need to display table as per drondown index item selection. Means i have to change table data runtime when dropdown item is changed.Please help me in that .Please provide code for same.
    Regards,
    gurprit Bhatia

    Hello gurprit Bhatia,
    On the view create a new action. Fill only the Name and Text and leave the other items default.
    In this event you can populate the table fields.
    Bound this newly created action (event) to the onSelect property of the 'DropDownByIndex'.
    Regards,
    Patrick Willems

  • How to display table data without  using ALV  and table element.

    Hi,
            Its possible to display table data without using ALV  and table element.
           Every time i am fetching data based on (customer,status) fields and displaying these data in my output using alv
           (every time i am fetching single row data ),
           But problem is alv occupying more space in the output , i want to display data part only i dont want field names,
           settings and header data etc..things.
          Give solution to  display data part..
    Regards,
    Rakhi.

    Hi,
    Does you mean that you need ALV without default Function Toolbar...? If this is the case, the easy solution would have been to use Table Element rather. But, if you need to use ALV only without Function Toolbar, you can do away with that as well.
    In that case, after calling GET_MODEL, you need to add few more lines of codes to achieve your goal. Those lines are --
      DATA LV_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
        LV_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    * Standard Filter Function setting to FALSE
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_FILTERLINE_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_DISPLAY_SETTINGS_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_HEADERCLICK_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_HIERARCHY_ALLOWED( ABAP_FALSE ).
    * Standard Filter Function setting to FALSE Ends
    Here as you can easily notice that LV_VALUE is instantiated on CL_SALV_WD_CONFIG_TABLE. Now, using this LV_VALUE, you set standard functions as False to dis-allow their display.
    Hope this answers your query.
    Thanks.
    Kumar Saurav.

  • Change default date format of reports data source

    Hi all,
    I need to convert an ugly EBS standard charactermode report (Oracle Reports) into the Xml-Publisher format. I'd like to use the existing report as the xml data source as all data is available in the old report.
    The problem is that the date format used by reports is determined by NLS_DATE_FORMAT (et al). This date format unfortunately is not xml compliant (dd.mm.yyyy in our case) and so Xml-Publisher date related features (e.g. sort by date) will not work .
    The report/template is submitted via the submit concurrent request form.
    Is there a way to make the underlying reports produce xml conformant dates without resorting to wild substring operations in the template or changing the EBS standard report?
    Thanks
    Christoph

    RajaramanV wrote:
    Can i change the nls parameter of a particular column(date field) in a table?if i set that it is apllied to all the tables in the database..No. Please understand that all dates, in all tables are stored in the same, oracle-defined, format. NLS_date_format affects how that internal date is converted to a character string for presentation to humans, or how to interpret a character string (received ,ultimately, from a human) for conversion to that internal format. It (NLS_DATE_FORMAT) can be set at several levels, but table/column is not one of them.
    Please read the link I posted in my earlier response. It will clear up your confusion.
    Edited by: EdStevens on Feb 1, 2012 6:55 AM

  • R/3 table data for BI reporting ?

    In R/3 i have a table and I want to take the complete table data into SAP BI system for reporting .
    In how many ways can I take the data to sap BI system.
    In how many ways I can make use of that table for reporting in BI
    please suggest me some .

    Hi,
    You have to create a generic datasource based on this table (if no Bi content is supported)
    You can direct assign this (1)table for generic datasource is it a transparent table.
    or u can create a (2) view based on this table then use that view for the datasource
    or u can create an (3) Infoset query on this table
    or u can create a (4)function module to extract its data..
    Its more simple to create a generic datasource based on 1 option
    Then u have to create a data target(info cube/DSO)  for this generic datasource and create report on this data target.
    you can search the forum for generic datasource creation.
    Hope this helps and ask if further question are there
    Sonal.....
    Edited by: Sonal Patel on Aug 14, 2008 12:52 PM

  • Table Data on Letter Report

    Hello Guys,,
    How are you all ?
    i have a Letter type report, on which i am printing Data with totals in between M_BODY1 AND M_BODY2.
    :M_DATE := SYSDATE;
    :M_REF := 'HRA/SR/ ';
    :M_TO := 'Chief Executive Officer';
    :M_FROM := 'Chairman';
    :M_SUBJECT := 'Loan Summary for ';
    :M_BODY1 := 'The Loan Scheme Committee has reviewed the following Loan applications .....';
    <+table data starts here....+>
    whats happening is when the data rows goes on to 2nd page, then on the 2nd page the top space
    reserved for from M_DATE AND M_BODY1, remains blank. and the remaining rows are printed leaving so many space.
    i want on the 2nd page the data to start print from top.
    The property for all fields from M_DATE and M_BODY1 is set to "+First Page and Enclosing Object+"
    :M_BODY2 := 'I seek your approval on the above for total amount of US$ 316,854.64 as recommended by the Committee of the Loan scheme.';
    :M_PREPARED_NAME := 'R A S';
    :M_PREPARED_DESIG := 'Housing Loan Administrator Secretary';
    :M_APPROVED_NAME1 := 'Y A H';
    :M_APPROVED_DESIG1 := 'Chairman, Loan Committee';
    :M_APPROVED_NAME2 := 'A A. A K';
    :M_APPROVED_DESIG2 := 'Cheif Executive Officer';
    Also, if after printing the data upto M_BODY2, i want all the Fields from M_PREPARED_NAME upto M_APPROVED_DESIG2 to be always printed together. Suppose if on the last page theres only space left
    for M_PREPARED_NAME or M_PREPARED_DESIG, I want all to be printed on the fresh page..
    Kindly help solve this.
    I am using Report 6i, DB oracle10g
    some URL of my problem;
    http://www.flickr.com/photos/41671539@N05/4445208242/
    http://www.flickr.com/photos/41671539@N05/4445208430/
    http://www.flickr.com/photos/41671539@N05/4445208570/

    Hi,
    You need to do somethings with fields and frames.
    1. For the top fields...
    :M_DATE := SYSDATE;
    :M_REF := 'HRA/SR/ ';
    :M_TO := 'Chief Executive Officer';
    :M_FROM := 'Chairman';
    :M_SUBJECT := 'Loan Summary for ';
    create one main frame and in keep all these fields inside that frame and frame printing property keep "FIRST PAGE"
    and "VARIABLE".
    Keep the body1 and body2 as it as...
    for the below fields
    :M_PREPARED_NAME := 'R A S';
    :M_PREPARED_DESIG := 'Housing Loan Administrator Secretary';
    :M_APPROVED_NAME1 := 'Y A H';
    :M_APPROVED_DESIG1 := 'Chairman, Loan Committee';
    :M_APPROVED_NAME2 := 'A A. A K';
    :M_APPROVED_DESIG2 := 'Cheif Executive Officer';
    create one main frame and place all these felds in that frame nad printing property keep "LAST PAGE" and there is one property call "Page Protect" keep this property to YES.
    then it will work...
    Regards
    -Ammad

  • Is it possible to change Reloaded data in Achiving report with SARA

    Hi All,
    I am trying to create Archiving report (Write, Delete, & Reload).
    I am using SARA transaction.
    I want to know if i delete the acrhived data, and again i reloaded into the DataBase.
    I was trying to change reloaded data, but it is giving error msg.
    So, Is it possible or not?
    Thanks & Regards,
    Ranveer.

    Which OIM version are you using ?
    If 10g then you can set Object permissions for Form
    If OIM 11g, Not possible in current release. You can achieve in some other way.
    Workaround:
    You have a field say "ROLE" on Request Dataset
    End User will select value for ROLE while raising request.
    Create one more field say "APPROVER ROLE". It would be "approver-only" field (It is a property in Request Dataset"
    If approver wants to change some data then he'll select some value in "APPROVER ROLE" field.
    In you approval workflow you can handle if "APPROVER ROLE" is not NULL then use this field else use ROLE field.
    It is just a wrokaround.

  • Won't let me change DD date without paying for ser...

    I checked before signing up with BT Sport and was told I could set my DD date. This was important as I don't get paid until 23rd and needed money to go out after this date. I signed up for BT Sport in HD through sky digital.
    I was given no option to set my DD date and they have set it for 18th. I have no option to change it online.
    So I rang them up. After THREE HOURS I finally got through only to be told the only way to change DD date was to go on to monthly payment plan. I agreed to this, only to then be told I had to pay for phone and broadband as well to take advantage of this plan. Even though I don't have either. They're with sky.
    So I tried to go through to cancellations but after an hours wait I gave up
    What can I do?

    Can no-one help me? Do I REALLY have to pay for phone and broadband without getting it, just to change my DD date?

  • Can we change the date/ime of report while uploading in Enterprise?

    Hi, We are on BOXI R2 SP3 using IIS as web app servers on windows server 2003. We are using .NET SDK to integrate BOXI with custom application. We store report in custom application and don't load in BOXI until someone tries to run it. During run we will check if the version present ( date and time) in BOXI is later than our application or not. If no this means BOXI has older version and we will upload new version from Application into BOXI enterprise.
    For the reason we are using date/time to verify version therefore we want BOXI to store the date/time of the actual report not the date/time when it was uploaded in BOXI.
    Does anyone has any idea if we can change it or correct it for first time loading?
    Thanks,

    I don't think that the date/time last modified is accessible.  You could use the SummaryInfo of the report to maintain this information yourself.  This is part of the RAS SDK.  There is a comments section available that you could use for this.

  • Filter table data without calling BAPI

    Hi all,
    How I can filter VC table without calling BAPI or other backend? The objective is to bring a large data only once and allow to user filtering of this data.
    The problem is that the filter options are dynamic so I can't use "hidden tables" workarownd.
    Any ideas?
    Thanks,
    Ola

    Hi,
    I think this is not possible, because you can only filter the data once with the filter element. If you use a BI query you can use filters. Maybe you can bring the data to a hidden table and get the data again from this table with different filter elements resp. dynamic filter values, but I think this is very tricky and not a good solution.
    Best Regards,
    Marcel

  • Howto change the date format in reports ??

    Hello
    i'm working in Oracle Reports in Oracle Applications.
    How can i convert date from 2008/3/28 to 28-MAR-2008
    Regards
    Fahad Hameed

    Hii everybody
    Just to add in
    Here is the sql line date line that i'm intrested in converting to the above format.
    SUBSTR(PAC.SEGMENT11,0,10) AS "LETTER RECIEVED DATE",
    Below is my complete SQL for a simple report i'm developing.
    SELECT DISTINCT
         PAPF.PERSON_ID AS "PERSON_ID",
    PAPF.EMPLOYEE_NUMBER AS "EMP NO",
    PAPF.FIRST_NAME||' '||PAPF.MIDDLE_NAMES||' '||PAPF.LAST_NAME AS "EMPLOYEE NAME",
         PAC.SEGMENT1 AS "VERIFICATION TYPE",
    PAC.SEGMENT2 AS "ACADEMIC CERTIFICATES",
         PAC.SEGMENT3 AS "BOARD / INSTITUTES",
         PAC.SEGMENT4 AS "ADDRESS",
    --'TEL / CELL '||' '||PAC.SEGMENT5||' '||' FAX '||' '||PAC.SEGMENT6||' '||'EMAIL '||' '||PAC.SEGMENT7 AS "CONTACT",
         PAC.SEGMENT5 AS "PHONE NO",
         PAC.SEGMENT6 AS "FAX",
         PAC.SEGMENT7 AS "EMAIL",
         PAC.SEGMENT8 AS "CITY",
         SUBSTR(PAC.SEGMENT9,0,10) AS "LETTER SENT DATE",
         PAC.SEGMENT10 AS "VERIFICATION STATUS",
         SUBSTR(PAC.SEGMENT11,0,10) AS "LETTER RECIEVED DATE",
         PAC.SEGMENT12 AS "REMARKS / FOLLOW UP"
    FROM
    PER_ALL_PEOPLE_F PAPF,
         PER_ALL_ASSIGNMENTS_F PAAF,
    HR_ALL_ORGANIZATION_UNITS HRAOU,
         PER_PERSON_ANALYSES PPA,
         PER_ANALYSIS_CRITERIA PAC,
         APPS.FND_ID_FLEX_STRUCTURES FIFS
    WHERE HRAOU.ORGANIZATION_ID = PAAF.BUSINESS_GROUP_ID
    AND PAPF.BUSINESS_GROUP_ID=3788
    AND PAPF.EFFECTIVE_END_DATE=TO_DATE('31/12/4712','DD/MM/RRRR')
    AND PAAF.EFFECTIVE_END_DATE=TO_DATE('31/12/4712','DD/MM/RRRR')
    AND PAPF.CURRENT_EMPLOYEE_FLAG='Y'
    AND PAAF.ASSIGNMENT_TYPE='E'
    AND PPA.ANALYSIS_CRITERIA_ID=PAC.ANALYSIS_CRITERIA_ID
    AND PAPF.PERSON_ID=PPA.PERSON_ID
    AND FIFS.ID_FLEX_NUM=PAC.ID_FLEX_NUM
    AND FIFS.STRUCTURE_VIEW_NAME ='EDUCATIONAL VERIFICATION'
    AND PAPF.EFFECTIVE_START_DATE between FND_DATE.date_to_chardate(:From_Date )And FND_DATE.date_to_chardate(:To_Date)
    AND PAC.SEGMENT1=:P_VERF_TYPE
    AND PAC.SEGMENT10=:P_VERF_STATUS
    Regards
    Fahad Hameed

  • How to do import of only table data without procedures and synonyms

    Hello All,
    I want to import only the tables of one database to a new database. I did a table level export of one schema. But along with it the stored procedures,synonyms, views etc are exported. Is there any way to stop them. Or is it possible to import only the tables from the dump created?
    Regards
    Satish

    Hi Maran,
    Thanks for the feedback. I think I didnot specify the parafile with the table list while exporting. I am redoing it now. I shall update this post within 20 minutes.
    Regards
    Satish

  • Af:Table data refresh without calling ManagedBean constructor

    Hi,
    I have an adf application jspx page where I have af:selectOneChoice and af:table showing default data. On selecting af:selectOneChoice value (assigned, completed etc.) I am calling managed bean method which calls task flow client api which gets the task details based on af:selectOneChoice value and show in the adf table.
    When ever I change the af:selectOneChoice value, first it is callling 'valueChanged(ValueChangeEvent valueChangeEvent)' method in managed bean and able to get the records based on filter value(Example: Assigned). Issue is immediatly after that Managed bean constructor also calling which overrides the previous query and get the records based on default filter value (Example: All).
    here is <af:selectOneChoice & <af:table code:
    <af:selectOneChoice id="rsoc" autoSubmit="true"
    binding="#{backingBeanScope.backing_taskdetails.rsoc}"
    label="Status" valueChangeListener="#{backingBeanScope.backing_taskdetails.valueChanged}">
    <f:selectItem itemValue="A" itemLabel="All" />
    <f:selectItem itemValue="AG" itemLabel="Assigned" />
    <f:selectItem itemValue="C" itemLabel="Completed" />
    </af:selectOneChoice>
    <af:table emptyText="#{bindings.taskList.viewable ? 'No data to display.' : 'Access Denied.'}"
    var="row" columnStretching="multiple"
    value="#{backingBeanScope.backing_taskdetails.taskList}"
    immediate="false" rowSelection="single"
    binding="#{backingBeanScope.backing_taskdetails.t1}"
    id="t1"
    inlineStyle="font-family:Arial, Helvetica, sans-serif; border:0pt none; "
    partialTriggers="::rsoc">
    Here partialTriggers is invoking managed bean. So Can I refresh only table data without calling managed bean constructor on selection of <af:selectOneChoice?
    Any inputs will be highly appreciated. Thanks.

    Hi,
    Thanks for your reply.
    here it is my adfc-config.xml file.
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <managed-bean id="__2">
    <managed-bean-name id="__3">backing_test</managed-bean-name>
    <managed-bean-class id="__4">view.backing.Test</managed-bean-class>
    <managed-bean-scope id="__1">backingBean</managed-bean-scope>
    <!--oracle-jdev-comment:managed-bean-jsp-link:1test.jspx-->
    </managed-bean>
    </adfc-config>
    I am not using adf taskflow (Should I use this, I am not sure as I am new to ADF. Please suggest). My execution flow is I have 'Human Task SOA application' which I am calling from adf application (managed bean --> workflow cllient API --> Human Task SOA Application) and showing task details in cutom UI screens. I do not want to use BPM worklist application as I need my own screens.
    thanks.

  • Changing date format at reporting level

    Hello,
    Will u plz tell me how can i change the date format at reporting level?
    I want to display date in dd/mm/yyyy, but by default its showing mm/dd/yyyy.
    Delta is already loaded in the system, so i don't want to disturb regular data loading.
    Is there any way so that i can change the format of date.
    Plz help me out.
    Thanks,
    Regards,
    Steve

    Hi steve
    There r so many postings on the same topic
    go through these previous threads
    date format
    Date format
    u can find solution
    regards
    Ravi Kiran

  • BADI ME_PROCESS_PO_CUST for changing header data

    Hello Experts,
    I'm using Method PROCESS_HEADER in Badi ME_PROCESS_PO_CUST in order to change some header data.
    I want to change header data depending on the partner data which are on header level.
    It works fine as long as there are data changed in the header or item level and not only on the partner screen.
    The method in this Badi isn't processed if only partner data are changed. But for me it is necessary to set a special field on the header depending on the partner data.
    Regards,
    Sven

    Hi,
    Firstly, for changing Header data without any INSERT/UPDATE?MODIFY statement, badi - ME_PROCESS_PO_CUST  will not be useful.
    As method you mentioned has no header parameters under CHANGING / EXPORTING clause.
    You can use the badi which has the parametrs you want in either change/ Export mode. It can be defined under table also.
    Below is the list of important badis gettign called, however none of them contains header values in change/export clause.
    ME_CCP_ACTIVE_CHECK
    MD_STOCK_TRANSFER
    ME_DEFINE_CALCTYPE
    ME_PO_PRICING
    ME_FIELDSTATUS_STOCK
    ME_COMMITMENT_STO_CH
    ME_COMMITMNT_PARKING
    ME_INFOREC_SEND
    ME_CHECK_SOURCES
    ME_PURCHDOC_POSTED
    Instead you can use enhacement MM06E005  Customer fields in purchasing document.
    Create a project under Transaction CMOD.
    Assign enhancement as Project component.
    You'll find Exit 012. At time of save you can change header im_ekko based on you parterner data tab.
    Regards,
    Amee.

Maybe you are looking for

  • How can I load Tiger os (DVD) into an iBook g4 that has a CD drive?

    Hi there, I just bought an iBook off e-bay with no os.  I have Tiger on a DVD but the iBook has CD drive.  You see my problem here. Thanks in advance, Mike

  • Letter of Credit in sales cycle

    Hello experts, I have the following scenario: Apart from the Invoice Document I need to give to the customer some Letter of Credits (LOC)  that represent the 100% of the invoice value. The customer will pay the letter of credit, not the invoice. So I

  • Can I get a PDF doc off my MBP onto my iPhone without emailing?

    I apologize in advance if this has been asked and answered. I'm currently stuck with the Edge Network as my sole Internet connection. Searching for my answer is just beyond my patience at the moment. I'm thrilled to have connectivity at all, however!

  • Microsoft.XMLHTTP with C at a flights Database

    In Oracle DB there's a way to convert XML file, and to do it with C++ ? I need to get DB of flights, I've checked a site with data on flights to israel from company named ARKIA and in the source code it says "Microsoft.XMLHTTP". means I can talk with

  • 13'' dual-core with 16gb ram vs 15'' quad-core 8gb ram -- ram vs cores?

    Hello.  I am at a point between choosing a 13'' dual-core i5 with 16gb ram vs the 15'' quad-core with 8gb ram - both retinas. I will be using photoshop and illustrator while uploading/downloading large files constantly.  After much headscratching I a