Get the texts written in the report program

Hi
Is there any way(any table /FM) to get  the texts written in the report program .

Hi
check this code...
DATA: itab TYPE string WITH HEADER LINE.
PARAMETERS: tcode TYPE tstc-tcode.
PARAMETERS: prog TYPE rs38m-programm.
IF tcode IS NOT INITIAL.
  SELECT SINGLE pgmna FROM tstc INTO prog WHERE tcode = tcode.
ENDIF.
READ REPORT prog INTO itab.
  INSERT REPORT 'YDEV_TEST' FROM itab.
  GENERATE REPORT 'YDEV_TEST'.
  SUBMIT ydev_test VIA SELECTION-SCREEN.
  DELETE REPORT 'YDEV_TEST'.

Similar Messages

  • Getting the variant name when the report program is run in background

    Hi All,
    How to get the variant name for the report program when run in background? My requirement is to create an email attachement with the name 'variant.XLS', where variant = selection screen variant, when the report program is run in background. The system field SY-SLSET holds the variant name only when run online.
    Any pointers to this will be highly appreciated.
    Thanks and regards,
    Nilesh.

    Hello Nilesh,
    Please find the algo:
    1. Call the FM: GET_JOB_RUNTIME_INFO to get the background job details.
    2. Select data from TBTCP using these details:
    DATA:
    FP_EVENTID   TYPE BTCEVENTID
    FP_EVTPARM   TYPE BTCEVTPARM
    FP_ACTIVE    TYPE BTCXPGFLAG
    FP_JOBCNT    TYPE BTCJOBCNT
    FP_JOBNM     TYPE BTCJOB
    FP_STEPCNT   TYPE BTCSTEPCNT.
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
        IMPORTING
          EVENTID                 = FP_EVENTID
          EVENTPARM               = FP_EVTPARM
          EXTERNAL_PROGRAM_ACTIVE = FP_ACTIVE
          JOBCOUNT                = FP_JOBCNT
          JOBNAME                 = FP_JOBNM
          STEPCOUNT               = FP_STEPCNT
        EXCEPTIONS
          NO_RUNTIME_INFO         = 1
          OTHERS                  = 2.
      IF SY-SUBRC <> 0.
    *   Error calling FM: GET_JOB_RUNTIME_INFO
      ENDIF.
    DATA: FP_VARIANT TYPE BTCVARIANT.
      SELECT JOBNAME JOBCOUNT STEPCOUNT VARIANT
      FROM   TBTCP
      INTO TABLE L_IT_TBTCP
      WHERE  JOBNAME   = FP_JOBNM
      AND    JOBCOUNT  = FP_JOBCNT
      AND    STEPCOUNT = FP_STEPCNT.
      IF SY-SUBRC = 0.
        SORT L_IT_TBTCP BY JOBNM JOBCNT STEPCNT.
        READ TABLE L_IT_TBTCP INTO L_WA_TBTCP INDEX 1.
        IF SY-SUBRC = 0.
          FP_VARIANT = L_WA_TBTCP-VARIANT.
        ENDIF.
      ENDIF.
    Hope this helps.
    BR,
    Suhas

  • Getting data from table control to the report program.

    Hi,
    I created a table control using report program and i am trying to enter data in the table control which i want to update in the DB table. How can i get the data entered in table control to the report program, so that i can update the DB table.
    Please help me finding out which variable will hold the data entered in table control(dynamically).

    hi,
    in your table control you give some name to that table control say it_cntrl.
    this only serves as the internal table to process the table control data.
    like u can write like this.
    loop at it_cntrl into wa_cntrl.   "wa_cntrl is work area of type it_cntrl table type
    .........        "do your functining
    end loop.
    any clarification get in touch
    thnks

  • PAYABLES NOT GETTING THE REPORT OUTPUT IN PDF AFTER APPLYING RUP5 R12

    Hi All,
    RDBMS:10.2.0.3.0
    Oracle Apps :12.0.4
    OS:AIX 5.3
    Problem Description:
    We are presently facing an issue in Payables not getting the report output in PDF esp for the reports "Invoice Register", Invoice Hold Report and also other reports. We were able to generate the reports till our last test performed on last Thursday. This instance was cloned over the last weekend and probably the new upgrade to RUP5 R12,would have impacted it.
    Concurrent Programs submitted are completed normal but on clicking "view output" results in Blank PDF output.
    The error message what was shown is as below:
    "Adobe Reader could not open 'AcrC.tmp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)".
    Where could we locate ther above 'AcrC.tmp' of Adobe Reader..
    could anyone please share such an experience encountered for resolution..
    Would appreciate an early response..
    Thanks for your time!
    Regards,

    I suggest you speak to your DBA/sysadmin. This is not likely to be a reports problem.
    Check that you can see the output from apps through the viewer (the report may not hav output anything)
    Check whether you can print anything on that printer from apps.
    May also be worth checking to see if you can print to another printer from this report.

  • Vaue of sy-tcode when executing the report program in the background

    Hello All,
    To test and find out the value of sy-tcode when the report program is exectued in the background. I have done the below steps.
    1. created a report program with the code given below.
    Select option was just defiend to get the selection screen. it is of no use.
    Select-options: s_name for sy-uname.
    Write:/ sy-uname,sy-tcode.
    2. then I created a transaction for the program to identify whether the value of sy-tcode explicitly.
    3. Then I launched the transaction and in the selection screen of the program I selected the option of executing the program in the backgroung and i process the job immediately.
    4 . In the spool I am able to see the correct sy-uname value but not the sy-tcode.
    Where as if i am executing it in the foregroung it is giving the correct value of sy-uname and sy-tcode.
    Can anybody provide me the reason as to why this is happening . that is in the backgound mode the value of sy-tcode is getting cleared.
    Thanks,
    Mohit

    Hello,
    As they say it is an SAP standard behavior, you can "hardcode" the transaction itself into the ABAP code...
    ie:
    if sy-batch eq 'X' "->IT MEANS THAT IT IS A BACKGROUND JOB.
    w_tcode = 'Z*****'.
    else.
    endif.
    bYE!!
    Gabriel P.-

  • Error in getting the report from web

    HI,
    HERE I AM TRYING TO CREATE A REPORT FROM FORMS WHICH I WANT TO WEBENABLED.
    I COULD GO TILL I CAN SEE MY FORM WHERE I GIVE AS THE PARAMETERS AS 'HS' OR 'SC' OR 'YS' THROUGH THE LIST OF VALUES OR THE USER CAN JUST ENTER IF THEY KNOW THE VALUE WHICH THEY ARE LOOKING FOR.
    HERE WHEN I CLICK ON THE BUTTON TO GET THE REPORT ITS GIVING AN ERROR CALLED FRM-41219 CANNOT FIND THE REPORT: INVALID ID.
    I DONT UNDERSTAND WHERE I AM DOING WRONG THE REPORT IS ON THE SERVER ALSO.
    HERE IS THE CODE IN WHEN-BUTTON-PRESSED TRIGGER TO GET THE REPORT.
    declare
    v_rep varchar2(100);
    repid report_object;
    v_param varchar2(1024);
    begin
    repid:=find_report_object('WAT');
    v_param:='paramform=no P_STATUS='||:NBT.STATUS||'';
    set_report_object_property(repid,report_other,v_param);
    set_report_object_property(repid,report_destype,file);
    set_report_object_property(repid,report_desname,'E:\ORANT\WEBTEMP\TEST'||:NBT.STATUS ||'.pdf');
    v_rep:=run_report_object(repid);
    web.show_document('http://PS/WEBTEMP/TEST'||:NBT.STATUS||'.pdf','_blank');
    end;
    HERE 'WAT' IS THE REPORT NAME AND P_STATUS IS THE PARAMETER I AM PASSING FROM THE REPORT,
    :NBT.STATUS IS THE PARAMETER WHERE I GIVE IN THE FORM SUCH AS 'CS' OR 'YS' ETC..
    I CAN SEE THE FORM BUT AFTER I GIVE THE PARAMETER AND CLICK ON THE BUTTON TO GET THE REPORT I AM GETTING THE ERROR.
    PLEASE DO HELP ME OUT.
    THANKS A LOT IN ADVANCE....

    Hello,
    In
    repid:=find_report_object('WAT');
    WAT should be the report object seen in the forms object navigator and not actully the report rdf name.
    This message FRM-41219 essentially means that the report cannot be found. Specifying the correct name of a report object found in the forms object navigator (not the
    actual name of the rdf file) usually resolves the problem.
    Please ensure to be on the latest patch of your version ( can get from oracle metalink site) of developer to consume any fixes in this area
    Thanks
    The Oracle Reports Team

  • How to get the report summary to the bottom of the page?

    Hi all. Does anyone know how can I get the report summary to
    stick to the bottom of the page, like the page footer? Basically, I
    have a report that displays line items on an order. At the end of
    the report, there is a signatory section or acknowledgment. If I
    stick this in the page footer, then it displays at the bottom of
    the page, but on every page. If I put it on the report footer, than
    it follows immediately after the details, and not at the bottom of
    the page. What I need is the report footer to be at the bottom of
    the last page.
    Any ideas?

    Greetings. Thanks for the post. I am not having problems with
    a page number. I am having problems with getting the report footer
    contents to be at the bottom of the last page. The closest solution
    I have found is to put the content in the page footer, and then
    hide the page footer until the last page. However, this leaves
    whitespace on all of the other pages, which isn't ideal. I really
    need an attribute that allows me to set the report footer to print
    at the bottom of the page, like the page footer.

  • TS3212 When I try to start Itunes, I get the message" program can't start because MSVCR80.dll is missing from your computer - try reinstalling the program".  When I try to reinstall I get the message Error 7 (Windows Error 126) - can you help me?

    When I try to start iTunes, I get the message "program can't start because MSVCR80.dll is missing from your computper.  Try reinstalling the program."  When I try reinstalling, I get the message Error 7 (Windows Error 126)
    Can you help me?????

    Hello Charleen,
    It sounds like you are unable to reinstall iTunes because of this error message 7. I recommend the troublehsooting found in the following article that mentions that error named:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    "iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows Error 126)”
    Follow these steps to resolve the issue:
    Check for .dll files
    Go to C:\Program Files (x86)\iTunes and C:\Program Files\iTunes and look for .dll files.
    If you find QTMovie.DLL, or any other .dll files, move them to the desktop.
    Reboot your computer.
    Note: Depending on your operating system, you may only have one of the listed paths.
    Uninstall and reinstall iTunes
    Uninstall iTunes and all of its related components.
    Reboot your computer. If you can't uninstall a piece of Apple software, try using the Microsoft Program Install and Uninstall Utility.
    Re-download and reinstall iTunes 11.1.4.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • How to get the Reports of Change Tracking Table in MDM?

    Hi!
    Please tell me how to get the reports of Change Tracking Table in MDM which is a System table, directly from MDM without using any interface.
    Thanks in advance for the reply.
    With Best Regards
    Devendra Pandey

    Hi Devendra,
    MDM can track changes on tables and fields. <u>The level of change tracking, and which tables/fields to track, are configurable in the MDM Console</u>. MDM opens a new database on the same database engine as the MDM repository and writes all change records to this database.
    For information of various steps you can visit
    <a href="http://help.sap.com/saphelp_mdm550/helpdata/en/45/c7b20339ee570ae10000000a114a6b/content.htm">this URL</a>
    Regards,
    Krutarth

  • Get the report server details of a tfs instance

    HI
    I have tried the following method to get the report server attached to the tfs instance. but this returns no details. Please help on this.
    UritfsUri =
    newUri(uri);
    TfsConfigurationServerconfigurationServer
    =
    TfsConfigurationServerFactory.GetConfigurationServer(tfsUri);
    ReadOnlyCollection<CatalogNode>
    collectionNodes =
                    configurationServer.CatalogNode.QueryChildren(new[]
    { CatalogResourceTypes.ReportingServer,
    CatalogResourceTypes.ReportingConfiguration,
    CatalogResourceTypes.SqlReportingInstance}
    , true,
    CatalogQueryOptions.IncludeParents);
    Thanks
    Poornima

    Hi Pommrnima,  
    Thanks for your post.
    I tested this scenario in my TFS Server and received the same result. But the
    CatalogResourceTypes.ProjectCollection and
    CatalogResourceTypes.TeamProject can working fine to show the collection and team project details. It seems that
    ReadOnlyCollection<CatalogNode> tpcNodes = configurationServerNode.QueryChildren()
    cannot return the server level configuration information.  
    For this scenario, please submit it to Microsoft Connect Feedback portal at:
    https://connect.microsoft.com/VisualStudio. Microsoft engineers will evaluate them seriously. 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The Problem is about Standard Back Button Function in the Report Program.

    The Problem is about Standard Back Button Function in the Report Program.
    In the Report,First call screen Then Using "write" output some information,That is ok. but In the GUI When I press back button that is standard button,it exit screen to program.
    My question is how can i do When i press back button,the screen can be back forward first screen instand of exit screen to program. Thanks .

    Hi,
    You can define your own PF-STATUS and in that assign the function code for BACK button anything except 'BACK'.
    The code would somewhat look like this:
    SET PF-STATUS 'TEST'.
    write : itab-col1,
               itab-col2.
    in the PF-STATUS 'TEST', assign the function code to BACK button as 'BCK'.
    Now in your program you can use the event AT USER-COMMAND.
    In this you can handle the functionality of BACK button.
    Hope this helps.
    Regards,
    Himanshu

  • How to get the reporting icon  in cube.

    hi,
    i have a successful request(with all the required data) in the cube (manage screen) but i could n't get the reporting icon next to request id   in the cube manage screen how to get ithe reporting icon.

    This might be because of  issue -- data is not ready to view in the Query level. So that it happened.
    Go to the 'Manage' in the InfoCube level and verify the last updated request are ready to report.
    The possible causes may be
    1. If the previous request may be an error in Cube level, the other requests will not be ready to report.
    2. If there is Aggregate is maintaining in the Cube level, you should perform rollup to fill aggregates and made the requests available to report.
    Edited by: prashanthk on Aug 31, 2010 10:48 AM

  • How to get the report server name in Forms 10g.

    How to get the report server name in Forms 10g.
    I'm using the Application Server 10g 10.1.2.

    Hello,
    I do not think that you can get this value from anywhere. A solution is to put the Reports server name in an environment variable stored in the /forms/server/default.env file, then to query it at Forms runtime with the TOOL_ENV.Getvar() built-in.
    Francois

  • Get the report name in reports 6i??

    Hi!!
    I need to get the report name from reports 6i, in forms i can get the form name whit :SYSTEM.CURRENT_FORM, but in reports this is not possible.
    How Can I get the name of the report??
    Thanks!
    Regards!!
    Edited by: JuaNiNNaio on 30-jun-2009 9:55

    Try srw.get_report_name!

  • On shut down I always get the message Program Not Responding. This happened before I installed Firefox. It does not pose a problem, that I know of but it does concern me.

    On shut down I always get the message Program Not Responding. This happened before I installed Firefox. It does not pose a problem, that I know of, but it does concern me because I always have to End Program manually when I get this message.
    == Over a year ago.

    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    SeaMonkey

