Packed type in se11

Hi All,
I want to create one structure with packed type fields.Could anybody tell me how to define it.
Regards
Lalit

Hi Lali,
  U can try with Decimal fields.
Regards,
Sri

Similar Messages

  • How to differentiate a packing type for Finished goods based on which customer will be invoiced ?

    I need a little expertise
    The requirement for my organization is Certain Finish goods packing.
    Currently certain, Finished goods packaging items when send to Customer, is charged for the packaging items like Pallets , Q- Bit Boxes.
    There will be a deposit fee which will appear on the customer invoice.
    Moving forward they want to eliminate that deposit fee, from the customer invoice for a few of the packaging types.. (For example Pallet we would still charge the customer the same way AS_IS today but for another pack type Q-BIT boxes customer should not be charged as a deposit fee for returing the pack type.)
    From Materials management perspective… At the time of order entry how do we differentiate a particular pack type so that for that a particular Pack type customer is not charged anything…
    2 options I am thinking is introduce a new characteristics in Classification view for PK type.. Upon entering the order the User exit will check the characteristic in material master and customer invoice won’t be charged for the Packing item if Pack type = Q Bit..
    Other one is  From the  Alternate Unit of Measure translation to Common Unit of measure / Sales Unit of measure.
    Which one would you recommend ?
    Pls advise.

    Hi Joe,
    What I was suggesting was to have different material codes per pack size. If this is done, you will not need to modify anything, other than maintain condition types for the correct material codes.
    In case you are leaning towards the classification approach, I will suggest having a custom calculation type added to include  RV64ANNN with a check of the characteristic on a custom table. In this table, maintain the pack sizes with should be charged. The logic should turn  XKOMV-KBETR = 0 if the pack size is not found in the table.

  • @ Decimal Places in Packed Type Variable

    How to check if a packed type variable has decimal placed or not?

    Hi,
    Try to use the statement DESCRIBE. See the help to understand the usage. The syntax is:
    DESCRIBE FIELD <field> DECIMALS <dec>.
    This will show the number of decimals place.
    Then, you can use a condition to test.
    Regards
    RP

  • Packed type

    Hi experts
           I am using this field  
           bdmng LIKE resb-bdmng,          *  0.010
           iamng LIKE afpo-iamng,            * 150
          it_final-iamng = it_final-bdmng / it_final-psmng.
           when i do calculations in program the result of iamng
            is supposed to  6.66667E-05, but it assigns iamng = 0.
           but iamng takes Zero, i don't know why, is this problem with packed type.
           how to solve this problem and declare this decimal places.
          Thanks in advance.
    Regards
    Rajaram

    no collect is working for some data with quan field ,
    but some of the cases it is not working, i don't know why.
    see this error description.
    An exception occurred. This exception will be dealt with in more detail               
    below. The exception, assigned to the class 'CX_SY_ARITHMETIC_OVERFLOW', was          
      not caught, which                                                                    
      led to a runtime error. The reason for this exception is:                            
    The COLLECT statement stores totals in the internal table                             
      "\PROGRAM=Z_PGM\DATA=IT_FINAL[]",                                                    
    but the values are too large for the type P field intended to store them              
    The name of the field is "BDMNG".

  • Is Apple Working on A Leopard "Service Pack" type update?

    I am sorry if this is a redundant post. Is anyone aware of whether or not Apple is working on a "Service Pack" type update for Leopard?

    Sorry, but no one here knows or can say (anyone who would know would be under nondisclosure). But experience shows that Apple is always working on improving their OS releases; that's why 10.4 is up to release 10, constant work in improvements. So I think we can be sure that Apple is working on fixes and improvements to 10.5 as well. When any update will appear is unknown, but as an example, the first update to 10.4 came out about three weeks after 10.4 first shipped.

  • Problem in packed type?

    Hi all,
    i have small problem,iam getting data  which should be check is it packed data or not for that how can i do it? please send different types off ways i can check.................
    my requirement is if the data is not a packed data then i have to catch the exception in try and catch method.
    note:useful ans will be rewarded
    regards,
    phani

    data:  w_pck type p decimals 2.
    data:  typ(2) type c.
    describe field w_pck type typ.
    if typ NE 'P'.
    message 'Not Packed type' type 'E'.
    endif.
    write:/ 'TYPE: ', typ.
    Reward if useful
    Regards
    Prax

  • Convert Char to Packed type

    Hi,
    I have a character variable which holds the value for eg as '1,234.56'
    Now i need to pass this value to an import parameter in a Function moudle .(But this parameter is of packed type).
    Now how can i convert  a character variable to a packed type ?
    Thanks!

    Hi,
    Try:
    CALL FUNCTION 'MOVE_CHAR_TO_NUM'
               EXPORTING
                 CHR             = LWA_INPUT_FILE-CRAMT
               IMPORTING
                 NUM             = NUM
               EXCEPTIONS
                 CONVT_NO_NUMBER = 1
                 CONVT_OVERFLOW  = 2
                 OTHERS          = 3.
    Thanks,
    Krishna

  • About packed type variable declaration

    Hello friends
                      I need a small info related to pack numbers.
    i'm declaring these things in routine creation .
    ok . suppose if i declared
    data: A type p decimals 8 value '1.1245678'.
    its taking tht value as 0.11245678. in this format .. i'm unable to get  this thing .. please help me out .

    try a comma instead of a dot.

  • Variable Decimal of Packed Type Variable: is this possible?

    Hi Experts,
    I'd like to ask if we can have a packed variable with the decimal declaration as variable also, like:
    DATA p_pack_var TYPE p DECIMALS g_var_decimal.
    The scenario is there is a field qamv-toleranzun which I want to be displayed like in the output in QP03. The display in QP03 has variable decimals according to the value in qamv-masseinhsw.
    So for example: qamv-masseinhsw = 3 and qamv-toleranzun is a floating type value, the output in QP03 is format with 3 decimals.
    Or if this is not possible, are there any approach to pass the value of the floating point variable to a decimal type variable with an indefinite decimal places.
    Please Help. Points will be rewarded for valid answers.
    Thanks!

    Is this what you want?
    searchComponents( Class a_class) {
    // browse components
    if (a_class.isInstance(component)) {
    // do something
    }

  • Data type in SE11

    Hi everyone, a simple question..
    In se11 I want to create a structure. But the "data type" zone is gray that I couldn't define types to each component. How could that be?
    Thanks a lot!

    hi,
    there is a pushbutton right above the coloumn 'Component type'. It is called Built-in type. Just click on it and you can add what you want to.
    hope this helps
    ec

  • Can't create Inbound Delivery for PO with Packing type material  -- HU

    Hi friends,
    I create a new packing material, and maintain packing material type. And then create a PO but I can't create an inbound delivery by VL31N.
    The error message:
    No item category exists (Table T184L EL VERP V )
    Message no. VL320
    Diagnosis
    There is no item category available in item category determination in the delivery (table T184L) for the following entries: EL VERP V
    I tried to add new item by SM30 with T184L, but still more errors. So it doesn't mean there are erros with delievery type determination.
    Any help?
    Thanks,
    Bruce
    Edited by: Bruce Hu on Jan 10, 2008 7:53 AM

    Hi Anil,
    Welcome to SCN for your first post. Did you check with your functional people about this.
    Regards,
    Madhu.

  • Entity type in se11

    can anyone explain me what is entity type in ABAP dicionary
    and ehat does this option means
    GOTO-->ATTRIBUTES FROM ENTITY TYPES
    what should i enter as entity type.

    Hi,
      An entity is a physical or abstract object (for example, Mr. Douglas, the "Sales Information System" project) that can be distinguished from other objects and for which information is to be stored. Entities are divided into entity types according to their properties.
    Each entity type is assigned attributes, which describe the entities of the entity type. The properties of entities are described by means of actual values for the attributes.
    An attribute consists of a name and a definition of the possible values for the attribute (for example, the attribute color with the values white, black, yellow, and so on). One or more attributes are labeled as key attributes. The values of the key attributes uniquely identify an entity within its entity type.
    Attributes define the possible properties for entities of an entity type.
    Attribute type
    The attribute type describes the function of an attribute (for example, whether an attribute is a key attribute).
    Defining attributes
    Attributes are either assigned directly to an entity type or transferred from the ABAP/4 Dictionary.
    Attributes that are assigned directly obtain their semantic and technical characteristics from a data element which is assigned to the attribute. Since the Data Modeler and the ABAP/4 Dictionary use the same data elements, data elements defined in the Data Modeler can be used later in the ABAP/4 Dictionary and vice versa.
    Attributes are transferred from the ABAP/4 Dictionary by assigning a table or view to an entity type. The fields of the table or view are transferred to the entity type as attributes and receive their semantic and technical characteristics from the data elements of the fields. Attributes transferred from the table or view are flagged in the Data Modeler. Assigning a view or table to an entity type establishes the connection between the Data Modeler and the ABAP/4 Dictionary.
    I hope this will give u an idea on the path.
    Regards.

  • How to print the value of a field of  type FLTP

    hi experts,
    pls tell me how to print the value of a field of  type FLTP. i.e in decimal format not in exponential format.
    thankyou.
    krishna

    Hi ,
    I dont think in Floating point u can able to go for the decimal point display as it is for the minimum precission display..
    Define the variable as the 'packed' type and then u can able to define the decimal point...
    Cheers,
    SImha.

  • How to create a line type in data dictionary

    How to create a line type in data dictionary?Please explain step by step?
    Thanks & Regads,
    Sairam

    Hi,
    the details abbout the line type.
    The line type of a table type can be defined by:
    o Specification of a type that already exists (data element,
    structure, table type, table, view) whose properties are then copie
    as properties of the defined table line.
    o Direct type input, where data type, number of positions, and, if
    required, decimal places, are entered directly.
    o Specification of a reference type.
    and SE11 and click on datatype and click on table type and enter the line type.
    Thanks
    Shiva

  • Size of packed field

    hi,
    what is the size of packed field

    Hi,
          By default packed size is 8 bytes, range of the packed data type is 1 to 16  bytes.
          If u didn't specify any thing in the declaration.  it occupies 8 bytes   ... Ex.  data num type p.
            If u want some then u can specify the bytes how many u want like below..
    Ex.  data num(2) type p.     Here It occupies only two bytes..
    Complete syntax of packed type is u should specify the decimals how many u want..
      data  num type p decimals 3.  ... That means  after integer it prints 3 decimals.   Ex  ouptut  2345.123
    Thanks and Regards,
    surya

Maybe you are looking for