Performing calculation on text data fields - for Master Data infoobjects
Gurus,
I've a MD InfoObject Z_Obj containing set of attributes - Z_Attr1, Z_Attr2 and Z_Attr3 , the data for this fields contains text ( of single character)
The requirement goes like this
Attribute Value Value to be displyed in the Report
Z_Attr1 - Y A
Z_Attr1 - N <Blank>
Z_Attr2 - Y B
Z_Attr3 - N <Blank>
Z_Attr4 - Y C
Z_Attr5 - N <Blank>
Without making use of any ABAP routine , What are the possible ways we can achieve this in Output.
Remember I want the validation of the fields at report level not at the ODS/DSO/MD InfoObject level.
Please do help me about the various possibilites.
Thanks in advance <removed by moderator>
Regards,
Yaseen
Edited by: Siegfried Szameitat on Nov 7, 2008 9:15 AM
This can be done :
Create 3 formula variables of type replacement path.
While creating :
In the general tab, choose reference characteristic as Z_Obj.
In Replacement Path tab,
Replace variable with : Infoobject
Replace with : Attribute value
In below drop down choose your attribute appropriately.
Now you can use this formula variables to create formula or CKF.
Hope this helps.
Similar Messages
-
Overiding Mandatory Fields for master Agreement Template
Hello,
In the standard creation of the master agreement template the CONTACT field is mandatory. To me, this does not make sense because a template would need to be created for every contact/supplier. We want to make the CONTACT field optional for master agreement templates. I am trying to create a page customization with the following properties to accomplish this:
UI ID:contracts.contract.ui.buyside.default
Name:Master AgreementParent
Class: Master Agreement
Field ID: Contact
Property: required
Value: no
Dimension on parent set
Dimension Field : IS_TEMPLATE
Dimension Field Type: Boolean
Dimension Value: yes
I can not seem to make it work. Any suggestions? Is this even possible?
Thanks in advance,
KyleThanks for the quick reply. I was hoping to avoid a dummy vendor. This is sure a strange piece of software.
Kyle -
Need to populate text/ref fields for docs generated by allocation cycles
When executing distribution or assessment cycles the doc header text, reference field and line item text are all left blank in the generated accounting document. We would like to populate these fields with some reference to the cycle or segment names. Is there any doc type or cycle setting or standard config that would allow us to populate these fields without the use of an exit? Thank you in advance.
Hi
Goto GGB1 TCode
under Cost Accounting you can find three allocation areas
Find out right one and create new substitution rule to update text or ref
Reg
Vishnu -
Mandatory Field for Master Data Creation
Dear Experts,
How can I make "Street 2" Field as a Mandatory Field when I create Customer Master data (XD01) ?
Thanks in advance for your kind support.
Best Regards.
RiponHi
KIndly go to the belwo path and choose Create customer centrally and make the street field mandatory
SPROFinancial accounting-Accounts receivable and accounts payable -Customer accounts-Mastr data---Define screen layout per activity (customers)
By doing above system will show mandatory for all account group when creating customer master thjrough XD01
If you want to do mandatory for account groupo the n go to t code OBD2
Regards
Damu -
How to perform calculations using column data in BI Publisher
Hello guys
I am very new to BIP, and recently I am learning to create new templates using XML files..
I am trying to create a report that has Account Amount, Amount Net Amount, PM_Amount and a New field say "X"
For Account Amount it is what it is, but for Net Amount it is "Account Amount/40%", for PM_Amount it is "Net Amount x (Account Amount/30)" and for field X it is "(Net Amount + PM_Amount)/column A" where column A is another data field in the XML file but it should not be included in the template report..
Could anyone help me with how to perform such kind of calculations in BIP Template builder? In OBIEE, it is very easy that I can just use column formula, but in BIP I still haven't figure out the way yet..
PLease advice
ThanksThanks for the reply..
I looked at the link you provided already, what I wanna know is how to exactly apply the expression in my calculation. In other words, I know that Column C = "Column A div Column B", but in BIP form property, how do I actually substitue "column A" with the actual column..
I wish I could post the XML, but it is huge, it contains 6 data sets and more than 100 columns. I only need 15 columns on my template.
On the form property of each measures, in the "advance tab", I see codes like <?accountamount?>. Now I wanna have a new column said "PM_Amt" which should be "(accountamount div %40) x column B". So I just randomly select another column said "payment". I rename it to "PM_AMT" and on its "advanced tab" it is still <?payment?>. So right there, if I wanna replace that code with a new one that does "(accountamount div %40) x column B" calculation, how would I do it? What would be the syntax including how to propertly refer to the right column field as part of the expression?
And do I have to always use xdofx between <>? how would I know?
Please advice if you understood what I am trying to say
Much thanks
Edited by: user7276913 on Sep 14, 2009 11:24 PM -
Performing calculation on stored data
Hi all, maybe a Lookout developer more experienced than me can help me
with this one.
I am storing information in a Citadel database regarding production
levels and timing, I would like to perform some statistical calculations
such as Average, Std deviation, etc. I am trying to figure out how to pass
the information from the database to the Calculation Objects, I read in the
documentation that are 35 samples available as a data member in some
objects, but I wonder if there is a way to perform the calculations in a
larger number of data. Any idea?
Thank you in advance.
EverardoGood Morning Everardo,
Citadel has built in statistical functions. These are easily experimented
with using MS Query to access Citadel from MS Excel. You might also refer
to the reference manual or online help regarding the ODBC compatibility of
Citadel. With these tools, you can use the SQL object within Lookout to
make queries on Citadel and invoke the built in statistical functions.
Good Luck
Todd Johnson
"Everardo Hernandez" wrote in message
news:[email protected]..
> Hi all, maybe a Lookout developer more experienced than me can help me
> with this one.
> I am storing information in a Citadel database regarding production
> levels and timing, I would like to perform some statistical calculations
> su
ch as Average, Std deviation, etc. I am trying to figure out how to pass
> the information from the database to the Calculation Objects, I read in
the
> documentation that are 35 samples available as a data member in some
> objects, but I wonder if there is a way to perform the calculations in a
> larger number of data. Any idea?
> Thank you in advance.
>
> Everardo
>
> -
Steps for master data loading by using process chain
Hi
I want to load the Master data by using the process chain . Can anyone tell me the step-by-step method for loading the master data .
I means what are the processes should i need to include in the process chain . Pls tell me in sequenece .
i ll assing the points
kumarHi,
The process os loading master data is similar to transaction data in terms of using the infopackages.
First you have to load Attr followed by texts and hierarchy.For master data you have to include the process type called as Attribute change run.This can be included as a separate process type or using the AND process.
Hope this helps.
Assign points if useful.
Regards,
Venkat -
Effect of 'No update' for master data texts
Hello all,
I am using flexible update - update rules - for master data text. I want to confirm effect of 'No update' in following scenario
In the fisrt set of update rules -from first source system -I have mapped both short text and long text
Key | short text| long text
......| overwrite| overwrite
K1 | some SHTX| some LGTX
In the second set of update rules, I have selected 'No update' for Long text
Key | short text | long text
......|overwrite| NO UPDATE
K1 | some SHTX |
My loading sequence is first source system followed by second source system
what should be my ultimate long text and why?
Many thanks in advance!
Regards
SanjyotHi surekha,
your long text will not get changed.
Take the example you mentioned
Key | short text.....| long text
........| overwrite......| overwrite
K1 | some SHTX.. | some LGTX
In the second set of update rules, I have selected 'No update' for Long text
Key | short text... | long text
........|overwrite......| NO UPDATE
K1 | some SHTX. |
In the second set of update rules, you mentioned "No UPdate", So, when a record with the same key is found n Masterdata, it is not going to make any changes to the field Long text.
Where as short text will get overwritten.
Take some data for ex with the above mentioned type
data from source 1 : 2000 Maggi Noodles
data from source 2 : 2000 Feasters
when the data from first source system arrives, data will be 2000 maggi noodles
when the data from second source suystem arrives, as there exist this records with same key(2000), it checks for the other fiels
short text will be over written with the value in second system (according to rules its in overwrite mode)
Long text will not be updated as the rule says no update.
hope this helps,
Cheers,
Srinath.
Cheers,
Srinath. -
Display Title in BEX query for Master Data Field
Hi All,
Appreciate if someone can assist me in this.
When we display query result, we will have results of master data field for as master data and Text, e.g Customer and customer text.
BEX display:
Header Line : Customer
Display Line : 90002011 Mary Kay
90002023 John Smith
For the header Line, we have title 'customer', can we have the title for 'Customer Description' instead of having it as a blank field.
Appreciate if someone can assist me in this, I cant find this issue posted by anyone.
Thank you.Hi,
For one object you can not have seperate description for key and text.
Either you need to have seperate object. Check if your Customer object is having some name attribute then display cutomer key with name attribute so that there will be two object and you may change the description in report display.
If this is not possible then you may not have dirctly in reporting. You need to stage one more object in staging area with same cutomer field then one you may use as text the other one as key.
I hope it will help.
Thanks,
S -
would like to use apex_item to popup a calculator for a text item field, is this possible in apex 4.2.2?
I imagine you could reverse engineer what APEX delivers when you declaratively choose text field with calculator.
For example, the generated source includes an event:
onclick="calculatorPopUp_p_t01();"
These get added to the attributes of your apex_item.text() call.
Alternatively you just paste the entire generated content, escaping the necessary data. -
Using a single master data infoobject for multiple fields
Hello experts. Today I ran un with the following problem: I am modelling an Infocube and will be receiving a flat file with several fields, of which 3 of them give information about sales representatives.
For each transaction there are 1-3 sales representatives involved, and this is reflected in the file I am going to be loading. If only one representative is involved, it means that he was in charge of a complete negotiation, and his code will be found in all three fields, if two representatives are involved, it means that one was in charge of one part of the negotiation, while the other was in charge of the rest, and according to what they were in charge, their code will appear in one or two of the fields. If three representatives are involved, each one's code will appear on the field corresponding to the part of the negotiation they were in charge of handling.
I already have the sales representative's codes as master data, but I was wondering how I can have those three fields map into the same InfoObject, if that is possible at all. Maybe in the transformation I map them to the same object? Also, what happens when you create the Data Source? As far as I know, each field in the Data Source must be unique, which makes it impossible to use my ZSALESREP InfoObject for the three fields, at least at Data Source level. What can I do in this case?Hi Pedro Olvera,
You need 3 infoobjects in datasouce to load 3 different fields.
If you want load to a single infoobject, you can map accordingly in transformation, bult last field overwrites previous one.
Its better to maintain 3 fields in cube. Create 2 more sales Reps(ZSALESREP1 & ZSALESREP2) with Reference to ZSALESREP then you no need to maintain master data for ZSALESREP1 & ZSALESREP2.
Use these 3 fields for modeling.
Hope it Helps
Srini
[Dont forget to close the call by assigning poings.... - Food for Points: Make a Difference through Community Contribution!|https://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/007928c5-c4ef-2a10-d9a3-8109ae621a82] -
FI-AP Add field of master data vendor for reporting of vendor
Hi,
I have to add the field LFA1-BRSCH (industry) into layout output reports for suppliers:
S_ALR_87012082
S_ALR_87012093
S_ALR_87012103
I have already read the note 984305 - Line Item: Definition of special fields (T021S), but does not help me because it does not allow to enter fields of master data vendor
But I 've found the extension RFKRRANZ, but I do not know what to enter as a code.
Has anyone ever used or even if it is used on your systems could send me the code?
Any assistance would be greatly appreciated.
EricHi,
if someone can affect, the answer SAP such enhancement is not possible for teh reports:
S_ALR_87012082
S_ALR_87012093
S_ALR_87012103
But only transactions: FBL1N/FBL3N/FBL5N or, as of ERP2004, FAGLL03.
Best Regards.
Eric -
XRPM: Need to find the BADI for adding custom fields to master data
Hi,
We have activated XRPM(4.0) business content and need to add some custom fields to some of the master data ( for example need to add custom fields to master data info object 0RPM_IHGU, 0RPM_IGCG etc).
We have enhanced the data sources ( 0RPM_ITEM_HEADER_GUID_ATTR and 0RPM_FIN_CAT_GUID_ATTR respectively) in the source system by appending additional fields to the append structure of the data source We are trying to find the BADI where we can implement the custom code.
Can anybody help to find the particular BADI, id there one for all master data carrying data source in the xRPM source system?
ThanksDear Arunava,
1) In your R3 goto SE16 --> open table ROOSOURCE.
Search for your OLTP source...eg: 0RPM*
The column EXTRACTOR will give you the module name.
2) Also look/follow the link:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9f668696-0701-0010-22be-a278e4587b68
Currently available BAdIs include:
RPM_BUPA_CUST_FIELDS BUPA customer fields
RPM_CALC_BUPA_BPFTE Calculate the business partner availability
RPM_CALC_STAFF_ICON calculate the staffing icon
RPM_CREATEUSR_NAME Generates user names
RPM_HR_IN_IF001 Customer exit for inbound time processing
RPM_HR_IN_IF002
RPM_HR_IN_IF003
RPM_HR_IN_IF004
RPM_HR_IN_IF005
RPM_HR_IN_IF006
RPM_INTEGRATION_OPTS get and set the project integration options
/RPM/OBJECT_SERVICES Object support services
/RPM/PERSON_CUST_FLD Resource customer fields
RPM_PROCESS_DATA Inbound processing of time data by customer
Good Luck, BB -
How to retrieve the data in texts field for ME23N
hai all,
i need to do some coding for the item texts field for PO, which can be saw under ME23N. i need to retrieve the details in the text. but i have no idea how am i going to get the data from that field, which table is it under for PO?
please advice. thanksHi,
the texts will be stored in STXH table..u need to pass the four values TDOBJECT
TDNAME
TDID
TDSPRAS...U will get the text details
Or
use the FM 'READ_TEXT'.
cehck the below links
http://www.sap-basis-abap.com/sapac002.htm
FM READ_TEXT
reward if helpful.
Regards,
Nagaraj -
Need Text data table for GBSTA field(ref VBUP table)
Hi frns,
Can anyone suggest me the table to extract text data for the field GBSTA .
Cheers,
ShanaHi,
The value range of domain "STATV" for field "GBSTA" is limited with fixed values. You can either read entries from Value range of domain "GBSTA" in SE11 or from table TVBST
Table : TVBST with inputs
SPRAS : sy-langu
TBNAM : VBUP
FDNAM : GBSTA
Srikanth.
Maybe you are looking for
-
I opened my iPod Touch up to fix my home button. When i closed it back up it had a white screen. I tried pressing lock and home button for 10 seconds and it worked but while i'm using it it goes white with lines on the screen. Help please. This has b
-
How to access TC from a Windows 7 PC off my home network?
Can someone please tell me how to gain access to my personal home networked TC from my work provided Win 7 PC? I do not take my Mac into the office so can I get to crucial data stored on my TC from work? FTP client perhaps? Map a drive via IP address
-
How to get the purchase order's delivery completed date in the dictionary
Hi consutant : In me23n transaction code ,I set the delivery completed indicator mannul . I can see the state of delivery completeed by click environment->item changes menu . But I don't find the date that I set the state of delivery completed in t
-
Correct File Size-Web Photo Gallery?
I've optimized my photos in photoshop and now its time to display the photos at their best quality on the web. I'm curious how working photographers proceed at this point. What methods are used to get your final image optimized for best quality viewi
-
Nokia x6 quickoffice not opening xls sheet
hello all this is my first post i really need a solution for my quickoffice(which is preinstalled) as it is not opening the xls sheet created in ms office 2007(please dont advice to use ms office 2003) earlier in my nokia 5800 i downloaded the quick