How to recover the XMLP report after publication

Requirement:*.
There is a custom created page that has some data (all data is display only) on level 1. There is also a link on that level 1.
When the user arrives on this page for a particular search (from the search page) values and on a level 1 line and click this link, an XMLP report must be generated and open.
When the user comes to the same page with the same values of research and the same line at level 1 later, after some time/day, the XMLP report which came already should open instead of generating a new report XMLP.
Therefore, the XMLP report has generated only once for a particular line of level 1 and should now be reused.

Technique of the logic applied so far:*.
The logic was written on the component.record.fieldchange of the link level 1.
I was able to generate the XMLP data file. By using this data file, I was able to generate the report (in PDF) and publish as well.

Creates the object:
& oRptDefn = create PSXP_RPTDEFNMANAGER:ReportDefn(<Report_Definition_Name>);
& oRptDefn.Get ();
& oRptDefn.SetRuntimeDataXMLFile (< XML data file >);

Set the outdestination:
& oRptDefn.OutDestination = < Some Unix Path >;

Report of the process called:
& oRptDefn.ProcessReport (< name of the report definition model >, % language, date, & oRptDefn.GetDefaultOutputFormat ());

And published:
& oRptDefn.Publish ("PSUNX", "", "", 0);

The report is published. I can view the report in pdf format on
Main menu > Reporting tools > XML editor > search for XML report

Question (which is also a roadblock):*.
Now how should I proceed in order to open (display) the same report when the user clicks on the link to the level 1 again.
How can I reopen this same report next time?
I was wondering that if I get the report Id, and the process Instance (as displayed in the search for XML report), I can save for later use. So I can dynamically create the report using these 2 URL identifiers when the user clicks on the same link next time. But not able to get the correct values of these properties.
After publication, & oRptDefn.ProcessInstance gives 0 instead of the process instance, as shown in the XML report search page.

Please help with your expertise.

The instance of the process number is automatically filled by PeopleSoft during the call to publish. However, the problem is that you cannot recover the instance number of processes assigned by PeopleCode after the call to publish. I think that this property has a use when you run the report through the process scheduler and not the application server (which is the case in this situation).

Take a look at the PSRF_RINFO_TBL notice. In this recording all the XMLP reports will be stored by the report URL. Your condition said that when a user enters a component with a certain search criteria and a report has already generated so that criteria at level 1 should link to open that specific report. With the file PSRF_RINFO_TBL, you know what reports have been produced so far. The only thing you need then is to link a report to a specific search criteria. If you run a SQLExec on the PSRF_RINFO_TBL after you have published it you should be able to recover the process instance and the content id. If you add a record or some fields of the record exist for this component, you can bind the instance of process/contentid to search criteria. If a report already exists, you can use the code I posted in my previous post to open the report on the screen.

Tags: Oracle Applications

