Get names of global variables from report (like Tab "Globals" in debugger)

Hello,
is it possible to get a list from all available variables in a report at runtime like the tab "Globals" in the new debugger?
The problem is that i don't know the names of the variables. So i could not do a dirty assign with field-symbols.
best regards
Marcel Gäbe

Try RS_PROGRAM_INDEX
table compo returns. filter with type = D
Will you please check GET_GLOBAL_SYMBOLS & RS_PROGRAM_INDEX _SOURCE

Similar Messages

  • XSL-How to get value of a variable from inside loop-- to the outside loop?

    Pls help
    hi im currently working on this xsl file..
    This works on generating a txt file,my problem right now is
    ' how can i get the value of a variable generated from the inside forloop,
    i have to get the total,sum value of this variables after performing the loop
    ***this is the for loop
    <xsl:for-each select="OutboundPayment">
    <xsl:variable name='id' select='generate-id(OutboundPayment)'/>
    <xsl:sort select="PaymentNumber/CheckNumber" data-type="text" />
    <xsl:variable name='PValue' select='format-number(100*PaymentAmount/Value,"0000000000000")'/>
    <xsl:value-of select='$id'/>
    <xsl:text>D</xsl:text>
    <xsl:value-of select='$DDate'/>
    <xsl:value-of select='$Batch'/>
    <xsl:text>3</xsl:text>
    <xsl:value-of select='format-number(PaymentNumber/PaymentReferenceNumber,"0000000000")'/>
    <xsl:value-of select='format-number(PayeeBankAccount/BankAccountNumber,"0000000000")'/>
    <xsl:value-of select='substring(Payee/Name,1,20)'/>
    <xsl:value-of select='$PValue'/>
    <xsl:variable name='Addend' select='concat($DDate,substring($DAcct,5,5),$Batch)'/>
    <xsl:variable name="LHash">
    <xsl:call-template name="GetHash">
    <xsl:with-param name="A1" select="$PValue" />
    <xsl:with-param name="A2" select="$Addend" />
    </xsl:call-template>
    </xsl:variable>
    <xsl:value-of select="concat('[',$LHash,']')" />
    <!--LHash*i have to get the total amount of this one from the outside loop /---->
    <xsl:call-template name='NewLine'/>
    </xsl:for-each>
    <!--I have to put in here the total value of that LHash/---->
    <!--This is the template on how to get the value of that variable in the inside loop/---->
    <xsl:template name="GetHash">
    <xsl:param name='A1'/>
    <xsl:param name='A2'/>
    <xsl:variable name='TwoSum' select='format-number($A1+$A2,"000000000000000")'/>
    <xsl:variable name='Weight' select='317191314191112'/>
    <xsl:call-template name="WDigit">
    <xsl:with-param name="Cnt" select="15"/>
    <xsl:with-param name="Sum" select="$TwoSum"/>
    <xsl:with-param name="Wgt" select="$Weight"/>
    <xsl:with-param name="Tot" select="0"/>
    </xsl:call-template>
    </xsl:template>
    <xsl:template name='WDigit'>
    <xsl:param name='Cnt'/>
    <xsl:param name='Sum'/>
    <xsl:param name='Wgt'/>
    <xsl:param name='Tot'/>
    <xsl:choose>
    <xsl:when test="$Cnt > 0">
    <xsl:variable name='Multip' select='substring($Wgt,$Cnt,1)'/>
    <xsl:variable name='Factor' select='substring($Sum,$Cnt,1)'/>
    <xsl:variable name='Prduct' select='$Multip$Factor'/>
    <!--xsl:value-of select="concat($Tot,'[',$Cnt,']')"/-->
    <!--xsl:value-of select="concat($Multip,'x',$Factor,'=',$Prduct)"/-->
    <!--xsl:call-template name='NewLine'/-->
    <xsl:call-template name="WDigit">
    <xsl:with-param name="Cnt" select="$Cnt - 1"/>
    <xsl:with-param name="Sum" select="$Sum"/>
    <xsl:with-param name="Wgt" select="$Wgt"/>
    <xsl:with-param name="Tot" select="$Tot+$Prduct"/>
    </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
    <xsl:variable name="Rem" select="$Tot mod 11"/>
    <xsl:variable name="Chk" select="11 - $Rem"/>
    <xsl:value-of select="format-number(concat($Tot,$Chk),'00000')"/>
    </xsl:otherwise>
    </xsl:choose>
    <xsl:template name='GetTotal'>
    </xsl:template>
    Thanks in advance for those who are willing to help.
    -Leighya

    It would have helped if you had posted your code as CODE but as it is, I could hardly read it. My guess about what you are asking is, if you want a template to return a value, just write that value to the result stream inside the template.
    If that wasn't what you were asking, then please post your code in a readable format.

  • Deletion of variable from report

    Hi All,
    I have created one user exit var ZPER_P1 then i didn't want to have it for some reason. So i deleted it from RSZGLOBV table with both version 'A' and 'M'.  Now it doesnt show the same var in report design under the characteristic object.
    Now i want to create another var with the same name, with different structure. At the time of variable creation, when I click on finish button, system gives message "Components ZPER_P1 (version A) has no info cube assignment."
    Can any body help me to create the var again ?
    Thanks for the help.
    Regards,
    Purvang ZInzuwadia

    Hi,
    Run the program COMPONENT_REORG in SA38.
    In the pop up screen select 'VAR' in type and give the technical name of the variable in the technical nale part.
    Click execute and see whether that variable exists still in the system.
    If it is found you can delete it from here.
    Regds,
    Shashank

  • How to get name of the month from current date.

    Hi,
       How to get the name of the month from current date.
    Thanks,
    Senthil

    Sethil,
    Use your date(let us say Date1) instead of sy-datum.
    CALL FUNCTION 'MONTH_NAMES_GET'
    EXPORTING
    LANGUAGE = SY-LANGU
    IMPORTING
    RETURN_CODE =
    TABLES
    MONTH_NAMES = itab_month
    EXCEPTIONS
    MONTH_NAMES_NOT_FOUND = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE itab_month
    WITH KEY MNR = date1+4(2).
    itab_month-LTX will contain the value you are looking for
    Good luck
    Raghava

  • Passing variables from Report to Form

    Hi, I need pass a couple of variables from the REPORT to two fields in the FORM for save in a table. Somebody knows how do I do this?. Any suggestions?
    Thanks a lot!
    I think that this situation is different that pass variables from FORM to REPORT.

    You need to use a Link component to your Form that you then attach to one of the data columns in the Report. When you edit the link in the report, you can specify the fields to pass.

  • Print variable from report to Sapscript that is send as a message(Nast)

    Hi there!
    I want to print an internal local table on a sapscriptform which is printed as a message from a PurchaseOrder.
    So i created a new entry in NACE for a new Messagetype, which calls a Programm (Z_PROGRAM) and a subroutine (Z_ENTRY) and a formular (Z_FORM) That works, i got a breakpoint here.
    Problem: every variable that is filled in the programm is still empty on the formular! i have defined a gv_test in Z_PROGRAM (global) and in the form (using form-debugger) i can see that the gv_test is empty.
    My Process.. I create the message using me22n. I start it using ME9f. Then my Breakpoint in Z_ENTRY pops up. There i fill the gv_test. Then i call open_form start_form write_form and close_form.
    My ZPROGRAM
    REPORT  zmelief01.
    data: gv_test type char4.
    FORM entry_zlif USING ent_retco ent_screen.
    BREAK-POINT.
    gv_test = 'SIMSALABIM'.
    CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = space
          form     = 'Z11_ZLIEF1'
          language = 'D'
          OPTIONS  = itcpo.
      CALL FUNCTION 'START_FORM'
      exporting
          form      = 'Z11_ZLIEF1'
          language  = 'D'
          startpage = 'MAIN'.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          window = 'MAIN'.
      CALL FUNCTION 'END_FORM'.
      CALL FUNCTION 'CLOSE_FORM'.
    My Form:
    Window: Main
    Page: Main
    Language: DE
    ST  |  Print my variable: &gv_test&.

    HI BonsaiKo,
    Thank you for visiting Apple Support Communities.
    It sounds like the Chrome application is unresponsive on your Mac. The rainbow disc you see is called the "wait cursor," which spins when your computer is processing something.
    If the cursor does not stop spinning, you may have to force Chrome to quit using these steps:
    OS X: How to quit an unresponsive application using Force Quit
    Using the Force Quit feature of OS X makes an application close, even when it is not responsive.
    Important: Normally you should not need to force quit an app to close it. When an app is forced to quit, any unsaved changes to open documents are not saved, so try these methods to normally close the app first:
    Choose Quit from the app menu. For example, in Safari, choose Safari > Quit Safari.
    Choose Quit by right-clicking or control-clicking on an app's icon in the Dock.
    Thank you for participating in Apple Support Communities.
    Best Regards,
    Jeremy

  • Getting name of the variable?

    Hi, Is there any way to get the name of the defined variable ?
    for example
    var description:String = "Some description";
    var variableName = getVariableName(description);
    trace(variableName); // output = "description"
    Thanks

    you can retrieve the xmllist of variables (string or otherwise), from any object (eg, the current timeline) using the following function.  each list item has a type property and name property:
    function variableF(o:Object):XMLList{
    return describeType(o).variable;

  • RRI - Target query should get input values to variables from first Query

    Hi,
    I have 2 queries in RRI, when i execute it , i am going to target query, but poping the variable screen, but i should get the input values from the first query automatically.
    ex: in my first query, If i select CUSTOMER - A, then second query directly should take the input as Customer as A ans display the Customer A values.
    Thnaks,
    Amar.

    Hi,
           In the Assignment details, I have given the Document date variable of the second query  for the 0calday of the first query.I hope this sentence is clear
    Then the 0calday value directly passes to 0doc_date variable of the second query. And this 0doc_date variable is not seen in the second query.But rest of the variables of the second query like doc num ,category etc. are still visible in the pop up screen. the requirement is Pop Up Screen should be avoided completely
    How can be this achieved.
    Regards,
    Amar

  • How do i get rid of warning popups from FF like FF won't allow this page to open?

    Simply put every time I try to open a page Firefox always pops up a warning box that says do I want to allow FF to open this page or some other such nonsensical idiocy! If I didn't want to open the blasted page would I have entered it in the first bloody place? I have my pop ups enabled for all pop ups already and that does not work either. What I want is this- NO WARNINGS FROM FF ABOUT ANYTHING AT ALL!!- How do I accomplish this major miracle? I run Firefox 3.6.16 because FF4 crashes more than 16 does. 16 works like crap too and won't allow imports from IE or Opera, Chrome or Orca or even Cometbird. I cannot file for my unemployment comp unless I can get rid of this pop up and fast! Can anyone help me? Please? Thanks I hope- JKMc/keimanzero

    anasazii wrote:
    Thanks, Shailendra!I am glad it worked, Thanks for the point Janel. :)
    That seems to work for when I run the page through the iSupplier portal. However I noticed during development when I am testing the page on my computer, I am still getting this message? Is there anyway to get rid of it on the client side? I assume that profile is set correctly on the development instance which you are using from JDEV.
    Sometimes you need apache bounce to make sure the profile option change come into effect.
    So do a apache bounce.
    Thanks
    Shailendra
    >
    Thanks,
    Janel

  • I want to copy the name with email address from Mail like I could before Mavericks

    Hi There
    I have resisted upgrading to Mavericks for all this time because Mavericks now stops the name of the contact being copied when I copy the email address from the sender. What is now copied is: '[email protected]'
    What I want and what it used to be before Mavericks is: 'Dave Garnish <[email protected]>'
    I know it sounds petty but it has stopped me upgrading for all this time, but now I need 4k monitor support.
    Thanks in advance anyone who may have the answer to this.
    Best
    Dave

    The following Terminal command used to enable the use of the name along with the email address:
    defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool YES
    (Change YES to NO to undo the change.)
    I don't know if it still works.
    You can also affect this feature in the mail message via Mail, Preferences, Use Smart Addresses.  When unchecked the sender's address gets the name and angle bracket thing.
    charlie

  • How to get current quater as  variable in Report title

    Hi Experts,
    I am trying to get current quater to be displayed as variable in the reports title.
    @{Quater[Q]}
    Can someone provide me exact syntax to get this one in Report title page...
    Thanks
    V

    Hi,
    Please refer to the link below:
    http://debaatobiee.wordpress.com/2009/09/29/using-repository-session-and-presentation-variable-in-titlesubtitlenarratives/
    Close the thread and award points if the question is answered.
    Cheers,
    -Amith.

  • Using LMS to extract VRF name as a variable from device config to deploy VRF name in additional configuration

    Using LMS is there a way to run a job which would extract the VRF name in part of the configuration and then use it as a variable to deploy additional configuration using the VRF name. We have a number of management VRF's and need to deploy a mass configuration change on a number of devices.
    aaa group server tacacs+ blah
    server x.x.x.x
    server x.x.x.x
    ip vrf forwarding test

    I am working for a service provider and I was given a task to configure more than 50000 devices (!). First I started with VBS and some scriptable terminal application, but it was too complicated to handle that much data. I then decided to develop my own application dedicated to device mass-configuration. As I understand your question, you may also find it useful : http://www.prettygoodterminal.com
    BR 

  • How do i get value of Environment variables from a java program?

    Hai,
    I have a setup file wherein i set the path for the root directory , in the following way.
    setenv TPEROOT "/home/systpe/khurram/changes"
    when i give echo $TPEROOT
    the path , home/systpe/khurram/changes , is displayed on the console
    If i want to assign the $TPEROOT to a string variable str in my java program , then how can i do it.
    I want to use the value of the environment variable in my program.
    Any help in this regard would be very useful
    Thanks
    khurram

    java -DTPEROOT=$TPEROOT my&#337;ackage.myclass myargs

  • Is it possible to retrieve my browsing history from your server if I can't get it on my computer from the history tab (the box is checked which deletes history)?

    kjjkkgkouihjvh

    No, if Firefox is set to delete browsing history when it closes, that data wouldn't be passed to the Sync server.

  • How to get the Change Log Table name of the ODS from the system table

    Hi,
    I have a list of ODSs in the system and I am interested in finding the corresponding Change Log Table and the number of records in that table.
    Can any one please tell me the name of the system table where this information is stored.
    I dont want to get in this information manully (from the Contents tab of the ODS maintenane).
    Regards,
    Harikiran Gunnala

    Hi
    Go to SE16
    Give the table name as "RSTSODS".
    For User application field give CHANGELOG as input
    and execute. You will get all the list of Changelog tables Along with below mentioned data
    PSA
    Version
    To
    Valid from
    Object Status
    Technical ODS name
    Program Name
    Maint  Program
    Object Name
    Last changed by
    UTC Time Stamp in Short Form
    Partition number
    Regards
    Raj

Maybe you are looking for

  • Replace non-english characters function

    Hi folks, I have a text which includes non english characters. Is there any trick, how can I replace those characters with "closest" english character? Examples: "Hytölä"  to become "Hytola" "Säynatsälo" to become "Säynatsälo" etc ... I was thinking

  • Installation Problem

    A newly purchased Photoshop CS6 installed without problems on my MacBook Pro (OSX6.8).  However, when I tried to install it on my work computer, an iMac with the same OSX6.8, I received multiple error messages after the installation and the program w

  • Import-Module WebAdministration question

    Hello all: I am writing a script that will copy files to a local root directory for a web app we have.  Once this is done, I want to refresh the application pool.  In reading on the process, I believe I would have to import the WebAdministration modu

  • MAC operating systems problem

    Hello, I have devoloped the menubar of my Project for MAC o.s. It's working fine on firefox version 2.0 but As soon as i upload file the further processing is stops.BUt file is uploaded properly.But after that the next process stops can any body tell

  • How can I be a 100% member to skype ? Am 80% into ...

    Most people in PNG are new to this skype network a few who r in our city and traveled overseas may av used it, as for me, I am a 1st timer who dont use a credit card o either a paypal , that's why I cant be a ful 100% member. Can anyone advise me on