I try to create an AMDP method that returns a single field that would be SNWD_COMPANY_NAME on the ABAP side. The documentation says only table types and elementary types can be returned.
SNWD_COMPANY_NAME is not elementary, it is CHAR 80, but I don't want to return the whole 19 field of SNWD_BPA, and the elementary type C
has a length of only 1.
How can I return a single row, single field of a table?
Could you please check following AMDP code?