Show the period value in column header using Text Variable

We are using Posting Period & Financial Year to calculate YTD & MTD, for current year and previous years. These posting period and financial year characteristics are custom created characteristics we are using due to customer specific requirement.
Input values are posting period, financial year and numeric value. To calculate previous year, I need to subtract numeric value from the input financial year. Every thing is working fine up to this.
In the report I need to show the posting period and financial year values dynamically in each column header of the report for MTD, YTD for current year & previous year. I tried to achieve this using Text Variables, but I didn’t succeed. If some one can give me some idea to resolve this, it would be very helpful.
I am excellent in ABAP coding. If you can specify me to code in User Exit, I can do it.
Column headers should be 08.1999 Sales Qty, 08.2008 Sales Qty, 1999 Sales Qty, 2008 Sales Qty.

Hi Abhinav,
Try using the content text variables 0T_FYEAR and 0T_FPER3, when used in the head these variable should display the year and period specified in the RKF.
e.g
&0T_FPER3&. &0T_FYEAR& Sales Qty = 08.1999 Sales Qty
If that doesnt work, try creating text replacement path variables referencing the variables you created for the year and period input. To do this click on the RKF and click on the dropdown by the yellow box next to the description on the general tab and select New Variable, enter the description, tech name and set processng by to Replacment Path, then select period as the ref. characteristic, then on the replacement path tab change replace variable with to variable and then select the variable you are using for the period input, save then hit ok, this is now a text representation of the variable your are inputing for period and can be used in the column headers, you will need to repeat the process for the fiscal year.
Hope this helps
Josh

