Retrival of calculated field from MDM

Hi,
I have a reqiurement where i want retrieve field which is a calculated field. Ex: i'm creating a record and record is getting saved in the back end (MDM) and i want retrieve field (Variety number) which is a calculated field.
Any response  is appreciable.
Thanks in advance,
Revathy.

What problem are you facing? Are you calling an RFC to get the value?

Similar Messages

  • Retrieving hierarchy fields from MDM to SAP R/3 using MDM ABAP API's

    Hi all,
    I have developed a code to retrieve fields from MDM to SAP R/3 using MDM ABAP API's, i could retrieve   all of the fields excluding the Lookup[Hierarchy] fields like-  FACILITY CODE  etc...
    please update me if anyone has any experience on this.
    Thanks and regards,
    Aastha Mehrotra

    Hi ,
    Any one worked in the MDM API to retrieve Hierarchy fields ???
    Regards,
    Arun.

  • SAP HANA calculation field

    Hello,
    I have a query on the new calculated field in SAP HANA. What is the usage of this field, what are the pre-requisites and potential case when it is recommended to use such fields? Do we need to have a calculative view to use the calcluated field or can it be used directly in ABAP code?
    Kindly let me know. We are in the process of code optimization for HANA.
    Best Regards,
    Mohit

    Hey Mohit,
    can you please give a bit more details, e.g. documentation about what you refer to as "the new calculated field in SAP HANA".
    Concerning the details of usage within HANA, i.e. whether you need a calculation view etc. you might have a look at the SAP Help (Introduction - SAP HANA SQL and System Views Reference - SAP Library)) or maybe directly in the HANA SQL reference (http://help.sap.de/hana/SAP_HANA_SQL_Script_Reference_en.pdf).
    From my answer I think you can directly guess, that there's no way in directly accessing the calculated field from ABAP - except of course if you access it using native SQL (ADBC or EXEC SQL).
    For code optimization in SAP HANA (from an ABAP developers perspective), you might want to have a look at our Open SAP course (ABAP Development for SAP HANA - Dr. Jasmin Gruschke and Jens Weiler) or in the documentation given in our "Get Started" Section of ABAP for SAP HANA namely ABAP for SAP HANA Reference Scenario and ABAP for SAP HANA Reference Scenario - AS ABAP 7.4 Support Packages.
    In case you need more HANA (less ABAP) related information for your question, you might additionally contact the HANA experts on SAP HANA Developer Center.
    Cheers,
    Jasmin

  • ISR/Adobe Sending back fields from BADI in event request_check

    Dear Forum,
    Within my BADI implementation I want to alter some form data, after some user data has been entered. This applies to calculated fields from rather complex HR related data. Far to complex for Formcalc, but definitly as a response to user input to be checked before the notification should be posted.
    I expected that altering formfields would be possible just by changing the table SPECIAL_DATA in the event int_service_request_check. However, this appears not so, where exactly the same does in the method int_service_request_init filled.
    I am sure that the altered table gets fine throughout ISR_PROCESS_EVENT_WD, but still my form shows the original (from int_service_request_init filled) content.
    Has anyone experienced this? Is there a workaround? Since dropdownlists somehow behave the same (however, not usable in my case) I believe it should be possible and I am looking forward to any anwser on this.
    Regards, Hans GM

    Chris,
    I have resolved the issue in our system, so maybe the same resolution will work for you.  The answer is in Note [1440741|http://service.sap.com/sap/support/notes/1440741].  In our system we are on HR SP 23, which contains all the code corrections from earlier versions of this Note, but does not contain the manual corrections described (essentially creating the characteristic or data type for ASYNC_BACKGROUND_SAVE).  I just had to set up the characteristic as described and our form now submits just fine.  I found this only by running the ABAP debugger on Method GET_EXTERNAL_DATA_VALUE of Class CL_IM_HRASR00ISR with a breakpoint set on the line "ASSERT sy-subrc EQ 0."  I just stepped through until I saw the return code turn to something other than 0, and made a note that it was looking for a fieldvalue of ASYNC_BACKGROUND_SAVE.  A search of Notes for this fieldvalue turned up 1440741, and that appears to have resolved the problem.  The problem was not so much with the form itself, but with the asynchronous background save in the workflow step.
    Hope this helps you!
    --Matt

  • Wrong values from calculated field (Java API)

    Hi All,
    Help me please solve the problem.
    We have a table with calculated text field in MDM repositor. For some records the value of this field in MDM Data Manager differs from the value returned when we read record by MDM Java API.
    Parameters of system:
    MDM ver.: 7.1 SP10
    DBMS: Oracle
    OS: Linux
    The issue solved. I've found error in program code :-)
    I apologize for the worry.

    Assuming you want every field, the equivalent of "SELECT *" in SQL, you can use the RepositorySchema object to get a TableSchema, and with that get all FieldIds for the table.
    If your RepositorySchema variable is rs it would be something along the lines of:
    TableSchema mainTableSchema = rs.getTableSchema(mainTableId);
    ResultDefinition rd = new ResultDefinition(mainTableId);
    rd.setSelectFields(mainTableSchema.getFieldIds());
    Hope this helps,
    Greg

  • How to change the column value which is coming from DO by a calculated field?

    Hi all,
    I want to change a column value based on my calculated field value. I have a column which is coming from DO which is based on External Data Source. I have a calculated field in my report. When there is any change in the calculated field then the column which is coming from DO needs to be changed. It means the DO needs to get updated when there is a change in the calculated field. Or like if the calculated field meets some condition then I need to change/update the same in the DO. This has to be done on the fly. the report should not submitted for this. when there is a change in the calculated column the DO column needs to get updated.
    Thanks,
    Venky.

    Ok, I've been a customer for very many years, I'm on a fixed retirement
    income.  I need to reduce my bills, my contract ends in  Dec. I will be
    pursuing other options unless I can get some concessions from Verizon.  My
    future son-in-law was given this loyalty plan, so I know this is a
    reasonable request.  My phone number is (removed)  acct number
    (removed)
    >> Personal information removed to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • To read a calculated field of an MDM record

    Hi All,
    We have a main table in MDM repository with a calculated field and other fields.
    On entering the values of other fields in the table an ID gets generated for the calculated field of that main table.
    Now we want to retrieve that calculated field Id.Can anyone provide pointers for the same?
    Regards,
    Richa

    Hi Richa,
    To retreive calculated field you can use RefreshCalculatedFieldsCommand
                      ResultDefinition resDef = new ResultDefinition(schema.getTableId("TableId"));
                      resDef.addSelectField((FieldId)fieldId.get("fieldId"));
                        RetrieveRecordsByIdCommand varCmd = new RetrieveRecordsByIdCommand(wdContext.currentContextElement().getVa_ConnectionStr());
                        varCmd.addId(VarRecord.getId());
                        varCmd.setSession(wdContext.currentContextElement().getVa_SessionId());
                        varCmd.setResultDefinition(resDef);
                        varCmd.execute();
                        RecordResultSet recResSet = varCmd.getRecords();
                        Record resRecord = recResSet.getRecord(0);
                        wdControllerAPI.getMessageManager().reportWarning("functionsave:SaveVarietyData( )*********07"+resRecord.toString());          
                        MdmValue varCreated = resRecord.getFieldValue((FieldId)fieldId.get("Variety_Material_Number_Inter"));
                        String varCreatedVal = varCreated.toString();
                      Integer varNumCreated = new Integer(varCreatedVal);
                      int varietyValue = varNumCreated.intValue();
                      wdContext.currentContextElement().setVa_GeneratedVarietyId(varietyValue);

  • Retrive a field from an Idoc

    Hi eveybody
    I´ve got the next scenario:
    JDBC---->PI-(Idoc)----->SAP
    SAP -(Aleaud)--->PI--
    >JDBC.
    How could I retrive a field from reference Idoc when the Aleaud Idoc is processed??
    Im going to try to explain it better.
    In the Outbound Idoc travel a field called FIELD_A.
    Before the Aleaud Idoc is sent to PI I need to retrive this FIELD_A that travelled in the reference Idoc and send this FIELD_A in the Aleaud Idoc because I need it in the query used in the JDBC adapter.
    How can I do this????
    Thanks everybody.
    Regards

    Hi,
    Refer to this link..it will help you.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    Regards,
    Gaurav Jindal

  • Creating and using a calculated field in business rule from the currency conversion of another field.

    Hello,
    I'm creating a calculated field with a set currency for a business rule. I'm planning to use it as a deficiency criteria. I want the values to come from the currency conversion of another field. Can someone provide me the step by step procedure on how to do it?
    Some documents would be great.
    I've been trying to do it on my own but I've gotten lost.
    Thank you.

    Thank you for all your help above.
    Just to confirm your advice, am I right with the following conclusions? :
    1. The script (function) to fill the text field with the modification date of a different PDF file needs to be stored in a folder level .js file.
    2. The document containing the text field needs to call the .js function either within the document script or within the custom script property of the text field itself.
    Further to that can you just advise on the syntax for accessing the modification date of the other document.
    Do I need to assign a variable to the address of the file to be used, and then use this variable in the text form filling script (as below) or can I use a direct file reference at the .modDate command.
    var LastSync = "C:\sync\bin\lastsync.pdf";
    var strMsg = util.printd("h:MM tt",LastSync.modDate) + " on ";
    strMsg += util.printd("dddd, d mmmm, yyyy",LastSync.modDate);
    this.getField("LastSyncDate").value = strMsg;
    If the syntax is totally different to the above I would be very grateful for some guidance in the right direction.
    I much appreciate your time to help me ... I'm almost there.
    Kind Regards,
    Nifty

  • How to disable certain form fields from a calculation with a check mark fields.

    How to disable certain form fields from a calculation with a check mark fields.
    In Canada we have to taxes
    I create a form that calculate them to a total
    I need to be able to turn off any of those to taxes to participate to the calculation and their visibile field should become 0
    I was thinking using a checkbox (when checkbox is on (Yes) the tax is calculated, Not ticked (Off) the tax is not calculated and the visible field should show 0 or nothing....
    I really need help on this one — I’m a complete newbie....
    Remark that the second tax is calculated on the sum of what the first tax add (first tax is pan-canadian tax (all provinces).
    The second tax is never use alone (Quebec only (on top of the Canadian one)
    Sometime for outside Canada sell - No tax at all is calculated....
    What should I do?

    I want to tank you to help, really appreciate —>
    This is the code and order... I just trow the checkbox in there (they have, so far, no purpose...)
    The code use is
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 7.25) / 100
    I guess -If the checkBox are check - The tax should be calculate — If “Off” the tax should be not calculated and PriceHST and /or PriceQST should show zero or be empty — The HST is always calculated in Canada, but the QST is added only in Quebec.
    I need to turn both to Zero for international sale.
    Message was edited by: Chacapamac

  • How to retrive data from MDM Tuple?

    Hi,
    How to retrive MDM Tuple data into a java Application? Here I have to fetch the data from MDM Tuple and populate it in a list. can anybody please help me in doing this.
    Thanks.

    Hi Sree,
    Any one of the below mentioned APIs can perform the record retrival from a Tuple.
    -   Record.getFieldValue(tupleFieldId)
    If the tuple record is part of the original table record that can be obtained using one of the Retrieve commands responsible for retrieving records.
    - TupleValue.getFieldValue(tupleFieldId)
    If the tuple record is part of another tuple record (nested tuple structure)
    Hope this helps.
    Also a good read related to this - http://help.sap.com/saphelp_nwmdm71/helpdata/en/49/03144f3fad3697e10000000a42189b/content.htm
    Regards,
    Vinay M.S

  • I have a trial version of Acrobat DC but I dont seem to have a ll the options. Specifically button for froms and calculation fields

    My trail version of Acrobat DC doesn't have a button option or any calculation fields. Is this because this has been taken out of the trial? Regards

    Hi Kevin ,
    I wonder if this is something to do with resolution that the mentioned options disappeared .
    Could you please update on what OS are you using ?
    Also ,from where did you downloaded the Acrobat DC trial ?
    You could try repairing it once and check if that fixes the issue .
    If that does not work you can uninstall it once and then re install it and see if that helps you in any way .
    Regards
    Sukrit Dhingra

  • Calculating values from repeated fields.

    I have a subform that repeatable, how to i calculate a value from a fields from the repeated values?

    Hi,
    Try using the following FormCalc code on the "total" field which is outside of your repeating row/subform:
    total.rawValue = sum(form1.Page1.Row1[*].Amount[*]);
    Row1 - Repeating Row
    Amount - Column dedicated to Amount
    Hope this helps
    Thanks,
    VJ

  • User authorization base on calculated field

    I may ask for an imposible, here my case
    we have a customer repository, where depending of the convination of values of few fields, diferent organizations are responsible of each customer (4 diferent organizations, I would call them by colours)
    in that way I thought to make four calculated fields, as isrelevant_for_organization_blue, etc... where I codify the logic behind
    (note, a customer can be relevant for more than one organization, therefore the four fields)
    and of course, the users want to only only their relevant customers, and not able to see the non-relevant
    so, the first idea, "let's maintain the authorization on the calculated field !!"
    which it come to do not work, becouse no authorization can be made on calculated fields
    second idea, "let's calculate it on import time", which even is worst idea (in case logic change, there is a need of correct the data) and it does not work neither. No calculation fields on import time ...
    any other idea arround ??
    thanks you
    (running MDM 5.5.SP6)

    what you mean  by "by using assignments" ??
    doing it manually ??
    we are loading from diferent sources via XI into MDM (XML file into the MDM folder ...)  and we would not like to codify this logic into XI. Te logic is subject to change from time to time (often I fear)
    correction to historical data when logic is changing, can be done using a calculate field and manual correcting the necesary records. But on daily/weekly bases (when we load info) it should be done someway automatically
    any ideas ??
    thansk in advance

  • Multilingual Expression for Calculated fields

    Hi all,
    I need to write an expression for a multilingual Calculated field.(The calculation need to take the logon language into consideration). When looging onto the Console however and selecting languages the set languages are not auto selected as it does for Validations. The only fields available for selection is the Primary language fields.
    Is their a way to create a multilingual Expression for Calculated fields and how can I go about it?
    Thanking You
    Chris Huggett

    Hello Chris
    That functionality is not supported in SAP MDM 7.1(5.5)
    You cannot modify from validation filed values by language different than your connection language.
    You can do it manually in Data Manager or during import.
    As usually you can use MDM API for that activity.
    Regards
    Kanstantsin Chernichenka

Maybe you are looking for

  • Re: Help needed in AP Check Printing R12 XML Tags

    Hi, I am trying to print the 'Overflow' Image on top of the check area in first page instead of 0.00. and nicely align the check print on the bottom of the 2nd page. I am unable to keep the number of invoices stub as static so that check can be stati

  • Saving print settings in a template

    Hello, I'm creating some user templates for different printing setups in LR 3.3 RC on a Mac Pro, OS X 10.6.5, using the Epson 3800 with the current driver ver. 6.11. I have no problem saving different print setting presets and also have no problem sa

  • Sequence of Document Numbers

    Hi, I have recently noticed that the numbering sequence of the SAP document numbers which appear after an invoice is entered have not followed a numerical sequence. I notice them ascending over time but then the numbers just recently went down nine i

  • Share Point 2010 opening pdf in adobe reader prompting credentials

    Hi, In our share point 2010 internet site whenever we try to open pdf , its trying to open in adobe reader and prompting user to enter credentials and finally getting " url provided couldnot be reached..." error  message. This is happening with only

  • TNS-12537: TNS:connection closed

    Hi, I have done system copy on AIX/oracle. On new server if start the listner. it starts normally. Oracle also starts normal. Then if i starts sap with sidadm, listner stops with following error. There is no error In listner.log file. orascp 11> lsnr