Skip to Content
author's profile photo Former Member
Former Member

Dynamic actions

Hi,

Can Function module be used instead of Subroutines in Dynamic Actions?

Please suggest answers.

Thanks in advance,

Saipriya

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 04:14 AM

    Hi,

    You can use function modules also like you use subroutines. The difference is that the function module is globally available.

    So if u do some modules which can be reused in other programs alo then go for function modules.

    Regards,

    Renjith Michael.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 04:13 AM

    Hi Saipriya

    You cannot have Function Modules to be called instead of sub-routines in a dynamic action. These are the possible values of Steps you can have while creating dynamic actions,

    P: Plausibility checks, which allow you to check certain conditions.

    I: Calls an infotype for processing

    W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement

    F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.

    V: Lets you treat collectively a number of fields for which you want to define a common dynamic action

    M: Sends SAP Office mail

    Anyother values than mentioned above, the dynamic action won't be executed. Let me know if you need more information.

    Regards

    Ranganath

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.