Similar Messages

  • How to show the VALUE as the Column Header using SQL query?

    Hi
    I have a requirement to show the picked value as the column header using SQL query.
    Example:
    ======
    SELECT EMPNO FROM EMP
    WHERE EMPNO=7934;
    Result Should be:
    7934
    7934

    I have a requirement to show the picked value as the column header using SQL query.In sql*plus you can do
    SQL> set verify on
    SQL> def e =  7934
    old: SELECT empno "&&e"  FROM emp  WHERE empno = &&e
    new: SELECT empno "7934"  FROM emp  WHERE empno = 7934
    SQL> SELECT empno "7934"  FROM emp  WHERE empno = 7934
          7934
          7934
    1 row selected.

  • Could not able to show a scalar value in Page Header/Group Header of the re

    Hi,
    I could not able to show a scalar value in Page Header/Group Header of the report which is returned from Sub-report. But I am able to display it in both Group Footer and Page Footer.
    I used shared variable in formula filed of both main and sub report and both are placed in the main and sub-report.
    Please do needful.
    Thanks & Regards,
    Mani G.S.

    You can only show Shared variables in main report in a location after the subreport has executed.
    If you want to show values in page header or group header you must place subreport in a section above these. This is unlikely to be possible so you will have to live with displaying results in Group/page footer.
    Alternatively you can execute subreport twice, once where subreport is hidden in a section above page/group header and pass summary figure you require and then again where you currently have subreport so you can see details as required.
    Ian

  • What formula do I use to show the net value (less 23% tax).

    In Numbers, what formula do I use to show the net value (i.e. less 23% tax).

    thejuddo writes:
    "$100 plus sales tax of 23% would be $123.00 but in order to get the net value of $123.00 less the tax I would have to divide by 1.23 not multiply by 23% and then minus it."
    Correct;
    The 23% tax is 23 one hundredths of the base amount, and is applied to that amount. As a formula, this can be stated as:
    =B2+B2*C2
    or
    =B2*(1+C2)
    (either applying to the data arrangement shown in the top table, and entered in  D2 of that table)
    In the other direction, though (bottom table), we start with the Gross amount and the Tax rate as known quantities, from which we are to determine the base amount, remembering that the 23% Tax rate is 23% of the Base amount, not 23% of the Gross amount.
    Rewriting the two formulas above as equations, with g, b, and t as the variables, we get:
    g = b + (b * t) 
    g = b(1+t)
    Solving the second for b:
    b - g/(1+t)
    Expressed as a formula (with the data as arranged in the bottom table, and the formula in D2):
    D2: =B2/(1+C2)
    In both directions, it may be prudent to round the result to the nearer hundredth, as done here for the calculation immediately above:
    =ROUND(B2/(1+C2),2)
    Regards,
    Barry

  • Radio LOV not showing the retrieved value

    I have a radio button with 3 options: STATIC2:One;1,Two;2,Three;3
    On "load after header", I run a retrieve that populates all the fields on the screen, including this field. The session state has this correct value but the radio button that matches the value does not get "selected". (So the session state value is 3, but no radio is marked.)
    I changed it to a select list and chose option TWO. After I save, the DB gets the correct value, and when I reload the page, the session state also has the value 2, but the select list still shows ONE
    How do I make the correct radio button/select list item get marked when the data is loaded? I've tried every combination of Source that I can think of (always load, only load when null, static assignment, DB column, etc... nothing works).
    If I change it to a text field, it does show the right value from the DB.
    (APEX 3.1.1 Oracle 10g)

    It still doesn't work with those settings. In debug, it shows that the "value" is 2 but the select list will only show the first item in the list (in this case it's 1). I can't think why this would be occurring, is there some other setting that one can change to make select lists show properly (no select lists in tabular forms will show properly either, but I figured that was related to the tabular form, not to the select list)
    ETA: I think it might have something to do with the column originally being a char, instead of a number. I changed the column datatype and made a dynamic lov based on this and it works now.
    Edited by: mimi_jones on Apr 5, 2010 5:37 AM

  • How can I change excel column header using Labile.

    Dear Experts,
                          How can i change excel column header using LabVIEW.
    Thanks for any and all help!
    M.S.Sivaraj.
    Sivaraj M.S
    CLD

    As I said in my previous post, column headers in Excel are merely row 1 cells. May be I missing something here, so please be more explicit with your question.
    I guess you are using the Excel Report tools, and you want to modify an existing sheet. From my limited experience with the Excel Report tools, it is not possible to open an existing woorkbook (except as template...), so the answer to your question should be "Forget it"...
    The work around is to use the example I pointed for you before, and either to write the whole new colum headers as a string array, starting in A1, or to write a single string to a given cell in row 1.
    Hope this helps 
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • How to show the Characteristics Values of Batch appear upon Search?

    Dear all
    We are implementing SAP for Wood Industry.
    Facts:
    1. There are 3 batches created for the raw material.
    2. Each batch has the characteristics of Thickness, Width, Length with characteristics value  24mm, 140mm, 1530mm
    3. 1 Production Order has been create to produce raw material (RM) to semifinised goods (SM).
    Quetions:
    During GI to Produciton Order using MVT 261, when we try to select batches from the Item Detail level, the pop up search windows only show us the existing 3 Batch Numbers available for the RM, it does not show the characteristics value "thickness, Width, length" that describe each batch.
    And this has caused serious problem to use during their selection of batch as batch number will only make more sense to them if it is shown together with the characteristics value.
    Apart of opening additional screen to show the batch information of each batch, is there any config I need to do to solve this situation?
    Mark will be given handsomely.
    Thanks.

    Hi,
    it is possible to use another search help (Tab Strip: Search for batches via classes, when you press F4 in the batch field).
    Here you have to enter the class number first.
    Then you get a list of all characteristics in this class, and you can narrow your selection, by setting values for specific characteristics.
    After that, press F8 (Find in initial class)
    You will get a list of batches, assigned to the selected class, and fullfilling your selection criteria.
    Now you can display either the characteristics of a single batch, or you can define a layout for the ALV-Table control, with all characteristics, which you want to see in the overview.
    Another possibility is, to open up the 'batch information cockpit' (transaction BMBC) in a separate mode. Here you can see the characteristics ( if you define a selection class on tab strip 'Characteristics' ), e.g. in combination with stock information, which might be relevant as well.
    Here you can download some screenshots (link wiil be valid for 80 days)
    Link: [https://sapmats-de.sap-ag.de/download/download.cgi?id=B7BKFOTZKKGJ73YA86VZISCMALG8DTQRTX1YX02892OT1D308Z]
    Kind Regards
    Michael Franz
    IBU Mil Products & Mining
    SAP AG

  • How can I change the color of a column header?

    I need to change the color for some column header, how can I do it in webdynpro ABAP? Is it possible?

    hi ,
    i have used in alv....
    <font color="RED">text</font>
    but i think it is not possible to change the colour in table ui element.
    regards,
    sahai.s

  • In smartforms the quantity field is not showing the perfect value .

    In smartforms the quantity field is not showing the perfect value because the point is shifting left
    insted of showing 8.10 it is showing 80.00.

    Hi,
    Dont use the quantity field same as that it come from interface Fm declare one field for quantity in the global settings and write the logic to pass the value to that field and pass that global value to the particular texts...same is the case with currency fields also.
    Regards,
    Rohan.

  • The parameter 'host_name_full' of ICM not showing the right value

    Hi ,
    The parameter 'host_name_full' is not showing the correct value.
    It is still showing the value as fully qualified domain name, where as we have reverted the setting some time back .
    can anyone let me knwo from where does it pick up the value from .
    and how can i Edit the value to show the correct value
    Thanks
    Nikhil

    Hi Nikhil,
    Check this 2 links will be useful to u r query...
    http://help.sap.com/saphelp_nw04/helpdata/en/e7/7af83b0255a206e10000000a11402f/content.htm
    http://www.basisconsultant.com/modules.php?name=Content&pa=showpage&pid=12
    Regards,
    Sridhar

  • The Revenue distribution account is not showing the updated value

    Hi dear
    I have updated the Revenue distribution Account for the Debit Memo transaction type in AR.
    But when i am entering a new DM transaction using Trasactions window, the Revenue Account is still showing the old value.
    Even i have created a new memo line with a new Revenue Account but still the old value is appearing.
    Can somebody help me plz?
    Thanks.
    Regards,
    Roshan

    Clear the cache and the cookies from sites that cause problems.
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Unable to pass the values to stored proc using presentation variable in OBI

    Hi All,
    Need your help regarding in resolving an issue in OBIEE 10.1.3.4.1
    There is an OBIEE requirement whereby two prompts need to be defined.
    1.     Textbox prompt
    2.     Drop-down prompt
    The dropdown values should be populated using textbox prompt. So, we have used presentation variable in textbox prompt and passing the same to select query of drop-down.
    Until this step, the report works just fine.
    Now, the value in both textbox and drop-down needs to be passed to stored proc.
    While trying to pass the values by using the presentation variable, the following error comes-up saying
    Session variable has no value definition.
    Note:Although the corresponding session variable has been set to default value,still the error appears.
    Please advise.
    Regards,
    Prasad

    "Session variable has no value definition" I'm assuming typo error and it should be presentation variable.
    Set default value for presentation variable that may work

  • Showing the selected value in h:selectOneMenu

    Hi All JSF Gurus,
    Actually I am populating the list in a h:selectOneMenu from the database. I am facing the following problems:
    1. I have initialzed a variable in the faces-config/managed bean(neither of them works) and mapped it to the value in my JSP but by default it displays the last record in the database and not the value being initialized.
    2. In case of an error, I am displaying the error message in the same page being refreshed. All the other h:selectOneMenu with the values being populated hard=coded and not from database show the stored values that were set by the user previously but this h:selectOneMenu filled from database simply displays the default value as the last entry from database.
    I am stuck past 2 days
    Please help me friends :(
    My code looks like this...
    JSP:
    <td>
                   <h:selectOneMenu id="clientFirm" value="#{pmtBean.paymentTypeDesc}" required="true" >
                                  <f:selectItems value="#{pmtBean.paymentTypesList}" />
                                  </h:selectOneMenu>
                             </td>
    Bean
    private String paymentTypeDesc;
    private Collection paymentTypesList;
         public Collection getPaymentTypesList() {
              if (null == paymentTypesList) {
                   paymentTypesList = Collections
                             .synchronizedList(new java.util.ArrayList());
              } else {
                   paymentTypesList.clear();
              try {
              CashwebDAO dao = CashwebDAO.getInstance();
              StringBuffer where = new StringBuffer();
              where.append(" where payment_type = '");
              where.append("WT");
              where.append("'");
              System.out.println(" INSIDE getPaymentTypesList paymentType ---------" );
              dao.setupPaymentTypes(new CashwebDAOBridgeAdapter() {
                   public void processPaymentTypes(ResultSet rs) throws SQLException {
                        System.out.println(" INSIDE processPaymentTypes ---------");
                        System.out.println(" <><><><><><><><> getPaymentTypeType ---------" +getPaymentTypeType());
                        String finalPaymentType;
                        //paymentTypesList.add(new SelectItem(" ", " ", " "));
                        valuesMap = new HashMap();
                        while (rs.next()) {
                                  paymentTypeType = rs.getString("payment_code");
                                  setPaymentTypeType(paymentTypeType);
                                  paymentTypeDesc = rs.getString("description");
                                  finalPaymentType = paymentTypeType + " " + paymentTypeDesc;
                                  paymentTypesList.add(new SelectItem(paymentTypeDesc, paymentTypeDesc, paymentTypeDesc));          
                                            /*if(null != getPaymentTypeType() && !"null".equals(getPaymentTypeType()) && !"".equals(getPaymentTypeType())){
                             //If a Payment Type was selected, then get its desc and set the default
                             finalPaymentType = paymentTypeType;
                             paymentTypesList.add(new SelectItem(finalPaymentType, finalPaymentType, finalPaymentType));
              }, where);
         } catch (Exception exc) {
              MasterBean.log("Exception getting Payment Types List.", exc);
         return paymentTypesList;
         public void setPaymentTypesList(Collection paymentTypesList) {
              this.paymentTypesList = paymentTypesList;
         public String getPaymentTypeDesc() {
              return paymentTypeDesc;
         public void setPaymentTypeDesc(String paymentTypeDesc) {
              this.paymentTypeDesc = paymentTypeDesc;
    faces-config
         <managed-bean>
              <managed-bean-name>pmtBean</managed-bean-name>
              <managed-bean-class>com.daiwausa.cashweb.jsf.mbeans.PaymentBean</managed-bean-class>
              <managed-bean-scope>session</managed-bean-scope>
         <managed-property>
    <property-name>paymentTypeDesc</property-name>
    <property-class>java.lang.String</property-class>
    <value>Margin Excess - 01</value>
         </managed-property>
         </managed-bean>     
    Thanks in advance,
    Ruhi

    Do you still have the problem?

  • How can i create an indicator to read the RMS value of my FFT using FFT Spectrum (Mag-Phase).vi

    Hai to all,
    how can i create an indicator to read the RMS value of my FFT using FFT Spectrum (Mag-Phase).vi.
    as u can see in my block diagram(attached), i can use statistic to read the RMS value for the data but i cant's use it on the FFT Spectrum (mag-Phase).vi .
    Thank you for helping.
    Attachments:
    block diagram.jpg ‏48 KB

    hafizzuddin wrote:
    thank you for the opinions, for now i am not using any express Vi..
    In the long run you will benefit from this. Anyway is your problem solved, or do you need more help?
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How to select the larger value of column?

    I would like a cell value (here E8) to be for example: (max $E$1:E7) + B8. Where all previous E column values were find the same calculation except for E1 that is a simple number and not a calculation? It does not work. It give the result for E1 + B8. The larger value should be E7. So the correct result should be E7 + B8 but if there is no value in E7 I want it to choose the larger number of the E column so far. Does some one can help me?

    Hi Frederic,
    If I understand "Where all previous E column values were find the same calculation except for E1", you want each cell, starting at E2 to contain this formula.
    E2: =MAX($E$1:E1)+B2          E8: =MAX($E$1:E7)+B8
    If that's the case, then "there is no value in E7" would never occur, and, unless the value of Bn were negative, the maximum value in column E would always be the one immediately above the formula.
    In that case, this simpler formula would produce the same result:
    E2: =E1 + B2                        E8: =E7 + B8
    Regards,
    Barry

Maybe you are looking for

  • Spl gl and alternative recon acc

    hi, kindly let me know point 1 and also let me know my question below correct or not. 1)may i know where and how to create spl gl acc and alternative recon acc? 2) spl gl acc = prepaid acc? 3) 100 will be posted in alternative recon acc. this recon a

  • Acrobat Reader crashes with patch 108652-40

    Hello, I just installed Solaris 8 on a sun4u machine. After that I installed the recommended patches cluster. When trying to start Acrobat Reader 4.05 the CDE session crashes. After deinstalling the patch 108652-40 Acrobat Reader is working well agai

  • Automator and ClamXav workflows...HELP

    I was wondering if there is anyway that I could automatically set up some type of workflow with my antivirus program to scan all files that I download from a limewire type of program? Is this even possible with Automator? Doobs

  • Slow Performance Topic publish method in 9.1 vs 6.1

    We are migrating from WebLogic 6.1 to 9.1 and are currently running both in parallel. We will eventually shutdown 6.1 permanently once we are happy with 9.1.           We have a severe performance problem in 9.1 that does not happen in 6.1.          

  • Can't delete email header

    I have an email header in one of my accounts that I can not delete. There is nothing showing in the body of the message, but the title is in the header. I hit delete, and it become grey but remains in the box (and the inbox reads "1 message"). How do