Skip to Content
0
Former Member
Dec 07, 2011 at 07:31 AM

Smartform variable picking up random values

35 Views

Hi,

I have created a smart form where i have used a select statement to fetch data for a variable that i need to use in the where condition. For example:

select single * from table KNA1 into wa_kna1 where customer = gs_partner.

This gs_partner is of a type data element that is part of a structure. However at runtime this gs_partner is picking up some random value. Before the execution of my code its already filled with data. It is being used in the footer as well with the same select statement. So ultimately my smartform is it displaying the detailss of some random customer. I thought it could be a buffer memory issues so I logged out and logged in again. I also used the clear statemnt at the end of my code. Still I am getting the same value. How could this value be fetched randomly while designing the smartform? is there any way I can find out how and where this value is being filled