Char and Attributes

Hi all,
I am having a requirement wer i need to create the report which include the fields
PO line item, PO del. date, PO LOI date, and some other char
Now can i create the PO line item and char and PO del dat, PO LOI dat as attributes of it. Does it works fine.
Another thing i am getting all the 3  fields from the R3 and v r not any of them as varibles.
pls suggest me u a optimal solution and let me know the reasons for the same
Regard

Priya,
can i create the PO line item and char and PO del dat, PO LOI dat as attributes of it. is that fine.
--> Attribute of what..? Create as a characteristics and use.
what happen if i create every field as a saperate char.
--> Create as a characteristics only, not attribute.
when creating the char what the difference between creating by reference char and template.
--> Template: Copies only technical properties(type, length...ect). For these objects data has to be loaded.
Reference: Cpies technical properties and also uses same tables from source characteristics, so for these objects no need to maintain data. As it picks data from reference objects.
You create objects by using template. or if you want to use same master data, create as with reference.
Hope it Helps
Srini

Similar Messages

  • Tables for char and attributes

    Hi ,
    How to identify that a characteristic for an inspection lot has long term characteristics ?
    We want to retrieve the characteristic attributes for qualitative characteristics . What is the table link for the qualitative characteristics and the characteristic attributes ?

    Check following thread--->
    Control Indicator field in Inspection plan characteristics
    for tables
    Results Recording QAKL Results table for value classes
    Results Recording QAMR Characteristic results during inspection processing
    check bapi
    BAPI_INSPCHAR_GETRESULT
    Edited by: Sujit Gujar on Mar 15, 2011 9:35 PM

  • JTextPane (reading char and its attributes)

    Hellow,
    I am trying to write a simple editor, where a person could write his text (in different size and color etc.) and than i need to turn this text to html code.
    So the way that i determen the shape of the text in JTextPane is:
    StyleConstants.setBold(set, false);
    *               pane.setCharacterAttributes(set, false);*
    And now i have to you trought the document and read the chars and its asstributes.
    And the way that i go trought the doc is by using the caret: moveCaretPosition(x);
    Reading the char: char c=pane.getText(pane.getCaretPosition(),1).charAt(0);
    But the problem now is... by moving the caret (dot) the mark stays in its place, so when I try to read the attribues(*AttributeSet crka;crka=pane.getCharacterAttributes();*), i read them for all the chars selected so far (0->x).
    How do i move this oround, so that only one char is read and its attributes?
    Edited by: Defero on Jul 19, 2008 3:09 AM

    Sorry for that,
    Yeah but it still doesnt work right.
    Example:
    Text in pane:
    AB C DEFGH... (ignore spacers)
    And then if i read the number of attributes on each char, they go like this:
    00111111...
    Just in case, i post my code of setting the arguments:
    JButton gumb=new JButton("bold");
            gumb.addActionListener((
                     new ActionListener() {
                         public void actionPerformed(ActionEvent e) {
                              if(bold==false){     
                            StyleConstants.setBold(set, true);
                           pane.setCharacterAttributes(set, true);
                           pane.requestFocus();
                          bold=true;
                              }else {
                                   StyleConstants.setBold(set, false);
                                   pane.setCharacterAttributes(set, false);
                                   bold=false;
                                   pane.requestFocus();
                 ));And reading should go like this right?:
    StyledDocument ddoc=pane.getStyledDocument();
    for(int i=0;i<ddoc.getLength();i++){
    int x=ddoc.getCharacterElement(i).getAttributes().getAttributeCount();
    }Edited by: Defero on Jul 19, 2008 10:12 PM
    Edited by: Defero on Jul 19, 2008 10:12 PM

  • Get all tags and attributes from schema

    Mapping question
    I have a mapping requirement where the customer needs all the tags and attributes from the schema whether it has a value or not. The schema has almost 1500 tags and each of them has a attribute. We are mapping only about 50 of them, so the rest of them has to be blank. Actually about 700 of the attributes has fixed values like CHAR. Normally I would create a second mapping and use exists otherwise map a empty tag, but in this case the number of tags is high. Is there a easy way to create all the blank tags during runtime similar to using generate instance in test mode or generate sample file in xmlspy.
    The scenario is IDOC to SOAP with BPM customer is using a custom schema
    Thanks in advance
    Asif

    Any hint or suggestion with the use of java/xslt/abap mapping or any other way to avoid mapping each of these tags manually will be appreciated.
    thanks
    Asif

  • OWB-Import does not distinguish between nls_length_semantics char and byte.

    We have a 10g-DB with UTF8 charset and nls_length_semantics=char and we've created an OWB warehouse module for 10g with several tables in it. After deploy operation for a table the column length attributs are looking nice. But if we re-import this table the varchar fields have the threefold length!
    This makes life hard for us, because sometimes it's necessary to reconcile discrepancies in development cycle and some tables have about 150 columns.
    Does anybody have suggestions?
    The OWB version is 10.1.0.3.0.
    Regards
    Ralf

    Ralf,
    Oracle stores the length of VARCHAR columns in two ways in its metadata. One is the length as required by the application, and the other is the length required to store UTF data.
    One UTF character can take upto 3 characters of storage. When OWB reads in the definition from data dictionary, it uses the actual characters allocated to the column, and thus u see a three fold increase in VARCHAR columns.
    Try this for your table
    select
    column_name, data_length, char_length
    from
    user_tab_columns
    where
    table_name='nameOfTable'
    And that is how Oracle designed the database, but unfortunately OWB does not have that twin way of seeing things.
    - Jojo

  • Virtual Chars  and Keyfiguers

    Hi friends,
       how can we define  virtual charecterstics and Virtual keyfigures.. in the info object creation screen there is no  option to  define that object as a Virtual.. then how can we define that object as  virtual..
       and in what situation we can declare as  virtual... can you plz  give me a brief explination abt this... plz dont suggest any links... i did't got any conclusion by seeing those links..
        help ful answers  will be  highly appriciated...
    regards
    Babu

    hi babu..
    virtual key figures are key figures within an InfoProvider that are not filled with data. Instead the key figure value is determined at runtime of the query using custom ABAP coding .(or)
    Virtual characteristics and Key figures are useful if you want to dynamically pouplate data from the fact table to the field which doesn't have any data in the fact table and also used to build an internal security model before the data gets passed to DATA_PROVIDER.
    Virtual Characteristics and Virtual key figures are not part of data targets.
    By Virtual Characteristics and Virtual key figures Query performance is going to impact.because these are not part of the data targets.
    Ex: you have keyfigures profit,sales
    You are going to create a Virtual key figures say COST = sales - profit.
    so these cost is a Virtual key figures which is not part of a data target.
    when you execute particular query your OLAP processor is going to pick the data by caluclating the COST.& it impacts the query performance.
    You can get more information if you review the documentation for enhancement RSR00002.Go to SMOD type in RSR00002 and select the documentation radiobutton..
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sanyam.kapur/blog/2005/04/30/custom-fields-and-bw-extractors-making-a-mixed-marriage-work-part-ii
    Also check these threads tooo.
    Virtual Characteristics and Virtual keyfigures
    Virtual chars and key figures
    sampel code for virtual key figures
    Virtual Key Figure
    Virtual Key Figure
    Virtual key figure
    Code for Virtual keyfigure
    virtual key figures
    See this:
    https://forums.sdn.sap.com/click.jspa?searchID=3080291&messageID=3366412
    https://forums.sdn.sap.com/click.jspa?searchID=3080291&messageID=3371606
    and
    https://forums.sdn.sap.com/click.jspa?searchID=3080292&messageID=3309795
    In SAP BW, values of key figures and characteristics do not necessarily have to be stored permanently in an InfoCube or in a master data attribute table. Virtual key figures and virtual characteristics allow the dynamic computation or derivation of values for key figures and characteristics at query execution time.
    Examples 4 Virtual Characteristics
    Dynamic categorization of key figure values such as age groups and price ranges, where the basis for calculating the categorical values is variable (as for the age).
    2.Computation of complex compound values, combining information read from the InfoCube
    with current information retrieved from other sources (e.g., master data attributes).
    Virtual key figures can be used to perform complex computations on the fly that are
    beyond the scope of the formulas available in the BEx Query Designer.
    Examples include
    1.Dynamic computation of the current age of a customer based on the current date and the birth date of the customer or the number of days on back order.
    Both virtual key figures and virtual characteristics are rarely used, as they impact query performance and the degree of flexibility in defining aggregates significantly.
    hope this helps..

  • Master Data Text and Attributes

    Guys,
               I read some posts on sdn regarding differences between master data texts and attributes and now I am a little confused.  I thought attributes define a char.  then what does text do?  Does it not define or describe the char as well?  If both are doing the same thing then why do we need both ?  I am not sure if my understanding is correct.  Please help me.
    Thanks,
    RG

    Hi Ram,
    To understand in a better way little bit of R/3 work would have been helpful.
    In R/3 Every entity has master data maintained like customer, material, plant etc.
    If you would see a customer in R/3 you can see it has lots of information..like address,telephone number,street company name, etc.
    And along with it we have customer name...i.e. description..(text)
    Now in R/3...text tables are generally maintained separately then master data tables...it can be together as well.
    Something like for you Ram Goswami is descrption(text) for the user ID XXXXXXX in SDN.
    Email ID and company name is the master data stored here for him.
    BW has used the same modelling concept to keep the text table separate from the msater data table.
    It creates to separate data target for master data and text so that two seperate tables can be maintained in BW and you have to load the data in both to see the master as well as text.
    Since we have separate master data table and text table in R/3 therefore we have separate data sources as well based on them.
    You would like to have you master data table exactly as the master data table of R/3 so you will add attributes in the infoobject 0customer and it will create a P table for 0customer...keep adding attributes to make the columns in the table and to make the exact copy of R/3 table i.e. to bring all the information from R/3 about customer master you add attributes in the 0customer.The data soiurce based on this table in R/3 will contain the fields from the table.
    Now you do the mappings with fields between infoobject and data source and load the data ...so master data is loaded.
    For text...once you check the text option in infoobject..SAP creates a new table Tcustomer in the background..
    Now you have to do the mappings for this as well through the data source based on the text table in R/3.
    In some cases the master data table contains text as well and in that case you use the same data source based on this table to create two separate update rules one for master data object and another one for text object and do the mappings accordingly.
    In this case you schedule the load to both the target at the same time and data gets loaded.
    but for different data sources you will have to schedule the load separately.
    Once data loaded for this...now you can use it in the report and see the text as well as master data attributes in the reports and there values.
    I hope that was more then enough
    Thanks
    Ajeet

  • Difference between char and varchar, also the difference between varchar2

    Hi,
    Can anyone explain me the difference between char and varchar, and also the difference between varchar and varchar2...

    Varchar2 is variable width character data type, so if you define column with width 20 and insert only one character to tis column only, one character will be stored in database. Char is not variable width so when you define column with width 20 and insert one character to this column it will be right padded with 19 spaces to desired length, so you will store 20 characters in the dattabase (follow the example 1). Varchar data type from Oracle 9i is automaticlly promoted to varchar2 (follow example 2)
    Example 1:
    SQL> create table tchar(text1 char(10), text2 varchar2(10))
    2 /
    Table created.
    SQL> insert into tchar values('krystian','krystian')
    2 /
    1 row created.
    SQL> select text1, length(text1), text2, length(text2)
    2 from tchar
    3 /
    TEXT1 LENGTH(TEXT1) TEXT2 LENGTH(TEXT2)
    krystian 10 krystian 8
    Example 2:
    create table tvarchar(text varchar(10))
    SQL> select table_name,column_name,data_type
    2 from user_tab_columns
    3 where table_name = 'TVARCHAR'
    4 /
    TABLE_NAME COLUMN_NAME DATA_TYPE
    TVARCHAR TEXT VARCHAR2
    Best Regards
    Krystian Zieja / mob

  • Difference between CHAR and VARCHAR2 datatype

    Difference between CHAR and VARCHAR2 datatype
    CHAR datatype
    If you have an employee name column with size 10; ename CHAR(10) and If a column value 'JOHN' is inserted, 6 empty spaces will be inserted to the right of the value. If this was a VARCHAR column; ename VARCHAR2(10). How would it handle the column value 'JOHN' ?

    The CHAR datatype stores fixed-length character strings, and Oracle compares CHAR values using blank-padded comparison semantics.
    Where as the VARCHAR2 datatype stores variable-length character strings, and Oracle compares VARCHAR2 values using nonpadded comparison semantics.
    This is important when comparing or joining on the columns having these datatypes;
    SQL*Plus: Release 10.2.0.1.0 - Production on Pzt Au 6 09:16:45 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    SQL> conn hr/hr
    Connected.
    SQL> set serveroutput on
    SQL> DECLARE
    2 last_name1 VARCHAR2(10) := 'TONGUC';
    3 last_name2 CHAR(10) := 'TONGUC';
    4 BEGIN
    5 IF last_name1 = last_name2 THEN
    6 DBMS_OUTPUT.PUT_LINE ( '-' || last_name1 || '- is equal to -' || last_name2
    || '-');
    7 ELSE
    8 DBMS_OUTPUT.PUT_LINE ( '-' || last_name1 || '- is NOT equal to -' || last_n
    ame2 || '-');
    9 END IF;
    10 END;
    11 /
    -TONGUC- is NOT equal to -TONGUC -
    PL/SQL procedure successfully completed.
    SQL> DECLARE
    2 last_name1 CHAR(6) := 'TONGUC';
    3 last_name2 CHAR(10) := 'TONGUC';
    4 BEGIN
    5 IF last_name1 = last_name2 THEN
    6 DBMS_OUTPUT.PUT_LINE ( '-' || last_name1 || '- is equal to -' || last_name2
    || '-');
    7 ELSE
    8 DBMS_OUTPUT.PUT_LINE ( '-' || last_name1 || '- is NOT equal to -' || last_n
    ame2 || '-');
    9 END IF;
    10 END;
    11 /
    -TONGUC- is equal to -TONGUC -
    PL/SQL procedure successfully completed.
    Also you may want to read related asktom thread - "Char Vs Varchar" http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1542606219593
    and http://tahitiviews.blogspot.com/2007/05/less-is-more-more-or-less.html
    Best regards.

  • Creation of Service Product with Set Type and Attribute

    Dear All,
    Please guide me with proper step by step process,
    How to create the product with the set type and attribute for service industry in sap crm 7.0
    Regards,

    Hi Nitin,
    Before creating the Service type of product, you have to define the Base category for Service type product. Generally the category for service will be created under the R3 hierarchy R3PRODSTYPE. You can create this category using the TCode:
    COMM_HIERARCHY. Here you have to select the product type as Service and have to assign the set types to the category.
    You can create a service product using the transaction : COMMPR01 -> Click on Service ICON -> Select the Category for Service Type. Then fill in the details for Service Product description, Service ID(Based on number range settings for products), Language.
    Also fill other details like Base Unit of measure, Pricing condition for different sales areas for the service product.
    Since you are using CRM7.0, you can do all these activities using a POWER USER role.
    For more information about Set types and hierarchies please refer the following help link:
    http://help.sap.com/saphelp_crm70/helpdata/EN/46/57672501a208e7e10000000a114a6b/frameset.htm
    Hope this helps!
    Regards,
    Chethan

  • Difference between text data and attributes in master data?

    Hello,
    a charcteristic in BW maintains texts, hierarchies and attributes.
    What exactly is the difference between texts and attributes?
    Attributes describe master data like a customer. The country where the customer resides, the industry etc. describe and classify the customer. Attributes are not just the structure/metadata of the characteristics. They are also the content. The following table should visualize what i mean:
    customer-no. | name
    112          | mcpherson inc.
    113          | donalds inc.
    Texts contain contain the description of a characteristic. Texts define a characteristic. An example is the customers name. It does not describe the customer but defines him/her.
    Is my understanding about these two parts of master data right?
    What else except the customer's name belongs to the texts?
    If I set up a characteristic like the customer in SAP BW, do I have to create an attribute "name". The name belongs to texts, not to attributes?? If I upload master data then, how does it work?
    Thanks in advance.

    Hi,
    If your analysis includes country and region then country  and region should be included in the Infocube.This is required because only if you include these characteristics then you can restrict your queries for country and region.You may need to select some particular countires/region and show the report.Then you have to restrict your queries to only those countries/region.This is possible only if you have these  characteristic in your infocube.
    I am just envisaging your model like this.
    Characteristic in the Infocube
    Customer
    Country
    Region
    Customer Attributes
    Customer Number (SID which is self generated)
    Customer Address1,2 ,3
    Registration No
    Date of Registration
    Deposit Amount
    etc ...
    Region Attributes
    Region Number (SID)
    Total Customers
    Sale Office Address
    Number of Sales Persons
    Customer Attributes
    Customer Number (SID)
    Total Customers
    Head Office Address
    Number of Sales Persons
    GDP
    Total Population
    So the conclusion is whichever entity you want to restrict or analyse should be a part of Infocube.It is very difficult to do analysis based on attributes as I mentioned in my earlier post that they are only "Display attributes" (u can just show that's it).
    Yes!! there are  methods available for analysis based on characteristics in attributes table and you have to do either with virtual characteristic or replacement path or with writing code in customer exits.But a good design and earlier study of all possible report combination and having a good design will avoid good amount of development time and changes.
    I have suffered  when I had only 0CALDAY in my cube and when I want to take a monthly analysis, I was unable to do it and then I have to redesign my whole cube.
    Please anyone, correct me if I am wrong.
    Regs
    Gopi.

  • Function and attribute tabs not visible in ppoma_crm

    Hello Experts,
    Function and Attribute tab at the sales organization level is not visible in PPOMA_CRM transaction code for one of the user.
    Is it due to some authorization issue ? or anything else ?
    Before taking a system trace for that specific user, I would like to know if we are missing anything functionally
    Kindly revert
    Thanks and Regards
    DJ

    Hi DJ,
    Please see note 926540 - Missing Organisational units
    But from your description this does not seems to be the exact symptom.
    Yes I would advise to run a SU53 authorization check.
    Best regards - Christophe

  • Dynamic Table control with context nodes and attributes?

    Hi all
    I have node and attributes in context. i want to create table dynamically using this node and attributes, can anyone give code how to do this???
    Thanks
    Madhan.

    Hi
    Go through this [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a3de18-ee00-2d10-bfb3-946d7e00fd91?quicklink=index&overridelayout=true].
    Regards
    Arun.P

  • CF10 CFML tag, functions and attributes autofill in Dreamweaver CS5.5

    We have Coldfusion 10 and Dreamweaver CS5.5 in my company. We want to be able to see all the CF10 CFML functions, tags and attributes in the autofill when writing code. I have found an Adobe link to a download for them but it doesn't say what version of Dreamweaver is required for it to work. Can someone please tell me? Will it work with CS5.5?
    (This window won't let me paste in the link I have but it's in the Coldfusion Support Center Downloads | Coldfusion 10 Devleoper Tools | Adobe Coldfusion 10 Extensions for Dreamweaver. Also note that we do have CS5.5 in my company but I don't have an install available for me to test so I'm hoping it will be easier to get an answer to this question here rather than obtain one....thanks)

    This is what you are looking for : http://help.adobe.com/en_US/ColdFusion/10.0/Installing/WSc3ff6d0ea77859461172e0811cdec1896 9-7fff.html
    Download MXP from here : http://www.adobe.com/support/coldfusion/downloads.html#cf10devtools
    Insatll and then launch Dreamweaver CS 5.5

  • Hiding methods and attributes while inheriting

    Hello All,
    This is kinda urgent. While making a subclass I want to block access to methods and attributes of super class when anone creates an object of sub-class. In my particular situation I cannot override the methods.
    Let me explain it with an example:
    I have a class A which contains an attribute of type Object. All the methods accept Object type parameters and act accordingly. Now I want to create a sub-class B which acts on Strings only. I can create a wrapper to class A but I want to add some behavior which is specific to strings and use rest of the behavior as in class A. I cannot override the methods of class A because they take Objects as parameters whereas in class B the same methods take string as parameters.
    I hope you have understood the problem. Please reply ASAP.
    Thanks in advance

    Sorry the diagram turned out wrong. ObjectClass and StringClass are both supposed to be derived
    from the AbstractBaseClass.
    This method is one way to achieve what you want. You make an AbstractBaseList class that has only
    protected methods that take objects.
    To implement a generic Object version of this class you extend it and override the protected methods in
    the AbstractBaseList class to make them public.
    To implement a String list you extend the AbstractBaseList class and override the protected methods to
    make them public (but change the type of the parameters).
    The only problem with this approach is that the return types of the methods cannot be changed. Therefore
    I recommend the AbstractBaseList implement a method called
    protected Object getByIndex(int i) {
    // do list type stuff in here
    Then the ObjectList can implement
    public Object get(int i) {
    return super.getByIndex(i);
    and the StringList can implement
    public String get(int i) {
    return (String) super.getByIndex(i);
    In effect all you need to do is to implement wrapper classes that enforce type casting on the Object based
    set/get values.
    Another option is to use JDK1.5 with its generics classes. These effectivly allow you to specify which type of
    object an instance of a class accepts.
    Another question. What is the matter with the Collections classes provided in the JDK?
    matfud

Maybe you are looking for

  • Help needed in Document

    Hi, I have developed a feature in my project and i wanted to create document for that process. so that people who works in the feature they will understand before working on it. Please help me on showing any link to download the template for the docu

  • Print with Comments Summary Problem

    Every Pdf that we try to print with Comments and summary option will not print the graphics. The summary comments print fine but the corresponding graphics previews/prints as a empty box with a keyline. MAc OSX 10.4.6 Acrobat 8.1.4 Professional.

  • HT1918 Purchase Details?

    How do I find the details of purchases?  I keep clicking on "purchases" in the account area but it always says it is unavailable.  Any suggestions?

  • Calling ringtones from the application

    Hi guys. I am searching about to getting ring tones of iPhone for application. In other words, user can choose ringtone from iPhone Ringtone list. In order to do that, what do I need to use what class ? Do you have an example related this issue ? Ple

  • Link a CSV or TXT with Oracle Without loading it to Database

    Hi, Can we Link a CSV or TXT file with Oracle Without loading it to Database. Thanks & Regards, Rahul