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 in smartform ( Points will be awarded )

Former Member
0 Likes
553

hi....

i get the following error when i paste the code mentioned below... i have a similar code in the else part for plant 1500 but that does not give this error.....

Field "IS_BIL_INVOICE-HD_GEN-BIL_NUMBER06" is unknown. It is neither in one of the specified tables nor defined by a "DATA" stat

the code.....

ELSEIF

ZWERKS = '1200'.

footertext11 = 'GST TIN - 08122608574 dt 15.06.06 '.

footertext12 = 'CST TIN - 08122608574 dt 15.06.06'.

footertext21 = 'I/We hereby certify that our registration certificate under the Rajasthan Value Added'.

footertext22 = 'Tax Act, 2003 is in force on the date on which the sale of the goods specified in this'.

footertext23 = 'Invoice is made by me/us and that the transaction of sale covered by this Invoice'.

footertext24 = 'has been effected by me/us in the regular course of my/our business.'.

footertext25 = ' '.

footertext26 = ' E. & O.E.'.

FOOT30 = 'Range: Pali II'.

*foot31 = 'Division: Jodhpur, Add: C-1-A, Panchwati Col Ratanda, Jodhpur HO'.

foot31 = f_31.

FOOT32 = 'Commissionerate: Jaipur II'.

Foot33 = 'PAN : AAACS5473J'.

FOOT34 = 'C.EX.REGD.NO: AAACS5473JXM001'.

FOOT35 = 'ECC NO: AAACS5473JXM001'.

*foot41 = 'AT Post Vavdi National Highway '.

*foot42 = 'Rajkot 360004'.

hi....

i get the following error when i paste the code mentioned below... i have a similar code in the else part for plant 1500 but that does not give this error.....

Field "IS_BIL_INVOICE-HD_GEN-BIL_NUMBER06" is unknown. It is neither in one of the specified tables nor defined by a "DATA" stat

the code.....

ELSEIF

ZWERKS = '1200'.

footertext11 = 'GST TIN - 08122608574 dt 15.06.06 '.

footertext12 = 'CST TIN - 08122608574 dt 15.06.06'.

footertext21 = 'I/We hereby certify that our registration certificate under the Rajasthan Value Added'.

footertext22 = 'Tax Act, 2003 is in force on the date on which the sale of the goods specified in this'.

footertext23 = 'Invoice is made by me/us and that the transaction of sale covered by this Invoice'.

footertext24 = 'has been effected by me/us in the regular course of my/our business.'.

footertext25 = ' '.

footertext26 = ' E. & O.E.'.

FOOT30 = 'Range: Pali II'.

*foot31 = 'Division: Jodhpur, Add: C-1-A, Panchwati Col Ratanda, Jodhpur HO'.

foot31 = f_31.

FOOT32 = 'Commissionerate: Jaipur II'.

Foot33 = 'PAN : AAACS5473J'.

FOOT34 = 'C.EX.REGD.NO: AAACS5473JXM001'.

FOOT35 = 'ECC NO: AAACS5473JXM001'.

*foot41 = 'AT Post Vavdi National Highway '.

*foot42 = 'Rajkot 360004'.

3 REPLIES 3
Read only

Former Member
0 Likes
507

Try declaring IS_BIL_INVOICE in the global definition.

Thanks,

Praveen.

Read only

Former Member
0 Likes
507

Declare this IS_BIL_INVOICE in the import parameters of the program lines

Read only

0 Likes
507

thnx for ur reply guys .....

i have defined IS_BIL_INVOICE-HD_GEN-BIL_NUMBER in the global decalaration .... the prob is i have a similar code in the else part for a different plant which runs fine.... since we have a new plant now we had to add it to the existing smartforms with just few words changed...but this gives an error

from the above code if i comment the following....

footertext11 = 'GST TIN - 08122608574 dt 15.06.06 '.

footertext12 = 'CST TIN - 08122608574 dt 15.06.06'.

then i get an error.. The text literal is longer than 255

characters. Check whether it ends correctly.

i have checked if the strings ends correctly n they do....can the error be because there are too many elseif part for diffetent plant.....