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

How to give input parameter to application form through se38 program?

arpita_churi3
Active Participant
0 Likes
950

Hi all,

How can i call my application form from within my se38 program?

is there any way then please tell me?

and how to pass input parameters to application form through se38 program?

Thanks and Regards,

Arpita.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
855

which application form?

which application form?

5 REPLIES 5
Read only

Former Member
0 Likes
856

which application form?

Read only

0 Likes
855

Hi,

application form of Print Work bench(PWB).

Regards,

Arpita.

Read only

0 Likes
855

Hi Arpita,

What exactly u want to do?

Read only

0 Likes
855

Hi,

I am using smartform in my PWB Application form.

For this i want one input parameter to pass through application form to smart form.

for example i want to give MARA-MATNR as input to application form.

Is there any way to pass this parameter through se38 program or how should i link

my application form to se38 program?

Thanks and Regards,

Arpita.

Read only

0 Likes
855

Hi you can pass the parameter using application program. You can pass the value using the interface of the function module given below.

parameter p_matnr type mara-matnr.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = gc_smart_form 'Name of ur smart form

variant = ' '

direct_call = ' '

IMPORTING

fm_name = lv_fmname

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

IF sy-subrc NE 0.

MESSAGE ID sy-msgid TYPE 'E'

NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

CALL FUNCTION lv_fmname

EXPORTING

control_parameters = gs_ssfctrlop

output_options = gs_ssfcompop

user_settings = ' X'

**---This is where u can pass ur paramter to the smart form*

matnr = p_matnr.

called from batch job

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5 .

Thanx and hope this would help.

Regards,

Aruna

Edited by: Aruna Kumari Chekka on Dec 12, 2008 6:24 AM

Edited by: Aruna Kumari Chekka on Dec 12, 2008 6:29 AM