How to use Material Group in substitution rule

Hello,
Anyone experience in how to use the entry of the material group of a PO, in a substitution rule for accounting documents.
I have noticed the material number can be used within a substitution rule, and is also available in BSEG... so far have not find a solution to do this for a material group.
Please note, this is applicable for PO with no materials (ONLY a material group to use for account determination).
Many thanks,
Daan

forget about all varible in essbase CSC
it's bad practics.^^^Is it?
Essbase cube are self big array )^^^That's what makes ARRAY so cool -- you can set up an array that encompasses a dimension.
Example straight from a HBR:
ARRAY SomeArray["Entity"] ;
Regards,
Cameron Lackpour

Similar Messages

  • Vendor Evaluation using Material Group

    Dear all
            Kindly let me know whether Vendor evalation is possible using material Group.
    Regards
    M.Chandra mohan

    Dear all
         What I mean to say it, we do not have follwoing master in our company.
    Material master, Vendor master & Pur.Info records,I did not know what configuration has been there in PRD server,But once we gave Authorization to our user regarding Vendor Report, they are getting the Vendor evaluated automatically,So I thought It is taking the material Group as a reference for Evaluation,That why i requesting your guy how we can do configuration in related to Vendor Evaluation.
    Regards
    M.Chandra mohan

  • How to create material group hierarchy ?

    Hi,
    I would like to know how to create material group hierarchy in ECC 6.0
    Thanks in advance for your help,
    Kind regards,
    Yann

    Hi ,
    The material group hierarchy and product heirarchy is used in SD of ECC 6.0 . These can be created in Logistics General -> Material Master-> settings for Key fields--> Data Relevant to Sales and Distribution-> 1)
    define product categories
    2)Define material groups
    But If you want to make of use of this in SRM ,I won't think it is available . I guess Probably this is avl for CRM .
    Regards
    Mani
    Message was edited by:
            Manikanda Ilango S.

  • How to use attributes in variable substitution???:(

    Hi all,
    Could you please help me out in how to use attributes in variable substitution....
    Regards,
    Sundar

    Hi,
    Use Adapter Specific Identifiers , instead of Variable Name substitution.
    Sender File adapter --> Adapter Specific Attributes --> Select File Name
    Reciver File Adapter -->Adapter Specific Attributes --> Select File Name
    In the mapping , use this code in an UDF to change the filename to what you want,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String filename="YOURFILENAME";
    String rSourceFileName = conf.put(key,filename);
    Regards,
    Bhavesh

  • How to add material group in rvinvoice standard script?

    how to add material group in rvinvoice standard script?
    regards

    Hi
    You have to copy the standard script first .
    you need to write External subroutine in layout.
    This is just for basic info..you can search in sdn external subroutines in script..you get so many inputs.
    Thanks

  • How to Use a Group by Function

    Hi Gurus,
    I have Requirment where i need to use the group by function to one column
    below is my query , can anyone help how to use the group by for the column OCCASIONALS_QT_STATUS.
    below is giving me the error not a group by expression
    select distinct source_id,OCCASIONALS_QT_STATUS,
    (SELECT sum(head_count)
    FROM gen_dcsf_occasionals_count
    where OCCASIONALS_QT_STATUS = 'QTS'
    and source_id = gdoc.source_id
    ) OccasionalsQTS,
    (SELECT sum(head_count)
    FROM gen_dcsf_occasionals_count
    where
    OCCASIONALS_QT_STATUS = 'NOTQTS'
    and source_id = gdoc.source_id
    ) OccasionalsNOTQTS,
    (SELECT sum(head_count)
    FROM gen_dcsf_occasionals_count
    where
    OCCASIONALS_QT_STATUS = 'NTKNWN'
    and source_id = gdoc.source_id
    ) OccasionalsNOTKNWN
    from gen_dcsf_occasionals_count gdoc group by OCCASIONALS_QT_STATUS;
    any inputs on this is highly appreciable
    Thanks in advance

    909577 wrote:
    Hi Gurus,
    I have Requirment where i need to use the group by function to one column
    below is my query , can anyone help how to use the group by for the column OCCASIONALS_QT_STATUS.
    below is giving me the error not a group by expression
    select distinct source_id,OCCASIONALS_QT_STATUS,
    (SELECT sum(head_count)
    FROM gen_dcsf_occasionals_count
    where OCCASIONALS_QT_STATUS = 'QTS'
    and source_id = gdoc.source_id
    ) OccasionalsQTS,
    (SELECT sum(head_count)
    FROM gen_dcsf_occasionals_count
    where
    OCCASIONALS_QT_STATUS = 'NOTQTS'
    and source_id = gdoc.source_id
    ) OccasionalsNOTQTS,
    (SELECT sum(head_count)
    FROM gen_dcsf_occasionals_count
    where
    OCCASIONALS_QT_STATUS = 'NTKNWN'
    and source_id = gdoc.source_id
    ) OccasionalsNOTKNWN
    from gen_dcsf_occasionals_count gdoc group by OCCASIONALS_QT_STATUS;
    any inputs on this is highly appreciable
    Thanks in advanceFor your own sanity, you should format your code to make it more readable
    For the sanity of those from whom you seek help, you should preserve that formatting with the code tags:
    select
         distinct source_id,
         OCCASIONALS_QT_STATUS,
         (SELECT
               sum(head_count)
          FROM
               gen_dcsf_occasionals_count
          where
               OCCASIONALS_QT_STATUS = 'QTS'   and
               source_id = gdoc.source_id
         ) OccasionalsQTS,
         (SELECT
              sum(head_count)
         FROM
              gen_dcsf_occasionals_count
         where
              OCCASIONALS_QT_STATUS = 'NOTQTS' and
              source_id = gdoc.source_id
         ) OccasionalsNOTQTS,
         (SELECT
              sum(head_count)
         FROM
              gen_dcsf_occasionals_count
         where
              OCCASIONALS_QT_STATUS = 'NTKNWN' and
              source_id = gdoc.source_id
         ) OccasionalsNOTKNWN
    from
         gen_dcsf_occasionals_count gdoc
    group by
         OCCASIONALS_QT_STATUS;

  • Use material groups in FI invoices to determine the GL account

    All,
    For our incoming non purchase order invoices we use Vendor invoice in financial accounting in ECC 6.0
    My customer wants to start using material groups in their financial incoming invoices to determine the GL Account.  ? It sounds not logical me but is that possible ?
    Thanks!
    AS

    Hello AS,
    Standard SAP never determine GL accounts with respect to any groups / valuation area ,if you want to post direct FI invoice. You can derive GL accounts with respect to material groups ,if FI invoice is PO based.
    It may possible through user exit's but it shouldn't be logical in my point of view.
    Regards
    Mani Kumar

  • How to create material group in material master.

    hi guru's
    can anybody explain me how to create a new material group in material master.
    i wantto add a material group while creating material master MM01..
    thanks
    sap-mm

    Hi,
    In this step you create material groups.
    You also have the option of using the same transaction to carry out the following activities:
    Creating superior hierarchy levels
    Assigning the superior hierarchy levels to a material group hierarchy
    Assigning the base material group to the material group hierarchy
    Assigning characteristics profiles below material group level
    Requirements
    Your R/3 System is configured as an SAP Retail System.
    Activities
    1. Create superior hierarchy levels
       You create hierarchy levels using transaction WG01 (creating
       material groups) via menu options MG environment --> Hierarchy
       level --> Create
    2. Assign the superior hierarchy levels to a material group hierarchy
       You assign hierarchy levels to a hierarchy using transaction WG01
       (creating material groups) via menu options MG environment -->
       Hierarchy level --> Maint. MG hierarchy
    3. Create material groups (base material groups) and then maintain the
       pre-defined materials (reference material/material group material)
    4. Assign the base material group to the material group hierarchy
       You assign the material group to the hierarchy using transaction
       WG01 (creating material groups)
    5. Assign characteristics profiles below material group level
       You assign characteristics profiles using transaction WG01
       (creating material groups)
    Further notes
    When creating material groups and then maintaining the pre-defined materials (reference material/material group material) you should be aware of the following.
    As these materials can be created automatically using a minimum of data, you should follow this procedure with a check and possibly further maintenance, especially of plant-specific data. The material group reference material should be defined in as much detail as possible so as to keep the workload to a minimum when you have to create more materials for this material group.
    All hierarchy allocations involving a material group (base material group) and a higher or lower hierarchy level can be carried out on the initial screen (there is no need to switch to the detail screen). All further hierarchy allocations can be defined top-down when you maintain material group hierarchies.
    Only the material groups are transported automatically!
    Reward if useful.
    Chandru

  • How to update Material group code in contracts ?

    Hi,
    We implemented SAP in my company a year ago. AS you can imagine we need to do some cleaning now we know how it works...
    We have change the Material Group code for over 1100 items.
    Thing is, the material group code in the contracts do not update automatically.
    I see two ways to handel this :
    1- re-enter contract
    2- delete lines that needs to be changed and recreate them...
    I know for sure that both solutions would work but they are time consuming so I was wondering if one of you had another idea ( a quick or at least a massive one would be appreciated...)
    Thanks for your help.

    Hi,
    You can use transaction MEMASSCONTRACT for mass changes to contracts
    Caution:- Please use this transaction if you know, else first practice it in sandbox and then use in production environment
    Thanks
    Diwakar

  • How to use negation in user defined rules?

    Hi,
    Can you please show me an example to use negation in user defined rule? I created a rule like below (the rule says if a patient has a fever problem and not have penicillin hypersensitivity, then recommend medication1):
    INSERT INTO mdsys.semr_myMedicineRB VALUES('rule1',
    '(?p rdf:type :Patient) (?p :present ?c1) (?c1 rdf:type :Fever) (?c2 rdf:type :Penicillin_Hypersensitivity)',
    '(NOT_EXISTS(p :present c2))',
    '(?p :recommendation :medication1)',
    SEM_ALIASES(SEM_ALIAS('','http://www.example/medicine#')));
    The rule successfully inserted into the rulebase. However, I cannot pass the entailment creation phase and got the errors:
    ORA-29532: Java call terminated by uncaught Java exception: java.sql.SQLException: Missing IN or OUT parameter at index:: 1
    ORA-06512: at "MDSYS.SDO_SEM_INF_INTERNAL", line 16453
    ORA-06512: at "MDSYS.SDO_SEM_INFERENCE", line 302
    ORA-06512: at "MDSYS.SDO_SEM_INFERENCE", line 352
    ORA-06512: at "MDSYS.RDF_APIS", line 118
    ORA-06512: at line 2
    29532. 00000 -  "Java call terminated by uncaught Java exception: %s"
    *Cause:    A Java exception or error was signaled and could not be
               resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.
    According to the post built-in primitives(noValue,remove) for user defined rules, it seems negation is not supported in user defined rules. Can you please advice how to implement negation in user defined rules?  Thanks a lot in advance.
    Hong

    Hi Hong,
    Let's look at this similar but simplified problem:
      if (?p  rdf:type  :Patient) and (NOT_EXISTS(?p  :present  :c2)) ==> (?p :recommendation :medication1)
    You can use something like this in the user defined inferencing:
    -- First get the numeric IDs for the relevant URIs
    recomID := sdo_sem_inference.oracle_orardf_add_res('http://..../recommendation');
    medID := sdo_sem_inference.oracle_orardf_add_res('http://..../medication1')
    rdfTypeID := sdo_sem_inference.oracle_orardf_res2vid('... full URI for rdf:type');
    patientID := ...
    presentID := ...
    c2ID := ...
    -- Now this query will find out ?p that satisfy (?p  rdf:type  :Patient) but not
    -- (?p  :present  :c2)
    sqlStmt := '
      select ids1.sid  sub
         from ' || src_tab_view || ' ids1
        where ids1.pid= ' || to_char(rdfTypeID,'TM9') || '
          and not exists (
             select 1
               from ' || src_tab_view || '
              where sid = ids1.sid
                and pid = ' || to_char(presentID, 'TM9') || '
                and oid = '|| to_char(c2ID,'TM9') || '
    insertStmt := '
      insert /*+ parallel append */
       into ' || output_tab || '(sid, pid, oid)
      select sub, '||to_char(recomID,'TM9') || ',' || to_char(medID,'TM9') || '
       from (' || sqlStmt || ')'
    More details can be found in
    http://docs.oracle.com/cd/E16655_01/appdev.121/e17895/inference_extension.htm#CHDDBGEC
    Hope it helps,
    Zhe Wu

  • How to create Material Groups

    Hi All
    I need to create Material Gruops into my SAP 6 .how can i create Material groups from grp1 to grp5 .
    Madhu

    hi
    follow following path
    IMG>LOG gen> material master>setting for key fields.> data  relevant to sales and distribution> define material gp
    there you will get
    mat gp 1 to mat gp 5
    Regards,
    vijay
    Edited by: vijay shukla on Aug 22, 2008 3:19 PM

  • How I use my group Email addresses from my hard drive?

    How do I use may group email addresses from my hard drive at the .mac.
    At the .mac address book, all the names are listed but not my group list.
    Can you help?

    The address book on the .Mac web site does not support the groups that you have defined in Mac OS X's Address book.

  • How to assign Material Group to Accounts

    Hi
    I want to know that how to assign the Material Groups to G/L Accounts.
    Material grp                     Account IFRS
    100314                 62100000

    hi..
    OMQW is the T.code to link material group to Valuation Class and for Default G/L Check with t.codes and assignment OME9, OMGO & OBYC.
    these valution classes are linked to the G/L account in OBYC.....
    For more check the linkS:
    http://www.bluemarlinsys.com/ns/0603-03.asp
    Please check it..
    Hoe it works..
    Thanks
    Edited by: ashish2210 on Jul 14, 2011 7:34 AM

  • How to filter material groups replication

    In replicating product categories (DNL_CUST_PROD1) from R/3 to SRM via R3AS, I only want to replicate certain categories. How/where do I set up filters to only bring over the material groups that I want in SRM?
    Points will be rewarded.
    SN

    This is what I get after executing BBP_PRODUCT_SETTINGS_MW:
    Middleware Settings for Product for SRM Systems                                                                               
    Settings Log:                        EBP Without CRM                       
    Test Mode *****                                                                               
    Set Middleware Objects to Active/Inactive                                  
    All Business Objects Except MATERIAL and DNL_PLANT Will Be Set to Inactive 
    All Customizing Objects Except DNL_CUST_PROD0/_PROD1 Will Be Set to Inactive
    All Condition Objects Will Be Set to Inactive                              
    Objects SERVICE_MASTER and DNL_CUST_SRVMAS Will Also Be Activated                                                                               
    User of Download Objects Will Be Adjusted (Table SMOFINICON)                                                                               
    Object:      MATERIAL                                                      
    Following Tables Will Be Deactivated:                                      
      MLAN                                                                     
      MVKE                                                                     
      STXH                                                                     
      STXL                                                                               
    Object:      DNL_CUST_PROD1                                                
    Following Tables Will Be Deactivated:                                      
      T179                                                                     
      T179T                                                                               
    Middleware Objects Will Be Regenerated                                                                               
    EBP Will Be Flagged As Active Application (Table SMOFAPPL)                 
    CRM Will Be Flagged As Inactive Application (Table SMOFAPPL)                                                                               
    Customizing Indicator 'Multiple-Backends' Set (Table COMC_HIERARCHY)       
    Am I missing anything?
    SN

  • MMAM  - how to change material group

    Hi guys,
    could you pls tell me all conditions that must be fulfilled when I want to change material group in MMAM?
    current group - HAWA, new group -ROH
    thanks a lot,
    I

    Hi,
       I believe you want to change material type. Below are the prerequisites to change the material type:
      1. If you use the material ledger, the material must be settled in
      2. If the old material type did not require you to specify a price control (for example , standard price or moving average price)
          for the material, the new material type must not be configured such that it allows only standard price as the price control.
      3. If the material has been maintained  from PRT (Production resource tools) view, this view must also be allowed for the new material type.
    4. If the material is not configurable material, the new material type must not be allowed only for configurable materials.
    5. If inspection plans are required for quality management inspection of the material, they must be allowed for the new material type.
    6.  The material type ID indicator(presently used only in Retail) must be the same for the old material type and the new material type.
    7. If the material is already in stock, or if reservations, or purchasing documents exist for it, the following conditions must also be met:
       A) The stock values of the material of the new material type must be updated the same G/L account as the stock values material of the old material type.
       B) Quantiites and values of the material of the new material type must be updated exactly the same way in all plants as quantities and values of the material of the old material type.
      C) If there is a transfer requirement for the material and if quants of the material exist, the new material type must also allow the material data to be maintained from the warehouse management view.
    8. In Customizing for the material master , the following indicators must have the same setting for the old material type and for the new material type:
      A) Material for Process Indicator
      B) Manufacturer Part Indicator
    9. If the material , whose material type you want to change ,was handled in batches and if,due to the maintenance statuses of the new material type, the material can no longer be handled in batches,although batch still exist, you can not change the material type.
    Thanks,
    Venkat

