Accessing  report variable

Hi, i am creating one function module, i need to return one internal table IT_OUTPUT, that is ok,  the total logic for filling of IT_OUTPUT is written in one report, this ALV report which is used internal table IT_OUTPUT for grid display, Now my issuse is using this report how to get the data of output internal table  ie IT_OUTPUT from that report. There is no export of output table in the report to memory and i don't want to change this report at all. How can i access the variable IT_OUTPUT into my function module.

Cut & paste the report code into function module, and kept only the code that deriving the IT_OUTPUT table .
or
change the report code and export the IT_OUTPUT table into memory and import in the function module
or
use Implicit Enhancment spot in the report and export IT_OUTPUT to memory

Similar Messages

  • Virtual Char - How Can I access report variable in COMMPUT method

    I want to acess the Variables of a query in the COMPUTE method of a BADI for implementing a viratual characteristics.
    Can some one let me know how this can be done.
    Thanks
    Amit

    Hi,
    Following threads may be useful for you.
    How to implement Virtual Characteristics or Virtual key figures
    How to implement Virtual Characteristics or Virtual key figures
    Virtual Characteristics...
    /community [original link is broken]forumID=134&threadID=16617&messageID=131078
    Regards,
    Vishnu

  • How to access environment variables from pluggable destination?

    Hi,
    I'm trying to create a java puggable destination for reports. Everything is working fine.
    I want to access reports environment variables from the java code (like REPORTS_PATH and other new variables that I want to create), but I can't find anything about this in the java API documentation.
    I want to use environment variables instead of destination properties (those I can easily access), because I want to be able to change context using env_id.
    Any ideas?
    Thanks,
    Luis

    I'm using Oracle Application Server Version 10.1.2.0.2
    Thanks

  • HTML links from Full Check Accessibility report do not open the corresponding PDF links

    I regularly generate full Check accessibility reports for the PDF user guides I create in MSWord. However, when I click the links in the HTML file/report generated, they are supposed to link/highlight the corresponding errors in the PDf file. Instead, I get an error message that "There was an error opening this document. Bad parameters."
    How can I get the links to work so I know which section in my PDF has the error (inaccessible items).
    Thanks

    I understand you are creating HTML reports and then using them to find errors/view the PDFs. 
    Is this a new problem or  have you always had problems with the links?  If it's a new problem, what has changed on your system?
    Can you view other PDFs in your browser? 
    Have you moved any of the files since you created the report -- as you may know the HTML report references a specific lcoation on your hard drive and if you moved the PDF after creating the report, it may not be able to find the file.

  • Generation of access report CNRCRMPRCUST999 failed.

    Dear Gurus,
             I’ve createe one pricing condition table in Dev environment and now I’m trying to transport it in Quality environment. This table is for CRM only.
    In development every thing working fine but while transporting in Quality I got the error "Generation of access report CNRCRMPRCUST999 failed." And I am Unable to maintain records for the respective condition type I got the error "There are no maximum generated tables for condition type ZXXX".
    Please help....
    Regards,
    Biplab

    Hello Singa,
    For the error;." there is no entry in the object directory (TADIR) for R3TR TTYP /1CR/RCBSAP017_T"
    This mean that Table 017 in R3 is for Application 'M' (Purchasing for Pricing 'A') which is not revelant for download to CRM. If you see the download object DNL_CUST_CNDALL, filters for T681 are on Application V, TX (KAPPL). In the R3 side in T681, have 2 entries for KAPPL= V, and the usage's are E (Rebate) and N (Free Goods). So this might be the reason why it has come to CRM. The relevant tables in CRM for the above are /1CN/CCBSAP017 and /1CN/CCFSAP017. If you see /SAPCND/T681
    table for these 2 entries, GESTA field has '5', meaning the tables are downloaded. However, these tables are not used in any free goods condition types or rebate condition types/access sequences in CRM and R3. So I think this table is not being used for rebates and free goods, you can also check the corresponding tables in R3, KOTE017 and KOTN017, which have 0 entries
    which indicate that they are not in use, so we can ignore this error.
    IPlease also check note 1003793. and restart the customizing download DNL_CUST_CNDALL.
    thanks
    willie

  • BW Query variable default value put in Crystal report variable question

    Why BW Query variable default value put in Crystal report variable for BO InfoView to open crystal report.
    I using Analyzer to open bw query,variables had default value ,but crystal report can't had variable default value ,and can't search variable  value.
    pho:
    [http://file.itpub.net/f/e38876ad4f6efb7e73980488e7d71f8d/4ae940e9/day_091029/20091029_2b04da1232144feba180OrB23SNvXtoT.gif/p/1.gif]
    [http://file.itpub.net/f/d93ddfe61e0eaf80429726c61f1a02ff/4ae940e9/day_091029/20091029_3211ffe04bf0302fbab5FRKnbwmH80p7.gif/p/BW_QUERY_Crystal.gif]
    Edited by: flying on Oct 29, 2009 8:20 AM

    I Know what to do .
    but Crystal report date variable value are Garbage characters "###".
    PHO:
    [http://file.itpub.net/f/39a8510104476707ae21c945db93ecba/4ae97949/day_091029/20091029_32dcbb7e7d99141483aesJ9KBJHXN0Kj.gif/p/2.gif]

  • Can we access report date wise?

    hi all
    can we access report date wise if yes then plz guide me?
    i made two text items,one for start date and second one for end date in form.if i issue date in these two text items like this
    start date: 01/08/2009 End date: 08/08/2009 and after pressing the when_button_pressed and it give me the report up to giving date,is it possible?
    plz help me and guide me more
    thanks in advance
    sarah

    hi sir
    sir i got an error in the following code
    SET_REPORT_OBJECT_PROPERTY(rep, REPORT_OTHER , 'P_START="' || TO_CHAR(:BLOCK.START_DATE, 'DD.MM.YYYY') || '" P_END="'|| TO_CHAR(:BLOCK.END_DATE, 'DD.MM.YYYY') || '"');
    here is the error:" to many declaration of 'To_char' match this call"
    my table name is date1
    and table structure is
    name
    address
    start_date
    end_date
    and i used this where query WHERE COLUMN BETWEEN TO_DATE(:P_START, 'DD.MM.YYYY') AND TO_DATE(:P_END, 'DD.MM.YYYY') in the form where caluse
    i am using u r codes for displaying report which one you posted yesterday
    sarah

  • 'How to..use reporting variables in BPS'  syntax issue

    Hi,
    I am implementing the white paper 'How to...use reporting variables in BW-BPS' and I am getting a syntax error in the include YBW_BPS_VAR_READ. The error indicates 'Statement is not accessible' for my line:
    SELECT SINGLE * FROM ybw_bps_var_map
    ybw_bps_var_map being my transparent table as described in the white paper.
    I have never seen such a syntax error, has anyone had the same issue? My code is the one in the white paper.
    Thanks for any help.
    David

    Hi David,
    I have the coding up and running. I have not seen this error before and don't know how to resolve it. If you cut&paste it from the PDF, then maybe some special characters got pasted into the ABAP editor. Try to delete the line and type it in manually.
    Regards
    Marc
    SAP NetWeaver RIG

  • How can I access global variables in a loaded Applescript?

    How can I access global variables in a loaded script, in Xcode, ApplescriptObjC? Basically, I have a global variable defined in my parent script using "property", and I need to modify objects connected to those variables inside of a loaded script.
    Example:
    Parent script:
    script AppDelegate
    property myTextField : missing value
    //linked to a text field object
    tell myScript to myAwesomeHandler_()
    end script
    Loaded script:
    on myAwesomeHandler_()
    myTextField's setStringValue_("The new Xcode is so glitchy ugh")
    //changes value of linked text field of parent script
    end myAwesomeHandler_
    The problem is, the variable is undefined in the Loaded script, and I need it to have the same value as the parent script, and I don't want to pass the variable through the Handler. Any ideas?

    I think want you are looking to do will need to be done in two steps. Because myTextField needs to be a property for the ObjectiveC part of the code you cannot turn it into a global.
    However if you make a temporary variable global assign the string to it in the handler then set myTextField off of it.
    global myTextFieldGlobal
    script AppDelegate 
    property myTextField : missing value 
    //linked to a text field object 
    tell myScript to myAwesomeHandler_() 
    myTextField's setStringValue_(myTextFieldGlobal)
    end script 
    on myAwesomeHandler_() 
    set myTextFieldGlobal to "The new Xcode is so glitchy ugh"
    //changes value of linked text field of parent script 
    end myAwesomeHandler_ 
    I know you stated you did not want the handler to return a value but I have to ask why? Global's, imo, are not a good idea and really should be used as a last resort.
    One other possibility is to pass a reference to the property to the handler. Not sure if that works in AS of if that would satisfy our requirement of not passing the variable through the handler
    <edit>
    Another though have you tried to define the property outside the script?  That is
    property myTextField : missing value
    script AppDelegate
    Not sure if that will work.
    You might also want to have a look at Scope of Properties and Variables Declared in a Script Object

  • How to create a conditional report variable, which displays the conditional

    Hi Experts,
    Could you please guide me how to build a conditional report variable
    For ex:
    I have the data for ATM and POS in the table. I will only get the data of ATMS because of the filters, I still want to display the POS in the report and the values for the POS will be 0.
    Actual Output:
    Description    Vaule
    ATM                100
    Desired Output
    Description    Vaule
    POS                 0
    ATM                100
    Thanks in advance...
    Regards,
    Sadiq.

    Hi Gaurav,
    I have a table which has columns and data as follows
    Year               Description          Trans.Amount                Trans.Count
    2009               ATM                     1000                               50
    2010               ATM                     5000                               200
    2010               POS                     1500                               100
    If I build a report and fetch the data for year 2010, report will display ATM and POS transaction amount and count.
    Whereas, for 2009 there are no POS transaction, report will display only ATM transactions.  But user needs the POS also to be displayed in the report with 0's for trans.amount and Trans.count.
    Could you please guide me how to achieve this, if it is possible
    Regards,
    Sadiq.

  • Access a variable in the Adobe form for Java Scripting

    Hi,
    I am unable to know how to access the variable in a Adobe form.
    The variable is field of an internal table. My adobe form structure is as follows
    MAIN_PAGE->FORMSET->FirstFORM->EXT.
    in the EXT subform the variable(cust)  exists.
    The cust is in turn an internal table.

    Hello Sreelatha,
    I think we cannot hide a page.  as in, page is the main container.  In a container, we can hide any field using some scripting.  Even though if we hide the field, it is present on page but not visible. 
    but if some logic is there, please let me know.
    Thanks,
    Rakesh.
    Edited by: rakhi966 on Sep 8, 2011 8:54 PM

  • Access custom variable value in web.xml context-param?

    My requirement or need is to access a variable value either in a class in my Model project or a backing bean in my View project. For example, one variable I need to access is an application server I am integrating with - 'testserver' or 'productionserver' - I want to be able to configure this within an external file so that I do not have to re-compile my application to change the variable.
    I was thinking about placing this variable in the web.xml <context-param> section as:
    <context-param>
    <param-name>servername</param-name>
    <param-value>testserver</param-value>
    </context-param>
    I need to access this value within a class (not a servlet) on an Application Module service method, though if needed, I could access it from a backing bean and pass it to the service method (less desirable.) Is this a good approach and how do access this variable from within a Java class including any imports I need to do (code example)?
    Thanks and Happy New Year!
    Hopefully most everyone is out spending time with friends and family versus stuck trying to complete a project like me...

    I found an example from SRDemo that provides what I was looking for:
    String serverhostaddress =
    FacesContext.getCurrentInstance().getExternalContext().getInitParameter("param-name-var-in-webxml");

  • Why can't I access the variables in my threads?

    hello.
    another question about threads..
    ==========================
    I have an inner class that implements Runnable (i.e. a thread) and has a variable in it. I want to be able to access that variable from outside the thread class so that I can set or retrieve the variable.
    here is the code for the program
    class myClass
         public static void main(String[] args)
              myClass c = new myClass();
         myClass()
              Thread t = new Thread(new myThread());
              t.number = 1;
              t.start();
         class myThread implements Runnable
              int number = 0;
              public void run()
         }//end myThread
    }//end myClassthe line
    t.number = 1;
    where I try to set the number variable to 1 gives me an error (in the MyClass constructor)
    This is my error
    AccessThreadVars.java:11: cannot find symbol
    symbol  : variable number
    location: class java.lang.Thread
              t.number = 1;
                        ^
    1 errorif I put a method in myThread, and then try to call that method from myClass (via t.MethodName()) it gives me that same error telling me it can't find it..
    what am I doing wrong? how can I get access my thread's variables and methods??

    1. Type names should start with an uppercase letter
    2. t is defined as a Thread, not as a myThread
    (which, may I insist, should be "MyThread"), so the
    compiler has no means of detecting that "number" is
    an accessible field of the object... which wouldn't be accessible anyway, cause you're trying to get attributes from your Runnable after wrapping it inside a Thread.
    Why don't you do something like :
    MyThread t = new MyThread();
    t.number = 1;
    new Thread(myThread).start();?
    I bet you don't use Thread's own methods anyway...

  • Accessing the variable in field symbol of nested internal table

    Hi,
    I am unable to access the variable in field symbol.
    The data in field symbol has nested structure. We need to access a variable in nested structure.
    Please find the code below:
          LOOP AT <i_fincorp> into <fs_fincorp>.
            l_madefor = <FS_FINCORP>-data_UI-ZZ0010.
          ENDLOOP.
    datatype of <i_fincorp> is type any table and <fs_fincorp> is type any.
    there is a structure 'data_ui' in <i_fincorp> and we need value of field 'ZZ0010' in data_ui structure.
    But, we are getting syntax error for statement in loop stating "There is no component like 'data_ui' in <fs_fincorp>".
    Can anyone please help me solving this issue.
    Regards,
    Santosh

    So simply access it dynamically
    data: nested_field type c length 50.
    field-symbols <nested_field> type any.
    "build the nested field name dynamically
    concatenate
           'DATA_UI'    "first give structure name
           'ZZ0010'  "then give field name (all in uppercase!)
    into nested_field
    separated by '-'.  "now you have DATA_UI-ZZ0010
    "so assing this nested field
    LOOP AT <i_fincorp> into <fs_fincorp>.
       assign component (nested_field) of structure <fs_fincorp> into <nested_field>. 
    ENDLOOP.
    Regards
    Marcin

  • Accessing container variable of BPM in Message Mapping function

    Hi,
    I have a scenario in BPM where i have a container variable that is used as a loop counter.I want to access that counter defined , every time when i go around the loop and perform certain actions based on that counter. so how can i access that variable in my message Mapping function.

    Hi Sudharshan,
    check these links, hope they give you the required information (i think there is some problem with SDN site, check these links after a while)
    Re: How to use Container Variable across Maps
    Container object in Message Mapping
    Copy value of container (abstract interface) to an other container
    Regards
    Vishnu

Maybe you are looking for

  • Exception on Windows XP Pro startup.

    Greetings, I have been unable to start an AdminServer or a Application Server after installation. -The server.log contains the following messages [09/Jan/2003:16:28:45] INFO ( 492): CORE1116: Sun ONE Application Server 7.0 [09/Jan/2003:16:28:52] INFO

  • Images not loading in CQ 5.5

    images from /etc/properties not loading in Adobe CQ 5.5? Does anyone have any solution to resolve the issue. We want images to be loaded for components. Thanks very much for your help.. Thanks & Regards, Kumar

  • How can I make my home wi-fi the preferred or default network

    I have a number of wi-fi networks available to me at home due to public wi-fi nearby Is there a way of getting the iphone to try and access my home one first As far as I can tell the software looks for available networks and then tries to access them

  • Need original drivers for SBLive!

    Hi, I need those drivers because I got an old vintage mac and I'd like to use my SBLi've!?mac edition?on it,?but the instalation CD became damaged. The drivers available here are update only so they won't install alone. Could someone help me to find

  • Problem Modify and optimize an application

    We have problem using modify application and optimize application on a specific application. The application name is GPFormat. When we do a modify application and choose "Reassign SQL Index" we get the following errror message: Error message:: Cannot