‎2019 Nov 26 10:08 AM
Eclipse 2019-09 R (4.13.0),
ABAP Core Development Tools 3.6.2,
SAP_ABA 750/010
I have this code:
INSERT VALUE #( bname = sap_data_record->bname
sap_gltgv = REF #( sap_data_record->gltgv )
sap_gltgb = REF #( sap_data_record->gltgb )
ad_gltgv = REF #( ad_data_record->gltgv )
ad_gltgb = REF #( ad_data_record->gltgb )
ccode = REF #( ad_data_record->ccode )
is_internal = REF #( ad_data_record->is_internal )
sap_roles = REF #( sap_data_record->roles )
ad_roles = expand_ad_roles( ad_data_record->roles )
) INTO TABLE user_data.
I choose create method (to create expand_ad_roles ). The wizard pops up, I adjust the parameter names to
IMPORTING imp_ad_roles.
RETURNING value (ret_result)
and click on finish.
One minor issue is that ret_result is typed in the method definition as ANY. But the bigger issue is that the field name in my statement disappears!
INSERT VALUE #( bname = sap_data_record->bname
sap_gltgv = REF #( sap_data_record->gltgv )
sap_gltgb = REF #( sap_data_record->gltgb )
ad_gltgv = REF #( ad_data_record->gltgv )
ad_gltgb = REF #( ad_data_record->gltgb )
ccode = REF #( ad_data_record->ccode )
is_internal = REF #( ad_data_record->is_internal )
sap_roles = REF #( sap_data_record->roles )
expand_ad_roles( ad_data_record->roles )
) INTO TABLE user_data.
Easy to fix, but shouldn't be happening. Couldn't find an applicable note in support.sap.com
‎2019 Dec 03 8:42 AM
Hi Matthew,
could you please raise a ticket to get this issue solved.
Regards,
Michael
‎2019 Dec 03 12:03 PM
I don't have a access to an S account connected to the system this is occurring on. I'll see if I can duplicate it on a different system.