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

SMARTFORMS AGAIN!!

Former Member
0 Likes
982

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
Read only

former_member632991
Active Contributor
0 Likes
949

Hi,

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

Regards,

Sonika

8 REPLIES 8
Read only

former_member632991
Active Contributor
0 Likes
950

Hi,

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

Regards,

Sonika

Read only

Former Member
0 Likes
949

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.

Read only

Former Member
0 Likes
949

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

Read only

Former Member
0 Likes
949

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 .

Read only

0 Likes
949

did u use any condition....

santhosh

Read only

Former Member
0 Likes
949

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??

Read only

Former Member
0 Likes
949

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

Read only

Former Member
0 Likes
949

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