‎2008 Aug 11 5:26 AM
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.
‎2008 Aug 11 5:39 AM
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.
‎2008 Aug 11 5:34 AM
‎2008 Aug 11 5:39 AM
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.
‎2008 Aug 11 5:39 AM
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
‎2008 Aug 11 5:46 AM
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
‎2008 Aug 11 5:56 AM
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.