Question: using links in report to copy data into form for update

Hi there,
I have a report that selects data from one a table, and i want to populate a form to update the report info and more info that a user will enter into another table. With alot of help I have managed to get the first 3 column fields across by editing the report link, under report attributes -> column link. The values of Item 1 to Item 3 work fine, but how do i get the rest of the info in the other 5 columns across??
regards

I think you're trying to reinvent the htmldb wheel.
Have you tried looking at the wizards that help you do this?
Anyway, as an example, to populate the form using the pk
1: create your items on the page, including the PK
eg P2_EMPNO (PK), P2_ENAME, P2_SAL,P2_DEPTNO
2: create a page process "on load" that runs if the PK item is not null
begin
select ename,sal,deptno
into :P2_ENAME,P2_SAL,P2_DEPNTO
from emp
where empno = :P2_EMPNO
end;
3: You now need to write a process that does an update
after submit
begin
update emp
set ename = :P2_ENAME,
sal = P2_SAL,
deptno = :P2_DEPTNO
where empno = :P2_EMPNO;
end
You need to consider how to handle new rows, optimistic locking and a few other things.
I would suggest that you have a look at the existing form wizard that does all this for you. We can then work around any "limitations" you find.
Chris

Similar Messages

  • Loading complex report data into a direct update DSO using APD

    Dear All,
    Recently, I had a requirement to download the report data into a direct update DSO using an APD. I was able to perform this easily when the report was simple i.e it has few rows and columns. But I faced problems If the report is a complex one. Summing up, I would like to know how to handle the scenarios in each of the following cases:
    1.   How should I decide the key fields and data fields of the direct update DSO ? Is it that the elements in ROWS will go to the
          key fields of DSO and the remaining to the data fields? Correct me.
    2.   What if the report contains the Restricted KFs and Calculated KFs? Do I have to create separate infoobjects in the BI
          system and then include these in the DSO data fields to accommodate the extracted data ?
    3.   How do I handle the Free Characteristics and Filters ?
    4.  Moreover, I observed that if the report contains selection screen variables, then I need to create variants in the report and
         use that variant in the APD. So, if I have 10 sets of users executing the same report with different selection conditions, then
         shall I need to create 10 different variants and pass those into 10 different APDs, all created for the same report ?
    I would appreciate if someone can answer my questions clearly.
    Regards,
    D. Srinivas Rao

    Hi ,
    PFB the answers.
    1. How should I decide the key fields and data fields of the direct update DSO ? Is it that the elements in ROWS will go to the
    key fields of DSO and the remaining to the data fields? Correct me.
    --- Yes , you can use the elements in the ROWS in the Key fields,  but in case you get two records with same value in the ROWS element the data load will fail. So you basically need to have one value that would be different for each record.
    2. What if the report contains the Restricted KFs and Calculated KFs? Do I have to create separate infoobjects in the BI
    system and then include these in the DSO data fields to accommodate the extracted data ?
    Yes you would need to create new Infoobjects for the CKF's and RKF's in the Report and include them in your DSO.
    3. How do I handle the Free Characteristics and Filters ?
    The default filters work in the same way as when you yourself execute the reoprt. But you cannot use the Free characterisitics in the APD. only the ROWS and cloumns element which are in default layout can be used.
    4. Moreover, I observed that if the report contains selection screen variables, then I need to create variants in the report and
    use that variant in the APD. So, if I have 10 sets of users executing the same report with different selection conditions, then
    shall I need to create 10 different variants and pass those into 10 different APDs, all created for the same report ?
    --- Yes you would need to create 10 different APD's. Its very simple to create, you can copy an APD. but it would be for sure a maintance issue. you would have to maintain 10 APD's.
    Please revert in case of any further queries.

  • Using Fields in Reports with stored Data

    Hello,
    i like to use fields in Reports with saved Data in it.
    Is this possible ?
    Example:
    A Invoicereport with saved Data  in a File. Now i like to get the Field Invoice_ID to use this in VB.net.
    Any Idea ?
    VS2008 with CR_reports in 8.5
    Thanx

    You wrote:
    Example:
    A Invoicereport with saved Data in a File. Now i like to get the Field Invoice_ID to use this in VB.net.
    You can export a report with saved data and then change the filtering without hitting the DB again. If you are asking if using a flat file as the data source there are multiple ways to do this. Define an ODBC data source to the file and specify the sturcture, or using ADO.NET and a record set, or using XML as the data source. Lots of ways in newer versions of CR. 8.5 was limited so the ODBC example is your best option.
    Or if you are asking how to get the data from the report you can use REadRecords. Not sure if 8.5 has this functionality though. It's way past it's end of life so I can't look.
    You wrote:
    VS2008 with CR_reports in 8.5
    Not supported, 8.5 has no .net assemblies and no RDC, only option would be to use RAS to make changes or reading records so you need to upgrade.

  • My iPod touch doesn't show up in my macbook desktop. This prevents me from copying data into it. What can I do? It does however show up in itunes so that is not a problem.

    My iPod touch doesn't show up in my macbook desktop. This prevents me from copying data into it. What can I do? It does however, show up in itunes so that is not a problem. Only started happening after I got mountain lion. If that helps.
    Thanks in advance.

    I want to use it as a storage drive and add some files to it. Like so, http://support.apple.com/kb/ht1478

  • How to upload data into form of Oracle EBS R12 using ATS ver 9.0

    Hi experts,
    Could you please guide me how to upload data into form on Oracle EBS R12 using Oracle Application Testing Suite verson 9.(The simpliest way)
    For example: I need to create user account on Oracle EBS. Normally, I use Dataloader to upload the data, however it just can upload one by one record, cannot upload multi record at same time. Moreover if the performance of server is low, so I will get the issue when using dataloader.
    Thanks in advance
    Best Regards
    Hieu

    Hi you can create Virtual users to enter data. Note than you have to name the objects accordingly.
    For Example default recording provided by Open script is ObjectNAME_(Index No of the object).
    when you record one iteration the name of any object would be ObjectNAME_(0)
    You can then create virtual users so the index will increment as the total number of Virtual users increases. Also you have to handle which row of your test data would get mapped to which Virtual user in the script run session.
    Thanks

  • Print link on report shows 'no data found' when LOV has not been used

    Hi all,
    I have a simple standard report that queries data based on the value in a Select List. This Select List allows users to pick a year for the report. The LOV has a default of TO_CHAR(SYSDATE,'YYYY').
    If I open the page using the associated Tab everything wotks OK. However, if I open the page via a button on my home page, the prink links fails:
    The page opens OK, the select list defaults OK and the report shows the correct data. However, if I click on the 'Download as CSV' or 'Print' links I get 'no data found'.
    If I update the LOV to 2010 everything works. If I set it back to 2009 evenrything works. I just cant get it to work when I open the page.
    I have tried adding computations to get this to work, but this does not seem to help.
    Any ideas?
    Thanks,
    Martin

    Hi,
    It would depend on what has been added, if anything, to the redirect. The redirect should just function as though you had typed in a URL into the address bar and pressed Enter. The page doesn't get submitted, so any data entered onto the page itself is, unless it is already in session, lost. A button, however, should submit the page and Apex will store all values in the session. So, if the value you need for the LOV is from the previous page, then this is the preferred method - but, note, that the redirect can also store values provided the page item name and the value is included in the redirect's URL string
    Andy

  • How can i use link in report to go to new page with parameters??

    Hello
    I've created a report and have added a link (to a html url) to one of the columns. Whenever i click that column in a row, a new page appears. At this moment this page is static. However, i want to show the details of the selected row in the report. This means that somehow i have to pass a parameter to the second page with the primary key of the selected report row.
    Is there any way to do this?
    Thanx
    Ben

    You can do this using SQL based reports.
    Here is an example
    select ''||empno||'' emplink,ename
    from SCOTT.EMP
    Here the link "http://forums.oracle.com/forums/message.jsp?id=" takes a parameter whose value is the empno.
    In the column formatting section of SQL reports you should display this column as HTML and not TEXT.

  • Does Mac have a tool similar to snippy or snagit? Do not use Windows. Need to copy data off archived online newspapers.

    Does Mac have a tool similar to snippy or snagit?
    I do not have Windows.
    Need to copy data off archived online newspapers. Unable to do so with screenprint, etc.
    Heard windows has a tool called Snippy, looked at Snagit, but read free download agreement and it reads a bit 'fishy', as the download is only free for 30 days, etc and it talks about fees etc. 

    Mac does have two utilities:   Snagit for Mac and LittleSnapper.  There are a few others.  Snag it for mac is just a better "clippings" thing.  It will not scan your image.  There are OCR products available for Mac which might be able to take your clipping document and scan it back to text.
    Snagit Mac is here:  http://www.techsmith.com/snagit-mac-features.html
    To see OCR stuff do a google search for:  Mac OCR Software
    And you'll get quite a few.

  • Extracting/Reporting on SEM data into BW

    Hi Experts,
    I have new requirement of reporting on SEM-PDCE.
    For this I have to fetch data of SEM PDCE into BW.
    Can you please provide me links or steps how to do that.
    I hve never work in SEM.
    IF anybody has documents relating to SEM or SEM PDCE or extraction of SEm data into BW, please mail me at
    [email protected]
    Please help me out in this..
    THanks in advance
    Sorabh

    Hi Sorabh,
    Here is the extract from sap site.
    SAP Strategic Enterprise Management (SAP SEM) delivers end-to-end capabilities to support the entire performance management life cycle
    this has following facilities:
    Business planning and simulation -- Capabilities for strategic planning, financial statement planning, and investment planning enable you to update budgets more frequently, meet changing business conditions, and combine traditional, bottom-up budgeting with top-down strategic planning. SAP SEM also encourages a more collaborative budgeting and planning process -- while helping you integrate and align strategic, operational, and financial plans.
    Business consolidation -- Capabilities for currency translations, automated eliminations, and performance calculations support financial reporting standards required for consolidations, such as U.S. and local Generally Accepted Accounting Principles (GAAP) and International Accounting Standards (IAS). SAP SEM also helps you implement management consolidations based on user-defined organizational units and user-defined hierarchies.
    Strategy and performance management -- SAP SEM helps you translate strategies and objectives into meaningful plans for every segment and department of your enterprise. Capabilities for use of the Balanced Scorecard, value-based management, and risk management enable business users to make proactive decisions and understand how individual functions or organizations are contributing to the broader corporate strategy.
    Stakeholder relationship management -- SAP SEM provides support for communicating enterprise strategy, current plan data, and strategic initiatives to the different stakeholder groups. Capabilities for portal-based investor polling and information collection, as well as analysis and modeling of stakeholder feedback, facilitates the two-way communication needed to incorporate stakeholders into strategic management processes.
    link to documentation
    http://help.sap.com/saphelp_sem40bw/helpdata/en/3a/c670373bbf0303e10000009b38f842/frameset.htm
    Also go through these links.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap%20bw%20business%20planning%20and%20simulation%20-%20how%20to%20guides%20list.htm
    https://websmp202.sap-ag.de/sem
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/enhancements%20bw-bps%20formerly%20sem-bps%20in%20sapnetweaver%2004.ppt
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d90209f-0501-0010-59a2-9243ac94a4d7
    Also there are some good threads on this topic
    what is the difference between BW 3.5 BPS and SEM BPS 4.0
    BW- BPS and SEM- BPS
    SEM-BPS VS BW-BPS
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap%20bw%20business%20planning%20and%20simulation%20-%20how%20to%20guides%20list.htm
    https://media.sdn.sap.com/public/eclasses/teched04/BW253_files/Default.htm#nopreload=1
    https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/3040dd5d-0501-0010-baa8-fc0aafa88c40 [original link is broken]
    http://help.sap.com/bp_biv235/BI_EN/html/BW/CostCtrPlan.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/enhancements%20bw-bps%20formerly%20sem-bps%20in%20sapnetweaver%2004.ppt
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d90209f-0501-0010-59a2-9243ac94a4d7
    http://help.sap.com/saphelp_nw04/helpdata/en/05/242537cedf2056e10000009b38f936/frameset.htm
    http://help.sap.com/bp_biv335/BI_EN/html/BW/CostCtrPlan.htm
    http://help.sap.com/bp_biv335/BI_EN/html/BW/SalesPlan.htm
    Re: SEM 5.0 Installation guide
    Re: Merge an SEM-BPS System to BW System
    SEM/BW integration into Enterprise Portal?
    SEM 4.0 with BW 7.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
    Re: SEM vs BW
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/b21f98be886a45a4bb7e123e86e4c2/content.htm
    Re: SEM 5.0 Installation guide
    Re: Merge an SEM-BPS System to BW System
    SEM/BW integration into Enterprise Portal?
    SEM 4.0 with BW 7.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
    Re: SEM vs BW
    ***pls assign points,if links are useful**
    Regards
    CSM Reddy

  • Using bapi how to upload the data into sap database?

    hi dear all,
                  im facing problem with bapi ? let me edcuate on bapi ..
    i will be  waiting for reply.
    my e-id :[email protected]
    thanks&regards
    shiva.

    Hi
    A BAPI is a method of a SAP Business Object. BAPI enables SAP and third party applications to interact and integrate
    with each other at the Business Object / Process level.
    Check this link to know more about BAPI.
    http://www.sapgenie.com/abap/bapi/example.htm
    http://sappoint.com/abap/
    Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3. BDC is not a
    typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is not bi-directional.
    BDC works on the principle of simulating user input for transactional screen, via an ABAP program. Typically the input comes in the form
    of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The
    transaction is then started using this internal table as the input and executed in the background.
    In ‘Call Transaction’, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.
    It can also be used for real-time interfaces and custom error handling & logging features. .
    To know more about BDC,
    check the link.
    http://sappoint.com/abap/
    Main differences are...
    In case of bdc data transfer takes place from flat file into sap system ie the file existing in sap system to sap sytem
    where is bapi's r remotly enabled function modules which are assigned to some business objects n used to transfer the data between different business partners who are using different systems other than sap.
    not only that...
    when you plan to upgrade your system version then bdc willnot support those upgradations where as bapi's will support.
    http://www.sap-img.com/abap/ale-bapi.htm
    SAP BAPI
    BAPI STEPS
    Hope this helps.
    ashish

  • How to run report with selected data in form?

    Hi,
    Imagine I have a form with a Data block with this inside :
    Code | Name
    1 | Product1
    2 | Product2
    I want to run a report that will only select these 2 records from the table "product".
    I manage to run a report from forms, but it's a pre-defiined report that will always display the same things. (all the table)
    Maybe it's with the paramlist, would you have an exemple or tutorial about that?
    Edit : When I create the report object in the form, I can give the source Data Block, but how to use in the report Data Model?
    Edited by: Danicela on 24 avr. 2009 10:41

    One way to achieve this is to use a "temporary" ID-table.
    Create a table with just two columns RUN_ID and ID
    Then, in forms before starting the report, create a new RUN_ID, e.g. by using a sequence and then, for every record in your block, create a record with the RUN_ID and the record's PK-column-value, in your case this might look like
    RUN_ID  ID
    4711     1
    4711     2Commit that data in Forms (e.g. with using an autonomous transaction).
    Now, pass the RUN_ID as a parameter to the report, and in reports, restrict your query like
    SELECT ..
      FROM YOURTABLE
    WHERE ID IN (SELECT ID
                    FROM ID_TABLE
                   WHERE RUN_ID=:PARAM_RUN_ID
                 )To be clean, delete the data with the run_id in the AFTER-REPORT-trigger of the report.

  • Copying data into Password Keeper

    Is there any way to copy data from a Word (or Excel) document into Password Keeper?  Could you email the Word or Excel document to yourself, open up the doc on your BB, and then copy and paste into P'word Keeper?  I'd appreciate any suggestions/thoughts for how to do this.  I have a massive number of passwords and it would be easier to type them into Word or Excel and then copy and paste them into Passwork Keeper. (I recognize that for security purposes, I'd want to delete the document, etc.).  Thank you.
    Solved!
    Go to Solution.

    Yes, emailing yourself the document and simply copy/pasting from the Word/Excel document to the PK application would work.
    There is not a simpler import function into Password Keeper.
    If you want a more full-featured password keeper application, check out DataVault or KeePass.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Javascript Question - How to Insert a Dynamic/Current Date into the Footer of a Scanned Document

    Hi!
    I am looking for help in finding a Javascript that would allow the insertion of a dynamic/current date into the footer of a scanned document at the time the document is printed.
    I am currently using Adobe Acrobat Professional 8.0 at my work and there has arisen a need to have a dynamic/current date in the footer on scanned documents when they are printed out on different days by different people.
    I am new to the Forum and I am also very new to Javascript and what this entails.
    Thank you in advance for your help and input!
    Tracy

    this.addWatermarkFromText({
    cText: util.printd("mmmm dd, yyyy", new Date()),
    nTextAlign: app.constants.align.right,
    nHorizAlign: app.constants.align.right,
    nVertAlign: app.constants.align.bottom,
    nHorizValue: -72, nVertValue: 72
    Will insert the current Monday/Day/Year as a text watermark at the bottom of every page of a document, 1 inch up and 1 inch in from the right corner.

  • Using sql load insert multiple fields data into a single column in database

    Hi ,
    I have my log file in sun OS box something like this
    =======
    (07/29/2009 00:02:24.467) 367518 (07/29/2009 00:02:26.214) 949384011
    (07/29/2009 00:02:26.236) 3675 (07/29/2009 00:02:28.207) 949395117
    (07/29/2009 00:02:28.240) 337710 (07/29/2009 00:02:30.621) 949400864
    =============
    I am trying to insert the data into oracle data base as follows.
    =============================
    column1 : (07/29/2009 00:02:24.467)
    column2 : 367518
    column3 : (07/29/2009 00:02:26.214)
    column4 : 949384011
    ===========================
    Can anyone help me with the control file format?
    someone suggested me the code below.
    ==========
    LOAD DATA
    INFILE 'D:\work\load.txt'
    INTO TABLE sample
    (col1 POSITION(02:24) char,
    col2 POSITION(27:32) INTEGER EXTERNAL,
    col3 POSITION(35:57) CHAR,
    col4 POSITION(60:68) INTEGER EXTERNAL
    ===========
    but this works only for the fixed length data? Please help

    user11744904 wrote:
    Hi ,
    I have my log file in sun OS box something like this
    =======
    (07/29/2009 00:02:24.467) 367518 (07/29/2009 00:02:26.214) 949384011
    (07/29/2009 00:02:26.236) 3675 (07/29/2009 00:02:28.207) 949395117
    (07/29/2009 00:02:28.240) 337710 (07/29/2009 00:02:30.621) 949400864
    =============
    I am trying to insert the data into oracle data base as follows.
    =============================
    column1 : (07/29/2009 00:02:24.467)
    column2 : 367518
    column3 : (07/29/2009 00:02:26.214)
    column4 : 949384011
    ===========================
    Can anyone help me with the control file format?
    someone suggested me the code below.
    ==========
    LOAD DATA
    INFILE 'D:\work\load.txt'
    INTO TABLE sample
    (col1 POSITION(02:24) char,
    col2 POSITION(27:32) INTEGER EXTERNAL,
    col3 POSITION(35:57) CHAR,
    col4 POSITION(60:68) INTEGER EXTERNAL
    ===========
    but this works only for the fixed length data? Please helpIs the requirement to load all data in a single column or multiple columns? The thread subject and body are conflicting.

  • How to synchronize, link or import Outlook calender data into Primavera R8.3 Ressource Calender??

    Hello together,
    we are currently looking for a way to import MS Outlook calendar data into our Primavera P6 R8.3 Application. The only information I found was an Oracle Document (http://docs.oracle.com/cd/E17462_01/Web_Access/Help/en/Outlook/outlook_how_to.htm).
    Any ideas, workaround or tool tips would be appreciated.
    regrads Udo

    Hello together,
    we are currently looking for a way to import MS Outlook calendar data into our Primavera P6 R8.3 Application. The only information I found was an Oracle Document (http://docs.oracle.com/cd/E17462_01/Web_Access/Help/en/Outlook/outlook_how_to.htm).
    Any ideas, workaround or tool tips would be appreciated.
    regrads Udo

Maybe you are looking for

  • Error while importing Web Analysis reports using LCM in 11.1.2.1

    Hi, I am trying to import Web Analysis reports using LCM in 11.1.2.1. But while importing the reoprts I am getting the following error: " The following object couldn't be imported:EPMRAF-31040:Provisioned user couldn't be found in target system." FYI

  • Late 2011 macbook pro a1278 no keyboard or trackpad

    LATE 2011 MBP a1278 , i5  , running Mountain Lion 10.8.5 Keyboard and Trackpad stopped working after a regular shut down with no peripherals attached or bluetooth on. Keyboard allows pram and smc reset before entering OS X environment . Only power bu

  • JFrame instance called from a Thread

    Hi All, I have an application that fetches data from a database. I have a thread that displays a 'Please wait' message in a JFrame while the software fetches data from the databse. The trouble is that the message does not appear on the JPanel untill

  • Using variables in input text fields nested in a movieclip

    Hi all, I am designing a roulette wheel type game. I am using a variable, "_global.myMoney = 0; " to keep track of the total money the player has. When I built the prototype, I used a dynamic text field on the stage with an instance name of "myMoney_

  • Controlling Hamamatsu Camera with LabVIEW

    I am using a Hamamatsu 1394 ORCA-ERA Camera in order to save microscope images on a PC. Im my lab, we are attempting to automate the process of saving an image from this microscope, and coordinate the time of the image capture with a function perform