cancel
Showing results for 
Search instead for 
Did you mean: 

Internal generated number not getting replaced after CR final check approved in Custom data model

former_member383149
Discoverer
0 Kudos

We have created a custom data model with Reuse mode. Assigned internal number range object to type 1 entity for temporary number.

I have implemented the code to map with generated actual number with temporary internal number range in SAVE method. After activation, CR is getting final check approved but the new generated internal number is not getting replaced with temporary number on CR screen. Can any body help me on this issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Harish,

First you need to create data reference for mapping table

by calling method create_data_reference method of model class and pass your entity name and i_strucy name as io_model->gc_struct_tmp_key_map.

now to this structure you have to pass the temporary key and final key and pass this to et_tmp_key_map.