Skip to Content
0
Former Member
Jul 03, 2009 at 09:53 AM

No travel schema available

162 Views

I already posted this question in the WD forum, but now it seems it's more about configuration, so I guess the correct one is this.

Travel schema dropdown is empty

The problem is the following:

In WD FITV_POWL_TRIPS, when starting the application, and choosing the second tab (travel requests) there is a clickable field per row, that allows to create or modify a request.

When you click on a "create" field a dropdown box appears on the left bottom of the screen to allow you to choose the adequate schema. Somehow, this dropdown box is empty, so it is impossible to continue from then on.

I've debugged the process and I've found out that three schemas are charged by FM PTRM_WEB_CUSTOMIZING_GET, but all three are discarded in a subsequent process. None of them gets through this condition:

( wd_assist->gs_common_rfc_input-trip_component IS INITIAL "Expense report mode ?		
  AND <lf_trip_schema>-t_schema NE cl_fitv_constants=>gc_trip_schema_planning "No planning/request trip schema ?	 
  AND <lf_trip_schema>-t_schema NE cl_fitv_constants=>gc_trip_schema_advances 							
) 
AND 
( <lf_trip_schema>-oth_exp IS INITIAL   " Schema valid for trips										
   OR ( lo_el_pending_trips IS NOT BOUND AND wd_this->schema_change IS INITIAL )    " No trip selected/schema change ?	
)
OR
( NOT wd_assist->gs_common_rfc_input-trip_component IS INITIAL "Request/Planning mode ?						
  AND <lf_trip_schema>-t_schema EQ cl_fitv_constants=>gc_trip_schema_planning "Is planning/Request trip schema ?	
).

I guess this is a configuration problem, since it's a standard WD.

Any hints?

Thank you in advance.

The conclusion I've come to is that it is about one of these three things:

One of the last two conditions should be fulfilled, and that can only happen if:

- <lf_trip_schema>-oth_exp is initial. How do I deselect the option "other expenses" in a travel schema?

or

- wd_this->schema_change is initial That is retrieved by FM PTRA_WEB_SCHEMA_CHANGE_CHECK, and I don't know the meaning, but if I delete the value while debugging I get an error, so I guess this is Ok

or

- wd_assist->gs_common_rfc_input-trip_component is not initial Not sure about this

I've confirmed that if I uncheck the possibility of overlapping travels, oth_exp (other expenses) comes empty, but I am told I can't uncheck this. So, how do I manage to solve this?

Thank you in advance...