sap-tutorials / abap-core-development

Tutorials to support various abap products and functions.
Creative Commons Attribution 4.0 International
20 stars 19 forks source link

Create an ABAP Database Table and Relevant ABAP Dictionary Objects #2534

Closed eamarce closed 2 weeks ago

eamarce commented 2 months ago

Tutorials: https://developers.sap.com/tutorials/abap-dev-create-table.html

Hi, there is something else I think I may have found for step 5, Julie, although please let me know if this makes sense for the declaration:

Screenshot 2024-09-23 at 16 45 41

I'm not sure if I am making something wrong:

"""key field bank_name : z_bankname###;"""

The code gave me an error -> Unexpected token "bank_name". Expected was ":"

Screenshot 2024-09-23 at 16 45 05

The two possibilities that worked for me were:

key bank_name : z_bank_name_999;

and

bank_name : z_bank_name_999;

The 'Creating data element' part worked well, though :)

I appreciate your help!

Best!

julieplummer20 commented 2 weeks ago

Hi Edgar, Thanks for getting in touch. You should always replace ### with either initials or a group number. I'm glad the rest worked well. Best wishes, Julie Plummer.