Restrict 1 Charachteristic per class in assigned object

Hi Gurus,
I am using clasification system for reporting in vendors. I have created a class with class type 010 and assigned charachterictics to the class. When I assign this class to the object, i.e Vendor. I want the asignment of charachteristic value to be restricted one charachteristic and one value therein.
I want to assign just one value of a characteristic, the we sholud be ablle to assin multiple charachterisitc pertaining to a specifc class. The end result should one valu from any one of the charachterisic of a specific class.
Thanks and Regards,
Abdul Kadir Rajbhoy

Create multiple class with class type 010 and assign only one characteristics for each of the class.
e.g:
Class: CL1 - Assign Characteristics CHAR1
Class: CL2 - Assign Characteristics CHAR2
Class: CL3 - Assign Characteristics CHAR3
Class: CL4 - Assign Characteristics CHAR3
In the vendor class assignment, chhose one of the class and assign values to the characteristics.

Similar Messages

  • Assigning object of one class to object of another class.

    Hi,
    How will i assign an object of one class to an object of another class?
    Ex:
    ClassX A=some_method();
    Now how will I assign the object A of class ClassX to the object 'B' of another class 'ClassY'.

    In java you can only assign a object reference of one class into object reference of another class if the first class is the Second class (in other words the first class is a subclass of second class).
    for example if this is a inheritance chart
    Car ==========>Mercedes
    "===========>Audi
    then you can use
    Audi a1 = new Audi();
    Car c1 = a1;
    or Mercedes m1 = new Mercedes();
    Car c1 = m1;
    but not
    a1 = m1;
    before assigning a variable into another variable of different class, use:
    if(variable1 instanceOf ToBeAssignedIn Class){
    variable2 = variable1;
    example:
    Audi a1;
    Car c1;
    if(a1 instanceOf Car){
    c1 = a1;
    Edited by: gaurav.suse on Apr 10, 2012 1:14 PM
    Edited by: gaurav.suse on Apr 10, 2012 1:15 PM

  • Assign Object to Class Type 026

    Dear Gurus,
    How can I assign objects to 026 type class ? because I tried CL2* transactions and all disallow me from accessing this 026 type class.
    Thank you.
    Best Regards,
    Kent.S

    Hi Kent,
    Class 026 is a reserved class for goods group ... look at Transaction WG21-Environment for hierarchy (we have a german system, so i don't know the correct items in the english menue).
    Best regards,
    Volker

  • Assign Object to class with characteristic values ?

    Hi All,
    I want to assign object to class with characteristic values. I found CL20N transaction for performing the same. Is there any BDC , BAPI to upload the same.
    Thanks & Regards,
    Navneeth K.

    Hi,
    try as below
        CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
          EXPORTING
            classtext            = 'X'
            classtype            = w_classtype  "Class type
            language             = sy-langu
            object               = w_object     "Object Matnr + Batch
            objecttable          = 'MARA'     "As requirement
            change_service_clf   = 'X'
            inherited_char       = ' '
            change_number        = ' '
          TABLES
            t_class              = t_class
            t_objectdata         = t_objectdata
            i_sel_characteristic = i_sel_characteristic
            t_no_auth_charact    = t_no_auth_charact.
        IF sy-subrc <> 0.
        ENDIF.
    *     Create with reference-----------------------
          w_objectkeynew = wa_inputfile-to_matnr.
          CALL FUNCTION 'BAPI_OBJCL_CREATE'
            EXPORTING
              objectkeynew    = w_objectkeynew
              objecttablenew  = 'MARA'
              classnumnew     = w_classnum
              classtypenew    = w_classtype
            TABLES
              allocvaluesnum  = t_allocvaluesnum
              allocvalueschar = t_allocvalueschar
              allocvaluescurr = t_allocvaluescurr
              return          = t_lreturn.
    "or
    BAPI_OBJCL_CHANGE              Classification BAPI: Change Assignment
    Prabhudas

  • Acc.assignment object replaced by current master cost center for employee

    Hi,
    I am facing a peculiar warning message while running the payroll posting run for only 2 employees.  The warning message s as follows:
    "Acc.assignment object replaced by current master cost center for employee
    Message no. 3G399"
    Prior to this, there were an error saying the
    "Account assignment objects are incorrect. No substitution is possible.
    Message no. 3G209"
    Later we found that the Position was not assigned to that employee properly.  I later assigned the correct position.. but still during the posting run the warning message appears.
    Please let me know if this is okay or is this an error which restricts the postings.
    Regards,
    Balaji TR

    Your postings will go through with the first warning message. However, please be warned that any account assignment related entries (IT 0027, 2001, 2002) will be wholly ignored.
    Check if any entries have been made to different cost centers for the erroring employees. If so, check for the reason why those entries have been made (since it is evident that the configuration does not support such entries). You may need to tie in with a CO consultant to ensure that there are no loose ends.

  • Assigning object reference values to field symbols

    Okay.......has anyone out there figured out how to assign the reference value of an object (you know the value you see in the debugger for example: .........to a field symbol.
    I know there has to be a way and was wondering if anyone has successfully achieved this. Its easy to assign a memory area to a field symbol if its an itab like this below:
    field-symbols: <fs>.
    data: v_fieldname(20) type c.
    v_fieldname = '(SAPLMEREQ)MARA'.
    assign (v_fieldname) to <fs>.
    This shouldn't be impossible with code like:
    field-symbols: <fs> type ref to object.
    data: v_ref(100) type c.
    v_ref = '{O:666*\FUNCTION-POOL=MEREQ\CLASS=LCL_REQ_ITEM_STATE}'.
    assign (v_ref) to <fs>.
    I just know that the code above doesn't work....
    Any suggestions? And please......no questions about "why" or "what do I want to accomplish?" .....
    Mike

    Hello Michael
    I assume you have not yet seen the following links:
    ABAP OO - MEREQ (Purchase Req) - Protected Attributes
    [Accessing the Inacessible - Local Classes within Global Classes|https://wiki.sdn.sap.com/wiki/display/ABAP/AccessingtheInacessible-LocalClasseswithinGlobalClasses]
    Regards
      Uwe

  • Open and Close Posting Periods According to G/L Account Assignment Objects

    Hi,
    Can anybody please explain me how configurations related to " Open and Close Posting Periods According to G/L Account Assignment Objects " works in SAP FICO? I am confused about this config.
    Regards,
    Mandeep

    Hi Mandeep ,
    First i would like to tell about fiscal year
    fiscal year is nothing but a financial year of company in sap . it contain 12 normal periods and 4 special periods.In genaral we will call like month but that is sap that is a period. so 12 period for 12 months ok next special period will use in all companies for audit and tax adjustment purpose of previous year.
    coming to the open and close periods.in sap for security purpose we have to open one period like this month july so i opened july period only we cant post the pervious month (june)and we cant post future month lik in (Auguest)ok
    You can close and open periods by transaction ob52.
    In transaction ob52 there are account types
    + Valid for all account types
    A Assets
    D Customers
    K Vendors
    M Materials
    S G/L accounts
    V Contract accounts
    + means all types. if you want to open vendor then enter period from and to according to your fiscal year.
    you cant adjust items in closed period. if you want to then you have to open the period
    For your information.....
    posting periods also open user level tc S_ALR_87003642.
    customization levael OB52.
    Regards
    Kumar

  • GR/IR clearing account is being assigned to a acct assignment object

    Hi there!
    My key-user asked me a question which I really don't know how to answer.  He asked me about the reason why in an accounting document automatically generated by MIRO the item which contains the GR/IR clearing acct is always assigned to an acct assignment object (such as WBS element or cost center).
    I noticed that all the acct documents generated by MIRO has this mentioned assignment but, unfortunately I don't know why it happens yet.
    That's I count on you to help me solving this issue I'm facing now. 
    Thanks in advance,
    Rubens Luiz
    SAP SCM Consultant
    +55 21 2141 0033

    Hello there!
    A friend of mine told that it's not a problem at all. And that the reason that the cost object was assigned (or appeared) when you displayed FI accounting document is that since GR/IR Clearing Account is treated as the balance sheet account (I would assume it is the same in your system) and given the Profit Center was appearing in both P&L and Balance Sheet Account Report, SAP will have to use the cost object to derive the ultimate profit center. 
    Thanks in anyway!
    Rubens Luiz
    SCM Consultant

  • Report as per Customer Account Assignment group or Material Account Assig

    Hi,
    I require report as per customer account assignment group or material account assignment group.
    Can you please tell me how to fullfill this requiremetn.
    I have go for ZReport or any standard report is available.
    Regards,
    ch.srinivas

    Hi,
      You could have gone for a query but unfortunately,you cannot use table TSTMT in a query so I think ZREPORT would be a better option.
    Regards
    Karan

  • Enter a true account assignment object with revenues

    Hi there,
    At my current client site we implemented COPA - Costing Based. I mapped a few revenue accounts  to COPA. Now when I try to make a posting in to COPA using FB70 . The system issues a error Message "Enter a true account assignment object with revenues" . I know  the Prof Segment is the account assignment object  its looking for and the system is not deriving it  from the information I entered in the FB70 document. Am I missing somethig here? Did anyone out there face similar issue??
    You inputs are highly appreciated!
    Regards,
    Siva Padallaparthy

    Hi Siva,
    Please check note 373823 for this error. Also please go through the long text of error message KI166. The solution of the error is mentioned in the long text itself.
    Regards,
    Abhisek

  • Enter a true account assignment object with revenues while reversing FB08

    Hi All
    When I am reversing the document through FB08 I am getting the warning messege "Enter a true account assignment object with revenues"
    Message no. KI166
    Diagnosis
    You made an account assignment for 31211100, a revenue element, in controlling area 1000 to a cost center or profit center.
    System Response
    Cost centers and profit centers can carry revenues in the SAP system as statistics only. To ensure reconciliation between FI and CO for revenue element 31211100, a CO account assignment object must record the revenues as a real value. This object type is used for updating to the reconciliation ledger.
    In principle, it is possible for the SAP system to automatically derive this CO account assignment object, the reconciliation object. However, all postings made in CO for costing-based Profitability Analysis are logged in the reconciliation ledger under "reconciliation object". In this manner, the reconciliation ledger identifies the exact values flowing into the operating profit. If you post reconciliation objects during revenue postings to cost centers or profit centers, you must do so while keeping the interpretation of the reconciliation ledger reports in mind. The sums of revenue postings to profitability segments, cost centers, and profit centers cannot be broken down further.
    Procedure
    To avoid posting to reconciliation objects, make account assignments to a real CO account assignment object.
    If you want to post to reconciliation objects, you can change this message to a warning or a note for future users, or deactivate the message entirely. Use the Implementation Guide under "Controlling: General" and choose Change message control. Enter area KI and message number 166. If you do not enter an individual user here, the change is valid for all users.
    It is not allowing me to reverse the document already posted.
    Please guide
    Thanks in Advance
    Sonal

    Hi,
    Do you have this cost element maintained in OKB9 with a reference to an internal order or profitability segment? If yes, please look at the note 373823.
    Regards,
    Eli

  • BDC selecting component - Assigning object dependencies

    Hi,
    I am facing a problem in developing a BDC program. In transaction CS02, for a configurable material there may be n number of components. The number of components may vary from material to material. My requirement is to assign object dependency Q & S to all the components for a given material.
    Through BDC program how can i pick the components one by one and assign object dependencies Q and S at runtime??? Dynamically on what basis do i have to pick the component? Any supporting code will be more helpfull. Very thankfull to you for solving the issue.
    Thanks,
    RAM

    I have a program which does exactly this.   What it does it excepts a flat comma-delimited file and uses this to chose the component and assign the obj dep.  Now that I'm looking at it, it looks that it will allow up to three obj dep to be added for a single component.  The file layout will need to have......
    material number
    plant
    item number
    component material lnumber
    object dep 1
    object dep 2
    object dep 3
    I can send you the code if you email me at the address on my business card.
    Regards
    Rich Heilman

  • How to access the parent class variable or object in java

    Hi Gurus,
    I encounter an issue when try to refer to parent class variable or object instance in java.
    The issue is when the child class reside in different location from the parent class as shown below.
    - ClassA and ClassB are reside in xxx.oracle.apps.inv.mo.server;
    - Derived is reside in xxx.oracle.apps.inv.mo.server.test;
    Let say ClassA and ClassB are the base / seeded class and can not be modified. How can i refer to the variable or object instance of ClassA and ClassB inside Derived class.
    package xxx.oracle.apps.inv.mo.server;
    public class ClassA {
        public int i=10;
    package xxx.oracle.apps.inv.mo.server;
    public class ClassB extends ClassA{
        int i=20;   
    package xxx.oracle.apps.inv.mo.server.test;
    import xxx.oracle.apps.inv.mo.server.ClassA;
    import xxx.oracle.apps.inv.mo.server.ClassB;
    public class Derived extends ClassB {
        int i=30;
        public Derived() {
           System.out.println(this.i);                  // this will print 30
           System.out.println(((ClassB)this).i);  // error, but this will print 20 if Derived class located in the same location as ClassB
           System.out.println(((ClassA)this).i);  // error, but this will print 20 if Derived class located in the same location as ClassA
        public static void main(String[] args) { 
            Derived d = new Derived(); 
    Many thanks in advance,
    Fendy

    Hi ,
    You cannot  access the controller attribute instead create an instance of the controller class and access the attribute in the set method
    OR create a static method X in the controller class and store the value in that method. and you can access the attribute by 
    Call method class=>X
    OR if the attribute is static you can access by classname=>attribute.
    Regards,
    Gangadhar.S
    Edited by: gangadhar rao on Mar 10, 2011 6:56 AM

  • Assigned Object text not displayed in Multi-Level Notification Lists (QM19)

    Hello Everyone !
    Today, i would like to share an issue I am facing in regards to Assigned objects in QM notifications.
    We are using Assigned objects functionality available in Enterprise Extension PLM, Enhancement Package 4 (EA-PLM 604), to link inspection lots to notification items. Assigned object type Inspection lot is provided in standard by SAP.
    All necessary configuration has been done and inspection lots are correctly linked. When we run Multi-level notification list (QM19) to display the details of notifications in a tree view with assigned objects, all information is coming except object text. In this case inspection lot text. The field is available in the structure but comes blank despite being filled in the lot.
    I would like to know if anyone has encountered such issue and how did you solve it.
    System info:
    EHP7 for SAP ERP 6.0
    Thank you.
    Ayoub.

    Hello Everyone !,
    After checking, looks like this is a missing code in standard SAP implementation for Assigned objects.
    This will be solved by small ABAP code.
    Thank you
    Ayoub.

  • Msg K1100 'The CO account assignment object belongs to company code X,not Y

    Hi,
    Unable to create an accounting document for a Return order.
    Message K1100 - Error:The CO account assignment object belongs to company code X,not Y
    Company Code : X
    Sales Org: X
    Plant: P
    Billing Date : IG ( Internal Credit Memo)
    The above details are from the item level- Account Assignment tab-Profitabliity Segment.
    Pl. let us know from which table these fields are picked.
    Regards
    Biju
    Edited by: Biju Mercy on Jan 7, 2010 12:58 PM

    I believe the error message number is ki100 and not  k1100  as indicated by you in which case, refer any of the following notes:-
    a)  140503
    b)  643700
    c)  420778
    d)  352261
    e)  141224
    thanks
    G. Lakshmipathi

Maybe you are looking for