abap_create text table and assign to the main table

12
Create text table and assign to the main table By Jayshree Santosh Mahajan, Cognizant This article elaborates how to create text table and assign this to the main table. Steps: 1. Go to the transaction code S11 and create th e main table. !. nter the short descri"tion, de li#ery class and $ata Browser%T able &i ew Maint. as shown  below

Upload: kiran

Post on 18-Feb-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 1/12

Create text table and assign to the main table

By Jayshree Santosh Mahajan, Cognizant

This article elaborates how to create text table and assign this to the main table.

Steps:

1.  Go to the transaction code S11 and create the main table.

!.  nter the short descri"tion, deli#ery class and $ata Browser%Table &iew Maint. as shown

 below

Page 2: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 2/12

'.  Go to the (ields tab and enter the re)*ired (ields with a""ro"riate data elements.

+.  Sa#e and acti#ate the table, below "o" *" will a""ear.

Page 3: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 3/12

.  Clic- contin*e and go to the technical settings .

.  Maintain the technical settings and sa#e.

Page 4: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 4/12

/.   0ow acti#ate the table.

Page 5: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 5/12

.  Similarly create the text table which sho*ld contain (ield with data element o( ty"e S234S,

a (ield to store the text and along with all the -ey (ields o( the main table.

5.   0ow add (oreign -ey (or the M40$T, S234S and $2TC6$ (ields.

Page 6: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 6/12

Note: 7oreign -ey can be added to the (ield which has data element. 6therwise below message

will a""ear at the stat*s bar.

18.  7oreign -ey (or M40$T 9

a.  2osition c*rsor on M40$T (ield and clic- (oreign -ey.

 b.  Below "o" *" will a""ear, clic- yes.

c.  Below screen will a""ear.

Page 7: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 7/12

d.  Clic- the co"y b*tton. Below message will a""ear at the stat*s bar.

11.  3e"eat the ste"s in ste" :18 (or the (ield S234S. The only di((erence will be the chec- table.

7or S234S chec- table will be T88!. J*st co"y the "ro"osal.

Page 8: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 8/12

 

1!.  7oreign -ey (or $2TC6$ (ield.

a.  2osition c*rsor on $2TC6$ (ield and clic- (oreign -ey. Blan- "ro"osal screen will a""ear.

nter the chec- table i.e. yo*r main table and clic- the Generate 2ro"osal.

Page 9: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 9/12

 b.  Below details will a""ear. J*st select the radio b*tton ;<ey (ields o( text table= and entercardinality 190.

Page 10: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 10/12

c.  2ress co"y b*tton. Below message will a""ear at the stat*s bar.

1'.  Sa#e and acti#ate the table. 0ow yo*r text table is assigned to the main table.

Output:

>n main table clic- goto ?@ Text table

Page 11: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 11/12

Below text table will a""ear 

Main table contents wo*ld loo- li-e

Page 12: ABAP_Create Text Table and Assign to the Main Table

7/23/2019 ABAP_Create Text Table and Assign to the Main Table

http://slidepdf.com/reader/full/abapcreate-text-table-and-assign-to-the-main-table 12/12

Note : Ae can assign only one text table to the main table.