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

error while building fieldcatalog

Former Member
0 Likes
435

Hi Experts,

i've ben asked to convert the vertical lines in transaction CPB1 into horizontal lines.

i've been instructed to build a fieldcatalog as per user requirements. this fieldcatalog looks like this in debugger. i've passed six field values as following:

COL FIELD TABLE

POS[I(4)] NAME[C(30)] NAME[C(30)

1 PRZNR <GT_TABLE>

2 KTEXT <GT_TABLE>

3 14011/COVGS1 <GT_TABLE>

4 14011/HCCBL1 <GT_TABLE>

5 14011/MANVL1 <GT_TABLE>

6 14011/OTVGS1 <GT_TABLE>

7 14011/PMVPA1 <GT_TABLE>

8 14011/TCVGS1 <GT_TABLE>

9 OPPGCOM002 <GT_TABLE>

9 TOTAL <GT_TABLE>

REF REF_ COL

FIELD[C(30)] TABLE[C(30)] TEXT[C(400]

PRZNR KAEP_COAC Processing Code

KTEXT CBPT Description

WRGBTR KAEP_COAC 14011/COVGS1

WRGBTR KAEP_COAC 14011/HCCBL1

WRGBTR KAEP_COAC 14011/MANVL1

WRGBTR KAEP_COAC 14011/OTVGS1

WRGBTR KAEP_COAC 14011/PMVPA1

WRGBTR KAEP_COAC 14011/TCVGS1

WRGBTR KAEP_COAC OPPGCOM002

WRGBTR KAEP_COAC TOTAL

AFTER THIS THE NEXT CODE IT EXECUTES IS:

call method cl_alv_table_create=>create_dynamic_table

exporting

it_fieldcatalog = i_fieldcat

importing

ep_table = i_ptable.

ON EXECUTING THIS IT THROWS ERROR:

"The "/" character is reserved for identification o 6 14011/COVGS1

Message no. 0K000"

HOW SHOULD I HANDLE IT.

PLEASE HELP.

1 REPLY 1
Read only

Former Member
0 Likes
326

going by ur error may be u cannot use / in the text