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

Field type 'P'

Former Member
0 Likes
1,289

Hi frds

While checking(Ctrl+F3) my report, i am getting these Error message which given below.

ERROR:

FIELD TYPE 'P' DOES NOT PERMIT A SUB-FIELD ACCESS

Can anyone tell how to resplve these problem.

Thanks

Pari

Hi frds

While checking(Ctrl+F3) my report, i am getting these Error message which given below.

ERROR:

FIELD TYPE 'P' DOES NOT PERMIT A SUB-FIELD ACCESS

Can anyone tell how to resplve these problem.

Thanks

Pari

3 REPLIES 3
Read only

Former Member
0 Likes
869

Hi,

Just check the declaration of the filed and value you are passing.

Normally : data: lv_field(8) TYPE p decimals 3.

It will accomdate 8 places before decimal.

Check in which statement it is giving error. If possible place the statement to look further.

Thanks

Chandra

Read only

matt
Active Contributor
0 Likes
869

It's be easier to diagnose if you'd posted the offending piece of code... but here goes.

I guess you've got a field defined as type p, and you've got p-component or something like that. Or perhaps you're trying to do some string slicing. my_p+2(3). Or suchlike.

matt

Read only

Former Member
0 Likes
869

if u put your code so can easily find this error