cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to capture CR request

Former Member
0 Kudos

Hi,

For Class CL_USMD_CR_GUIBB_GENERAL_DATA , i can succesfully able to capture CR number in GET_DATA method but i could not able to get any values in PROCESS_EVENT method.

I need to read a CR number value in PROCESS_EVENT method. Can i get a help?

Thanks

Vijay


Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Can you describe what you are trying to do with the CR number?

Former Member
0 Kudos

HI,

We need this CR number for certain activities after any action(PROcESS_event).

praveenkumar_kadi
Active Contributor
0 Kudos

Hi

Try to find if any part of the Process_Event method has a code to read the CR...If not you may need to enhance by reading CR info from application context like below -

       lo_context           TYPE REF TO if_usmd_app_context,

      lo_context->get_attributes(
     IMPORTING
       ev_crequest_id = lv_crequest_no ).

Thanks

Praveen

Former Member
0 Kudos

What would some of these certain activities be? I'm trying to see if you can accomplish what you need by a different technique than enhancing the PROCESS_EVENT method.

Former Member
0 Kudos

Hi Abdullah,


I have a scenario where when u press any button on UI(Say SUBMIT ), u should verify the CR number was created by him or not?.

To verify this i need a CR number.

Thanks

Vijay

Former Member
0 Kudos

The CR number is automatically generated. Why do you need to verify if were created? In any case, you should review the MDG API document to see how you can read CR fields and data.