Skip to Content
0
Former Member
Oct 02, 2010 at 11:35 AM

Set a Variant in FPM Configuration

384 Views

Dear Experts,

We are facing problem while configuring the variant_2 in FPM.

In Component configuration we create a Variant_1 & Variant_2. Variant_1 calls the standard Requisition screen. The variant_2 has to call our customized configuration.

In Override_event_oif method of component controler we added the code to set the varaint_2 based on the role. In Set_variant method of class CL_FPM_OIF we get the dump. And that shows "variant_2 doesnot exist".

The following error text was processed in the system SED : Variant VARIANT_2 does not exist

The error occurred on the application server EQEREDEV_SED_00 and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: IF_FPM_OIF~SET_VARIANT of program CL_FPM_OIF====================CP

Method: PSTD8XCO8MBR6PMVM0GWSS95DYIQ of program /1BCWDY/8NPG7QYS0H52C1JQ3AP6==CP

Method: IWCI_IF_FPM_OIF_CONF_EXIT~OVERRIDE_EVENT_OIF of program /1BCWDY/8NPG7QYS0H52C1JQ3AP6==CP

Method: GET_UIBBS_FOR_EVENT of program /1BCWDY/8NPG6W1DC1UPCMIB0G1S==CP

Method: IWCI_IF_FPM_FLOORPLAN_COMP~GET_UIBBS_FOR_EVENT of program /1BCWDY/8NPG6W1DC1UPCMIB0G1S==CP

Method: IF_FPM_FLOORPLAN~GET_UIBBS_FOR_EVENT of program CL_FPM_OIF_INTERNAL===========CP

Method: GET_NEXT_UIBBS of program CL_FPM========================CP

Method: PROCESS_EVENT of program CL_FPM========================CP

Method: RUN_EVENT_LOOP of program CL_FPM========================CP

Method: IF_FPM~RAISE_EVENT of program CL_FPM========================CP

Whether it needs any configuration of variant? Can anyone give the suggestion regard this?

Thanks in advance,

Anita Vizhi Arasi B