Skip to Content

Unable to retrieve Entity Types for MATERIAL

Hello All,

I have a custom scenario in MDG where I need to print an Adobe form for the change request. When I am using the method IF_USMD_MODEL_EXT~READ_ENTITY_DATA_ALL to read the entity types associated with MATERIAL, two of the entity types are not coming. Now, when I checked the config, those two entity types are set the Usage Type as 4 where as this method only reads the entity type with Usage Type 1. How do I fetch the missing entity types with usage type 4? Please let me know.

Regards,

Venkat

MDG Issue Code.JPG (16.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jul 25, 2013 at 03:43 PM

    Hi Venkat,

    The method IF_USMD_MODEL_EXT~READ_ENTITY_DATA_ALL should return the data of an Entity Type of type 1, and type-4 entities related to that entity type.

    what are the parameters you are passing to the method? Check to see if you have any filter in parameter IT_ENTITY_FILTER.


    I_FIELDNAME = Entity Type of type 1

    IF_ACTIVE = Set the indicator if you want only Active version

    I_CREQUEST = Change request number

    IT_ENTITY_FILTER = Leave this Blank.

    Hope it helps.

    Regards

    Kiran


    Add comment
    10|10000 characters needed characters exceeded