cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to retrieve Entity Types for MATERIAL

0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member705818
Participant
0 Kudos

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