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: 

Problem with smart form

Former Member
0 Kudos

Hi Experts,

I have a problem with smart form function call. It is going into an endless execution leading to an time_out dump. The code is as follows.

CALL FUNCTION '/1BCDWB/SF00000068'

EXPORTING

CONTROL_PARAMETERS = gv_cparam

OUTPUT_OPTIONS = gv_outop

USER_SETTINGS = 'X'

GV_NAME = wa_header-gv_name

GV_LOCT = wa_header-gv_loct

GV_PBAND = wA_header-gv_pband

GV_ACCNO = wa_header-gv_accno

GV_PFNO = wa_header-gv_pfno

gv_lop = wa_header-gv_lop

gv_abroad = wa_header-gv_abroad

gv_india = wa_header-gv_india

gv_noofdays = wa_header-gv_noofdays

gv_odc = wa_header-gv_odc

gv_sdate = wa_header-gv_sdate

gv_edate = wa_header-gv_edate

gv_totARR = wa_header-gv_totARR

gv_totREC = wa_header-gv_totREC

gv_totnet = wa_header-gv_totnet

GV_TOTDES = WA_HEADER-GV_TOTDES

IMPORTING

JOB_OUTPUT_OPTIONS = gv_tab_otf_data

TABLES

GI_DISPLAY = GI_Final

GI_INFO = GI_infoFinal.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Am able to enter into this fn. module.

The actual problem is located as follows.

Within this FM ther's another FM SSFCOMP_PROCESS_PAGES and within this theris a form cald process_pages and within this there is a method which is taking endless time to execute. What could b the solution???

Also my smart form layout is Landscape. Any probs with this??

Pls guide me..

TIA

4 REPLIES 4

naimesh_patel
Active Contributor
0 Kudos

How many pages are you expecting in the output generated by this Smartform?

If they are many, than you might have to run your program in background or narrow down the selection.

Regards,

Naimesh Patel

0 Kudos

Hi Naimesh,

Its just a 3 page Output. So i don think it'd be the problem.

0 Kudos

My actual Error is in this line.

Within form process_pages there is a form called as follows.

perform callback using docentry-callform docentry-callprog.

within this callback form there is a line as below.

perform (p_callprog) in program (p_callform).

The execution gets stuck up here.

Kindly guide me.

TIA.

0 Kudos

Hi,

I am having the same problem what did you do to get by this issue.

Best regards

Lisa M Simonsen