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: 

How to develop a function module

Former Member
0 Kudos

Hello everyone,

Can anyone pls help me with this..it's quite urgent.Thanks in advance.

How to develop a function module which will obtain the timestamp and give it to a particular transaction or any other transaction where it may be useful to have it. The transcation must have a new parameter to decide whether timestamp should or should not be displayed. The function module must be able to give the timestamp and some other information as follows:

Host timestamp

Local timestamp

Userid

System

SAP client

2 REPLIES 2

Former Member
0 Kudos

Hi Aruna,

Could not get you complete question.

But you can try to create a function module which will return you time stamp, userid and other details when you call the function module.

Goto se80, create a function group to it add the function module. In the parameters of the functin module mention the importing parameters you have any (as per your requirement) and in the exporting parameter mention time stamp, userid fields and so on . in the source sode of the function module move the item stamp and other details to the interface of the function module by passing them from the system variables.

Thanks,

George

    • reward to all helpful tips

Former Member
0 Kudos

hi,

go to SE37 n create the function group n function module ...in it specify the inout parameters n output parameters n give the time stamp too.

in the source code u can give the desp abt the time stamp