cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Saving task - class cl_dpr_task_o method get_data_ext

Former Member
0 Kudos
261

Hi experts.

Had anyone such bug: developer trying to use class cl_dpr_task_o and method get_data_ext for read user status.

Structure return name of user status (STATTXT), but does not return code of status (STSMA).

Is it bug or not?

BR, Alexey.

Accepted Solutions (1)

Accepted Solutions (1)

former_member201206
Active Contributor
0 Kudos

Hi Alexey,

standard does not uses this method to get the two fields. You can try with

Class CL_DPR_TASK_O

methods:

IF_DPR_STATUS_ELEMENT~GET_STATUS

IF_DPR_STATUS_ELEMENT~GET_STATUS_PROFILE

Kind regards,

Zhenbo

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you collegues!

francesco_pezzoli
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Alexey,

Other than the option suggested by Zhenbo, another possibility is to use function module DPR_TASK_GET_DETAILS_DB, which also returns the details for a task (including user status).

Best regards
Francesco