Changing an attribute of a caracteristic in BW
Hi,
I have a requirement to add the age a of material as an attribute of ZMATERIAL using the first time it was sold.
-1 to 3 month
-3 to 6 month
-6 to 12 month
-etc
I planned to add the date of the first time it was sold as a caracteristic in the classification of the material in R/3 with an independant R/3 ABAP program and
calculate the age in the user exit of ZMATERIAL while loading data into BW.
But then, I've been asked to do it on the BW side because it would be "expensive" to execute daily a program to find the first time sold of each material that haven't been classified yet.
I have Infocube 0SD_C03 which contain our billing information and can do the job for first time sold.
I don't know were to start. Do you have any sugestion ?
Thank you!
If i understand you try this.
} else if (this.sign < 0) {
BigInt temp = big.subStd(this);
temp.sign = -1;
return temp;
}
Similar Messages
-
How to change the attribute name for a relation
When the Data Modeler engineers a logical model into a relational model it create table columns for the relations. The names of the generated columns are listed in the attributes list in the properties dialog of the relation. The actual name of the attribute gets calculated by the attribute name of the entity which is part of the relation. This is okay, if there is only one relation between two entities. But when there are two relations between two entities the second attribute gets a stupid number suffix. This makes it impossible to give the attribute a useful semantic meaning.
When I engineer the model into a relational model I can change the column name in the relational model. Changing the column name in the relational model is not perfect but it would be okay for me, if it would not be overwritten during the next engineering run.
So I have two questions:
How can I change the attribute name in the attributes section of the properties dialog of a relation? See here for screen shot:
http://public.ceving.de/2012050300/relationattribute.png
And if it is not possible:
How can I preserve any changes on column names in the relational model during a re-engineering run?
Edited by: 931739 on 03.05.2012 08:07Hi,
I've logged an Enhancement request on this.
I don't believe it's possible to change it from the Entity or Relationship dialog, as it's not updatable in these dialogs.
What you can do is change it in the Relational Model, and then reverse engineer the change back to the Logical Model.
David -
How to change report attributes like heading, sort etc programmatically
Some of the columns from a classic reports using pl/sql as region source should be sortable. Is it possible to change this attribute (sort = yes) using JavaScript or APEX API?
David
Edited by: david on Sep 6, 2011 11:56 PMThere is something I don't understand here. Why do you need to point at the sxd? What is changing? Like I mentioned before. If the contents of the xsd change, all the report will do is - at best - drop the changed fields so you will be missing data. Perhaps some of the following will help;
[Crystal Reports Guide To ADO.NET|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20?quicklink=index&overridelayout=true]
[Crystal Reports For Visual Studio .NET Reporting Off ADO.NET Datasets|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/2091d0c3-da1d-2b10-22be-a3426b183f75?quicklink=index&overridelayout=true]
[Crystal Reports For Visual Studio 2005 Walkthroughs|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23?quicklink=index&overridelayout=true] (page 332 on).
Ludek -
How to change the attribut of Form in Review Form in ISR
Hi,
We have to change the attributes of text fields of form ( e.g disabling the text field ) once user hits the Review Form button on MSS page
Please let me know how to do it .
Thanks
ManishHi Manish,
You may write the Formcalc scripting for the respective field.
//Check ISR control parameters for read/write access
if($record.CONTROL_PARAM.ISR_MODE == "DISPLAY" |
$record.CONTROL_PARAM.ISR_FORM_VIEW =="ISR_APPROVE" | <b>$record.CONTROL_PARAM.ISR_REVIEW == "true" )</b>
then
this.access = "readOnly"
else
this.access = ""
endif
Hope this helps.
Thanks and Regards,
Anto. -
How to change the attributes of GUI CONTROLS in my own program.
hi all,
i just want to change the attributes of GUI CONTROLS in my own program.
for example `
How to set an ICON on my GUI BUTTON in the program?
so what's the mapping between CONTROL in the SCREEN PAINTER and variable in the program?Hi Chao Liu,
Ya , u first find out the PF-STATUS of the screen and goto that status and now u can modify the ICON u want .
Finding the GUI status of the screen
Goto that TRANSACTION CODE or SCREEN
On the Standard Menu bar Goto ( Menu path) System --> Status
Now u get a pop-up System :status in that in SAP Data block u can find GUI Status. Now Double Click on that Status. It takes u to the Status of that screen.
Now click on the Display --> Change Button on the application tool bar.
If it is a standard GUI-status then it asks for the ACCESS KEY.
if it is a custom defined GUI Status then u can change the status .
reward if helpful
raam -
How to change the attribute of screen field to drop down list dynamically
Hi All,
Col X Col Y
A input field
B drop down list
This is a tabular disply where the Screen field attribute for Col y is NO DROP DOWN BOX.
My requirement is to change the attribute of COl Y to DROP DOWN list depending on the value of
COL X dynamically.Dear Ajay,
Actually this requirement is to enhance the standard screen for Tcode :EHSVU21.
So depending on the 1st Column(Test no) value ,i have to change the 3rd Column(Low.norm.result)
property either to DROP Down or not.
So in the PBO only the changes to be made and there is no field in SCREEN internal table for changing the attribute to DROP down. I checked SCREEN internal table where the field VALUE_HELP and REQUEST is useful but not suitable for my case.
Any solution available? -
.change IUCONFIG attribute value in an event-handler of IUICCON (move in)
Hi there,
I have been searching for over a week now both on SDN and using the debugger, hopefully this brings more luck.
On the web-client there is this new contracts page with 3 tabs.
On the first tab you can choose a product, select a contract and then click Configuration.
There you can change parameters. (this is View IUCONFIG/ConfigTree) with contextnode ISUORDERITEMCONFIG.
In this case it is not wanted that this configuration page needs to be opened.
So I need to change the value of 1 of these attributes (always the same attribute) automatically when switching to the 2nd tab, or when clicking the save button on the last tab. Or any event on the 2nd or 3rd tab are okay. As long as they are sure to be executed in the process.
I would prefer changing the attribute from within IUICCON/ProcessSaveButtonBar>EH_ONBT_SAVE_PROCESS
or IUICCON/ProcessBar>EH_ONNAVTOACCOUNTDATA
I just don't have a clue how to automatically set one value of these configuration attributes.
Can anybody provide a solution or a workaround?
Is there any way to change the parameters without ever going to the configuration page in the browser?
Thanks in advance for your ideas
Could this thread be moved to CRM webclient?Solved, the solution can be supplied in trade for the right amount of money
(okay is was CRM_ISU_CONT_CHANGE_OW) -
How to change the attributes of screen fields dynamically
<b></b>
well i have created a table by name empmaster_data with following fields.
*emp_id.
*emp_fname.
*emp_lname
*dob.
*doj.
*dept.
*desig.
now using a single screen i want to create,change and display the information.even i am using save and exit button.
now i want to change the attributes of screen fields dynamically like active,input,output,invisible.Hi,
Have Different Radio Buttons for the purposes what you have and use AT Selection Screen Output, Under the event Use loop at screen and with continue with your requirement.
Hope This Info Helps YOU.
<i>Reward Points If It Helps YOU.</i>
Regards,
Raghav -
How do I change text attributes within one text box in Motion 3?
I am trying to change text attributes within one text box in Motion 3, but am only able to change the font/size for the entire box. Is there a way to change the attributes to individual lines of text within a text box without creating an entirely new one or using the "Lower Third" text effect?
How do I create (two different) multiple colors, fonts, bold, italic, underline in one text box within Final Cut Studio Motion (FCP, FCS)Thank you! You saved me hours of tinkering around with multiple text boxes. It seemed like it should be something pretty elementary. It didn't help that I am not familiar with proper terminology, so thank you for defining glyph.
Cheers,
Owfownugi -
How to change general attribute of text element
hi
who now how to change general attribute of text element on screen dinamically? I wish to change text value dinamically for example.Hi Denis,
I am not too sure on what you want.
If you require that the text value be different based on some conditions you can declare as many text elements as conditions and call the relevant text element.
But I dont think that you can assign dynamic texts to a single text element.
Regards,
Saurabh -
Changing visual attribute in Enter Query mode
Hello, I want to change visual attribute of all items in the first record when the user presses button for Enter_Query. I want that the user sees that the form is in enter query mode and it "waits" for the input of criteria. My code (copied from Help and modified) in trigger WHEN_BUTTON_PRESSED:
DECLARE
cur_itm VARCHAR2(80);
cur_block VARCHAR2(80);
BEGIN
ENTER_QUERY;
cur_block := :System.Cursor_Block;
cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
WHILE ( cur_itm IS NOT NULL ) LOOP
cur_itm := cur_block||'.'||cur_itm;
Set_Item_Instance_Property( cur_itm, CURRENT_RECORD, VISUAL_ATTRIBUTE,'yellow');
cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
END LOOP;
END;
where yellow is the name of my visual attribute.
The problem is that I need to press the button TWICE to color the record.
Can anybody help me with this problem?
Natasa(Wrong forum).
The problem is that enter_query stops executing your procedure until
another action ist started by the user.
You must create a short-time timer before issuing enter_query and set
your colour scheme in the when-timer-expired-trigger. -
Change a attribute value with XSLT before importing an XML
I need change the attribute value with XSLT before importing an XML
<table class="x" style="width="50pt">...
I have to divide by 200 the value of "width", and the result multiplied by 100:
(50/200) * 100
It's possible with a XLST?Hi,
Yes you can do this via XSLT.
You can try similar to the one below:
<table>
<xsl:attribute name="width">
<xsl:value-of select="((./width) div 200)*(100)" />
</xsl:attribute>
</table>
I have not tested yet... Try it....
Green4ever
(I am back after long time).... -
Flex 3 - How to change an attribute name ?
like this
<item code="1" />
to
<item id="1" />
thanksHi Alex,
You can use setName to change the attribute name:
Here for example change all your id attributes with code:
var xmlTest:XML=<r><item id="1"/></r>;
for each (var node:XML in xmlTest.item.descendants("@id"))
node.setName("code");
trace(xmlTest);
Thanks,
Bhasker -
hi to all
please give the answers to these following questions
14.If we archive the ODS data from which table it takes the data
15.What is mean by change run attribute , its use?
thanks
shah14: I would expect that the active data will be archived.
15: The attribute change run aligns aggregates containing navigation attributes. -
Change the attribute "src" to "href" before importing an XML
I need to change the attribute "src" to "href" (<img scr="....">) before importing an XML document. I think you could do with XSLT, so you can add a script to import XML documents. But I do not know much about XSLT ...
Does anyone could give me an idea?
Thanks in advance...!!!Piece of cake. Here is an identity transform, except that it filters out "src" attributes:
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" >
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>
<xsl:template match="@src">
<xsl:attribute name="href">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:template>
</xsl:stylesheet>
See http://stackoverflow.com/questions/2679443/how-do-i-rename-an-attribute-using-xslt
Maybe you are looking for
-
Connecting a new 1080p Apple TV to Component TV
Just purchased a new 1080p Apple TV and want to connect it to my older plasma TV with component inputs. I purchased one of these, http://www.monoprice.com/products/product.asp?c_id=101&cp_id=10114&cs_id=1011410 &p_id=8125&seq=1&format=2, to do the co
-
Hi Experts, Im using the fm SO_NEW_DOCUMENT_ATT_SEND_API1 to send out a pdf (into sap office box). But when I open it I get totally wrong special characters (Chinese for instance, and ' is replaced by #). I have already applied the note 1430123 but i
-
Converting from PS single app plan to Photography Special Offer plan
Hi, Just wondering how I can convert from my PS single app plan @ $19.99/month to the photography special offer plan, which includes PS and LR @ $9.99 month. Thanks Regards Ro
-
attempting to update iphone software via pc. itunes engaged. back up does not appear to have occurred. device now locked. requesting restore action. anyway to save photos in this status? or restore after?
-
[solved] Trouble installing android SDK and eclipse plugin
Hi ! Owner of an HTC hero, I would like to develop some apps for it. However, I have problems to install the android eclipse plugin on my archs (a 32 and a 64 bits) while it is working fine on my roommate's ubuntu... I'm following these instructions