cancel
Showing results for 
Search instead for 
Did you mean: 

Adding information in IT0105 (communication)

Former Member
0 Kudos

Helllo guys,

We have created a subtype for IT015 (communication). This subtype has a field which will be unique for all the employees. Whenever the subtype data for a particular employee has to be created, the system should randomly generate the next number and put it in the field automatically. I have used the exit 'EXIT_SAPFP50M_001'. Here I am generating the random number by creating the number range object and using the function module 'NUMBER_GET_NEXT'. Now I have the random number but I am not sure how to put it in the screen field. The export parameter in the user exit doesnot have an option to take this number and put it in the screen field. How can this be done?

Thanks,

Grego

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

In the same exit you will find the INNNN structure. here you can populate the values.

you may also want to use METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn and cl_hr_pnnnn_type_cast=>pnnnn_to_prelp

for the conversion.

Regards,

Umesh

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Umesh,

The solution worked. Thank you.

Former Member
0 Kudos

Hello Umesh,

Thanks for the reply. The INNNN parameter doesnot have a field where I can put my randomly generated number. How can this be implemented?

Former Member
0 Kudos

Hi,

you can add the field via PM01 enhance single screen tab.

First create the field in CI_ include.

Then add it to the respective place in 2000 screen.

Regards,

Dilek