Setting the scaleMode in Xcelsius
One of the things that has caused me no end of grief with clients is the fact that the scaleMode on Xcelsius doesn't seem to be immediately apparent. What ends up happening is that text is skewed and scaled from design, and tends to look different on the client machine causing readability issues.
There is a setting in PowerPoint to change scaleMode to NoScale, but for some reason this property doesn't seem to save (e.g I email the presentation out, and the property is reset to ShowAll). Is there a way to set this property on initialization from within Xcelsius itself, or via VBA in PowerPoint, or a permanent way to save the property?
Thank you!
If anyone is still toying with this, there really is not "official" answer from SAP.
What you can do on the PowerPoint side is to include some VBA code to automatically scale your dashboard. Unfortunately you have to run the show, exit, and then run again for it to resize properly.
Similar Messages
-
SWFLoader that unfortunately sets Stage.scaleMode
In a Flex project I have been working on, I've received a new SWF asset to incorporate. No problem usually. However, this asset is setting the stage's scaleMode to showAll. OUCH. This has the effect of this: Flex app loads and looks fine, SWFLoader is later called and the asset is loaded as the SWFLoader's source. The entire stage is scaled up at least 3x the size. On the complete event for the loader I go ahead and set the scaleMode back to noScale, but then the application jumps back to looking correct. The problem is the jumping up then back again.
I am not able to have the asset rebuilt, so I am stuck with what I have. How can I work around this from Flex. Since the stage is shared, this SWF keep dorking everything up.Depends on what the asset really is. If you only need a symbol from it, you can try embedding just those symbols and that might skip the code that calls showAll.
If you need the whole SWF because you want the timeline but don't care about what it actually does, you can deploy it on a different domain and then it won't have access to the stage. It will throw a security error but only folks with debugger players will see it.
Another option is to find out where code that changes scaleMode is. If it is in a particular class in AS3 in then SWF, you can try creating a custom version of that class in your main app. You version of the class will supercede the one in the SWF.
Another option is to find out when the code changes scaleMode. It might be that you can double-check on enterFrame or render events and set it back before the player actually draws it in the wrong scale mode.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Xcelsius Scenario Button cannot set the Default Scenario
Hi,
I am facing a problem with the Scenario Button in Xcelsius the problem is i cannot set the Default Scenario in the Dashboard .
I can save load delete the the scenario but if i have 3 scenario and i want to make one of them as default is does not work.
I think there is some browser setting for this and i have already configured the storage setting for the browser .
Warm Regards,
Mishra VibhavHi Thijs
Thanks for your update, I think this really helps me. And I have one more question.
I have seen a SAP notes regarding the Scenario function, the content is as below.
You use the Local Scenario button to save the final result of a specific simulation (created scenario) and return to it in the future. It only saves the scenario on the local machine where it was created. So you can access the scenario from the same machine, but you cannot transfer scenarios from one computer to another.
As per the note we can't transfer scenarios from one computer to another, my question is: If we publish the dashboard to inforview and save the scenario, the scenario will be saved in the BOE repositary or still on the local PC, and could the scenario be able to share among different users?
Thanks a lot -
Setting HTTP headers from Xcelsius
Hello,
Does anyone know whether it is possible to set HTTP headers during Xcelsius web service or XML data calls?
Regards,
GilbertHello Victor,
Both the XML data and the web service calls i am doing end up at agents that act on the content of the HTTP headers. For instance, the SOAP node that is listening to my web service calls uses the soapAction HTTP header for further routing of the call. That header is specified in the WSDL, but i need to be able to change it without changing the WSDL i.e. i would have to set the soapAction header. My end app can listen to the SOAP headers but the intermediary only HTTP headers.
Regards,
Gilbert -
How do I replace someone else's Mac ID with my own?
Bought iPhone second hand on TradeMe.
Previous owner re-set the phone but his ICloud account stayed on now my phone. He uses his AppleID on his new iPhone now and, understandably, does not want to give me his password. Any ideas?? Please.
This issue is blocking my access to iTunes and any other file from my home computer. It keeps on telling me that I have to autorise my computer to pass on files, yet, it seems, for all this to happen, I need to get logged in through the phone's Apple ID. This of course is different to my one on my computer - and I have no password for it.
This phone is not stolen!! I payed still a fair bit for it. Am still in contact with the previous owner. He doesn't know how to fix the problem either.
Would appreciate any suggestion ????
Thanks
SamSingsSettings>general>resets>erase all content and settings.
That will put it back to its out of the box state. Set it up with your own apple Id. -
Set the cursor busy steered by supanel vi
I let run a vi and there is a subpanel. Is there a way that I can set the cursor busy steered by the subpanel vi. I pass the reference of the mainvi over a global variable into subvi. Without success there is no error message but the busy cursor does not appear. Just setting the cursor in subvi creates a null window error. Is there a easy way to implement it. Or do I have to use user events in main vi called by suvi an then se it busy. Would be not so nice to understand it later.
kind regards retoI attach my test VI (LV 8.0). You can try it.
Attachments:
test sub.vi 17 KB
test.vi 22 KB
test global.vi 4 KB -
In an Excel template file, can I set the Folder Path in the SaveAs Dialog box?
I have an Excel template file (xltm) and, with help from the forum, I now have a Workbook_BeforeSave subroutine to save the template as a macro enabled file (xlsm). I’m so thankful for that help from Edward in the forum.
I also want to set the default folder location to save the file. I really only need it when the template is saved as a new xlsm file, because if they open the xlsm file, it’s usually opened from the default folder path so any save would normally go back
to where the file was opened. However, with a template (even if the template is in the default folder) the Saved template reverts back to the user’s documents folder.
Is there a good way to do this?
I tried to modify the Workbook_BeforeSave code like this:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Dim FolderDir As String
Dim FileNameVal As String
FolderDir = "Z:\save\data\place\"
If SaveAsUI Then
If Dir(WorkBookFolder, vbDirectory) <> "" Then
Application.DefaultFilePath = WorkBookFolder
End If
FileNameVal = Application.GetSaveAsFilename(, "Excel Macro-Enabled Workbook (*.xlsm), *.xlsm")
Cancel = True
If FileNameVal = "False" Then 'User pressed cancel
Exit Sub
End If
ThisWorkbook.SaveAs Filename:=FileNameVal & ".xlsm", FileFormat:=xlOpenXMLWorkbookMacroEnabled
Application.EnableEvents = True
End If
End Sub
But there are a lot of checks that would need to be done.
I'm not sure how to only default the folder saved only when they open the template, but not change it when they just open an already saved Excel file created by the template (with all the active content, macros, etc.).
Alan EdwardsHi Alan,
store the path\filename in the 1st argument:
FileNameVal = Application.GetSaveAsFilename("C:\*.xlsm", "Excel Macro-Enabled Workbook (*.xlsm), *.xlsm")
Andreas. -
Setting the JMS Header from Payload
Hi Experts,
My requirement is to send the payment data coming from ECC to non sap system.Sender adapter is proxy and receiver is JMS.ECC will be sending the filename in one field and payload content as a string in another field.PI has to set the filename coming from ECC in JMS header property.What configuration changes should i need to make in JMS adapter to achieve it?
Converting the XML to string is possible in PI.But my question is converting the string XML data into XML fields is possible in SAP PI?If so how to do that?
Please provide your suggestion.
Regards,
KarthigaHi Karthiga,
The UDF is there in blog
DynamicConfiguration dynamicconfiguration = (DynamicConfiguration)param.get("DynamicConfiguration");
DynamicConfigurationKey dynamicconfigurationkey = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS", "DCJMSMessageProperty0");
String s = dynamicconfiguration.get(dynamicconfigurationkey);
CorrID.append(s);
Please let me know if you have any issue.
regards,
Harish -
Unable to set the Cursor focus on a particular field in OA Page
Hi,
I have a custom page with 3 controllers . Now when i delete a row from the Advance table, the focus of the cursor goes to the top of the page. My requirement is that, the focus should remain in the Advance table region itself.
I tried to set the focus using the below code. It dosent work. Could there be an issue since iam using more than one controller for the page?
OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
bodyBean.setInitialFocusId("item164"); // item164 is the messageTextInput field in the Advance table region.
I tried to get the Initialfocus value after its set. The value shows as 'item164'. However , it doesnt focus on that item.
Please help me out in fixing this issue.
Thanks
AGHi,
Thanks for the Info. Can you help me with this java script or if you can provide me any reference it would be hepful.
Basically the focus has to stay in that particular AdvanceTable region where the row is deleted. Not required that the focus has to point to the next row after the delete.
Thanks
AG
Edited by: 928445 on Apr 26, 2012 12:06 AM -
Unable to 'set the default source system' to Install Business Content
Hi,
Maars here. This is my first post hoping that in future ones I'll also be lending a helping hand.
I am trying to 'Install Business Content' under the BUSINESS CONTENT section in txn RSA1. I am doing this after 'Transfer Data Sources' in R/3 and I can now see all the data sources (under the application component hierarchy) for the source system. But I am not able to see the Info Objects in the Business Content.
When I try to set R/3 as the default source system (got this screen after clicking a icon in the standard tool bar), BW is not saving the settings ie., I set the R/3 as the default and then click on OK. If I go back to the same screen again, I find that my settings were NOT saved.
Could you please help me out?
Thank you.Hi,
It seems to be a bug in version 3.5.
Do like this:
After you open the screen to <i>choose the dafault source system</i>
Clcik on 3rd button(F6) available in the bottom of the scrreen.
And then select teh tick mark for required system.
And then click on Continue button
You have do this step before you drop the cube to right side of the cube.
Ok, even after all these steps , if you reopen the screen you would not see Tick mark u have done just before. DONOT WORRY ABT it.
Drag and drop required cube with dat flow before.
Now you can see the Transfer rules with selected Source system only in the collected Objects.
With rgds,
Anil Kumar Sharma .P -
How to set the table input in Query template?
Hi all.
I need to call a Bapi_objcl_change, with import parameter and a table as an input. I have done this, in BLS. I have set the table input in the
form of xml. In BLS, I get the output(the value gets change in SAP R3, what i have given in BLS). But if i set the same xml structure in
query template, I didn't get the output. Table input parameter does not take that xml source. How to set the table input in Query template?
can anyone help me?
Regards,
HemalathaHema,
You probably need to XML encode the data so that it will pass properly and then xmldecode() it to set the BAPI input value.
Sam -
How to set the table I_ORG in 'BBP_EXTREQ_INBOUND'?
dear all,
Now I am using BAPI 'BBP_EXTREQ_INBOUND' to create a shopping card and have successed.
but in the table I_ORG, whatever I set the value of organization ID and group ID, it will not be changed in the SRM.
how can I set them?
t hank you!hi ,
you can use BADI --> BBP_PGRP_ASSIGN_BADI in your SRM system and make changes according to your own requirements.
if you make changes using the above BADI --> then changes should be updated in the newly created shopping cart.
this is because , the above BADI is called ---> in the
BAPI 'BBP_EXTREQ_INBOUND' .
check out the following sequence --->
BBP_EXTREQ_INBOUND ---> calls
FM BAPI_SCEC_CREATE ---> calls
{BAdI - BBP_PGRP_ASSIGN_BADI -
PERFORM sc_pgrp_assign_badi TABLES lt_i_items "XMZSP02AO
lt_i_account "XMZSP02AO
lt_i_partner "XMZSP02AO
USING ls_i_header "XMZSP02AO
CHANGING lt_i_orgdata[] "XMZSP02AO
return[]. "XMZSP02AO -
Unable to set the selected value for a ADF LOV
Hi,
I am developing an application using jdeveloper 10.1.3 and Struts.
I have created a ADF LOV on my JSP Page as given below:
<html:select property="lob" onchange="javascript:selectLOB(this.form)">
<html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
</html:select>
When i submit the form, i am able to get the value of the selected Value in the List.
JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
Row r = (Row) listBinding.getSelectedValue();
String SoLob = (String) r.getAttribute("LobLob");
But i am unable to set the selected value back in the list when i return to the form again.
I tried the following:
int x = listBinding.getSelectedIndex();
listBinding.setSelectedIndex(x);
It would be really helpful if some one could let me know what needs to be done.
Thanks,
SubashiniGyan,
I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
"Rendered" on the field so that based on search parameters we can hide result table column.
After searching online, I modified the controller code as follows
1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
3. Modified the controller code as follows :
OAApplicationModule am = pageContext.getApplicationModule(webBean);
OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
OADBTransaction txn = am.getOADBTransaction();
if (testvo != null)
OARow row = (OARow)testvo.first();
if (a.equalsIgnoreCase("Approved"))
row.setAttribute("Testrender", Boolean.FALSE);
else
row.setAttribute("Testrender", Boolean.TRUE);
} But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
Its using only the value of one search parameter but not the second one .
The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
So can you please let me know how to proceed from here ? -
Setting the value of a single attribute for multiple line items
Hi all,
I am working on a Web Dynpro application, I have created this applicaion for an accounting document so it has header data and multiple line item data. As per the requirement I have to put the following logic:
1. When a user enters a value in the field KBLNR on the line item, all the other fields like cost centerm fund, functional area should populate from a database table based on the value of the KBLNR. to get this I have put the following code:
TYPES: BEGIN OF t_kblp,
fipos TYPE kblp-fipos,
kostl TYPE kostl,
END OF t_kblp.
DATA lv_kblnr TYPE wd_this->element_t_bseg-kblnr.
DATA: lt_kblp TYPE STANDARD TABLE OF t_kblp,
wa_kblp LIKE LINE OF lt_kblp,
lt_bseg TYPE STANDARD TABLE OF bseg,
wa_bseg TYPE bseg.
DATA lo_nd_t_bseg TYPE REF TO if_wd_context_node.
DATA lo_el_t_bseg TYPE REF TO if_wd_context_element.
DATA: ls_t_bseg TYPE wd_this->element_t_bseg,
lo_api_controller TYPE REF TO if_wd_controller,
lo_message_manager TYPE REF TO if_wd_message_manager,
lo_nd_tbseg TYPE REF TO if_wd_context_node,
lo_el_tbseg TYPE REF TO if_wd_context_element,
lt_el_tbseg TYPE wdr_context_element_set,
lv_bseg TYPE bseg.
lo_nd_t_bseg = wd_context->path_get_node( path = `ZDATA.CHANGING.T_BSEG` ).
lo_api_controller ?= wd_this->wd_get_api( ).
CALL METHOD lo_api_controller->get_message_manager
RECEIVING
message_manager = lo_message_manager.
lo_nd_tbseg = wd_context->path_get_node( path = `ZDATA.CHANGING.T_BSEG` ).
lt_el_tbseg = lo_nd_tbseg->get_elements( ).
LOOP AT lt_el_tbseg INTO lo_el_tbseg.
lo_el_tbseg->get_static_attributes(
IMPORTING static_attributes = lv_bseg ).
IF lv_bseg-kblnr NE ' '.
SELECT belnr
fipos
kostl
PSPNR
geber
saknr
fkber
grant_nbr
gsber
FROM kblp
inTO corresponding fields of wa_kblp
WHERE belnr = lv_bseg-kblnr and
saknr = lv_bseg-saknr.
ENDSELECT.
lo_nd_t_bseg = wd_context->path_get_node( path = `ZPRELIMINARY_POSTING.CHANGING.T_BSEG` ).
* get element via lead selection
lo_el_t_bseg = lo_nd_t_bseg->get_element( ).
lo_el_tbseg->set_static_attributes(
EXPORTING static_attributes = wa_kblp ).
CLEAR: lv_bseg, wa_kblp.
ENDLOOP.
everything is working fine but now the problem is couple of fields that I have in wa_kblp are with different names in bseg table and hence they are not updating... I tried putting the following logic within the loop :
lo_el_t_bseg->set_attribute(
name = `PROJK`
value = wa_kblp-pspnr ).
but it's only setting the value of the first line item and not working for the multiple line items, can you please tell me how can do this?
Thanks,
Rajat Garg
Edited by: rajatg on Jun 24, 2011 5:09 PMHi Chris,
I tried your code and it worked fine but after I put this code I am getting another issue. within the loop I had a code to make the fields non modifiable on the screen and was working fine but now what's happening is it's making the all the lines uneditable except the one with data on it (which is completely opposite), this is what I have coded:
LOOP AT lt_el_tbseg INTO lo_el_tbseg.
lo_el_tbseg->get_static_attributes(
IMPORTING static_attributes = lv_bseg ).
IF lv_bseg-kblnr NE ' '.
SELECT belnr
fipos
kostl
PSPNR
geber
saknr
fkber
grant_nbr
gsber
FROM kblp
inTO corresponding fields of wa_kblp
WHERE belnr = lv_bseg-kblnr and
saknr = lv_bseg-saknr.
ENDSELECT.
move: wa_kblp-belnr to wa_bseg-kblnr,
wa_kblp-fipos to wa_bseg-fipos,
wa_kblp-kostl to wa_bseg-kostl,
wa_kblp-pspnr to wa_bseg-projk,
wa_kblp-geber to wa_bseg-geber,
wa_kblp-saknr to wa_bseg-saknr,
wa_kblp-fkber to wa_bseg-fkber,
wa_kblp-grant_nbr to wa_bseg-grant_nbr,
wa_kblp-gsber to wa_bseg-gsber,
lv_bseg-dmbtr to wa_bseg-dmbtr.
append wa_bseg to lt_bseg.
lo_nd_edit_property = wd_context->path_get_node( path = `ZPRELIMINARY_POSTING.CHANGING.T_BSEG.EDIT_PROPERTY` ).
get element via lead selection
lo_el_edit_property = lo_nd_edit_property->get_element( ).
lo_el_edit_property->set_attribute(
name = `EDIT_FIELD`
value = 'ABAP_TRUE' ).
lo_el_edit_property->set_attribute(
name = `EDIT_WBS`
value = 'ABAP_TRUE' ).
endif.
endloop.
o_nd_t_bseg = wd_context->path_get_node( path = `ZPRELIMINARY_POSTING.CHANGING.T_BSEG` ).
get element via lead selection
lo_el_t_bseg = lo_nd_t_bseg->get_element( ).
CALL METHOD lo_nd_t_bseg->bind_table
EXPORTING
new_items = lt_bseg.
Can you please see what I am doing it wrong here.... -
How to set the User rights to use DAQ/IMAQ in WinXP as general(=limited) user
When I install Software, written in LabVIEW (build an executable/installer), as administrator it works fine. But when I switch over to a user account with limited rights (we are talking about WinXP) it will not run and gives error messages. It happend to me at two almost the same computers, one with a DAQ-board, and one with an IMAQ-board. (At the computer with IMAQ1411 -> I also checked MAX -> errors/no access.) What to do?
Attachments:
DAQ_example.JPG 9 KB
IMAQ_example.JPG 15 KBHello,
I investigated the issue further. To work around this problem you should add write permissions to the C:\Program Files\National Instruments folder. Be sure that all subfolders and files are awarded write permission. This should solve your problems. eventually you could break it up to one file which must be set to write permission but by setting the whole folder to write permission you solve this problem for many other drivers to so you would not run into this everytime you use different hardware.
Best regards,
RikP
Application Engineering
National Instruments
Rik Prins, CLD
Applications Engineering Specialist Northern Europe, National Instruments
Please tip your answer providers with kudos.
Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense
Maybe you are looking for
-
I have a late 2011 Macbook Pro.
I am thinking on getting an SSD drive. How can I back up everything including the "restore partition" to put on the new drive?
-
Link to external sites through images
Hy, I'm a Mac newbee. I have to say, why haven't I start sooner. I try to insert hyperlinks to other websites linked through images I want users to click on. What is strange is that some of them work fine, others I simply can't get to work. Anyone el
-
Same program ran in DEV&QAS but output data is summarized in DEV??
What could be the causes of having the same identical program ran in different clients with the same variant and same input data but the output is summarized in DEV and not QAS? Since DEV is not summarized, grand debits and credits are larger in DEV
-
Patching 10.2.0.4.0 on RAC database
How to apply patchset 10.2.0.4.0 on base release 10.2.0.1.0 for RAC System in Linux ??? anyone having step by step installation guide, would be great help ...
-
The person is Swedish, so it makes sense to have the Swedish version, but she is contributing to Wikipedia, and making a number of spelling errors. I am trying to help her, so that she can optionally turn on an English spellchecker. I see how to add