Auto generation of MATNR based on some requirements

Dear MDM Experts,
We have got the following scenario in implementing CMDM:
when ever we create a new material, the user will fill only the global or required fields except the MATNR.
After the approval process, the material gets generated in MDM.
But before the material is being syndicated, the MATNR should be automatically assigned to the record based on the following conditions:
1. if the MTART is "ROH" the MATNR shoould be in the range 2000000000 - 2999999999
2. if the MTART is "HALB" the MATNR should be in the range 4000000000 - 4999999999 etc.
I have tried this scenario using the Key generation option in the console which assigns the values at the time of syndication but the key was not getting generated.
Kindly let me know the process to achieve it.
or is there any other way that i can do this.
Thanks and Regards,
Sravan Velamury.

Hello Sravan
Your message isn't clear fo me
If you used import for new master data you can use automatic key generation ability for inbound port
The another way:
You can create special key field in MDM and
create simple workflow which fire when ADD record.
That worklflow call assignment which fill key field
Regards
Kanstantsin

Similar Messages

  • Item Code Auto Generation Based on User defined Tables

    I need the Item code like
    PRODUCT TYPE-ITEMGROUP-ITEMCODE-SUBITEM-BRAND-COLOR  e.g .FG-01-01-00-001-00.
    I created the following User define Tables and link to Item Master data
    U_PRO             - FOR PRODUCT TYPE
    U_GROUP        - FOR  ITEM GROUP
    U_ITEMCODE    - FOR ITEMCODE
    U_SUBITEM       - FOR SUB ITEM
    U_BRD              - FOR BRAND NAME
    U_COLOR         - FOR COLOR
    i need a formatted search in Item code to fetch the codes from the user defined  table
    i tried with the following
    SELECT T5.[Code]'-'T2.[Code]'-'T3.[Code]'-'T4.[Code]'-'T0.[Code]'-'T1.[Code] FROM [dbo].[@BRD]  T0 , [dbo].[@COLOR]  T1, [dbo].[@GROUP]  T2, [dbo].[@ITEMCODE]  T3, [dbo].[@SUBITEM]  T4, [dbo].[@PRO]  T5 INNER JOIN OITM T6 ON T5.Code = T6.U_PRO WHERE
    T5.[Code] = T6.[$U_PRO] AND 
    T2.[Code] = T6.[$ U_GROUP] AND
    T3.[Code] = T6.[$U_ITEMCODE] AND
    T4.[Code] = T6.[$U_SUBITEM] AND
    T0.[Code]  = T6.[$U_BRD] AND
    T1.[Code]  = T6.[$U_COLOR]
    showing errors. Can any one help me regarding this. I badly need the query for Auto generation of Itemcode

    Hi,
    How can you assign those UDF value without ItemCode in the first place?
    Thanks,
    Gordon

  • Auto generation of "picture videos" (slideshows) based on PIM data

    hi all,
    i am interested in your opinion on how to best auto - generate product videos based on PIM (product information management) data. i saw this pretty impressive example:
    http://www.cliplister.de/fotoclips/
    where it says:
    Cliplister hat ein Verfahren entwickelt, mit dem in kürzester Zeit aus  Fotos und Texten hochwertige Videos produziert werden können. Bereits  mehr als 100 der größten Markenhersteller und Shops nutzen diesen  innovativen Dienst heute.
    (they have developed a procedure which makes it possible to create highquality videos based on pictures + texts within a very short time. more than 100 brands and shops are using it already)
    my question is: does anyone have a clue on if / how this could be achieved using after effects (they told me that all you need is the data - pictures + text - plus one custom made template - then you can create thousands of videos like the ones shown in their samples automatically, even puling in diferent languages files and thus create them in different languages
    i would rather have a system like this set up internally as it allows for better flexibility - change templates whenever you need to , add more languages / products as they come in etc.
    i would be interested to know how this can be done using after effects and / or - if someone knows exactly how to do that - if anyone is interested in providing basic setup plus inhouse training for us (could be webex or so) as a paid service for us

    Slide shows can be a tedious and frustrating process. I've spend hours setting keyframes, making adjustments, and then going back to make adjustments after the client has added his input. There had to be a better way.
    There is. I created an animation preset that adds expressions to opacity, position, and rotation based on layer in and outpoints. I have a starting position effect control for point control, z position slider, and rotation angles for x y and z as well as a setup check box and ease checkboxes for each of properties and a slider to set the length of the transition. Using this preset there is no need to set any keyframes. It's as automated as I can make it.
    Here's my procedure:
    Set up an action in Photoshop to size the photos to about 2X the composition width, make sharpness and color corrections, and whatever other adjustments need to be made in the slide show. I picked 2X because it's the most common in my workflow but you can use any size you want.
    Run the action as a batch on the images and place them as copies in a new folder.
    Import the images to AE.
    Drop them all in a timeline
    Trim them to the desired timing (4 seconds for example)
    Make sure the images are in order with the first image at the bottom and the last image at the comp
    Make all layers 3D
    Apply the preset to all images
    Place the CTI at the out point (4 seconds) of the group of layers
    Start at the bottom image, solo the layer, click setup, and adjust the final position of the image using x, y, z position, x y z rotation.
    Move to the first frame, use the first position expression controls to set the starting position
    Preview the move
    Uncheck Setup, then repeat for all other layers
    If any images should be on for a longer time adjust their out points
    Make sure that your composition is long enough to hold all of the images (10 images @ 4 seconds means minimum comp length = 40 seconds)
    Select the bottom layer, then shift select the top layer
    Set the blend mode to Alpha Add for all layers
    Use the keyframe assistant to sequence the layers with the same overlap as the transition slider (default for me is 24 frames)
    Preview, fine tune
    Render
    Using this technique I recently created a 7 minute slide show with about 90 images in about 30 minutes.
    Here's the preset. I've been wanting to do a tutorial before releasing it but I've been too busy to get to it. Just unzip it, drop it in your User Presets folder or browse to it and enjoy. I hope it helps.

  • Generation of Invoice based on a Business Condition

    Hi Folks
    I am facing a scenario where a F2 invoice is generated however when there is a specific " Ship to Party " used in the Sales Order , system should also generate a Pro Forma Invoice Automatically along with a F2 invoice.
    How can we generate two different types of invoices and then can we state some condition in the config to block or allow generation of a specific type of Invoice?
    Regards
    Waz

    Hi,
    IMG --> Sales and Distribution --> System Modification --> Routines --> Copying Requirement
    here you have to write the code based on your requirement
    assign the copying requirement in your copying control  VTFA (Order to billing copy control)
    Regards
    Senya

  • Using JavaScript to auto populate a field based on numeric value of a separate drop down field

    Hello, I am trying to set up a simple, I hope, javascript which will enable to me auto populate one field based on the numberic value of another field using Acrobat Pro XI.
    Essentially I have 2 drop down fields (we'll call them DD1 and DD2).
    DD1 is the sum of 8 preceding drop down values. That sum can be anywhere from 0 - 40. Whatever that sum falls within a range which identifies a rating. The ratings and ranges are below:
    0-8: Non-Performer  
    9-16: Low Performer  
    17-24: Performer  
    25-32: High Performer  
    33-40: Exceptional Performer
    DD2 is where the rating ("non-performer", "low performer", etc.) will be captured. Instead of requiring the user to look at DD1, determine the value, and then identify and input the rating manually, I would like DD2 to auto populate the rating based on the value (sum) in DD1.
    For example, if DD1 shows a value of 27 then DD2 would auto populate "High Performer". So how do I write this code or execute this? In excel I would use an if, then statement. Is there something similar in Acrobat Pro XI.
    Any help is greatly appreciated. Thank you in advance.

    If you use a text field, the custom calculation script could be:
    // Custom calculation script for text field
    (function () {
        var s = getField("DD1").valueAsString;
        // Blank this field if input is blank
        if (!s) {
            event.value = "";
            return;
        // Convert string to number
        var v = +s;
        // Set this field's value based on the input
        if (v <= 40 && v >= 33) {
            event.value = "Exceptional Performer";
            return;
        if (v < 33 && v >= 25) {
            event.value = "High Performer";
            return;
        if (v < 25 && v >= 17) {
            event.value = "Performer";
            return;
        if (v < 17 && v >= 9) {
            event.value = "Low Performer";
            return;
        if (v < 9 && v >= 0) {
            event.value = "Non-Performer";
            return;
        // If none of the above fit, blank this field
        event.value = "";

  • How to Handle and show multiple pushpin imgaes on the map based on the requirement at different coordintes?

    How to Handle and show multiple pushpin imgaes on the map based on the requirement at different coordintes?
    I have multiple images in  my App folder. I want to use and show those images dynamically  in windows phone 8 map application

    There are a lot of different ways to do this. One simple method is to use a switch statement when creating your pushpins and based on some property in your data, select the icon you want to use and create your pushpin accordingly.
    http://rbrundritt.wordpress.com

  • How to dynamically add/remove a button from the ribbon based on some condition? (Ribbon XML)

    Hi,
    I have a ribbon (done using ribbon XML) with menu options. I need to remove few buttons from the menu dynamically based on some condition. Also, I want to change the label of another button. How to achieve this programmatically? (C#)
    Thanks in advance.
    Thanks Prasad

    Hello Prasad,
    Use callbacks for populating Ribbon controls such as menu, dropDown, gallery and etc. Then you can use the
    Invalidate or
    InvalidateControl methods of the
    IRibbonUI interface to get your callbacks invoked when required. Thus, you will be able to delete the required item(s).
    You will find the following articles in MSDN helpful:
    Chapter 11: Creating Dynamic Ribbon Customizations (1 of 2)
    Chapter 11: Creating Dynamic Ribbon Customizations (2 of 2)
    To change the label of your controls at runtime you need to use the getLabel callback and call the Invalidate or InvalidateControl methods of the IRibbonUI interface. The following series of articles describe the Fluent UI in depth:
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

  • How do I stop the auto generation of previews to imported files?

    In a recent post it was suggested that I do not let Aperture automatically generate the previews to all imported files. I think that is a great idea, but how do I stop the auto generation of such files?
    Under Preferences/Previews I have unchecked the New projects automatically generate previews, but after I do the import the processing wheel continues to spin for quite some time (depending on how many files I imported).
    Thanks in advance.
    David

    Take a look here:
    Pretty much the same in Ap2 and Ap3
    [http://photo.rwboyer.com/2009/01/03/aperture-2-quick-tip-managing-previews>
    RB

  • Calling two table controlls based on some conditions......

    I hav a requirement in which i have two table controlls, which i want to call based on some conditions. Like if condition is satisfied the first table controll shud fill up the screen and other wise the secondtable controll shud fill the screen....

    Hello,
    In the main screen where u need to vary with the 2 table controls , create a subscreen area .
    Now create two subscreens with the required table controls respectively.
    You can dynamically call the subscreens accordingly for  the conditions.
    Hope this may help you.
    Neeraj

  • Auto generation of Item Code And Business Partner

    Hello All,
    My client want to create Auto generation of Item Code And Business Partner with some prefix value.
    Thanks
    Deepak

    Hi Dipak Patel,
    i created BP code by BP Group use FMS . you can refer code.
    declare @temp as char(20)
    IF $[OCRD.GroupCode] =100
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =100) and (len(CardCode)=8))
    set @temp='C11'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 102
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =102) and (len(CardCode)=8))
    set @temp='C12'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 103
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =103) and (len(CardCode)=8))
    set @temp='C13'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 104
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =104) and (len(CardCode)=8))
    set @temp='C14'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 101
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =101) and (len(CardCode)=8))
    set @temp='V11'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 105
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =105) and (len(CardCode)=8))
    set @temp='V12'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 106
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =106) and (len(CardCode)=8))
    set @temp='V13'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 107
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =107) and (len(CardCode)=8))
    set @temp='V14'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 108
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =108) and (len(CardCode)=8))
    set @temp='V15'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 109
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =109) and (len(CardCode)=8))
    set @temp='V16'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    ELSE IF $[OCRD.GroupCode] = 110
    BEGIN
    set @temp=(select isnull(max(right(CardCode,5)),0) + 1 from OCRD where (GroupCode =110) and (len(CardCode)=8))
    set @temp='V17'+isnull(replicate(0,5-len(@temp)),'')+@temp
    select cast(@temp as char(20))
    END
    thanks
    H2

  • Auto Generation

    how to generate auto generation number
    its urgent
    advance thanks
    by nathan

    Hi this is the code for autogenerating BP code
    You can make changes according to ur requirement.
    Sub BPAutoGeneration(ByVal CardType As String, ByVal Profit As String)
            Try
                Dim oRs As SAPbobsCOM.Recordset = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                oRs.DoQuery("Select (CASE WHEN max(CAST(substring(CardCode,5,len(CardCode)) as int)) IS NULL THEN '1' ELSE max(CAST(substring(CardCode,5,len(CardCode)) as int))+1 END) from OCRD Where U_PrftCntr='" & Profit & "' and CardType='" & CardType & "'")
                Dim NextNum As String = Trim(oRs.Fields.Item(0).Value)
                Dim Auto As String = ""
                For i As Integer = 7 To NextNum.Length Step -1
                    Auto = Auto & "0"
                Next
                Auto = CardType & Profit & Auto & NextNum
                BP_Form.Freeze(True)
                BP_Form.Items.Item("5").Specific.Value = Auto
                BP_Form.Freeze(False)
            Catch ex As Exception
                oApplication.StatusBar.SetText(ex.Message)
            End Try
        End Sub
    regards:
    Sandy

  • Can't create a recovery drive: "Some required files are missing"

    Hi guys,
    Didn't have much luck in MS forums, maybe somebody here knows?
    Whenever I try to create a recovery drive I find that "We can't create a recovery drive on this PC. Some required files are missing. To troubleshoot problems when your PC can't start, use your Windows installation disc or media."
    Uh?
    Is a fresh Windows 8 x64 (RTM) installation. Only thing that I can think of is it has UEFI and Secure Boot enabled.
    If I helped you, please give me some kudos! ^^

    Hey there dann,
    What version of Windows 8 are you using? It appears you may need to the Window 8 disc to be able to create the recovery drive because it needs files that are not on your system. I found those part numbers for the Windows 8 recovery media for you.
    04T7196 - Win 8 64 Bit US
    04T7223 - Win 8 Pro 64 Bit US
    Additional part numbers can be found here for all system parts and recovery media for you the Twist (s230u). If you contact service back they should be able to get the media sent to you. Good Luck.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.

  • I'm getting a message that says itunes cannot run b/c some required files are missing.  Please reinstall itunes.  I'm scared to, I don't want it to replace my current itunes and lose all my music!

    I'm getting a message that says itunes cannot run b/c some required files are missing.  Please reinstall itunes.  I'm scared to because I don't want to lose my music.

    Reinstalling iTunes simply replaces the application.  It shouldn't affect your media.  You do have backups, right?

  • HP Stream 7 The boot configuration data file is missing some required information

    I have an HP Stream 7 tablet.  When I open it up it shows a blue screen with the error "The boot configuration data file is missing some required information."  Can anyone help as I can't get into the tablet to solve the error!

    Hey @PaD2 ,
    Welcome to the HP forums.
    I understand you're unable to boot up your Stream 7 tablet.
    Try accessing the recovery partition by holding the volume down button and power button at the same time. Please excuse my ignorance, as exact information on accessing the recovery manager appears to be unavailable for this exact model. If the down button doesn't work, up should get you in.
    Once in the recovery manager you should be able to select Troubleshoot > Startup repair. 
    If the startup repair does not fix the issue I would suggest trying the full system recovery option, which you should find under Troubleshoot > Advanced.
    Thanks.
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • File: \BCD file is missing some required information

    When trying to boot my HP Split x2 laptop I'm getting a BLUE SCREEN error "Recovery  Your PC needs to be repaired. The Boot Configuration Data file is missing some required information.  File: \BCD  Error Code: 0xc0000034.  I've tried everything that I can think of, but I can't get by this screen.  I have no CD/DVD drive in this model so I can't run any diagnostic tools, even if I had a tools CD/DVD. I'm stuck!  Please help!

    Went into a command prompt and ran a few bootrec commands:
    Bootrec /fixMBR
    bootrec /fixBoot
    bootrec /rebuildBCD
    This resolved things for me

