How to calculate on MDM 7.1 (Range of numbers)

Good Afternoon,
I Have the following scenario:
We are implementing a products repository that will feed an ECC environment.
The interface are going to be the Enterprise Portal, so users are going to request for new products on MDM trough Enterprise Portal.
To reduce the impact on the interface team (PI development) we decided to generate the products numbers inside of MDM (once MDM will be the unique interface to input products).
The question is about the product number that I'll have to generate inside of MDM, there are two types of products and each one starts with a specific range number (i.e.; FERT = 800000000 and ZSTK = 9000000000).
Does anybody knows a solution for this situation? I cannot use an AutoID field because I have to guarantee the sequence of each range.
Regards
Armando Martines Neto

Hi Armando,
Number generation has been one of the crucial requirement with MDM  as we are dealing with master data creation and maintainence in MDM.
However from mdm 5.5 ver till the latest 7.1 ver of MDM this need has not been fully met.
So if you need MDM to generate the number range for you you will have to do it through one of the following means.
- Use of the Qualified Number range feature provided  with the Remote systems.
- Use MDM Data modelling and JAVA API effectively through Portal.
1) For using the Qulaified range feature you can generate a number range for your Product master records but you need to take care of the following.
- This feature works with the Remote system only.So make sure you are maintaining records per the remote system and not directly in MDM.
- This will generate the Keys only at the time of syndication and not before that.
- You will be able to see the keys in the syndicated output file only and not in MDM data manager directly.In the DM these keys will be visible only under the Key mapping option and not otherwise.
You can refer the below links for more info:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/807ce1ba-94c0-2a10-a398-afdfd8135ebd
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0f787f8-11d9-2b10-f789-cffdffa4bab6
2) The Second method that i suggested would be a workaround by uisng the SAP Portal and MDM Java API.Using this method you can try to maintain the range for every product type with their min and max range in an MDM lookup table and then use these values through the API to increment it one by one to generate a value for every record.This is not a straight forward approach and will require the EP expert for the same.
Just an dea for a workaround i thought will help.
Hope it Helped
Thanks & Regards
Simona Pinto

