cancel
Showing results for 
Search instead for 
Did you mean: 

Hi All, how to aasign my samrform

Former Member
0 Kudos

how to assign my smartform for quotation in output types AN00.

i did that but gives error message write_form,open_form.

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

hi,

try this below code

DATA: funcname TYPE rs38l_fnam.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = 'ZFIAR_RECEIPT3' (smartform name)

IMPORTING

fm_name = funcname.

CALL FUNCTION funcname

EXPORTING

l_yymmdd = p_date

TABLES

i_final_data = i_final_data. (internal table)

I hope this is helpful you

Regards

Bhupal

Former Member
0 Kudos

Hi,

Go to NACE , select an application and check whether it is configured or not for an message type or an output type.

for configuration we need 3 main parameters

Program ZSDD

Form Routine ENTRY

Form ZSD_script

In program, write an perform entry,

PERFORM entry USING sy-subrc 'X'.

FORM entry USING return_code TYPE i

us_screen TYPE c.

CLEAR retcode.

gv_xscreen = us_screen.

INCLUDE rvadopfo.

IF retcode NE 0.

return_code = 1.

ELSE.

return_code = 0.

ENDIF.

ENDFORM. "ENTRY

in include RVADOPFO, they are doing open form. But for that we need to populate NACE and TNAPR table.

Former Member
0 Kudos

Hi,

Then in your report search for FM:SSF_FUNCTION_MODULE_NAME and check for FM under it...

What is that write_form and all?

Former Member
0 Kudos

Hi,

Then do one thing...execute smartform and check first...

Former Member
0 Kudos

it executes. it gives output correctly. when assign to output types it will give error.

Former Member
0 Kudos

hi,

if its giving the error open_form and write_form, it cant be pertaining to asmartform. A script has been configured for your application. Check that.

Nayan

Former Member
0 Kudos

Hi,

As per the first mail specify ur report program name under print program in nace...

Former Member
0 Kudos

i did that.but i can't get that smartform in output.it gives error write_form and open_form doesn't exit.

Former Member
0 Kudos

Hi,

Are you using the standard report or is it a custom report??

Thanks

Nayan

Former Member
0 Kudos

which report can i use? i write one repot in se 38. plz tell how can i assign program either standard or custom report?

former_member195383
Active Contributor
0 Kudos

Hi,

Go to

nace --> select one application ---> click on output types -> select output types->click on processing routines--->give the name of print program, and smartform.

Reward points...if its useful...

Regards

Rudra