Restricting a KF by a range of material codes

Hi Experts,
Have you ever come across a similar requirement?
In a query I have material displayed in the columns and several RKF's in the rows. For the new requirement we need to create a new RKF in the rows, restricting a sales KF by the first 5 digits of the different materials displayed in the columns. For example: if in the first column material code is XXXXX-01, the new RKF should be restricted by materials = XXXXX-*.
The query is just filtered by calendar month, no filters for material.
Is this possible?
Thanks in advance.
Inma

Hi,
Not sure if this will work out...but give a try.
In the new rkf, restrict material with replacement path variable X..of the characterstic material, and then agian restrict with customer exit variable Y based on X, and then in the cmod code u can give the restriction based on the patter.
hope it helps
Regards,
Rathy

Similar Messages

  • /SAPAPO/SDRQCR21 program is not working correctly if we run the program for range of material and plant wise

    Hi APO Experts,
    In our project, we have received more sales order inconsistencies which is not clearing by CCR program and it is clearing by  program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, So We have decided to schedule the background job on daily basis for program /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow, performing the testing in our quality system and observed the below strange behavior. 
    When I am running the program /SAPAPO/SDRQCR21 with Range of products and some location range with option as Build Reqmts from Doc. Flow, in Background job. In output it is suggesting to delete one sales order. If I checked that Sales order in ECC, it is for an different location, that is not part of my selection and the order is open. In MD04 the Qty is showing 1 ( as per sales order) but in APO RRP3 view the order qty is showing Zero. I have run the CCR, it is coming in different in content and if I push, the different is not going to APO.
    I have tried running the program /SAPAPO/SDRQCR21 with plant which is mentioned in that sales order with option as Build Reqmts from Doc. Flow, in Background job , it is suggesting this sales order under update option correctly.   
    Can you please help me understand why it is behaving differently like the location is not part of my selection and why it is suggesting the wrong action. And also whether is it advisable to run the /SAPAPO/SDRQCR21 with option as Build Reqmts from Doc. Flow at plant range and material range in background job.
    Thanks & Regards,
    Sundaram Radhakrishnan

    Sundaram,
    It sounds to me like the sales document records in the OLTP and in APO were created at different times.  This is common in Dev and Qual environments when the systems are commonly created at two different times, and each was a copy of an existing system that contained sales data.  The order number you see in //rrp3 is somewhat irrelevant; system generally uses the guid for many activities.
    FYI during Dev and Qual refreshes, if you are copying from a production environment that contains data, it is always best to create the OLTP and SCM images at the same time, and to copy them both to the Dev and Qual systems at the same time.  If you don't do this, you are faced with the additional tasks associated with getting the copied systems back into synch.
    If this is Dev or Qual, I suggest that you just completely wipe out all sales orders in APO and rebuild them using the CIF.
    If this is a mature production environment, the only time I have ever seen this issue is due to improperly created CIF enhancements.  Speak to your developers to find the root cause, and correct this problem.  Then, wipe out all sales orders and rebuild with CIF.
    Best Regards,
    DB49

  • OMX4 - FBN1 - Number range for Material document and FI document

    47 - is for FI document number range in Material ledger FBN1.  OMX4 gives number range for Material document.  My question is how big the number range must be?  Since thousands of Materials involved, I couldn't imagin this?
    Anybody knows, how to determine the size of no. ranges in Material Ledger configuration?  SAP simply says, check no. ranges whether it meets the requirement....
    I don't expect an answer again, just check your business, how many transactions would be in a period, which is not quantifiable now?
    I would like to understand this from somebody's experience of using insufficient or excessive no. ranges, especially in this area.
    Cheers,
    Ashok

    What is the number range you are using? Year Dependent or Independent?
    When you don't know the document number consumption pattern you should use Year dependent number range in both OMX4 & FBN1. Observing this for a month will give a rough Idea and observing for a Quarter will give you a fair Idea and the result for a year gives almost near to accurate consumption of number ranges.
    The generation of documents is dependent on the number of materials and Profit centers involved. As much as possibe use Summarization at profit center level when posting to FI. This will reduce the number of documents and line items that are getting generated.

  • Range of Material documents

    Hi,
    We need to reload all the inventory data to BW because of some double loading in BW.
    We may not able to use posting date for reloading, but might left with one choice by document numbers in OLI1BW.  Since OLI1BW only allows by range for mat docs (not multiple) , how can we check for possible range.
    Also we need to check for any overlay, break in ranges, etc., to avoid double loading of certain records
    Regards
    Dyuthi

    Thank you Dinesh for the reply....
    But  I just need to analyze the possible range of material doc numbers used in OLI1BW.
    How can I find out the possible range of material document in OLI1BW?
    Regards,
    dyuthi
    Edited by: Dyuthi mc on Jun 16, 2009 11:11 AM

  • External No Range for Material type

    How to assign External No range for material type
    A to zzzzzzzzzzzzzzzzz System is showing this number range
    But it is not allowing me to assign to material group
    How to assign??

    Hello,
    Why you are assigning number range to material group.
    you are maintaining number range for material type and assigning it to material group this is little confusing.
    Thanks & regards,
    Vinay

  • No range for material master is client or company specific

    Hi All,
    I like to know No Range for Material Master is Client or Company Code Specific.
    Eg;- There are 3 company code in my sap Client - 500. All are in different country.
    The like to maintain No. Range for FERT for
    Company Code : A  0001 - 1000
    Company Code : B  1001 - 3000
    Company Code : C  3001 - 4000
    Is it possible? How to make config. for this.
    sapuser

    Hi,
    Check on it also:-
    Re: Material type number range
    http://www.sap-img.com/mm003.htm
    pherasath

  • No range in material master

    How do we create internal No range for material master. In Tcode-MMNR if we do not tickmark external then wheather it means that its internal no range

    HI,
             If External is not ticked, system will assign the number range maintained in sequence automatically. If you want to maintain alphanumeric number range, you can maintain that in OMS2 for material type.
    You can define the Material Master Number Range in transaction MMNR. Click the button Groups to Maintain the Material Type Grouping. Below are those material type that have no number range groups.  To assign a group, in the not assigned group, select the Material Type you want to group. Then tick the Group you want to assign and click the menu path Edit -> Assign Element Group.
    From the same screen, if you want a new number range intervals, click Group -> Insert Group. If you decided to used an external number range, goto transaction OMS2 and tick the field External no. assignment w/o check.
    You have two ways of assigning number range :
    Internal number assignment 
    In this case, a number within the number range interval allowed is assigned by the SAP R/3 System.
    External number assignment 
    Here, the user assigns a number within the number range interval allowed. You can define the intervals for external number assignment numerically and alphanumerically.
    You can assign one or more material types to each group.
    If you assign just one material type to a group, you can define both an internal and an external number range interval for the material type.  If you group together more than one material type, you can define an internal and an external number range interval here too. This allows several material types to have the same number range intervals. 
    hope it helps.
    Edited by: MM Consultant on Jan 13, 2011 3:59 PM

  • How to find Delivery numbers for a range of Material Documents

    Hi,
    Could anybody please let me know how to find the delivery numbers from a range of material documents based on a given delivery date.
    Regards
    Kasi

    Hi,
    there is an index table for deliveries by material:
    VLPMA
    Select the delivery numers using the material range from VLPMA.
    Regards,
    Clemens

  • User exit for material code based on number range

    Hi viewers,
    Can you please tell me the User exit to be identified for material code t based on  the number range (External or Internal)
    For ex: LAFAMLP is the material code I want this material code as case sensitive .
    It should take what ever case we give.
    Regards
    Kumar

    Hi,
    First goto MM01 transaction code in menu System-> status..pick the program name ,then
    Goto SE38 give that program name select Attributes radio button click on Display button,
    you will get one popup from the popup pick Package ...
    Then now goto SMOD transaction in menu utilities(or/any one of the menu you will find (find option ))->Find this will list out all the possible exits...As follow
    mga00001 material master (industry): checks and enhancements
    mga00002 material master (industry): number assignment
    mga00003 material master (industry and retail): number display
    I think second one will help for you ,,,here you can code your requirement

  • "Alphanumeric" number ranges for material matser

    Hi all,
        What are the sequence of steps needed to create "Alphanumeric" number ranges for material matser. Can anyone explain me the steps.
    Thanks

    Hi,
    To add to what Sridhar has said ....we have got 2 number ranges only...
    either internal or extenal.....
    Better idea is to have internal only untill or unless it is at all required so.
    It all depends on material type....
    In internal it is more easy to maintain the ranges....but in case of extenal....lot more precaution is required.
    Award if any thing answer you query .
    Thanks
    Dipak

  • Number range for material documents

    Hi SAP Gurus,
    Can anyone please advise if we can reset number range for material documents once it reached to last number for existing number range ?
    Thanks & Regards,
    Manoj

    Hi,
    If material numbering  reached to last number for existing number range, you can create Number Range Text Group and assign to your material type in following path
    IMG -> Logistic ->General -> Material Master ->Basic Settings ->Material Type ->Define Number Range for each Material Type
    OR
    T.code:MMNR
    Lets example you have now:
    Number Range Text Group:01
    From Number:     1
    To Number     :19999999
    Now you can create Now One Number Range Text Group
    Number Range Text Group:02
    From Number:20000000
    To Number     :29999999
    Now assign Number Range Text Group to your material type in MMNR , {{by clicking group in menu, select maintaion->group->insert
    Number Range Text Group:02
    From Number:20000000
    To Number     :29999999
    and save}}.
    Regards,
    Biju K

  • Number range of material document

    hello guys...
    can anybody say  that where we have to assingn the number range of material documents
    regards
    vamshi

    Thanx Rambhupal Reddy
    but still i am getting this error after pressing the green flag in VF02 , that
    " For object RF_BELEG VAMC,number range internal 01 does not exist FBN1"
    After clicking the error...i am getting
    Diagnosis
    The database table NRIV has the delivery class 'c' i.e., the SAPdefault settings are only in client 000.
    Procedure
    Create the missing number range interval in customizing.
    Transation code:FBN1
    regards
    vamshi

  • How to setup number range for Material Documents created by goods movement

    Hi Experts,
    Good day!
    Would you know what table or transaction code we could setup or configure the number range for Material Documents number created by goods movement?
    Thanks. Have a wonderful day!
    Rockz

    Hi,
    Tcode - OMBT
    Regards,
    Vivek

  • Extend number range on Material BOM item

    Hi,
    When displaying a material BOM via CS03 and looking at material tab. Each item is incremented by 10. We are currently nearing the end of this number range, ie we have a BOM which has a recipe with item number 9850. We have tested and determined that when we get to item number 9999 the next item reverts back to 0010, 0020 etc. This causes us great problems.
    Is there a way to entend the number range past 9999, ie can we go from 9999 to 10000?
    Thanks, Sinéad

    Please see the object below and change according that
    STUE       Number range BOMs                            
    STUEC      Number ranges for class BOM                  
    STUED      Number ranges for documents BOMs             
    STUEE      Number ranges for equipment BOMs             
    STUEK      Number ranges for sales order BOMs           
    STUEM      Number ranges for material bills of material 
    STUEP      Number ranges for WBS BOMs                   
    STUES      Standard object list number range            
    STUET      Number ranges for funct.location BOMs

  • Number ranges for material document (migo) and inventory  documents

    Hi Gurus,
    We need a different number ranges for goods receipt documents  and inventory documents because we have different company merged in to one box.Can any body tell me on what basis we differenciate the number ranges how to configure it.
    If we take PO, we have different doc types and we assign number ranges to those documents. in case of Miro , it  is the single transaction code used by different companies and how to give different number ranges.
    Regards,
    Sri........

    Hi,
    I think number ranges of inventory documents are on client level not on company code wise . because even though  your creating new document and assigned different number ranges for the documents but  these while assigning  ranges to T codes (MIGO or MIRO) you dont have option like company codes ( tcode OMBA) so number ranges for inventory documents are at client level  not at company code level.

