Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Free structure except one field

0 Kudos
1,221

Hi everyone,

Do you have a simple solution to remove fields to the structure ?
Indeed, I have to remove a lot of field except one and I don't want to manage case by case.

Regards.

1 REPLY 1

Sandra_Rossi
Active Contributor
675

You mean a "DDIC structure"? You can remove several fields at a time.

Or do you mean "clear" all fields of a structured data objects except one? You can use the following (clear all fields from STRUC except CARRID):

struc = value #( let temp = struc in carrid = temp-carrid ).