Maybe you are looking for

  • Anyone use funambol? Want to write a PKGBUILD for it

    Hi all, Anyone here uses funambol? Its open-source but distributed in binary. I was thinking it'd be good to have an Arch (AUR) package for it. Of course, having the PKGBUILD simply unpack the binary distribution isn't optimal, was thinking of an /et

  • Helix Fans in keyboard portion ALWAYS running at full speed

    Hi, I was wondering if anyone from Lenovo support (or a fellow user) could recommend a Lenovo sponsored solution for the problem regarding the fan in the keyboard tray always running at full speed on the Helix? I know there are a bunch of 3rd party f

  • OID 11g How to log ldif script updates?

    Hi, I'm using ldif scripts in the bulkdelete, ldapadd, ldapmodify type commands to create the OID DIT, extend the schema and to import OAM configurations from other environments during a development release schedule. Has anybody got any good suggesti

  • Select most recent DATE for an ID.

    Hi All, I need to SELECT the records with the most recent DATE for each ID. A DATE range is part of the selection criteria. My data. MY_ID MY_DATE 1684662 26-JAN-09 1424097 27-JAN-09 1684663 27-JAN-09 1684664 27-JAN-09 1684672 28-JAN-09 0689073 28-JA

  • I can't import any files or folders into Final Cut Pro 7.0.3 projects

    I can't import any files or folders into Final Cut Pro 7.0.3 projects. When I select import and then either files or folders, I am able to navigate to the drive where the media is being stored, but then when I scroll to locate the files or folders th