Maybe you are looking for

  • Problem with sync in iphone 3gs

    im having a problem with my phone. when i try to sync it it shows Problem Event Name: BEX Application Name: iTunes.exe Application Version: 9.0.3.15 Application Timestamp: 4b590a69 Fault Module Name: StackHash_0a9e Fault Module Version: 0.0.0.0 Fault

  • Thread to synchronize blinking buttons

    I have a infinite loop that test which button should blink. Only one button should blink per time. //this blink the buttons int delay = 700; // milliseconds (or 0.7 sec)      ActionListener taskPerformer = new ActionListener() {      public void acti

  • OID Connector Installation error

    Hi All, I am trying to intergrate OIM 11.1.1.5.0 with OID Connector 9.0.4 to provision the Users. While Installation i am getting the error as " DOBJ.XML_IMPORT_ERROR DUPLICATE OUG " in the Connector Installation page and Import of Connector XML File

  • Using Query's overall result in model

    Hello, Is there a method to use overall result from a BW query in a VC model? I need the overall result values for different KF's from the query in the model for further computation. Have tried using a filter for "over*" from the data service output

  • Multiple clustering integrating with AD

    I have a customer that I am doing a design for that wants to integrate with Ad for CCM. No problem. BUT there are going to be maybe 15 sites or so that will each have their own cluster of CCMs. The AD structure that they will be integrating to is and