cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform error Field L_date has no defined value

Former Member
0 Kudos

hi all,

I am working on a smartform. i am inporting a date field from print program. And i am using it in main window, within a text element.

I am getting a warning message saying "Field L_date has no defined value". After going through many similar threads in SDN i had put the variable in intialization tab in global definition.

But the error still exists.

Kindly help me in this regard.

Points will be rewarded.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ensure that u have kept the same field in the form interface

becoz form interface contains all the fields that are imported from se38 program.

Try to debug ur program to find the error

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for all the replies, i did all of these solutions provided , but it got solved by checking the pass by value check box in import parameter.

Former Member
0 Kudos

Hi,

1.Declare the L_date in global definition tab.

l_date type dats or c.

Global definitions--global data.

2.before using it in text element,Initialize by value like

l_date = sy-datum.

Regards,

Shiva Kumar.

Former Member
0 Kudos

hi

this message is coming due to field has not been initialize , give some initial value to it ,

but with having this message u can activate form it will not create any problem , just click Activate button , when this message comes again press Activate Button.

reward if helpful.