This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
SAP COMMUNITY NETWOR SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
SAP NetWeaver Business Warehouse (Formerly BI), Will also work on SAP BI 3.5. For more information, visit the EDW homepage
Summary
This article gives clear picture about how to use Text Variables in BW/BI reports headings.
Author: Surendra Kumar Reddy Koduru
Company: ITC Infotech India Ltd. (Bangalore/INDIA)
Created on: 24 June, 2011
Author Bio
Surendra Kumar Reddy Koduru is a SAP BI Lead Consultant currently working with ITC Infotech India Ltd (Bangalore/INDIA). He has got rich experience and worked on various BW/BI Implementation/Support Projects and he is the author for various Articles and Blogs (SAP-BW/BI) in
Live Scenario: ................................................................................................................................................. 3
Creating Text Variables:.................................................................................................................................. 6
Related Content ................................................................................................................................................ 16
Disclaimer and Liability Notice .......................................................................................................................... 18
How to Use Text Variables in BW Reports Part - 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
This article addresses the requirement of Text Variables in BW/BI Reports, in this article I’m explaining the following scenario…
How to use the Text Variable in BW/BI Reports, and how to display the data for Fiscal Year Period based on User Input Date.
Live Scenario:
Users want to see the Sales revenue data for Financial Year Period based on Users Input date and they want to know for what Financial Year Period the report is displaying the result, i.e. they want to see the Financial Year Period in Report heading.
Steps:
Create User Entry Variable ZDATE_M on 0CALDAY.
For reference look into the following screens.
How to Use Text Variables in BW Reports Part - 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
Once you create above variables, you need to create Text Variable to display the Fiscal Year Period details in report heading, follow the below steps.
Open the report and go to the properties of the report and in General tab you can see the report Description, keep the cursor just aside and click on Create New Variable Icon, see below screen.
How to Use Text Variables in BW Reports Part - 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
DATA : l_s_range TYPE rsr_s_rangesid, loc_var_range LIKE rrrangeexit, zbdatj LIKE t009b-bdatj, zbuper LIKE t009b-poper, zper LIKE t009b-poper, ZGJAHR LIKE T009B-BDATJ. DATA : ZDT TYPE SY-DATUM. CASE i_vnam.
How to Use Text Variables in BW Reports Part - 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document.