Start of Content Area

Syntax documentationset_flavor  Locate the document in its SAP Library structure

You can only use this method within event handling for the ONGETFLAVOR event. Use the newflavor parameter to determine the flavor that you want to use in the drag and drop operation. You receive a list of available flavors as an event parameter.

CALL METHOD dragdropobject->set_flavor
     EXPORTING newflavor = newflavor
     EXCEPTIONS illegal_state  = 1
                illegal_flavor = 2.

Parameters

Description

newflavor

Name of the flavor

Exceptions

Description

invalid_state

You did not call the method from within event handling for ONGETFLAVOR .

obj_invalid

You used a flavor that is not supported by the current drag and drop situation.