cancel
Showing results for 
Search instead for 
Did you mean: 

Changes made in a view (GENERAL_DATA_VIEW) for travel resquest are affecting for Create Expense report too.

Former Member
0 Kudos

Hi Experts,

Component : FITE_VC_GENERAL_DATA .

I made some custom changes View : GENERAL_DATA_VIEW  for Travel request, but these changes are effecting in Create Expenses report screen also.

Can anyone sugesst how to control this.

Regards,

A.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ashok,

Even i have the same problem, please let me know if u find any solution.

I have the requirement to add few custom fields while Creating Travel request.

That changes i am doing with the enhancement in the standard webdynpro component (FITE_VC_GENERAL_DATA).

But the same enhancement changes are reflecting in Create Travel Expense also.

I want to restrict the changes to only Create Travel Request, But its getting effected to Create Travel Expense also.

Former Member
0 Kudos

Hi Ashok,

I found the solution.

Write the below code in wdmodify method of the view in post-exit, if u are doing enhancement.

DATA :   L_COMPONENTCONTROLLER_API   TYPE REF TO IF_WD_COMPONENT.

DATA  LR_CONTAINER TYPE REF TO CL_WD_UIELEMENT_CONTAINER.
            L_COMPONENTCONTROLLER_API = WD_COMP_CONTROLLER->WD_GET_API( ).
DATA T_CONFIG_KEY TYPE  WDY_CONFIG_KEY.


   CALL METHOD L_COMPONENTCONTROLLER_API->GET_CONFIGURATION_KEY
     RECEIVING
       CONFIG_KEY = T_CONFIG_KEY.

   IF T_CONFIG_KEY-CONFIG_ID = 'FITE_VC_GENERAL_DATA_REQUEST'.
    * Write the Required changes logic
   ENDIF.

Regards,

Nagarjun reddy

Answers (0)