Retrieve text elementes of deleted report

We have deleted a ABAP report that we thought was not used anymore.
Now I want to Retrieve this report. There is no problem retrieving this report using version management but I have a problem with the text elements and selection texts. I only can retrive the original language from SE38 - I wan't to retrieve all languages.
We are on ERP2005.

Hi Zhenyun
Try generating the report with DESTYPE=CACHE and see if it works.
Regards
Sripathy

Similar Messages

  • How to find out all the text elements in the report using Java?

    How to trace the contents of an rpt file?
    I am able to open the rpt file in my report viewer but can not trace it using the JAVA code.
    Actually, I need to find out all the text elements of rpt (Report) file and replace them with the contents of resource bundle.
    My Java code to open a report is given below:
    import com.crystaldecisions.reports.sdk.ISubreportClientDocument;
    import com.crystaldecisions.reports.sdk.ParameterFieldController;
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfos;
    import com.crystaldecisions.sdk.occa.report.data.Fields;
    import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ParameterField;
    import com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue;
    import com.crystaldecisions.sdk.occa.report.data.Values;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBagHelper;
    import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
    import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
    public String viewRpt()
                   //1.) Setting Database Infos
                            IConnectionInfo iConnectionInfoObj=setDatabaseConnectionInfos();
                   //2.) Setting Report Path
                   String reportPath=u201DE:
    was60
    rptFilesLocation
    u201D;
                   reportPath=(reportPath!=null)?                                             reportPath:AppConstants.CONSTANTS.BLANK;
                   String reportName="report1.rpt";
                   String reportFullPath = reportPath +   rptName;
                 //3.) Setting Report Source
                             ReportClientDocument reportClientDoc = new ReportClientDocument();
                                              reportClientDoc.open(reportPath, 0);
                  IReportSource reportSource = reportClientDoc.getReportSource();
                  setReportSource(reportSource);
                  reportClientDoc.close();
              //4.) Setting the Fields Starts
              setFieldsCrystal(null);
              Fields fields = new Fields();
              ParameterField pfield1 = new ParameterField();
              Values vals1 = new Values();
              ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter1");
              pfieldDV1.setValue(u201Cvalue1u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              pfield1 = new ParameterField();
              vals1 = new Values();
              pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter2");
              pfieldDV1.setValue(u201Cvalue2u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              setFieldsCrystal(fields);
              //Setting the Fields Ends
    The sample jsp code to view the report is as follows:
    <%@taglib uri="http://www.businessobjects.com/jsf/crystalreportsviewers"
         prefix="bocrv"%>
    <bocrv:reportPageViewer viewerName="CrystalViewer"
                                                 reportSource="#{CrystalReportBeanObject.reportSource}"
                                                 displayToolbarRefreshButton="false"
                                                 allowDatabaseLogonPrompting="false"
                                                 allowParameterPrompting="false"
                                                 databaseLogonInfos="#{CrystalReportBeanObject.connectionInfosCrystal}"
                                                 parameterFields="#{CrystalReportBeanObject.fieldsCrystal}"
                                                 displayGroupTree="false" displayToolbarLogo="false"
                                                 displayToolbarToggleTreeButton="false"
                                                 enablePageToGrow="false" height="540"
                                                 zoomPercentage="100" width="750"
                                                 allowDrillDown="false"
                                                 displayToolbarPrintButton="true"
                                                 printMode="PDF"
                                                 ></bocrv:reportPageViewer>
    Edited by: JayKumarSharma on Mar 23, 2011 12:42 PM

    This is how you retrieve all the text fields in the reort:
    ReportObjects reportObjects = (ITextObject) oReportClientDocument.getReportDefController().getReportObjectController().getReportObjectsByKind(ReportObjectKind.text);
    for(int i=0; i< reportObjects.size();i++)
    ITextObject textObject = (ITextObject)reportObjects.get(i);
    // use ReportObjectController to modify the text object.
    If you want to modify the contents of the text element, you can do it as follows:
    TextObject oTextObject = new TextObject();
    Paragraphs oParagraphs = new Paragraphs();
    Paragraph oParagraph = new Paragraph();
    ParagraphElements oParagraphElements = new ParagraphElements();
    ParagraphTextElement oParagraphTextElement = new ParagraphTextElement();
    oParagraphTextElement.setText("This is the new text field");
    oParagraphTextElement.setKind(ParagraphElementKind.text);
    oReportClientDocument.getReportDefController().getReportObjectController().modify(textObject, oTextObject);
    oReportClientDocument.save();

  • Text element in the report

    Hello dear experts,
    please clearify my doubt?
    what is the differen b/w "last data update" text element (in web report)and "status of data" in the in the report(in analyzer)? Is it same or different?
    Regards
    prathap.

    Hi,
    Hope this clears your doubt,
    Last Data Update: This would give the information on ROLLUP time..
    Status of Data: Time at which the data of the last request (that could be analyzed for reporting) was posted in the InfoProvider. In the case of MultiProviders, the respective current InfoPackages are determined from the individual standard InfoCubes and the one with the latest date is used for the validity of the data. This shows a date and a time (in the local time zone).

  • Deleting/Creating multiple Text elements!

    Hi Friends,
    I have two questions on TEXT ELEMENTS.
    1. My program lines....
    wa_output-line1 = 'Financial Accounting'(001).
        wa_output-line6 = 'Financial Accounting'.
        lv_vartext = 'Financial Accounting'.
    If you observe above code you can identify that there is a text FINANCIAL ACCOUNTING , which is repeating three times.
    and for the first time TEXT ELEMENT created. and to create for other i have to double click and it will assign same TEXT ELEMENT to my text. I have to do this action by searching them in my code.
    Is there any simple step to do this, to reduce this time....? ( Because TEXT ELEMENT with same text already created )
    In my program I have more than 50 text elements and each repeating more than 20 times in my report.
    Forget about alternates.. advise if there is any navigation to do this..!
    2. Say I have 50 text elements in my text elements screen...
    and now i want to delete all unnecessary text elements... Unnecessary means which are no where called in my program.
    Can i do it with out manual effort...? I mean... want to avoid.. searching each of them in my report and then deleting.. !?
    Thanks ,
    Naveen Inuganti.

    Hi Naveen,
    1.To replace all the text elements at a time you need to press Find Button(CTRL+F) and give the  text (FINANCIAL ACCOUNTING
    and replace with TEXT ELEMENT.
    2.To delete unused text elements,First find the text elements which are not used by Extended Program Check(EPC) by usng SLIN transaction code ,select character strings checkbox and execute.Then check for warnings in character strings,it will list of unassigned text elements.llist out the text elements and delete from your program.
    Thanks & Regards,
    Pydi Reddy.

  • Text Elements  not working in report program

    Hi Friends,
      I had created a new Text-element in my report program while i execute the program my text element is not displayed. but if i use the exiisting element then it is displaying correctly.
    For Ex:
    There are Text-Elements like
    E01: Error
    S01:Success
    Now i am adding new text-element
    W01: Warning.
    In program;
    Message text-W01 type 'E'. . In this case it is not displying the TE.
    But if i use E01 or S01 then it is displaying.
    Can anybody tell me what is the problem?

    HI
    Goto SE38 > GOTO> TRANSLATION
    Check in which language it is then CHANGE LANGUAGE FROM GERMEN TO ENGLISH.
    NOW YOU BE ABLE TO CHANGE.
    GOTO> TEXT ELEMENTS> SELECTION TEXTS

  • How to transport the text elements in  Reports?

    need answer to this question.
    how to transport the text elements in the reports?
    Edited by: venkata kumar on Feb 18, 2008 1:33 PM

    Hi Venkata,
    Text Elements are a component/part of the SAP script and are not individual ABAP objects within the SAP environment hence they cannot be transported independently.
    You would need to make changes in your text elements in the SAP script which would result in the SAP script being saved under a transport and moving the transport across the landscape would result in the text elements also getting transported.
    In short: Move SAP script - to move text elements.
    Cheers,
    Aditya

  • Error in Assignment of Text Elements of Report to Transport

    Hi All,
    I have transported few reports to Quality system however the texts elements associated with those reports have not transported to Quality system .
    Now I am trying to assign these text elements to new Transport however I am getting error while activation and messgae just displays " Error in Activation "  .
    The Original system of these reports is different from my current development system.  The Transport Layer of Package and Transport is same.
    Please advice . Thanks.

    Hi,
    Try to transport the text-elements along with the report to the quality server. Save and activate the text-elements and the report in the same transport request and then transport to quality system.
    Regards,
    Vik

  • Logic behind dynamic Text Elements in BEX

    We are trying to find out how BEx gets the "Last Cube Refresh Date."   This can be added as a Text Element in BEx reports. What we are trying to do is determine which date is pulled when a BEx query is running agains a MultiProvider. We have one MultiProvider that consists of 3 Cubes and a DSO. When we run a query against the MP, and compare the "Last Cube Refresh Date" with the values stored in the 0BWTC_C07  cube, sometimes this date stamp matches one of them and sometimes it does not. I realize the times are offset for GMT and that is taken into consideration and we also realize that 0BWTC_C07 is not updated in real time.  So our question is still, where does the BEx query get the "Last Cube Refresh Date" when it's run?
    Any input is appreciated. Thanks!

    Hi,
    In the Multiprovider you may have multiple Infoproviders..
    so in the report one KF and char will be getting populated from one Infoprovider and another from few other Infoproviders for eg..
    so when it will run it will show the latest date for which it has displayed the data in the report for that cube.
    also check following threads
    The specified item was not found.
    To display the Last Data refreshed Date in Webi Report in XI R3
    If you want to display that "Status of Data " field in the report... Then you need to set it at...
    Run the query -> from the BEx toolbar choose LAYOUT -> Display text elements -> General.
    Status of data is the time on which the latest load occured to the cube. Lets say, you have built a report on a cube which is loaded on 01/10/2007. When you run the report, the status of data will show this date 01/10/2007 until you load the cube again. In this case, if you load on 01/20/2007, the status would now show up as 01/20/2007.
    Note: If your report is built off a multiprovider with multiple base cubes...then the status of the load would be the latest date off of these cubes with this change...
    Lets say the latest request loaded to
    CUBE1 01/10/2007
    CUBE2 01/15/2007
    CUBE3 01/20/2007.
    Then the status of the data in a report built off these cubes will be 01/10/2007
    If you want to display that field in the report...
    Run the query -> from the BEx toolbar choose LAYOUT -> Display text elements -> General.
    Thanks and regards
    Kiran

  • Not able to delete text elements.

    Hello
    I copied a z report from production server to development server by copying the code in se38.
    now system is no allowing me to delete a text element for parameter.
    SELECTION-SCREEN BEGIN OF BLOCK b4 with frame title text-012.
    PARAMETERS: P_YEAR  TYPE GJAHR OBLIGATORY DEFAULT 2014,       " Year
                 P_MONTH TYPE FCMNR AS LISTBOX  VISIBLE LENGTH 20 ,      " Month
                 P_COMP  TYPE BUKRS OBLIGATORY DEFAULT 1000.       " Company Code
    SELECT-OPTIONS S_PLANT FOR  vbrp-werks." Plant
                """PARAMETERS: P_FKART  AS CHECKBOX .             " Billing Document
    SELECTION-SCREEN END OF BLOCK b4.
    here my requirement is to disable PARAMETER : P_FKART and disable corresponding text element in system.
    i tried:
    1. deleting the text element row for p_fkart but it appears again when i save the text element.
    2.commenting the complete selection block and writing new selection block with text-012.system is taking same text element when i double click.
    thanks.

    Hi faizur,
    first of all: Programm changes are made in development system. not in produktion System. the transport oder is development system -> quality system -> production system.
    in your first statement above, you wrote
    "i tried commenting every line,which contains p_fkart.But system is not allowing me to activate the program."
    why shouldn't you be able to activate a programm when it is not caused by a syntax error?
    I mean deleting a selection-parameter from the selection-screen is basic stuff... as written above you normaly dont delete, you set it as "NO DISPLAY".
    when you got your programm activated again (and got rid of all the syntax errors you caused with the deletion) . Dont forget to activate the Text-Elements as well and it should work...
    regards
    Stefan Seeburger

  • How to retrieve text messages that I mistakenly deleted??(Please help!!)

    I've had the Verizon VX8300 for 3 years since 2007 and I have upgraded to the HTC Incredible Droid and received it as a Christmas gift on Christmas morning. When my dad was disconnecting the old phone, I figured that it would be automatically transferable because everything else transferred like my contacts, voice messages, pics, etc. I was looking through old texts and accidentally deleted all of my texts that I've kept for souvenir and they were very memorable and special to me from friends/family. Now I was wondering if there's anyway I can get this data back whether it's getting a printout or using an online free trial of a text message retriever like Asfotech, Bitpim, or Wondershare Data Recovery. I've went to 3 different Verizon stores and none were helpful and didn't even bother looking at my old phone.
    PS: I know you need like a court order or a subpoena but that is extremely silly and unnecessary because would I honestly need a court order just to retrieve harmless innocent messages like "What's Up?" or "How's it going, man?". Someone said that Verizon archives the messages and it's my privacy so I should have the right to get a printout of MY messages and it would be so messed up if Verizon wouldn't let someone look at their OWN text messages on their OWN phone if they deleted them on accident. It's not like they would be invading my privacy anyways all they would need to do is print them out without looking at them. I have nothing to hide anyways so it wouldn't be a big deal to me.

    I understand what you are saying but whats to say for example the account owner (a parent) decided to have all the messages retrieved for them of their child who is on the account??? Verizon has NO IDEA if that person is their child, relation, boyfriend, employee..... That is why court orders are necessary.
    But in your case unless the messages you want are from the last 6-10 days, they are (as Ernie Harwell used to say) "LONG GONE" from Verizon's servers.
    I know the feeling of losing texts you planned to keep. A few months ago, I was playing with force closing apps and in doing so deleted a bunch I was keeping. That is why I found an app to sand messages to an email address also.

  • Text elements in the Bex Report

    Bex Gurus,
    When we execute the Bex report, it will display with icons on top as Chart, Filter and Information - Information will display all the text elements as standard. Right now I want to modify these standard elements and disply the text elements which are more meaningful to any business user when they execute any report/query in Bex
    Left Side:
    Current User     II79747
    InfoProvider     ZBYDCTBUD          
    Status of Data     04/18/2008 10:01:05
    Query Technical Name     Y_ZBYDCTBUD_VP_POOL
    Query Description     VP Matrix by Pool - Actual     
    Right Side: (based on Variable Enteries/selection)
    Fiscal Year
    Posting Period
    Value Type
    Version:
    I want to implement this in Bex excel report when we click on Informaion icon which will show the text elements as explaiend above. (I know it is possible with WAD when we design the code)

    You may do this in a workbook inserting Buttons in design mode.
    I dont think so there is an easy way to accomplish this when a report is executed.
    May be possible with lot of coding....

  • Could someone please tell me if it is possible to retrieve text messages that I have permanently deleted?

    Could someone please tell me if it is possible to retrieve text messages that I have permanently deleted?

    SMS's are included in the iPhone backup, thus restoring from backup will restore your SMS's, assuming you backed up your phone with the SMS's in question still on your phone. If not part of your iPhone backup, they are gone.

  • HT5622 how do i retrieve text messages that have been deleted

    How do I retrieve text messages that have been deleted? How much do I Have to pay to get them back? I meant to delete one message that was sent and I accidentally deleted all of precious pictures

    those text message should be in your backup, if you backup on a regular basis.  restore your phone to that backup.

  • Retrieve deleted reports

    Hi all,
    I think that I know the answer but I hope that you know better...
    Is there any way to retrieve a deleted report from repository?
    Regards,
    Thanos

    Hi there,
    Sorry about my confusing post. These are FR reports and the version is 11.1.1.3.
    Thank you,
    Thanos

  • Text Elements in BI 7

    Hi,
    We currently have a report in BW 3.5 which contains a text element which in turn displays the value of the variable that the user chose in the selection screen of a report.
    In BI 7.0 I have found the text item but when I try to display a variable it simply displays the name of the variable and not the contents.
    How could I display or at least retrieve the value the user selected in the selection screen? Are there any means of doing so via Javascript?
    Thanks in advance,
    Ale

    Hi Alessandro,
    Are you talking about displaying the user selected value in ouput of web template. If that's the case then u need not to go for javascript just follow below steps:
    1. Select Information field item present under advanced web items.
    2. Make following settings in it property:
    2.1  In internal display check 'Display Static Filter value' and 'Display Variables'.
    2.2  Provide a data provider to this item which contains this variable.
    2.3  In List of Text elements to Display option select: Static filter as your Text element,
    In the list of characterstic of static filter click the little button which will open a popup window from where you can select the variable to display.
    Make following settings and use the web item.
    Hope this solves your problem.
    Thanks !

Maybe you are looking for