Home > SAP FAQs > SearchSAP.com expert FAQ > SearchSAP.com FAQs > SAP ABAP FAQ > SAP ABAP FAQ > How do I create arrays in ABAP?
FAQs: SearchSAP.com expert FAQ:
EMAIL THIS
 START   SEARCHSAP.COM FAQS   
SearchSAP.com FAQs


SAP ABAP FAQ
<< PREVIOUS | NEXT >>: Can JCo create an ABAP report in SAP?

How do I create arrays in ABAP?

Matthew Billingham EXPERT RESPONSE FROM: Matthew Billingham

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 21 August 2006
How can I create a two-dimensional array in ABAP?

>
EXPERT RESPONSE
ABAP does not use an array concept, but anything you would do with a multidimensional array, you can do with ABAP.

The internal table is like a one-dimensional array of records. For two dimensions, you have a number of choices. You can put the second dimension as another key field. You can use nested tables -- where a field of the record is in a table itself. And if you really want to, you can create dynamic tables -- where the number of fields in a record isn't determined until run time.

Rather than look at the question of how to create a two-dimensional array in ABAP, the question you should be addressing is "How can I solve this business/data problem?" It is a mistake to apply the concepts of one programming language directly to another. A wider view gives better solutions.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


<< PREVIOUS | NEXT >>: Can JCo create an ABAP report in SAP?
VIEW ALL IN THIS CATEGORY

RELATED CONTENT
Application development
Is there a 'load of program' option in report generation?
Deleting entries from a dynamic table
Defining a structure in a report
Validating table fields
The difference between field groups and internal tables
Unicode check error fix
Creating a screen for grid display
Migrating test programs from ECC 4.6 to 6.0
Creating a field exit for a data element
Methods for uploading SAP data

SAP ABAP FAQ
Should an ABAP professional know Java?
What are some ABAP development resources?
Will Java replace ABAP in the future?
How can we manipulate an Excel report through ABAP?
Is Web Dynpro for both Java and ABAP?
How do I avoid running ABAP programs more than once?
Can JCo create an ABAP report in SAP?
Will Java be coded into ABAP?
How do I run ABAP programs through a Java-based interface?

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsBlogsTipsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts