This papers describes how a construction descriptions of a tabular array or construction in the ABAP Dictionary is converted to a high degree Language such as COBOL, C, RPG and PL/1. If a individual wants to cognize the construction of a tabular array in COBOL or C, we can utilize this Table Description Generator.
Table Description Generator generates Structure Description for Higher-Level Programming Language. It generates construction descriptions of tabular arraies or constructions from the ABAP/4 Dictionary in a higher-level scheduling linguistic communication.
Depending on the input informations, the plan generates construction descriptions from the ABAP/4 Dictionary. Those informations will be displayed on the screen ; it can besides be written to a file of the operating system if a file name or a theoretical account for the file name is specified. The set of tabular arraies to be processed can be defined by come ining a tabular array name, by stipulating a bid file name which is so searched for table names or by stipulating an identifier in table TSRCG.
Stairss to Generate a Structure Description for Higher Degree Language
To Generate a Data Structure, proceed as follows:
Travel to Transaction O020 or From Standard SAP Workbench – Choose SAP Menu i‚®iˆ Tools i‚® ABAP Workbench Click on the node Development and so ABAP Dictionary ( T Code SE11 ) .
In the ABAP Dictionaryi‚® Utilities and so Table Description Generator
A choice screen appears as below
Stipulate the scheduling linguistic communication in which the construction should be generated.
Identify the tabular arraies to be included.
Under Table Selection, we can specify the tabular arraies or constructions for which a construction description should be generated.
The significance of an empty choice status is different here from the criterion ( full choice without limitations ) ; it assumes that the tabular arraies are specified with a bid file or with an entry in table TSRCG.
If we want to bring forth the construction descriptions for all the tabular arraies of a conveyance petition, we need to come in the Request Number in bid file field.
We can come in tabular arraies for which construction descriptions should be generated in table TSRCG. These tabular arraies can be combined into groups. This is done with a group identifier which forms the key of table TSRCG together with the tabular array name.
Under Output, stipulate the Path/Location with file name in which the construction descriptions should be written.
If the Path/Location is non defined, the construction descriptions are merely displayed in the criterion end product screen. Note: Make sure that the file name is non excessively long ( depending on the operating system used ) .
If we want to bring forth construction descriptions for more figure of tabular arraies, we can acquire the construction description for each tabular array in a separate file.
We must specify the Path/Location with file name generically in this instance.
The first & A ; in the specified name is replaced by the tabular array name in small letter and the first * with the tabular array name in capital. For illustration, Structure descriptions are to be generated for tabular arraies VBAK and VBAP. If you define the file name D.UNI. * , the end product files D.UNI.VBAK and D.UNI.VBAP are generated. If you define d.uni. & A ; , the end product files are d.uni.vbak and d.uni.vbap.
Local file system – This flag defines whether the end product file is written to the local file system ( front terminal host ) or cardinal file system ( application server ) .
In ABAP, the storage country for certain informations types starts at even-numbered byte bounds or at byte bounds divisible by 4 or 8.Consequently, it is sometimes necessary to go forth spreads ( or “ alliances ” ) between two Fieldss of a work country. If the flag is set, dummy Fieldss are generated for these spreads. The description that is generated screens a uninterrupted storage country.
Press F8 or Click ‘ Execute ‘ Button
The Structure Description for ‘ MAKT ‘ tabular array in COBOL linguistic communication is been generated.
If file name is non defined so, Choose System i‚® List i‚® salvage i‚® File to download the information construction to your workstation or Personal computer.
We can integrate these informations constructions in transition plan.
For most of the SAP informations reassign standard plans, SAP has besides provided particular informations construction identifiers. With such an identifier, you can bring forth a listing of all of the tabular array Fieldss that are required by the informations transportation plan. You manage these plans in the Data Transfer Workbench. If you have generated your ain plan to reassign informations from an external file, the SAP information construction definition that you require is stored in the information declaration subdivision of the plan.
Conversion Programs in ABAP
If your transition plan is written in ABAP, you can utilize the information from the ABAP Dictionary straight to enter the information construction of your tabular arraies. The in writing below shows the constructions of transition plans in ABAP and as external plans written in other linguistic communications.
Including Table Structures in Conversion Programs: ABAP and Other Languages
hypertext transfer protocol: //forums.sdn.sap.com/message.jspa? messageID=5800863
hypertext transfer protocol: //forums.sdn.sap.com/thread.jspa? threadID=846308
hypertext transfer protocol: //forums.sdn.sap.com/thread.jspa? threadID=1838628
hypertext transfer protocol: //forums.sdn.sap.com/thread.jspa? threadID=13751
A© Copyright 2010 SAP AG. All rights reserved.
No portion of this publication may be reproduced or transmitted in any signifier or for any intent without the express permission of SAP AG. The information contained herein may be changed without anterior notice.
Some package merchandises marketed by SAP AG and its distributers contain proprietary package constituents of other package sellers.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered hallmarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System I, System i5, System P, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+ , POWER6, POWER5+ , POWER5, POWER, Open Power, Power PC, Batch Pipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Red books, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, Web Sphere, Netfinity, Tivoli and Informix are hallmarks or registered hallmarks of IBM Corporation.
Linux is the registered hallmark of Linus Torvalds in the U.S. and other states.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either hallmarks or registered hallmarks of Adobe Systems Incorporated in the United States and/or other states.
Prophet is a registered hallmark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered hallmarks of the Open Group.
Citrix, ICA, Program Neighborhood, Meta Frame, Win Frame, Video Frame, and MultiWin are hallmarks or registered hallmarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are hallmarks or registered hallmarks of W3CA® , World Wide Web Consortium, Massachusetts Institute of Technology.
Java is a registered hallmark of Sun Microsystems, Inc.
SAP, R/3, SAP Net Weaver, Duet, Partner Edge, By Design, SAP Business By Design, and other SAP merchandises and services mentioned herein every bit good as their several Sons are hallmarks or registered hallmarks of SAP AG in Germany and other states.
Business Objects and the Business Objects logo, Business Objects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects merchandises and services mentioned herein every bit good as their several Sons are hallmarks or registered hallmarks of Business Objects S.A. in the United States and in other states. Business Objects is an SAP company.
All other merchandise and service names mentioned are the hallmarks of their several companies. Datas contained in this papers serves informational intents merely. National merchandise specifications may change.
These stuffs are capable to alter without notice. These stuffs are provided by SAP AG and its attached companies ( “ SAP Group ” ) for informational intents merely, without representation or guarantee of any sort, and SAP Group shall non be apt for mistakes or skips with regard to the stuffs. The lone guarantees for SAP Group merchandises and services are those that are set Forth in the express guarantee statements attach toing such merchandises and services, if any. Nothing herein should be construed as representing an extra guarantee.