on 07-20-2011 1:26 PM
I am getting this Error analysis:
The following syntax error was found in the program /1BCDWB/SAPLSM00000212 :
"Field "VBRK-WAERK" is unknown. It is neither in one of the specified t"
"ables nor defined by a "DATA" statement. ."
" "
" "
The problem is, I am using a standard interface INVOICE_INTERFACE for a custom form. Why am I getting this error? Where in my form should I declare VBRK-WAERK for my program to work?
How did you solve this issue Eric?
I'm facing the same thing..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here are some troubleshooting steps that will help you isolate and fix this problem:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the form interface and see if reference fields for currency is defined.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric,
I am also getting the same error.
Please suggest what was the problem and how did you rectify this.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Search the Function module /1BCDWB/SAPLSM00000212 for VBRK-WAERS. Once you find it check its usage.
If its being used somewhere then declare it in the global definitions.
Its also possible that there might be program lines where VBRK-WAERS is being used. If it is so then it should also be in the input/output parameters of that program line.
Thanks,
Abhishek
Hallo!
I suppose that the interface definition is not correct. In training BC480 I leaerned that all used field/tables in formular must be defiened in the interface.... but in the sap-standard interface INVOICE_INTERFACE I can see only two parameters:
/1BCDWB/DOCPARAMS
BIL_PRT_COM
From my point of view here must stand all used fields/tables e.g VBDKR.
Have someone experiance with this?
Hi, thanks for your answers but it still doesn't solve my problem. Here's my setup:
I have a custom pdf-based form (adobe form). I am using standard print program SD_INVOICE_PRINT01 and interface INVOICE_INTERFACE. So in my form, I drag the Import of INVOICE_INTERFACE to the form context. And on checking that, I can see the fields.
Doing a syntax check on the form only gives warning about "this field has a conversion routine".
So why does it dump on runtime?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eric,
Check the import and export parameters.
Regards,
Madhu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
/1BCDWB/SAPLSM00000212 is look like function module name which might have got created at the time of creation o your customized smartform.
Here it looks like error is coming from your smartform and not from the program, do sysntex check in your program, you might have used VBRK-WAERK somehwere in program logic but forgot to pass the parameter in the program logic parameters or you moght not have even declared the variable in the smartform.
Regards,
UMang Mehta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.