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

how to change a function module ??

Hi, I am using the FM L_TO_CREATE_DN but i am having a problem. When the batch number doesn't exist the program should keep the text with the error in an internal table and should continue running with other deliveries. The problem is that the error is not in the list of exceptions, the problem occurs inside the function module, so I don't know how control it. I think I should change anything inside the function but I don't know how to do it, or maybe I could control before. Does anybody how to do it??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 05, 2007 at 01:44 PM

    Hi,

    If you know it is inside create a custom FM of same and make changes in that.

    Regards,

    Sreevani

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 05, 2007 at 01:59 PM

    Hi amcaletrio,

    As it is a Standard Function module,it is not possible for us to change. It is better to debug the code, not complete Function module.

    In debugging first reach to the desired point by using break points.

    1. In debugging mode, in the MENU bar you can see Breakpoints --->

    Breakpoint at -


    > statement(click here) .

    2. Here type " MESSAGE".

    3.Press F8

    4.Stop here, the that u r looking is found or not

    5.If not, again press F8

    At one place you can get ur desired message.

    Copy that FM only as user copy. Here instead calling the Standard FM call this

    copied FM.Here in this Change message type from "E" to "W".

    So that, you can get desired functionality.

    Hope, the above desc. make you understand crystal clear.

    If there is any doubts regarding this, You are welcome.

    Reward,if helps.

    Regards,

    V.Raghavender.

    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.