Application Development 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: 

SMARTFORMS AGAIN!!

Former Member
0 Kudos

I HAVE CREATED A SMARTFORM WITH FORM N CODE SEPARATELY IN THE PRINT PROGRAM.I HAV TAKEN A TABLE N POPULATED IT WITH THE DATA IN THE PRINT PROGRAM(PP).AND I HAV DECLARED THAT TABLE IN THE TABLE INTERFACE IN THE FORM.WHEN I CALL THE FIELD FROM THE TABLE IN THE FORM IT IS NOT DISPLAYING THE DATA.LIKE IF I HAV EKPO-EBELP , IT IS DISPLAYING 5 0'S INSTEAD OF THE DATA.ANY SOLUTION FOR THIS??

THANKING U IN ANTICIPATION.

1 ACCEPTED SOLUTION

former_member632991
Active Contributor
0 Kudos

Hi,

try to Read that table in the initialization tab in the global definition.

Regards,

Sonika

8 REPLIES 8

former_member632991
Active Contributor
0 Kudos

Hi,

try to Read that table in the initialization tab in the global definition.

Regards,

Sonika

Former Member
0 Kudos

hi Sirisha,

First debug and check if your program is getting the value in the internal table. If it has proper values then check the table field names that you have used in the smartform. I think you are using a field that has some value (5) and this is the reason why you are getting that value in your final display.

Hope this helps.

Regards,

Richa.

Former Member
0 Kudos

u have to either use 'loop' or u have to create a 'table' to access the data from the internal table, if u have done that make sure u have not given text elements instead inserted program variables for ekpo-ebelp(it should be gray &EKPO-EBELP&). if even that is rite then check for the contents of ur internal table

santhosh

Former Member
0 Kudos

YA SANTOSH I HAV LOOPED AT THE INTERNAL TABLE N CHACK EVERYTHING.EVERYTHING SEEMS RIGHT.BUT THE DATA IS GETTING DISPLAYED IN THE OUTPUT LAYOUT .

0 Kudos

did u use any condition....

santhosh

Former Member
0 Kudos

SONIKA I HAV READ THE ITAB IN THE INITIALIZATION TAB N GOT THE VALUE INTO A VARIABLE BUT THE PROBLEM STILL EXISTS.....WAT TO DO NEXT??

Former Member
0 Kudos

NO I DID NOT USE ANY CONDITION.WAT CONDITIONS R TO B USED??

Former Member
0 Kudos

thank u all for the quick response.i hav solved the problem myself.thank one n all for the help.