Similar Questions

  • How to recover the DVD drive after Windows XP Service Pack 1 upgrade on protected M200

    I lost my DVD Multi writer after update WInXP SP1 on my M200 Tablet of protégé. Restarting ElbyCheck reported a conflict with v3.00189 drag ' n Drop. I chose (foolishly) to solve it.

    The situation is pretty much as described in FAQ ref: TRO0000001bf9 (http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/faq.jsp?service=EU&FID=TRO0000001bf9

    Is it possible to reinstall the drivers and get the DVD without having to completely restore the tablet at its factory image?

    The good news is that the DVD works - it properly allows the Recovery DVD-Rom Toshiba to initialize. The DVD is mounted in the docking station for M200 Tablet and I don't think that there is another way to connect to the tablet.

    Windows XP Device Manager reports a problem with the Mat * a DVD-Ram UJ-810 USB device: "Windows cannot load the driver for this hardware device. "The driver is maybe corrupted or missing (code 39). However, uninstall or reinstall drivers does not help because Windows XP shows that the current drivers are installed. With SP1, there is also no earlier driver to roll-back to...

    Is there a way to get the right drivers reloaded?

    Any help is very appreciated!

    Bo

    Helloo,

    I know that is not the same question, but you can try the steps below mentioned since it is the same error message and there seems to be a flaw in the XP registry

    http://support.Microsoft.com/default.aspx?scid=kb;en-us;314060

    It may be useful

    See you soon

  • How to recover the original features after installed CC

    My organization has bought the CC license for some of our systems. I installed it on a system where we already have a license on CS 6 installed by mistake. When I realized that, I advised our admin and he refused the license. However, none of the 6 Adobe applications open CS that worked correctly on this computer. I get a message that says that this Adobe license has been denied or rejected, or something like that. So I thought that it was as easy as uninstall CC and all other CC files send files to the Recycle Bin, but no. Even after all the CC files were completely removed from this computer, I still can't open the CS 6 original apps because the message about the license violated keeps popping up. How can I solve this problem? (so that the original CS 6 applications can still be used as if the cc installation never happened)

    Please check workaround under: joint licensing - if you have an active member of the creative cloud and a serial number for Lightroom 6

  • How to recover the product key after formatting?

    Original title: ask

    Hi, I formatted my hard drive of the PC... and I lost my product key. you will need to recover my product key. What can I do? Help me please!

    Hello

    If pre-installed, look for the PK on the COA sticker.

    The COA sticker is either or in the battery compartment on the underside of the laptop.

    With a desktop computer, it's on the side, the back or the top of the computer case.

    If you can't find that, order the recovery media from the manufacturer of the computer that must install without your input of a PK.

    Check with the manufacturer...

    See you soon.

  • How to recover a file photo after emptying the trash

    How to recover a file photo after emptying the trash on my Mac book pro?

    Thanks for your response

    Restore your time machine backup file.

  • How can I recover the Photoshop 8 after system recovery? [was: bkupa]

    How can I recover the Photoshop 8 after system recovery

    Reinstall it properly:

    Direct download links for Adobe software

    Mylenium

  • Previously, during display of the image (photo) in the tab, it displays the resolution of the image, how to recover the photos (pictures) display resolution?

    Previously, during display of the image (photo) in the tab, it displays the resolution of the image, how to recover the photos (pictures) display resolution?

    You bring up the title bar via the "Title bar" button at the bottom left in the palette to customize window

    See also:

  • How to recover the PSADMIN State of origin user profile?

    People,

    Hello. My user ID to log in the application designer is "PSADMIN". I just created PIA. "http://localhost/psp/ps/?cmd=login" accesses PeopleSoft access code page, and I use "PSADMIN" to connect. I can open all web pages after login. "PSADMIN" is the access profile and user profile.

    But after I create a "newUser" role and assign a list of the permissions for the role, then the role "newUser" a link to the user "PSADMIN" profile, I can't open most web pages after login in PeopleSoft signon page using "PSADMIN". The system get the message: "you do not have access to the collection of Navigation. Please contact your portal administrator.

    Can any people tell me how to recover the profile user "PSADMIN" State of origin so that all web pages open after the connection?


    Thank you.

    go to PIA by using a root as VP1 or PS user and remove what you added to the PSADMIN.

    If you have locked your root user by chance... unlocked by using backend.

    PSOPRDEFN TABLE, unlock root user using the acctlock update.

    then sign in using that and make changes to the PSADMIN. or just the background, you can delete the additional role of PSADMIN profile using the same table.

  • How to recover the database when archive some of the log file are deleted.

    I am facing a problem with the Oracle database, which is linked to archivelogs.
    Our development database is running in archivelog mode, but we don't have safeguards and have no recovery catalog.
    When the database was in running, disk got full, so some archivelogs were deleted manually.
    After that they have restarted the DB, and DB now not come. The errors are as follows:

    -------------------------------------------------------------------------------------------------------------


    SQL > startup
    ORACLE instance started.

    Total System Global Area 1444383504 bytes
    Bytes of size 731920 fixed
    486539264 variable size bytes
    956301312 of database buffers bytes
    Redo buffers 811008 bytes
    Mounted database.
    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open


    SQL > alter database open resetlogs;
    ALTER database open resetlogs
    *
    ERROR on line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: ' / export/home/oracle/dev/ADVFRW/ADVFRW.system'


    SQL > recover datafile ' / export/home/oracle/dev/ADVFRW/ADVFRW.system'
    ORA-00283: cool cancelled due to errors
    ORA-01610: recovery using BACKUP CONTROLFILE option must be


    SQL > restore database using backup controlfile;
    ORA-00279: change 215548705 generated at 2008-09-02 17:06:10 needed for thread
    1
    ORA-00289: suggestion:
    /export/home/Oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.arc
    ORA-00280: change 215548705 thread 1 is in sequence #1107


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    /export/home/Oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.arc
    ORA-00308: cannot open archived log
    ' / export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
    ORA-27037: unable to get file status
    SVR4 error: 2: no such file or directory
    Additional information: 3


    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}
    Cancel
    Cancelled media recovery.
    SQL >

    -------------------------------------------------------------------------------------------------------------


    1 how to recover the database and put online

    Any help will be much appreciated.

    Regarding
    Hemant Joshi

    Published by: hem_Kec on 7 Sep 2008 09:07

    Hello

    It is actually quite easy.
    We knew that Oracle was looking for logsequence 1107. There is no archived log, it was deleted, or it has never generated. As you delete files, the 1st solution would be possible, BUT as there was only an instance crash so more old archived logs is not required for crash recovery. There is a need during the restoration of the old backup files, which is not our case.

    Thus, the missing log sequence has not been archived = > it is a redo log.
    To identify the required online redo log, we just to log query v$ as I suggest.

    Once the log identified file, we can recover it by specifying the redo log when you ask logsequence 1107.

    And it is on. We win! :)

  • How to recover the sparsebundle workspace?

    Hi all

    EL Cap 10.11.5

    I made a my.sparsebundle which was for 2 GB

    - then I almost filled

    - then I deleted 50%

    - then run the Terminal command

    -Recovered 0 bytes

    -so I've removed everything inside and running the command again

    -always it recovered 0 bytes

    Q How do this work?

    -------

    How to recover the sparsebundle workspace?

    I went to the terminal and type:

    hdiutil compact /Users/me/Documents/my.sparsebundle

    and he succeeded, but said regenerated = 0 bytes of 48.9 MB possible.

    s http://blog.fosketts.NET/2015/07/22/how-to-use-Mac-OS-x-sparse-bundle-disk-image.

    rse-bundle-when-hdiutil-compact-is-not-e http://Apple.StackExchange.com/questions/54607/completely-recover-space-from-Spa...

  • How to recover the password for AirPort Extreme in ipad

    How to recover the password for the ex airport in ipad

    Use your Keychain Access iCloud, if you create a.

    Frequently asked questions about iCloud Keychain - Apple Support

    Soft reset the airport and you can connect for 5 min and recover the passwords.

    Reset to a base station AirPort FAQ - Apple Support

  • How to recover the bios password hp mini 110-1144NR cnu938553m

    Help, please

    Need help how to recover the bios password hp mini 110-1144NR

    Series # cnu938553m

    Hello

    What is the code stopped? Please try (all in small character):

    e9lofuqqf4 (3rd tank is a tiny character of the letter L).

    Kind regards.

  • Compaq mini 110 c - 1020st: how to recover the password of bios compaq mini 110 c.

    How to recover the password of bios compaq mini 110 c.

    S/N: [personal information]

    P/N: NZ794EA #AB8

    Hello

    Enter: e9lo7qxd7a (3rd character is a lowercase L)

    Kind regards

    DP - K

  • Have an Acer Aspire MA52 with W8.1. How to recover the partition "Recovery."

    I have perhaps destroyed the recovery partition when I used EaseUS Partition Master to split the C: partition into two partitions.  Can someone please advise on how to recover the necessary recovery partitions?  When I Advanced Start, I do not get an option "troubleshooting."

    Thank you.

    Thank you.  I got to the Acer store before somehow and it seemed that the store only shipped to the Canada; that is, there was only one country that could be selected.  I went through the url you gave and was able to place an order for a recovery disc.  Hope that works.

    Thank you.

  • How to recover the Folder.000 of .chk files

    Hello

    How to recover the Folder.000 of .chk files

    Thanks and respect

    G.Manjunath

    There are recovery utilities that can help you recover these .chk files:

    http://www.ericphelps.com/uncheck/
    Recover CHK files

    http://www.Raymond.CC/blog/archives/2008/01/07/how-to-recover-chk-fil...
    How to recover CHK files created by CHKDSK and SCANDISK

    John

