Skip to content

/AWS1/CL_FDT=>UPDATELIST()

About UpdateList

Updates a list.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/FDTNODASHIDENTIFIER /AWS1/FDTNODASHIDENTIFIER

The name of the list to update.

Optional arguments:

IT_ELEMENTS TYPE /AWS1/CL_FDTELEMENTSLIST_W=>TT_ELEMENTSLIST TT_ELEMENTSLIST

One or more list elements to add or replace. If you are providing the elements, make sure to specify the updateMode to use.

If you are deleting all elements from the list, use REPLACE for the updateMode and provide an empty list (0 elements).

IV_DESCRIPTION TYPE /AWS1/FDTDESCRIPTION /AWS1/FDTDESCRIPTION

The new description.

IV_UPDATEMODE TYPE /AWS1/FDTLISTUPDATEMODE /AWS1/FDTLISTUPDATEMODE

The update mode (type).

  • Use APPEND if you are adding elements to the list.

  • Use REPLACE if you replacing existing elements in the list.

  • Use REMOVE if you are removing elements from the list.

IV_VARIABLETYPE TYPE /AWS1/FDTVARIABLETYPE /AWS1/FDTVARIABLETYPE

The variable type you want to assign to the list.

You cannot update a variable type of a list that already has a variable type assigned to it. You can assign a variable type to a list only if the list does not already have a variable type.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FDTUPDATELISTRESULT /AWS1/CL_FDTUPDATELISTRESULT