Skip to Content

characterstics value equipment master

Hi guys in ie03 , when we go to classes info, i see a calue contract end date and a val associated with it, this is a characterstics, please tell me how to determine it at runtime ? I need to include this in a custom program


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 10, 2007 at 11:14 PM

    Hi Sameer,

    To get the Characteristic Values of Equipment number you need to use 2 Function modules.



    This is the sample code to get the characteristic values for Material.

    REPORT  ztemp.
    DATA: i_alloc_list   TYPE STANDARD TABLE OF bapi1003_alloc_list,
          i_return       TYPE STANDARD TABLE OF bapiret2,
          i_chars        TYPE STANDARD TABLE OF bapi_char,
          i_char_values  TYPE STANDARD TABLE OF bapi_char_values,
          wa_alloc_list  TYPE bapi1003_alloc_list,
          wa_char_values TYPE bapi_char_values,
          g_objectkey    TYPE bapi1003_key-object.
        objectkey_imp   = 'XX01726138-206'
        objecttable_imp = 'MARA'
        classtype_imp   = 'Z01'
        alloclist       = i_alloc_list
        return          = i_return.
    LOOP AT i_alloc_list INTO wa_alloc_list.
          classnum        = wa_alloc_list-classnum
          classtype       = 'Z01'
          characteristics = i_chars
          char_values     = i_char_values.
      LOOP AT i_char_values INTO wa_char_values.
        WRITE: / 'Characteristic:', 20 wa_char_values-name_char,
                 40 'Value:', 50 wa_char_values-char_value.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 30, 2008 at 11:41 PM

    Thanks Satish

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.