Dynamic Title in Desktop
Hi,
I'm trying to change the title every time the worksheet is modified. To do this I make a calculation and I make a parameter based on this calculation. Then I drag the calculation to the page items and I insert it in the title. But I don't get to do what I want.
Is there any way to associate a worksheet title to every change made in it?
Thanks.
Hi
If your parameter associated with any ITEM then It will run ,
If u have parameter without ITEM then u have to associated it with condition then only it will run,
eg, if u have parameter "empno " and asso. it with item "empno" ,insert it to Title area ,
now when u run the sheet it will prompt for empno and the same will reflect in Title ,
likly use this parameter in calculation to "generate your own dynamic title "
u can use decode for it.
try
NP
Similar Messages
-
Dynamic title for Chart created by an xml-file in SAP ChartDesigner
Hello everybody.
I created an xml-file with SAP ChartDesigner for using it in my abap program. I import this file as a MIME-Object.
Everything works fine, i declared my charts and all my values.
But now I need a dynamic title on the top.
And know that I can give a title in my xml. But it's not dynamic.
I looked into the xml file and the path for the title is:
SAPChartCustomizing
Elements
ChartElements
Title
and then Caption.
p_ixml_doc = g_ixml->create_document( ).
l_encoding = g_ixml->create_encoding( byte_order = if_ixml_encoding=>co_little_endian character_set = 'utf-8' ).
p_ixml_doc->set_encoding( l_encoding ).
l_chartdata = p_ixml_doc->create_simple_element( name = 'SAPChartCustomizing' parent = p_ixml_doc ).
l_elements = p_ixml_doc->create_simple_element( name = 'Elements' parent = l_chartdata ).
l_chartelements = p_ixml_doc->create_simple_element( name = 'ChartElements' parent = l_elements ).
l_title = p_ixml_doc->create_simple_element( name = 'Title' parent = l_chartelements ).
l_element = p_ixml_doc->create_simple_element( name = 'Caption' parent = l_title ).
l_element->if_ixml_node~set_value( 'QRK-Mittelwert' ).
In my opinion, it's the right path :/
My other values i declare like this.
l_series = p_ixml_doc->create_simple_element( name = 'Series' parent = l_chartdata ).
l_series->set_attribute( name = 'label' value = 'TO' ).
l_series->set_attribute( name = 'customizing' value = 'Series1' ).
loop at gt_mw into gs_mw.
lv_tabix = sy-tabix.
l_point = p_ixml_doc->create_simple_element( name = 'Point' parent = l_series ).
l_element = p_ixml_doc->create_simple_element( name = 'Value' parent = l_point ).
l_element->set_attribute( name = 'type' value = 'x' ).
l_element->if_ixml_node~set_value( lv_tabix ).
l_element = p_ixml_doc->create_simple_element( name = 'Value' parent = l_point ).
l_element->set_attribute( name = 'type' value = 'y' ).
l_element->if_ixml_node~set_value( '35.00' ).
endloop.
It works...and i already checked this solution for my title, but it didn't work.
I call the xml file with the method cl_wb_mime_repository:
CALL METHOD cl_wb_mime_repository=>load_mime
EXPORTING
io = lv_io
IMPORTING
bin_data = lt_xmlr
CHANGING
language = sy-langu
EXCEPTIONS
no_io = 1
illegal_io_type = 2
not_found = 3
error_occured = 4
OTHERS = 5.
CHECK sy-subrc = 0.
*-- Convert raw to xstring
CREATE OBJECT lo_conv.
LOOP AT lt_xmlr INTO ls_xmlr.
CALL METHOD lo_conv->convert
EXPORTING
inbuff = ls_xmlr
outbufflg = 25000
IMPORTING
outbuff = lv_xstr.
CONCATENATE p_xml lv_xstr INTO p_xml IN BYTE MODE.
Maybe somebody can help me.
Thanks a lot.I got it!
This thread helped me.
[http://forums.sdn.sap.com/thread.jspa?threadID=1343796|http://forums.sdn.sap.com/thread.jspa?threadID=1343796] -
in the report we will use sy-title to display report title.
i want to set dynamic title reference with user name.
so in report code initiazition.
i use: sy-title = sy-uname . but this just influce once time. in other event or in report list the title will display static title what we create report .
so i want to change title.
i open screen 1000.
and want to add set titlebar command in PBO.
PROCESS BEFORE OUTPUT.
MODULE %_INIT_PBO.
MODULE %_PBO_REPORT.
MODULE %_PF_STATUS.
MODULE %_PNPPERNR.
MODULE %_PNPMASSN.
MODULE %_PNPMASSG.
MODULE %_PNPSTAT1.
MODULE %_PNPSTAT2.
in the my report i write:
MODULE %_PF_STATUS OUTPUT
MODULE %_PF_STATUS OUTput.
ENDMODULE. "%_PF_STATUS OUTPUT
but when i active ,will get syntax error.
so how to reset report title .
some can give me a idea. thank you very much.Dear xiaobing xue,
After seeing you code posted here, I have come to know that you are trying change SE38 report with selection screen in SE51. It wont work out.
Set pf-status after Start-of-selection event.
SET PF-STATUS 'STATUS'.
set TITLEBAR 'TITLE' with sy-uname.
First set pf-status by double clicking on 'STATUS'. After that Double click on 'TITLE' and give title like below.
'This title is for &'. & is replaced with sy-uname.
I hope that you will get.
Thanks
Venkat.O -
Dynamic Title Tags in Webcenter
This is a newbie question. But I am going to be creating a complete external commercial website using Webcenter/jDev. I see nothing in the documentation about search engine optimization, and more importantly, creating dynamic URL-based title tags.
Will this be a problem? Or can I assume Webcenter is set up to easily generate a dynamic title tag based on the URL or some other paramater.
Any thoughts would be appreciated.No thoughts on this?
-
Hi
experts , can any body tell me how to create dynamic title bar in interactive report
,i.e, suppose we have 17 pages,every page should contain the same heading,
and i have one more question
what are the mandatory things required in data Dictionary for creating table.top-of-page triggers after every right statement triggers
in basic list,
top-of-page during line selection triggers after every
secondary list display........
see the simple example code :
REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
HEADING.
*TABLES DECLARATION
TABLES : KNA1, VBAK, VBAP.
*SELECT OPTIONS
SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
*INITIALIZATION
INITIALIZATION.
CUST_NO-LOW = '01'.
CUST_NO-HIGH = '5000'.
CUST_NO-SIGN = 'I'.
CUST_NO-OPTION = 'BT'.
APPEND CUST_NO.
*SELECTION SCREEN VALIDATION
AT SELECTION-SCREEN ON CUST_NO.
IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
MESSAGE E001(ZTJ1).
ENDIF.
*BASIC LIST SELECTION
START-OF-SELECTION.
SELECT KUNNR NAME1 ORT01 LAND1 INTO
(KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
FROM KNA1
WHERE KUNNR IN CUST_NO.
WRITE:/1 SY-VLINE,
KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
KNA1-NAME1 UNDER 'NAME',
61 SY-VLINE,
KNA1-ORT01 UNDER 'CITY',
86 SY-VLINE,
KNA1-LAND1 UNDER 'COUNTRY',
103 SY-VLINE.
HIDE: KNA1-KUNNR.
ENDSELECT.
ULINE.
*SECONDARY LIST ACCESS
AT user-command.
IF SY-UCOMM = 'IONE'.
PERFORM SALES_ORD.
ENDIF.
IF SY-UCOMM = 'ITWO'.
PERFORM ITEM_DET.
ENDIF.
*TOP OF PAGE
TOP-OF-PAGE.
FORMAT COLOR 1.
WRITE : 'CUSTOMER DETAILS'.
FORMAT COLOR 1 OFF.
ULINE.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'NAME',
61 SY-VLINE,
63 'CITY',
86 SY-VLINE,
88 'COUNTRY',
103 SY-VLINE.
ULINE.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR SECONDARY LISTS
TOP-OF-PAGE DURING LINE-SELECTION.
*TOP OF PAGE FOR 1ST SECONDARY LIST
IF SY-UCOMM = 'IONE'.
ULINE.
FORMAT COLOR 1.
WRITE : 'SALES ORDER DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'SALES ORDER NO.',
40 SY-VLINE,
42 'DATE',
60 SY-VLINE,
62 'CREATOR',
85 SY-VLINE,
87 'DOC DATE',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR 2ND SECONDARY LIST
IF SY-UCOMM = 'ITWO'.
ULINE.
FORMAT COLOR 1.
WRITE : 'ITEM DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'SALES ORDER NO.',
40 SY-VLINE,
42 'SALES ITEM NO.',
60 SY-VLINE,
62 'ORDER QUANTITY',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*END OF PAGE
END-OF-PAGE.
ULINE.
WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
SY-PAGNO.
SKIP.
*& Form SALES_ORD
*& FIRST SECONDARY LIST FORM
FORM SALES_ORD .
SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
(VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
FROM VBAK
WHERE KUNNR = KNA1-KUNNR.
WRITE:/1 SY-VLINE,
VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
40 SY-VLINE,
VBAK-ERDAT UNDER 'DATE',
60 SY-VLINE,
VBAK-ERNAM UNDER 'CREATOR',
85 SY-VLINE,
VBAK-AUDAT UNDER 'DOC DATE',
103 SY-VLINE.
HIDE : VBAK-VBELN.
ENDSELECT.
ULINE.
ENDFORM. " SALES_ORD
*& Form ITEM_DET
*& SECOND SECONDARY LIST FORM
FORM ITEM_DET .
SELECT VBELN POSNR KWMENG INTO
(VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
FROM VBAP
WHERE VBELN = VBAK-VBELN.
WRITE : /1 SY-VLINE,
VBAP-VBELN UNDER 'SALES ORDER NO.',
40 SY-VLINE,
VBAP-POSNR UNDER 'SALES ITEM NO.',
60 SY-VLINE,
VBAP-KWMENG UNDER 'ORDER QUANTITY',
103 SY-VLINE.
ENDSELECT.
ULINE.
ENDFORM. " ITEM_DET
REPORT demo_list_at_pf.
START-OF-SELECTION.
WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
AT pf5.
PERFORM out.
AT pf6.
PERFORM out.
AT pf7.
PERFORM out.
AT pf8.
PERFORM out.
FORM out.
WRITE: 'Secondary List by PF-Key Selection',
/ 'SY-LSIND =', sy-lsind,
/ 'SY-UCOMM =', sy-ucomm.
ENDFORM.
After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
Secondary List by PF-Key Selection
SY-LSIND = 14
SY-UCOMM = PF06
Example for AT USER-COMMAND
START-OF-SELECTION.
WRITE: 'Basic List',
/ 'SY-LSIND:', sy-lsind.
TOP-OF-PAGE.
WRITE 'Top-of-Page'.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-pfkey.
WHEN 'TEST'.
WRITE 'Self-defined GUI for Function Codes'.
ULINE.
ENDCASE.
AT LINE-SELECTION.
SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
PERFORM out.
sy-lsind = sy-lsind - 1.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'FC1'.
PERFORM out.
WRITE / 'Button FUN 1 was pressed'.
WHEN 'FC2'.
PERFORM out.
WRITE / 'Button FUN 2 was pressed'.
WHEN 'FC3'.
PERFORM out.
WRITE / 'Button FUN 3 was pressed'.
WHEN 'FC4'.
PERFORM out.
WRITE / 'Button FUN 4 was pressed'.
WHEN 'FC5'.
PERFORM out.
WRITE / 'Button FUN 5 was pressed'.
ENDCASE.
sy-lsind = sy-lsind - 1.
FORM out.
WRITE: 'Secondary List',
/ 'SY-LSIND:', sy-lsind,
/ 'SY-PFKEY:', sy-pfkey.
ENDFORM.
When you run the program, the system displays the following basic list with a the page header defined in the program:
You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
Check with below links :
interactive report
http://www.erpgenie.com/abap/ireports.htm
http://www.erpgenie.com/sap/abap/example_code.htm
Check the below link and it explian about top-of-page during line-selection
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/top_of_p.htm
Mandatory thing for creation of table
1. Description of table
2. Delivery class
3 Table should have atelast one field ,should have one primary key
4. Data class ,size category
Thanks
Seshu -
How to make use of a static or dynamic LOV in Desktop Instelligence reports
I want to use static LOV as well as dynamic LOV as a prompt for one of my report.
I have created a dynamic LOV but I dont know how to include it as a prompt to my reports. Please teach me the same.
For example I have two classes called COMPANY and EMPLOYEE in my universe. Each entry in the company class will have n number of employees in the employee class. My requirement is when I run the report it should prompt the user to select the company name which is a object in the COMPANY class. Based on the users's input the report should pull the employee data.
For this I have to create a COMPANY name LOV and this should be used in the 'Conditions' section of the Desktop Intellegence.
Please guide me for the same.Hi,
LEt me know where u need the prompt object to be created in UNV or in report level.
In Unv:
Select Company name object-> double click it and in Select clause define as below
@variable('1. Enter Company Name'')
In Report level: Go to Query panel select Company class object in where clause and select required operator as LIKE OR IN LIST OR NOT IN LIST OR DIFFERENT FROM and select prompt and give some prompt message.
Cheers,
Suresh Aluri. -
Hi,
I would like to change the Title in the chart dynamically...for example..
Value is
<param name="TITLE" value="Forecast Report xxx xx xxxx"/>
During run time..using the javascript or abap code we need to pass current date to the tile..so title will display......."Forecast Report july 9,2007"
Any Ideas?
thanksCreate a text variable with cusotmer exit as processing type.
data h_datum LIKE sy-datum.
WHEN 'test1'(customer exit text variable).
CLEAR h_datum.
h_datum = sy-datum.
CLEAR l_s_range.
l_s_range-low = h_datum.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
EXIT.
But i am not sure about the way to place this variable in the chart title.
hope it is clear
assign points if useful -
Dynamic Title without JS in secondary pages
Hi All,
I am working on SSXA application with UCM 11g via Jdev 11g.
We have more than 2,000 secondary pages which represent different users. The secondary page comprise of HEADER, BODY and FOOTER.
I have title tag in header which displays static text. Body part has a placeholder (assigned a region template), which is responsible to display users data emaiid, phone number and username etc. vai datafile.
Now I have to display dynamic content in title, the dynamic content will come from datafile (which is username).
So the problem is, how can I assign this TITLE value in the hearder part when I get the dynamic value in BODY.
Constraints:
1. I can't use JavaScript as Crawler will not read it. I tried document.title already.
2. I can't remove the static value in header as we have many primary pages which uses the same header file.
I know its weird one but I need your expert help on this.
Thanks,
MAKIf it's the user name, why not just use #active.dDocAuthor?
If it's stored in a data file element, use wcmIncludeElement() and append it to the title:
<!--$pageTitle = pageTitle & " - " & wcmIncludeElement(#active.region1, "wcm:root/wcm:element[@name='[element name that contains username']/node()")-->
replace "region1" with the name of the placeholder that's used in the BODY. -
Hi,
I have created a Revenue vs Period chart. I have a time dimensional hierarchy for drilldown. By default the report charts revenue across year. The chart title should be Year. when i drilldown from year to quarter the title should dynamically change to Year>>Quarter. when i drilldown again the title should be Year>>Quarter>>Month.
Do we have any option for changing the title dynamically in chart? Is there anyother way to achieve it?
Thanks in advance,Hi friend,
In general propierties of chart, 'Show data labels' --> set Default (On Rollover)
Good luck. -
Dynamic title in Business Graphics
Hi to all!
I'm working with a Business Graphics and I'd like a title in the final rendered graphic. The problem is that the text I want to show is not static, it's the name of the person who is using the application.
The question is: Can I bind the title of the graphic to a context attribute? or is it possible to pass parameters to the graphic?
Thanks a lot.Hi,
We have achieved this thru....
1. If you navigate to src folder of your project... src\<package structure>...
in that there will be a file <viewname>.wdview file. Where <viewname> referes to the name of the view in which business graphics UI element is used.
2. Open that file with notepad, and you can see the structure of BusinessGrpahics UI element specified in xml format. In that copy what ever between <BusinessGraphics.CustomizingXML>...</BusinessGraphics.CustomizingXML> including these tags also.
3. In the wdModifyView method of view name obtain the Business Graphics UI element and set the Direct Customizing to the above copied xml(as a string)
String customXML = "<BusinessGraphics.CustomizingXML>....</BusinessGraphics.CustomizingXML>";
IWDBusinessGraphics bg = (IWDBusinessGraphics)view.getElement("<business graphics UI element ID>");
bg.setDirectCustomizing(customXML);
4. In that xml string, the value under <Elements> .. <ChartElements> .. <Title> .. <caption> points to the title. you can replace that with your dynamic value.
-Aarthi -
Dynamic Title for Interactive Report?
I have an interactive report where I am passing in interative report filters. This is great becase it allows me to reuse a single interactive report in different ways. However, one drawback I am running into is the report title. I'd really like to be able to change the report title based on the filters that I pass in. Is this possible? Can the report title be dynamic?
Thanks,
Andrew WatsonIt,s possible.
I'm using item references to alter the report title.
Set the item value to the title that you want for your report and the region name as the example.
Example: Report &P1_ITEM. &P1_ITEM1. &P1_ITEM2. and so far. -
Document titles within desktop folders blacked out
Does anyone know why my document titles within folders on my desktop are being blacked out? Please see attached for a screenshot.
I am running on a mid 2014 Macbook Pro 13" - Yosemite 2.6 GHz Intel Core i5 - 8GB 1600 MHz DDR3
Thanks in advance!We experienced this with out terminals using RDP to connect to a terminal server. Turned out the terminals couldn't produce the right resolution
and color depth for adobe to work right. Once the terminals were upgraded, worked fine. -
Web Analysis Chart - Can I create a Dynamic Title?
I'm creating a Web Analysis document (9.3) with muliple combo box choices that dynamically changes the Chart.
The document will then be used by users via Workspace.
I see how during the print process in the web analysis studio I can insert dynamic labels in the print header, but in workspace you only see this via the print via pdf process.
Ideally I'd like to set the dynamic label in the "Header Title" of the Chart Properties. That way it will be visible in the chart to the user and will be printed thru either print process.
Is it possible to set a dynamic lable via the chart properties? I have not been successful.Hi,
You can easily make dynamic headers by using Dynamic Text Labels, which reference members in the filter, pages or grid row/column:
<<cell DataSourceName 0, 0>> where 0,0 are the co-ordinates you wish to reference.
for more info, refer to the WA Studio User Guide:
http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_4.htm -
Bring back artist/song info in the title bar (Desktop)
Why would you remove that feature? Now it just says "Spotify Premium". I'd honestly like to hear the logic behind this.
I love Spotify and as many others here use it to listen to music while at work, so having a preview of artist/song is handy. I just can't think how replacing this info with a static title would be an improvement. I'm really curious to know why that decision was made and the thinking behind it?
Otherwise, keep up the good work. CheersSkumberg wrote:
Why would you remove that feature? Now it just says "Spotify Premium". I'd honestly like to hear the logic behind this. -
Hi Guys,
I have a simple question.
How do I do in the selection screen that when certain value is entered to the selection field there appears another characteristic of the value next to it.
For example in the selection screen a user enters vendor number (lfa1-lifnr). Once he enters that next to the selection field there appears name of the vendor (lfa1-name1).
Many thanks!
JanHi
Create another field next to it and fill it from select based on your field or condition it by your value on one of events "AT SELECTION SCREEN..."
example:
AT SELECTION-SCREEN on <<<lfa1-lifnr - your selection field>>>...
select name1
from lfa1
into <<<your another field>>>
where lifnr = <<<lfa1-lifnr - your selection field>>>..
this will fill name to your second field based on lifnr you entered dinamicly
Best Regards
Yossi
Maybe you are looking for
-
When I press the Command + F2, the iMac screen becomes a secondary for the MacBook Pro, and the Thunderbolt Display becomes the primary screen for the iMac. I was hoping that both screens would become secondaries for the MacBook Pro. Does anyone kn
-
Crop a background image (movie) - working with a template
I'm working with the template "Promo > Product Shot". The image block with the bike is what I want to replace with my own video clip. I can't figure out how to replace it, so I took the video clip and "placed" it. That's all fine, but now I want the
-
"Copy link address" missing in BB browser
After I've upgraded my Torch 9810 to OS 7.0.0.474, the feature to "copy link address" in browser is no longer available. It's missing in the menu and it's also missing when I click and hold over a hyperlink. The only way how I can copy a link is to
-
Photoshop 8.0 Crashes when I open videos
I can see the videos in the organizer. It opens pictures as expected but won`t open the videos. It cashes as soon as I click on a video. I have updated software and video drivers. I tried to re-set preferences using ctrl-alt-shift when it starts
-
Reader 11 install fails on Macbook Pro
I am using a Macbook Pro running Mac OS 10.8.2. Adober Reader 10 was installed on this machine when I purchased it new January 2, 2013 and it worked fine. Last week I got a screen message that Adobe Reader 11 was available. I tried to install versi