Skip to Content
avatar image
Former Member

How to read CR specific data in SAP-MDGM in case of parallel processing scenario.

Hi All,


We have defined a Change Request(Z_MAT02) of MDG-M of business type 'MAT2' and declared as Active for 'Parallel Change Request Processing' .

Scenario :

Material No : 7000012345

Mentioned material has been locked in 2 CR for extension on different plant.


CR1: extension for Plant 'P1'

CR2: Extension for plant 'P2'

CR1 and CR2 are active and of same type = Z_MAT02.

Issue :

When in code we want to fetch CR specific data using

CALL METHOD io_model->read_entity_data_all(
i_fieldname = 'MATERIAL'
if_active = abap_false
i_crequest = l_crequest_id
et_data_entity = li_data_entity ).

in LI_DATA_ENTITY we get both PLANT (P1 & P2) even if we pass CR1 or CR2 in I_CREQUEST_ID.

Query : How to get CR specific data in code, i.e if we pass CR1 as request ID then only P1 should be populated in LI_DATA_ENTITY.

Challenge/Reason : On UI of CR1 we are getting validation error for P2 where as it doesn't exist in that CR.

Thanks in advance.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 19, 2017 at 09:19 AM

    Hi Saurabh,

    To read parallel change request use method read_char_value.

    Thanks and Regards,


    Add comment
    10|10000 characters needed characters exceeded