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

BDC '=P+' Error

Former Member
0 Likes
1,222

Hi,

I'm doing a recording in CJ02.

I've a BDC OKCODE is for page down with '=P+' in my recording. However, when I write this in my program line, even everything is correct, it shows me the error:

Field "'=P" is unknown. It's neither in one of the specifiend tables nor defined by a "DATA" statement.

My BDC code is:

PERFORM bdc_field USING 'BDC_OKCODE' '=P+'.

Hope some one can help. I really no idea of why thi error come out.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
830

Hi,

Instead of BDC you can try using the BAPI

For Project creation BAPI_PROJECTDEF_CREATE

For Project Upadate BAPI_PROJECTDEF_UPDATE

To create WBS Element you can use BAPI_PROJECT_MAINTAIN

Thus by using the BAPI you avoid the scrolling erro that you get now.

Hope this helps.

5 REPLIES 5
Read only

Former Member
0 Likes
830

Hi Irene,

Try using 'P+' for page down.

Regards,

Swapna.

Read only

Former Member
0 Likes
831

Hi,

Instead of BDC you can try using the BAPI

For Project creation BAPI_PROJECTDEF_CREATE

For Project Upadate BAPI_PROJECTDEF_UPDATE

To create WBS Element you can use BAPI_PROJECT_MAINTAIN

Thus by using the BAPI you avoid the scrolling erro that you get now.

Hope this helps.

Read only

Former Member
0 Likes
830

Hi,

Comment the line and once again write the code ( Dont copy and paste, type maunally) .

Remove the Single codes and rewrite the single codes.

type this.....

PERFORM bdc_field USING 'BDC_OKCODE' '=P+'.

Thanks,

Durai.V

Read only

Former Member
0 Likes
830

Hi,

I think the problem will be with the single quote in statement '=P+'...

Try to delete and type them again.

With Regards,

Dwarakanath.S

Read only

Former Member
0 Likes
830

I tried to copy and paste the same BDC page down code from the forum and it works now.

I think the quotation marks caused the problem. Besides, I was type the code manually without any copy paste but error comes out.

Anyway, it's ok now. Thanks for all the replies.