Maybe you are looking for

  • Different material group for two CO companies with same material no.

    Hi all We are implementing another CO company in COPA. The issue is  that both companies use the same materials number, but in COPA grouping categories (MATKL) must be different . I was thinking in using another category, but is there another option?

  • Mapping Runtime Exception - How to see complete error message?

    Hello, we have a mapping runtime exception in SXMB_MONI. However only the first 4 lines are displayed are shown in <SAP:Stack>, the rest of the error message is needed however for trouble shooting. Is there any way to display the full error message?

  • Idoc Receiver - Header Data does not update

    Hi there I have an Idoc receiver in a scenario where I send a Idoc from a file to the R/3 system. My config is all fine but the Idoc status in we19 shows red. My Header data for the idoc is incorrect. The idoc is WALREQ01. In my Message Mapping Im se

  • About lock

    Delete data from table. The command is following: Delete from utela.ta9cb01; Error: 6003: Lock request denied because of time-out. Details: Tran 4.689(pid 9949) wants Un lock on rowid BMUFVUAAAAAAboMBGw, table UTELA.TA9CB01. But Tran 2041.27283048(pi

  • Where are the release notes for the latest Shockwave 12.1.2.152

    The download is not associated with the latest Shockwave security bulletin APSB14-10 (v12.1.0.150)