Maybe you are looking for

  • My Macbook pro is running slow, no longer connects to my printer.

    My Mac has been running so slow, not connecting to internet or kicking me off after a couple windows are open.  Why is this happening and what can I do to "clean it up"?

  • Display is corrupted for GDM / Gnome (ATI card)

    I've done a clean install of Arch on a Toshiba laptop, but when gdm starts the display is corrupted with lots of strange artefacts (diagonal slashes across the screen, that sort of thing). Previously Gnome/GDM worked fine on this same laptop. When I

  • 3rd-party AC adapter for Powerbook and Macbook?

    Looking into buying an AC adapter to keep at a 3rd location I'm spending a lot of time at. My current Powerbook won't live forever, so I'll probably be getting a Macbook (Pro) in a future that's nearer and nearer, and thus it'd be great if I could fe

  • Sales/Use Tax - Automatic Account Assignment

    Our use tax on an incoming Accounts Payable invoice gets automatically charged to a GL account.  Is there a way to assign a profit center on that posting so that all postings to that GL account for that company are assigned to a profit center?

  • Pdf content type missing

    I tried to follow the directions to fix the PDF not downloading issue and when I search for PDF under preferences /applications nothing comes up Why? How do I fix this? I have spent hours trying to fix and am considering using Chrome instead because