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

TCode For a Function Module

Former Member
0 Likes
2,875

Hi All,

i have to create a TCode for a Funciton module is it possible.

if i go to se93 there is no such option to create tcode for FM.

is it only appilcable for report program.

please help me to go ahead.

TIA

Rukmani

wrong fourm - moved to general

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
1,249

Hello Rukmani

What you can find frequently are almost empty reports which do nothing else than calling a function module, e.g. transaction CG3Z which calls report RC1TCG3Z:


*&---------------------------------------------------------------------*
*& Include RC1TCG3Z                         Report RC1TCG3Z            *
*&                                                                     *
*&---------------------------------------------------------------------*

REPORT   RC1TCG3Z                      .

* include section -----------------------------------------------------


* declaration part ----------------------------------------------------


* main program  -------------------------------------------------------

  CALL FUNCTION 'C13Z_FRONT_END_TO_APPL'
       EXCEPTIONS
            OTHERS  = 1.

exit.

Regards

Uwe

10 REPLIES 10
Read only

Former Member
0 Likes
1,249

it is not possible to create for f.m......

possible are

1. report

2. module pro

3. oops

4. parameter

5.variant

Read only

Former Member
0 Likes
1,249

Hi ,

It is not possible to create Tcode for a Function Module as F.M. are not independent entity in respect to execution.

What you can do is to create a Toce for a report program and call the FM in that very Report.

Regards,

Anirban

Read only

Former Member
0 Likes
1,249

it is possible for functionpool. not for a function module

Edited by: Vijay Babu Dudla on Nov 4, 2008 1:15 AM

Read only

uwe_schieferstein
Active Contributor
0 Likes
1,252

Hello Rukmani

What you can find frequently are almost empty reports which do nothing else than calling a function module, e.g. transaction CG3Z which calls report RC1TCG3Z:


*&---------------------------------------------------------------------*
*& Include RC1TCG3Z                         Report RC1TCG3Z            *
*&                                                                     *
*&---------------------------------------------------------------------*

REPORT   RC1TCG3Z                      .

* include section -----------------------------------------------------


* declaration part ----------------------------------------------------


* main program  -------------------------------------------------------

  CALL FUNCTION 'C13Z_FRONT_END_TO_APPL'
       EXCEPTIONS
            OTHERS  = 1.

exit.

Regards

Uwe

Read only

0 Likes
1,249

but why is this a sticky?

pk

Read only

0 Likes
1,249

>

> but why is this a sticky?

>

> pk

Iam also wondering, how/why this has been marked as sticky?

Read only

0 Likes
1,249

Because sometimes moderators hit the wrong button...

Read only

Former Member
0 Likes
1,249

hi

pls check with table TFTIR

CHEER'S

uk

Read only

Former Member
0 Likes
1,249

Hi,

"It is not possible to create a Transaction code for Function

Modules".

You can create a transaction code for the report program.

Cheers ...

All The Best ...!

Read only

Former Member
0 Likes
1,249

ok