cancel
Showing results for 
Search instead for 
Did you mean: 

Disable Field in My Trips and Expenses

former_member215786
Participant
0 Kudos

Dear Experts.

I have the following requirement:

In the application My Trips and Expenses, when the status of the travel have status 4 the fields have that appeear disabled.

I am using the following code: But the field not appear disabled.

I created an enhancement in the method POST-EXIT for the following Methods, for the component FITE_VC_GENERAL_DATA.

num_viaje = wd_assist->gs_common_rfc_input-trip_number.
SELECT SINGLE * FROM PTRV_PERIO into wa_PTRV_PERIO WHERE REINR = num_viaje
                                                    AND ANTRG = '4'.

cl_fitv_wd_util=>ui_set_read_only( iv_id = 'DATEDEP' iv_enabled =  abap_false .

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Please check if the field you have to disable is attached to DATEDEP.

I think it should be attached by STATUS.

regards

Yuval

Answers (1)

Answers (1)

former_member215786
Participant
0 Kudos

Thanks I can solve the issue. How can close this post and give points?

I dont know

Former Member
0 Kudos

Hi

Just mark my answer as Correct Answer.

regards

yuval