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

smartform in EFRM

Former Member
0 Likes
1,228

Hello,

I have a custom Form Application that is used for printing some contracts.

The Smartform linked to this Form Application (EFRM T-code) contains only the declarations and an empty MAIN page.

My task is to change the text that is printed but since the smartform for this Application Form is empty I don't know where to find the real smartform.

Can someone tell me where/how should I search for the text that is printed, since the smartform I can see, does not contain anything

Thank you.

Hello,

I have a custom Form Application that is used for printing some contracts.

The Smartform linked to this Form Application (EFRM T-code) contains only the declarations and an empty MAIN page.

My task is to change the text that is printed but since the smartform for this Application Form is empty I don't know where to find the real smartform.

Can someone tell me where/how should I search for the text that is printed, since the smartform I can see, does not contain anything

Thank you.

2 REPLIES 2
Read only

Former Member
0 Likes
821

Have you checked the associated exits with your application form? In EFRM, give your application form name and then select subobject "User exit include" option. Normally data selection and assignments are done within these exits. The "generated function module" option can also give you clues about where exactly texts are handled.

Read only

0 Likes
821

This is the code used for printing the smartform.

L_func gets the correct value.

<WA_DUNN_HEAD> - contains the data variables

all the G* variables are empty.

I could not find any variable that holds the text to be printed.

Since the actual SMARTFORM contains an empty MAIN, I guess the text to be printed has to be contained in one of the variables listed bellow or something....

Ideas?

call function l_func

exporting

archive_index = c-archive_index

archive_parameters = c-archive_params

pwb_data = <WA_DUNN_HEAD>

ISU_CA_DUNNING_STR_DUNN_HEAD = <WA_DUNN_HEAD>

c = c-_strn_printdata

GT_F0010 = GT_F0010

GS_F0010 = GS_F0010

GT_F0011 = GT_F0011

GS_F0011 = GS_F0011

GT_F0020 = GT_F0020

GS_F0020 = GS_F0020

GT_F0030 = GT_F0030

GS_F0030 = GS_F0030

GT_F0050 = GT_F0050

GS_F0050 = GS_F0050

GT_F0060 = GT_F0060

GS_F0060 = GS_F0060

GT_F0100 = GT_F0100

GS_F0100 = GS_F0100

GT_F0099 = GT_F0099

GS_F0099 = GS_F0099

GT_F1010 = GT_F1010

GS_F1010 = GS_F1010

GT_F1050 = GT_F1050

GS_F1050 = GS_F1050

GT_F1055 = GT_F1055

GS_F1055 = GS_F1055

GT_F0025 = GT_F0025

GS_F0025 = GS_F0025

GV_DOD_ZZREFERE = GV_DOD_ZZREFERE

GV_ZZREFERE = GV_ZZREFERE

GV_ZZOBCHKAN = GV_ZZOBCHKAN

GV_KOFIZ = GV_KOFIZ

GV_KOFIZ_SD = GV_KOFIZ_SD

IT_CONTRACT = IT_CONTRACT

GV_STACK = GV_STACK

GV_BTCJOBCNT = GV_BTCJOBCNT

control_parameters = c-sf_control_parameters

  • mail_appl_obj =

mail_recipient = c-recipient

mail_sender = c-sender

output_options = c-sf_output_options

user_settings = ''

importing

document_output_info = l_strn_sf_result-document_output_info

job_output_info = l_strn_sf_result-job_output_info

job_output_options = l_strn_sf_result-job_output_options

exceptions

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

error_message = 5

others = 6.