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: 
Read only

Internal Table

0 Likes
706

How to create an internal table with some specification like quantity,price,material

2 REPLIES 2
Read only

AlexGourdet
Product and Topic Expert
Product and Topic Expert
0 Likes
646

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

Read only

Sandra_Rossi
Active Contributor
646

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' ) ).