Similar Messages

  • How to calculate query value on extended range of data

    Hi,
    This is my first post, so let me greet all forum users. I'm reading the forum for few weeks and I'm really impressed with the force of this community.
    My question is based on some real problems but I'll ask in general:
    In a BEx query - is it possible (and how?) in a result cell to obtain value that is calculated based on some more extended range of infoprovider records than it results from all the characteristics related to that cell?
    The question is somehow about a reverse case to the restriction in Selection. I'm asking about a kind of 'extension' of selection.
    Example for the question follows (it is somehow simple, I put it here just to picture the problem, note: the question is more general!)
    cube: ch: 0CALMONTH, 0MATERIAL, 0PLANT
          kf: 0QUANTITY (ex. of outgoing deliveries)
    What I need is to obtain in any query the SUM(0QUANTITY) over all 0PLANT (this can lead to knowing the 'activity' of the specific plant by calculating the share. that activity can be calculated at diferent level of detail).
    The 'dream' query would look like:
    rows: 0CALMONTH, 0MATERIAL, 0PLANT      
    cols: 0QUANTITY  SUM_OVER_0PLANT
    resulting in ex:
    0CALMONTH  0MATERIAL  0PLANT  0QUANTITY  SUM_OVER_0PLANT  PLANT_ACTIVITY
    2005.01    00001      P100    10         30               1/3
    2005.01    00001      P200    20         30               2/3
    2005.01    00002      P100    30         70               3/7
    2005.01    00002      P200    40         70               4/7
    2005.02    00001      P100    50         110              5/11
    2005.02    00001      P200    60         110              6/11
    2005.02    00002      P100    70         150              7/15
    2005.02    00002      P200    80         150              8/15
    after removing drill 0MATERIAL:
    0CALMONTH  0PLANT  0QUANTITY  SUM_OVER_0PLANT  PLANT_ACTIVITY
    2005.01    P100    40         100              4/10
    2005.01    P200    60         100              6/10
    2005.02    P100    120        260              12/26
    2005.02    P200    140        260              14/26
    after removing drill 0CALMONTH:
    0PLANT  0QUANTITY  SUM_OVER_0PLANT  PLANT_ACTIVITY
    P100    160        360              16/36
    P200    200        360              20/36
    For this specific case I investigated several solutions:
    1) using formula & function SUMCT (Result). This has a drawback that Result for 0PLANT must be present in right place (bottom level) in the resulting query. I don't like this.
    2) SUM can be directly precalculated in the cube. Well, I'd prefer Bex only...
    Please keep in mind also following:
    1) there may be a need to refer to the data that is outside prompt/filtering/restricting range.
    2) I want to preserve all the OLAP freedom, so all the solution should be a query with some tricky formula/kf/??? to be used by user in any situation and producing right result.
    I hope I'm not demanding to much...
    (now after this long example please have a look at the question again!)
    Regards,
    Mirek

    Hi Ashwin,
    while using SUMCT I loose the freedom of OLAP. SUMCT calculates properly SUM_OVER_0PLANT only when the 0PLANT is the lowest drillin level. If this is not the case (ie. some other ch is the lowest level or 0PLANT results are suppressed) the approach won't provide right result.
    sure I will reward all helpfull posts.
    regards,
    Mirek

  • How to calculate the partition size in range partition,by value

    hi all,
    The primary key is number for the table.
    I have 5543201 records in a table.
    If I want to break them in 7 equal partition as per the primary key,how do i achieve this?
    rgds
    s

    I probably don't understand it...but I would say:
    5543201/7=791886
    range 1 : 0....791886 (1x 791886)
    range 2 : 791887....1583772 (2 x 791886)
    range 3 : 1583773 .... (3 x 781886)
    tange 4 : ......
    HoweverI doubt whether this is a smart aproach for partitioning.
    I would say that a patitioning on date, or some key-value is more applicable.
    But hey...I don't know the further requirements.
    Cheers Martijn

  • Doubt  in  how to   calculate  net  due date

    Hi..
    Experts   i have   doubt  in my  salesmen  ageing  report  i have to  display
    netamout    day  wise  in the range of   0-30 days , 30-60  days and  > 60 days
    how to calculate  the date difference between  to  date  one is invoice creation  date  and another  one is  system date.
    Give  me  any   function  module  available  to count  the  date  difference
    and how  i filter  the  amount  date  wise.
    Thanks Regds
    Prabir Kumar Dandpat

    Hi,
    check fm;
    SD_DATETIME_DIFFERENCE
    regards,
    Navneeth K.
    Message was edited by:
            Navneeth Bothra

  • How to calculate the mt_bf  (optimum blocking factor) in mtio.h?

    Hi geniuses,
    One of our customers asks our tape driver to support the mt_bf defined as optimum blocking factor in mtget structure in mtio.h. The mt_bf is supported in MTIOCGET ioctl in Solaris native tape driver -- st. I can not find any Solaris document how to calculate the value for Developers. Please help me to figure out if you know the answer.
    Thanks in advance!

    I would have liked this as a homework assignment when I was in college - beats the heck out of "find the range of a given artillery shell..."
    good luck with it, looks fun
    Lee

  • HFR: How to calculate variation over last period for dynamic columns

    Hello Everyone,
                             How to calculate the period wise variation in a report where the period columns are dynamically generated from a range function? For example, the range function in the period column is &Current:Dec. What formula can I write in a calculated row so that the value is (Current  Period - Previous period)*100/Previous period ?
    Thanks,
    Sayantan

    You can add two more data rows.
    1. Use &Current
    2. Use relativemember function, select &Current, offset -1 (If you've a subvar for previous month that's the best)
    3. Add a formula row ([B]-[C]*100/[C])
    Regards
    Celvin
    http://www.orahyplabs.com

  • How to calculate Pattern matrix for shading

    Fill Rectangle using linearGradient how to calculate correct format of Pattern Matrix .

    Fill rectangle using Shading Dictionary,Before that Shading Dictionary object Called from Pattern Dictionary.In this Pattern Dictionary has matrix ,i need how to calculate value of Matrix here.
    10 0 obj
    << /Type /Pattern
    /PatternType 2
    /Shading 11 0 R
    /Matrix [1.00 .00 .00 1.00 54.00 53.00]  // the matrix value how to calculate
    >>
    11 0 obj
    <<
    /ColorSpace /DeviceRGB
    /Function 12 0 R
    /ShadingType 2
    /Coords [109.2726 69.00 109.2726 .00]
    /Extend [true true]
    >>
    12 0 obj
    <<
    /FunctionType 0
    /Domain [.00 1.00]
    /Range [.00 1.00 .00 1.00 .00 1.00]
    /Size [1002]
    /BitsPerSample 8
    /Length 3006
    >>
    stream
    here is an stream of colors
    endstream
    endobj
    Can anybody help me please.
    Regards, Sasi kumar sekar.

  • How to calculate totals in Blocked ALV Report

    Hi All,
    Can any body tell how to calculate totals & sub totals in
    Blocked ALV Report[Blocked List].
    Thanks in advance
    Thanks & Regards,
    Rayeezuddin.

    read this it might help
    Sums                                                       
    15. No_sumchoice(1) TYPE c : This parameter allows the choice for summing up
    Only by fieldcatalog.
    Value set: SPACE, 'X'
    'X' = fields which are to be summed, passed by the calling program (FIELDCAT-DO_SUM = 'X'). The user should not be able to change this value interactively.
    16. No_totalline(1) TYPE c : Removes the option of having totals after sub-totals.
    Value set: SPACE, 'X'
    'X' = no total record is to be output. Subtotals can still be calculated and output. The fields in the subtotals are flagged DO_SUM = 'X' in the field list.
    17. No_subchoice(1) TYPE c : Does not allow the user to interactively change the field chosen for subtotals.
    Value set: SPACE, 'X'
    'X' = value whose change triggers subtotals, provided by the calling program. The user should not be able to change this value interactively.
    18. No_subtotals(1) TYPE c : No subtotals possible          
    Value set: SPACE, 'X'
    'X' = no subtotals.
    19. Numc_sum(1)  TYPE c : Totals only possible for NUMC-Fields.
    20. No_unit_splitting TYPE c: No separate total lines by inh.units   
    21.totals_before_items TYPE c: Display totals before the items   
    22. Totals_only(1) TYPE c :  Show only totals      
    Value set: SPACE, 'X'
    'X' = only total records are output.
    23. Totals_text(60) TYPE c : Text for 1st col. in totals   
    Value set: SPACE, string (max.60)
    ' ' = The first column in the total record contains an appropriate number of '*'s to indicate the total by default. If the first column is wide enough, the string 'Total' is output after the asterisks.
    'String’ = The string passed is output after the total indicated by '*', if the column is wide enough.
    24. Subtotals_text(60) TYPE c : Texts for subtotals
    Value set: SPACE, string (max.60)
    ' ' = In the first column of subtotal records, the subtotal is indicated by an appropriate number of '*' by default. If the first column is not a subtotal criterion, the string 'Total' is output after the asterisks, if the column is wide enough.
    'String’ = the string passed is output after the subtotal indicated by '*', if the column is wide enough and the first column is not a subtotal criterion. If it is a subtotal criterion, its value is repeated after the total, if the column is wide enough.
    ELSE TELL ME I WILL PASTE COMPLETE HELP
    regards

  • How to Calculate Opening balance

    Hi BW Gurus,
    How to calculate Opening balance for previous period using variables in Reports using debit and credit.
    Example:
    Opening balance is the balance for an account for the previous period. In other words, if the user is running a report for Period 1, 2006, the opening balance is actually the ending balance from Period 12, 2005 (December 31st, 2005).
    Thanks in advance
    DJ

    Hi Friend,
    If Your Prob is solve then tell me how to find perticular month balance amount.
    i m create cash book report for perticuler GL Account , i use BKPF + BSEG for this
    i found all entries,
    But at last i want to Opening Balance for perticuler date.
    like     01/05/2007 opening balance = 10000 as per tcode FS10N
    and in 26/05/2007 ??????
    how to find exact date opening balance is there any function for same
    or any procedure..
    Thanks
    From
    Gaurav

  • HOW TO CALCULATE OPENNING BALANCE

    HI Experts..
    How to calculate Opening balance for previous period using variables in Reports using debit and credit.
    Example:
    Opening balance is the balance for an account for the previous period. In other words, if the user is running a report for Period 1, 2006, the opening balance is actually the ending balance from Period 12, 2005 (December 31st, 2005).
    I am Using 0FIAR_O03 ODS ..
    Very Urgent Issue..
    If Possible Stp by Step..
    Cheers
    Purushottam
    09891683828
    [email protected]

    Hi Saloni,
    to get the debit and credit you would be using a variable 0I_FPER(Fiscal year / period), which is a user entry interval variable.
    now to get the opening balance you will have to create a customer exit valiable and the low value of 0I_FPER will have to popuplated by writied the code for the customer exit valiable. you will have to restrict the key figure DEB_CRE_LC for this customer exit variable with the operand as less than(< Fiscal Year /Period from 0I_FPER)).
    If the above was useful please assign reward points.
    Regards
    Venkata Devaraj

  • How to calculate Opening balance for a customer?

    Hi Experts,
    How to calculate Opening balance for a customer? I am trying to develop a report where in i have to get opening AR balance,current sales,adjustments etc of a customer. Please let me know how can i do this. I have some tables with me KNC1, BSAD, BSID.
    Thanks in Advance.
    Sharat Chandra.

    Say for example ..
    Get the opening bal for Customer 'K' in CCode 'C1' in 2008 ..
    First get all items from BSEG ..
    Select * from BSEG where KUNNR eq 'K'
                                     and BUKRS eq 'C1'
                                     and GJAHR eq '2008' .
    Sum all the DMBTR values (This is the total value).
    Second get the cleared items form BSAD for the above entries;
    Select * from BSAD for all entries in BSEG where KUNNR and BUKRS and XBLNR eq BSEG-XBLNR.
    Sum all DMBTR values ( this is cleared value).
    Third substract the cleared value from total to get Open value.
    This is a overview .. you should go to the tables and look for fields and etc.. and then define the logic meeeting your requirements .... this is a genric undersatnding ....
    Thanks,
    Aditya. V

  • How to calculate Average balance for an account

    Hi,
    How to calculate average balance for an account for a particular period say for JAN-12 period and after the end of that period for another two days 01-feb-12 and 01-feb-12 ?
    I'm using the following query :
    SELECT cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6 "Account_XX",
    nvl(sum(l.accounted_dr - l.accounted_cr),0) "Balance"
    FROM gl_code_combinations cc,
    gl_je_lines l
    WHERE cc.code_combination_id = l.code_combination_id
    AND l.set_of_books_id ='XX'
    and code_combination_id = replace it with code combination_id for account_xx
    AND l.effective_date <= '31-Jan-12' (january period end ??)
    GROUP BY cc.segment1||'-'||cc.segment2||'-'||cc.segment3||'-'||cc.segment4||'-'||cc.segment5||'-'||cc.segment6
    There are some discrepancies in "average balance" after end of month (Jan-12)?
    How to calculate average balances for a particular account (Account_XX above)from end of month of Jan to first two days of february?
    Thanks,
    Kiran

    Kiran,
    Please let me know first, is Average Balancing feature enabled in your GL Ledger?
    Regards
    Muhammad Ayaz

  • How to calculate the total running time for process from sysssislog entries

    Hi All,
    I have the below query which gets me the log entries form the logs table when the process started/completed.
    Select row_number() over (order by starttime) row_num,Substring( Substring(message, CharIndex('''',message) +1 ,Len(message)) ,0, CharIndex('''',Substring(message, CharIndex('''',message) +1 ,Len(message)))) as Description,
    starttime,endtime,message
    from dbo.sysssislog
    where (message like 'start%' or message like 'finish%' ) and
    LEFT(Substring( Substring(message, CharIndex('''',message) +1 ,Len(message)) ,0, CharIndex('''',Substring(message, CharIndex('''',message) +1 ,Len(message)))),1) between 'A' and 'Z'
    order by starttime
    However,I have to build a report on the top of it showing how much time that attribute/dimension/heirarchy took to execute(Ex-How much time did YearlyReview dimension take to complete).I dont have much knowledge of T-SQL and unable to figure out how to calculate
    that on SQL or report level.
    Could someone please assist me in getting the exact query for that?
    Thanks a lot.

    I get the below output(sample 20 rows) on executing this query.Also,a start process does not necessarily follow up a finished message for the same dimension as it may have been stopped or it failed.So we need to leave it as NA in case it started but dint
    finish
    Row_Num Description starttime endtime Message
    1 PAC SC Super Type 12/13/12 16:38 12/13/12 16:38 Started processing the 'PAC SC Super Type' dimension.
    2 PAC SC Super Type 12/13/12 16:38 12/13/12 16:38 Started processing the 'PAC SC Super Type' dimension.
    3 Team Member Indicator 12/13/12 16:38 12/13/12 16:38 Started processing the 'Team Member Indicator' dimension.
    4 Team Member Indicator 12/13/12 16:38 12/13/12 16:38 Started processing the 'Team Member Indicator' dimension.
    5 PAC SC Super Type 12/13/12 16:38 12/13/12 16:38 Started reading data for the 'PAC SC Super Type' attribute.
    6 PAC SC Super Type 12/13/12 16:38 12/13/12 16:38 Started reading data for the 'PAC SC Super Type' attribute.
    7 Specialist Merger Indicator 12/13/12 16:38 12/13/12 16:38 Started reading data for the 'Specialist Merger Indicator' attribute.
    8 Specialist Merger Indicator 12/13/12 16:38 12/13/12 16:38 Started reading data for the 'Specialist Merger Indicator' attribute.
    9 YearlyReview 12/13/12 16:38 12/13/12 16:38 Started processing the 'YearlyReview' dimension.
    10 YearlyReview 12/13/12 16:38 12/13/12 16:38 Started processing the 'YearlyReview' dimension.
    11 PAC SC Repeat Caller 12/13/12 16:38 12/13/12 16:38 Started processing the 'PAC SC Repeat Caller' dimension.
    12 PAC SC Repeat Caller 12/13/12 16:38 12/13/12 16:38 Started processing the 'PAC SC Repeat Caller' dimension.
    13 Year 12/13/12 16:38 12/13/12 16:38 Started reading data for the 'Year' attribute.
    14 Year 12/13/12 16:38 12/13/12 16:38 Started reading data for the 'Year' attribute.
    15 Staffing Function 12/13/12 16:38 12/13/12 16:38 Started processing the 'Staffing Function' dimension.
    16 Staffing Function 12/13/12 16:38 12/13/12 16:38 Started processing the 'Staffing Function' dimension.
    17 PAC SC Repeat Caller 12/13/12 16:38 12/13/12 16:38 Started reading data for the 'PAC SC Repeat Caller' attribute.
    18 PAC SC Repeat Caller 12/13/12 16:38 12/13/12 16:38 Started reading data for the 'PAC SC Repeat Caller' attribute.
    19 PAC HV Cust 12/13/12 16:38 12/13/12 16:38 Started processing the 'PAC HV Cust' dimension.
    20 PAC HV Cust 12/13/12 16:38 12/13/12 16:38 Started processing the 'PAC HV Cust' dimension.

  • How to calculate the unit for RATE?

    Hey All,
    I am not sure if there is something standard for this or not.
    I am calculating the 'Rate' by using 'Value/Amount' and 'Quantity' as follows -
    Rate == Value /  Quantity
    I need to calculate the unit for the rate as below -
    Rate unit == Value unit (Currency) /  Quantity unit (Base_uom) 
    (for example -
    if value is 1000 USD and quantity is 10 TO then Rate should come out as 100 USD / TO)
    Could anyone please suggest how to calculate the unit in this case?
    Many Thanks!
    Tanu

    Hi,
    Go through the below link it may give some idea
    http://help.sap.com/saphelp_nw04/Helpdata/EN/19/1d7abc80ca4817a72009998cdeebe0/content.htm
    Regards,
    Marasa.

  • How to calculate the Current APC (Acquisition and Production Cost)

    Hi,
    Please help me how to calculate the Current APC.
    The Current APC (Acquisition and Production Cost) is a calculated value based on Previous Year Acquisition balance plus any value changes up to the time of the report.
    The Asset History Report (RAGITT_ALV01) calculates the Current APC value &
    The Current APC can also be found in the Asset Explorer (transaction code AW01N) under Country Book 10/ Posted Values tab then the line “Acquisition Value” and column “Posted values”.
    I suppose that the calculation of Current APC (Acquisition and Production Cost) is getting done in the GET statements in the report RAGITT_ALV01, but unable to find the actual logic.
    Please help me.
    Thanks in advance,
    Satish

    Hi,
    you'll find the logic in fm FI_AA_VALUES_CALCULATE
    A.

Maybe you are looking for

  • Can files on Ipod after restore still be aproached

    During my holiday i've put my photographs, using Belikin's media reader, on my iPod. Coming home my iPod wouldn't play music, was not recognizeded in iTunes and could not be used as a hard disk. The only thing to get it living again was a restore. Al

  • Airplay lag only on iMac.

    So after searching through tons and tons of posts, and all over the internet. I still cannot work out, why I only get lag when airplaying from iMac. My iPhone 5s, iPhone 6, iPad mini and air 2, no lag at all. I can Airplay across the house, with thes

  • Want to change Date format in ISA webshop

    HI,     I want to know how to setup a date format in ISA webshop. Currently our webshop is showing as mm/dd/yyyy format. we wanted to change it to dd/mm/yyyy format. Can any body suggest me how to change it.

  • How does iPhoto v. 8 name the folders inside iPhoto Library?

    iPhoto used to name the folders (holding original photos) the same as the event name. Now it seems to use the date of the photo, but does not change the folder name to the event name. Is this the case with the newer version? thx

  • UDF for Exchange Rates and Indexes window

    It would be great to have an additional field in the Exchange Rates and Indexes window for every currency to store string title of the exchange rate table from a national bank. It could be also satisfied by allowing to create an UDF for this window.