Reports 6.0 changing label dynamically

I am using reports 6.0. I want to change reports label dynamically. I want to build the routine which should work for all the reports. This concept I want to use multi-language facility in my application.
I have tried set_field, set_attr. But it didn't solve my problem . Can any one help me ?

Madhuri,
Please try the Reports forum rather then the SCM forum.
David

Similar Messages

  • Business Graphics UI SimpleSeries Changing Label Dynamically

    Hi guys, I am using the business graphic UI element in one of my WD4A component. My BG has 2 simple series and one category. As I can see, using simple series, the label property cannot be bound against a context node attribute. I have to find a way to set this property dynamically.
    According to this link: click after on the simple series
    [http://help.sap.com/saphelp_nw70/helpdata/EN/ed/258841a79f1609e10000000a155106/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/ed/258841a79f1609e10000000a155106/frameset.htm]
    It seems we can change the label property dynamically, maybe using the API but how?
    I found the interface IF_WD_BUSIN_GRAPHICS_MTD_HNDL, but I don't know how to use it!
    thanks
    Alex

    Hi Alexandre,
    have a look at the Web Dynpro component WDR_TEST_EVENTS, view BG_SIMPLE_IN_MPANE, method WDDOMODIFYVIEW.
    Here is a snippet for setting additional customizing or data for a business graphics view-element. Call this from method WDDOMODIFYVIEW.
    DATA lr_bg TYPE REF TO cl_wd_business_graphics.
    DATA lr_bg_method_handler TYPE REF TO if_wd_busin_graphics_mtd_hndl.
    DATA lr_add_cust_xml TYPE REF TO if_ixml_document.
    lr_bg ?= ir_view->get_element(  <your viewid of business graphic>  ).
    lr_bg_method_handler ?= lr_bg->_method_handler.
    lr_add_cust_xml =  get_<your additional customizing/data>.
    lr_bg_method_handler->add_direct_customizing(
    i_customizing = lr_add_cust_xml
    Kind regards,
    Silke

  • How to change the text of label dynamically

    Hi all,
    I have done a dynpro program.It requires to implement the dynamically display the label text, for example: there is a label, sometimes, we want to display "Purchase Order" and sometimes we want to display "Sales Order". Can anyone tell me how to change the text of label according to my requirements? thanks in advance!

    Hi Wei,
    AS of now you will not be able to change the Text Field ( Label ) dynamically or at runtime. This is a limitation.Refer to this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/e4/2adbef449911d1949c0000e8353423/frameset.htm
    But, there is a way around.
    You can make a text field Visible / Invisible based on your program logic. So, based on what you want, you can process a module which will take care of that.
    Have a look at these DEMO Code. You can have a good idea to implement the logic.
    DEMO_DYNPRO_MODIFY_SCREEN - Demonstration of Dynamic Screen Modifications
    Thanks,
    Samantak.

  • Change Labels in Legend

    Hi!
    How to change labels in graph legend with presentation XML file? I have created the JSP-based report on such query:
    select ex_sub_name,
    sum(cnt),
    sum(gos)
    from ....
    and have inserted bar graph into this report.
    For every ex_sub_name I have two bar with values from
    sum(cnt) and sum(gos).
    My problem is that labels
    in a graph legend are drawn as sum_cnt and sum_gos.
    But I can not use aliases in SQL-query for some reasons...

    The graph displays the labels based on the data that it is passed. As part of your query you should specify a column with more meaningful labels. This sounds like a metadata issue if you are using OLAP data.

  • Change Labels on Summary Columns

    Could anyone advice me how to change labels on the summary columns on a cross tab report?
    Current it shows for e.g. count(orders).
    I would like to change it to "Order Count"
    Also how can i change the value format on a drill down report?

    Hi,
    Thanks a lot for your answers.
    First, on umResetPasswordPage.jsp I have found the code where "LAST_NAME" must take a value from other file (Could be from umelogonbase.jar?) so, maybe it is not the right place to change it, isn't it? or did you suggest by other way?? This is the code on the umResetPasswordPage.jsp file:
    <td width="161" height="20">
            <label class=urLblStd for="logonlastnamefield">
              <%=logonLocale.get("LAST_NAME")%>
              <span class=urLblReq> *</span>
            </label>
          </td>
    Second, On Portal Content there is not any Page/Iview wich manage this Support (LogonHelpApp) page openned by "get Support" link on Welcome Portal Page. At this time, I could not find if is it a webdynpro or other component Portal....

  • Change Label in Overview

    Hey Guys
    I have a problem which I hope is peanuts for you.
    I have a xml overview and I want to change its label dynamicly.
    I tried to put an function instead of the string at the initialization, put that did'nt worked, so I need to chage it at runtime.
    My code looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <vc:ManagedOverview label="Preferences" allowCallsFrom="[ch.test]"
      xmlns:mx="http://www.adobe.com/2006/mxml" type="{Preferable}" types="{[Preferable,Product,Component,Containable,ComponentCategory, ProductCategory]}"
      xmlns:vc="ch.marsdencatering.foodcomposer.viewcontrol.*" searchIndex="4"
      xmlns:cp="ch.marsdencatering.foodcomposer.view.component.*">
      <mx:Script>
      <![CDATA[
      override public function onViewControlModelChanged(caller:IManagedView):void {
            if (caller is test) {
                 searchIndex =caller.currView;
                //Likes
                 if(searchIndex == 0){
                        //Change label here to "Likes"           
                //Dislikes
                }else if(searchIndex == 1){
                        //Change label here to "Dislikes"
      ]]>
      </mx:Script>
    </vc:ManagedOverview>
    Is that possible or should I try it on an other way?
    thanks for your help!!!
    Jochen89

    Your comment wasn't exactly what I was looking for, but it gave me the right hint. :-)
    I have to put a function directly to the initiation part of the overview AND end it with a semikolon.
    <?xml version="1.0" encoding="utf-8"?>
    <vc:ManagedOverview label="{create_label();}" allowCallsFrom="[ch.test]"  
    xmlns:mx="http://www.adobe.com/2006/mxml" type="{Preferable}" types="{[Preferable,Product,Component,Containable,ComponentCategory, ProductCategory]}"  
    xmlns:vc="ch.marsdencatering.foodcomposer.viewcontrol.*" searchIndex="4"  
    xmlns:cp="ch.marsdencatering.foodcomposer.view.component.*">  
    <mx:Script>  
    <![CDATA[
    public function test():String {
          return "Likes";

  • Modifying the Field labels dynamically at runtime.

    Hi,
    Is it possible to change the field labels dynamically at runtime . My
    requirement is when the user has to edit the quantity part ,he  presses  a fn key (F7 in my case ) that is displaying  a new field with the old label (quantity ) and old qnty label should be changed dynamically to '  previous quantity ' .
    Thanks For Your aniticpated responses.
    Message was edited by:
            Khaleel S.Mohammed

    Have you added teh Label as a text field?
    If you have done that, try replacing the label with a Input/Output type field in the display mode by selecting 'Output Only' in the attributes->Program Tab of Screen Painter.
    Now from the program , when the user presses F7, you can code to change the value of the Label (Input / Output field).
    This will work out. Please let me know if you have any issues.
    Regards,
    Anish Thomas

  • Report to track changes to infotypes prior to running the  payroll interfac

    wants a report to track changes to infotypes prior to running the  payroll interface.  The attached report looks like it should work but it returns nothing.  Is there config that turns on "Track Changes": for select infotypes?  If so, can they be activated for key infotypes so this report will run?
    Name, Address, position, etc.
    Not attendance and absence ITs.

    Hi,
    IMG – Personnel Management – Personnel Admin – Tools – Revision – Set up change document:
    This node has three items:
    Infotypes to be logged
    Field Group Definitions
    Field Group Characteristics
    Using these three options you define which infotypes you wish to log, then which fields, then you define which groups of fields are to be saved. Click each link, or see the sections below:
    Infotypes to be logged
    Here you define which PA infotype numbers you require logging. Select New Entries and enter a transaction class (A for Pers Admin, B for recruitment), then enter the infotype number and save.
    Field Group Definition
    When changes are made to a logged infotype, the field contents before and after are recorded. This is the very reason for logging the infotype, but there is an overhead in performance and disk space used so it needs to be given consideration. Typically you will want to record fields that are pay relevant.
    Using the field group definition, you specify which fields you wish to record changes in. When any of the fields in the group are changed, all the fields in the group are saved. You can use an asterisk to log all the fields of the infotype but this is not recommended for space and performance, also there are many fields on an infotype that you will not be using, that will be saved also. Ideally you will pick individual fields of the infotype and enter them like so:
    The field group number is a freely defined number you allocate to the group, it will be used in the next step. For normal use, simply pick any number not already used in that infotype. All fields with the same field group number are recorded in the log, even if they have not changed.
    Click New Entries and enter the infotype number, field group number and field names that you wish to record.
    Field Group Characteristics
    When you have set up the field group numbers, use the field group characteristics to activate the logging of those fields. You can also specify a supplementary field group; this means that the contents of another field group can also be saved at the same time, even though the contents have not changed. In practise it is not used much. Simply select new entries, enter the transaction class, infotype, and in the DocFieldGr enter the number you assigned to the field names that you want to store, then enter L for Long Term Documents (short are not supported)
    The Audit Report
    To access the report showing the logged infotype changes, use the HR report tree available from various menu paths, including:
    Main Menu – Human Resources – Pers Management – Administration – Info System – Reports - Documents – Infotype change – logged changes in infotype data. (RPUAUD00).
    When you run the report, select the infotypes you require, and select and execute.
    Cheers
    Prasanth

  • Report using ref cursor or dynamic Sql

    Hi,
    I never create a report using a ref cursor or a dynamic sql. Could any one help me to solve the below issue.
    I have 2 tables.
    1. Student_Record
    2. Student_csv_help
    Student_Record the main table where the data is stored.
    Student_csv_help will contain the all the column names of the Student_record.
    CREATE TABLE Student_CSV_HELP
    ENTRY_ID NUMBER,
    RAW_NAME VARCHAR2(40 BYTE),
    DESC_NAME VARCHAR2(1000 BYTE),
    IN_OUTPUT_LIST VARCHAR2(1 BYTE)
    SET DEFINE OFF;
    Insert into TOA_CSV_HELP
    (ENTRY_ID, RAW_NAME, DESC_NAME, IN_OUTPUT_LIST)
    Values
    (1, 'S_ID', 'Student ID', 'Y');
    Insert into TOA_CSV_HELP
    (ENTRY_ID, RAW_NAME, DESC_NAME, IN_OUTPUT_LIST)
    Values
    (2, 'S_Name', 'Student Name', 'Y');
    Insert into TOA_CSV_HELP
    (ENTRY_ID, RAW_NAME, DESC_NAME, IN_OUTPUT_LIST)
    Values
    (3, 'S_Join_date', 'Joining Date', 'Y');
    Insert into TOA_CSV_HELP
    (ENTRY_ID, RAW_NAME, DESC_NAME, IN_OUTPUT_LIST)
    Values
    (4, 'S_Address', 'Address', 'Y');
    Insert into TOA_CSV_HELP
    (ENTRY_ID, RAW_NAME, DESC_NAME, IN_OUTPUT_LIST)
    Values
    (5, 'S_Fee', 'Tution Fee', 'N');
    commit;
    CREATE TABLE Student_record
    S_ID NUMBER,
    S_Name VARCHAR2(100 BYTE),
    S_Join_date date,
    S_Address VARCHAR2(360 BYTE),
    S_Fee Number
    Insert into Student_record
    (S_ID, S_Name, S_Join_date, S_Address,S_Fee)
    Values
    (101, 'john', TO_DATE('12/17/2009 08:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CA-94777', 2000);
    Insert into Student_record
    (S_ID, S_Name, S_Join_date, S_Address,S_Fee)
    Values
    (102, 'arif', TO_DATE('12/18/2009 08:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CA-94444', 3000);
    Insert into Student_record
    (S_ID, S_Name, S_Join_date, S_Address,S_Fee)
    Values
    (103, 'raj', TO_DATE('12/19/2009 08:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CA-94555', 2500);
    Insert into Student_record
    (S_ID, S_Name, S_Join_date, S_Address,S_Fee)
    Values
    (104, 'singh', TO_DATE('12/20/2009 08:00:00', 'MM/DD/YYYY HH24:MI:SS'), 'CA-94666', 2000);
    Commit;
    Now my requirement is:
    I have a form with Student_record data block. When i Click on print Button on this form. It will open another window which has Student_CSV_HELP.DESC_NAME and a check box before this.
    The window look like as below:
    check_box       DESC_NAME+
    X                   S_ID+
    --                   S_Name+
    X                   S_Join_date+
    X                   S_Address+
    --                  S_Fee+
    X  means check box checked.+
    --  means check box Unchecked.+
    After i selected these check boxes i will send 2 parameters to the report server
    1. a string parameter to the report server which has the value 'S_ID,S_Join_date,S_Address' (p_column_name := 'S_ID,S_Join_date,S_Address');
    2. the s_id value from the student_record block (p_S_id := '101');
    Now my requirement is when i click on run. I need a report like as below:
    Student ID : 101+
    Joining Date : 12/17/2009 08:00:00+
    Address : CA-94777+
    This is nothing but the ref cursor should run like as below:
    Select S_id from student_record block S_id = :p_S_id;
    Select S_Join_date from student_record block S_id = :p_S_id;
    Select S_Address from student_record block S_id = :p_S_id;
    So, according to my understanding i have to select the columns at the run time. I dont have much knowledge in creating reports using ref cursor or dynamic sql.
    So please help me to solve this issue.
    Thanks in advance.

    Plain sql should satisfy your need. Try ....
    Select S_id, S_Join_date, S_Address
    from student_record
    where S_id = :p_S_id

  • Report for abserving changes made to the customer master and moniter

    Report for abserving changes made to the customer master and moniter and detail
    Please send with t. code.

    Hi Dhari,
    Well the requirement seems very simple but its not as simple as it looks.
    i have an idea not sure whether it gonna work or not. you need to build a history cube as if i understand your requirement then for any selected period you wanna see the change in wage type or pay rate for each employee if any.
    1. pick up an cube that builds on emp transaction data.
    2. add the 0empoyee Md, wage type and pay rate from MD to the cube and fill the cube
    3.so now every day or in scheduled time interval the MD will load and the corresponding the TD will be loaded to the cube.
    4. create a info object say indicator and add it to the cube
    5.while loading the data to the cube everyday in tranformation check if for same employee there is a change or not in the wage type and pay rate. If so set the indicator to 1.
    4.now build one more cube for holding the changed records from this cube and call it say zhrchange
    5. now pull the date, year and related emplyee information for the emplyee to the zhrchange for those with indicator 1.
    6. before the next load happen, rememrbe to set the indicator to 0 before checking the conditoin in the transformation routine , so that only if the conditoin satisfy then only it will be 1 else it will be 0.
    now the cube zhrchange has all the changed records with time stamp and you can base your query on that to get the changed values in specific time period
    hope this helps.

  • Creating Report using EPM Functions with Dynamic Filters

    Hi All,
    I am new to BPC, In BPC 7.5 i seen like we can generate EPM report using EVDRE function very quickly and easy too. Is the same feature is existing in BPC 10.0 ? if no how can we create EPM reports using EPM Functions with Dynamic Filters on the Members of the dimension like in BPC 7.5.
    And i searched in SDN, there is no suitable blogs or documents which are related to generation of Reports using EPM Functions. All are described just in simple syntax way. It is not going to be understand for the beginners.
    Would you please specify in detail step by step.
    Thanks in Advance.
    Siva Nagaraju

    Siva,
    These functions are not used to create reports per se but rather assist in building reports. For ex, you want to make use of certain property to derive any of the dimension members in one of your axes, you will use EPMMemberProperty. Similary, if you want to override members in any axis, you will make use of EPMDimensionOverride.
    Also, EvDRE is not replacement of EPM functions. Rather, you simply create reports using report editor (drag and drop) and then make use of EPM functions to build your report. Forget EvDRE for now.
    You can protect your report to not allow users to have that Edit Report enabled for them.
    As Vadim rightly pointed out, start building some reports and then ask specific questions.
    Hope it clears your doubts.

  • I have two graphics workers on osx 8.  They are both complaining that their files are changing label colors on it own.  Any idea what could cause this?

    I have two graphics workers on osx 8.  They are both complaining that their files are changing label colors on it own.  Any idea what could cause this?

    and there were and have been problems with any two nvidia cards which was the main part of my question.
    To provie details try pasting all but serial number from system profile. Sorry but Mac Pro tells me nothing, not model, year, or what graphic card it came with or updated with.

  • [Forum FAQ] How do I send an email to users when the data in the report have been changed in Reporting Services?

    Introduction
    There is a scenario that the data in the report changes infrequently, so the users want to be informed and get the most updated data once the data changes. By default, report server always run the report with the most recent data. Is there a way that we
    can subscribe the report, so that we can send an email to users when the data in the report has been changed?
    Solution
    To achieve this requirement, we can create a subscription for the report, then create a trigger in the table which including the report data. When this table has data insert, update or delete, it will be triggered and execute the subscription to send email
    to users.
    In the Report Manager, create a subscription for the report and make it only execute one time.
    When we create a subscription, a corresponding SQL Agent job will be created. Then we can use the query below to find out the job based on ScheduleId:
    -- List all SSRS subscriptions
    USE [ReportServer];  -- You may change the database name.
    GO 
    SELECT USR.UserName AS SubscriptionOwner
          ,SUB.ModifiedDate
          ,SUB.[Description]
          ,SUB.EventType
          ,SUB.DeliveryExtension
          ,SUB.LastStatus
          ,SUB.LastRunTime
          ,SCH.NextRunTime
          ,SCH.Name AS ScheduleName   
              ,RS.ScheduleId
          ,CAT.[Path] AS ReportPath
          ,CAT.[Description] AS ReportDescription
    FROM dbo.Subscriptions AS SUB
         INNER JOIN dbo.Users AS USR
             ON SUB.OwnerID = USR.UserID
         INNER JOIN dbo.[Catalog] AS CAT
             ON SUB.Report_OID = CAT.ItemID
         INNER JOIN dbo.ReportSchedule AS RS
             ON SUB.Report_OID = RS.ReportID
                AND SUB.SubscriptionID = RS.SubscriptionID
         INNER JOIN dbo.Schedule AS SCH
             ON RS.ScheduleID = SCH.ScheduleID
    ORDER BY USR.UserName
             ,SUB.ModifiedDate ;
    Create a trigger in the table which including the report data.
    CREATE TRIGGER reminder
    ON test.dbo.users
    AFTER INSERT, UPDATE, DELETE
    AS
    exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    Please note that the command ‘exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'’ is coming from the job properties. We can go to SQL Server Agent Jobs, right-click the corresponding job to open
    the Steps, copy the step command, and then paste it to the query.
    Then when the user table has data insert, update or delete, the trigger will be triggered and execute the subscription to send email to users.
    References:
    Subscriptions and Delivery (Reporting Services)
    Internal Working of SSRS Subscriptions
    SQL Server Agent
    Applies to:
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • Changing labels in /sapapo/sdp94.

    Hi,
      Changing labels in /sapapo/sdp94.
       I want to change the labels in /sapapo/sdp94 for the same i found an exit EXIT_/SAPAPO/SAPLMCP2_006 (APODM006).
       Problem is the control is not reaching the EXIT; i set up a breakpoint over there but still it doesn't reach there.
    Thanks
    AP

    Hello, make sure you activated the user-exits properly. Then you set a BP at FM /SAPAPO/MC_PERDY_GET in SE37 in below coding:
    * User-Exit?
      if i_perly eq 'U'.
    *   Evtl. wurde keine PERID mitgegeben:
        if i_perid is initial.
          call function '/SAPAPO/MC_PERIODE_ZUM_DATUM'
                   exporting
                      idate   = i_vontg
                      iperkz  = i_perkz
                      iperiv  = i_periv
                   importing
                      eperid  = i_perid.
        endif.
        call customer-function '006'
             exporting
                  i_vontg = i_vontg
                  i_bistg = i_bistg
                  i_perkz = i_perkz
                  i_periv = i_periv
                  i_perid = i_perid
             importing
                  e_perdy = e_perdy.
    If the user-exit is applied OK, it will jump into your customizing coding at statement [call customer-function '006']

  • Problem with changing Label in Bridge CS3 and CS6

    Hi there,
    I am having some problem with changing Label in Bridge CS3 and CS6 in windows.
    1. In Bridge CS3 (Windows XP), most of the time with most of the files, there is no problem. But I found that in some files, the Label does not get changed. I usually change Label by right clicking on the picture, then Label and select any Label. When I do so in those files, nothing happens. But when I rename the file by changing or adding just a single character, then it works. And if I again rename to original name, it still works. But without renaming the Label does not change. Again this does not happen with all pictures, but occationally with some. We usually receive pictures from different clients for editing purpose.
    2. In Bridge CS6 (Windows 7), if you create lot of Path using Pen tool in Photoshop for the purpose of removing background, you save the file, close, and change Label in Bridge, again open the file in Photoshop, you see no Path in the Path Pallette. So that means, changing Label works, but it removes the Path from the file. But if there is small amount of path, then no prboblem. But if there is lot of path, like you need to create for a necklace to remove background, then the problem arises.
    I am using Bridge for a purpose where it is very helpful so I really need to use Bridge, and Labeling feature is the most important to me, but after feaguring out this problem, I am really tensed as to whether or not I will find a solution to this. So any help, guidance will really be appreciated.
    Thanks very much in advance for any solution.
    Best regards

    I have re-checked the issue and I found that the problem is with JPG file.
    I wasn't even aware you could save a path to a jpeg file (always use PSD because of wanting to keep the Alpha Channel, jpeg only can contain 1 layer and no alpha channels and/or transparency).
    However I tried it on a file with a simple path and one with a complex path. It seems indeed you have found a bug. The simple path is no problem but the more complex path is indeed disappearing.
    It is not only label but also rate or adding IPTC in the description field. The moment metadata is saved to this jpeg file and reopened the earlier present work path of a more complex path is gone.
    Despite the fact that to my opinion a jpeg is not the most suitable file format for saving a work path this should not happen. If a work path is saved to a jpeg then it should be kept saved after just altering metadata in Bridge.
    It still is the same behavior in Bridge CC because that is what I use. Don't know when it started but it still needs to be repaired
    Here is the link for filing a problem or bug:
    http://feedback.photoshop.com/photoshop_family/

Maybe you are looking for