‎2022 May 06 5:38 PM
How to create an internal table with some specification like quantity,price,material
‎2022 May 06 5:42 PM
Thank you for visiting SAP Community to get answers to your questions.
Since you're asking a question here for the first time, I'd like to recommend you with the following steps so you can get the most out of your community membership:
I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.
I hope you find this advice useful, and we're happy to have you as part of SAP Community!
All the best,
-Alex
‎2022 May 06 5:43 PM
Like that?
TYPES: BEGIN OF ty_structure,
quantity TYPE decfloat16,
price TYPE decfloat16,
material TYPE matnr,
END OF ty_structure,
ty_table TYPE STANDARD TABLE OF ty_structure WITH EMPTY KEY.
DATA(itab) = VALUE ty_table( ( quantity = 1 price = 1 material = 'MAT1' )
( quantity = 2 price = 2 material = 'MAT2' ) ).