Maybe you are looking for

  • Gmail, click on the URL in email, nothing happens

    It works in Chrome and Internet Explorer. But Firefox, clicking on a URL in an e-mail message, nothing happens. Shows just a screen that says "https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.en.m8IAgjM5HSU.O/m=m_i, t, it / am...» "and sho

  • Synchronize book samples IBook?

    I can sync iBooks purchased on all my devices but iBook samples does not synchronize. It is built in iBooks property or a mistake on my part. Indicators are defined the same as those purchased books.

  • How to force the Photos up-to-date original jpeg file after you have added the GPS data and rotation

    Hello Pictures has the ability to add GPS data to an image file, but stores the GPS data in a catalog instead of the actual image file.  The same seems to apply to the rotation of the image.  Is there a way to force the Photos up-to-date the actual i

  • Number of Photos and pictures of different

    The number of photos and videos in my "Photos" (Moments) 12 926 and in my album 'All the Photos' 13 557 is different.  Should not be the same?  If this is not the case, what is included in the latter case, which is not in the former?

  • 4th gen Apple TV Wifi issues

    My 4th generation Apple TV has problems with wifi. Every day when the apple TV goes to sleep he loses the credentials of wifi OR it does not attach to my wifi network. I have to use the apple remote to tether to wifi. I tried Gz 2,4 and 5, and I see