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

Include in Customer Function Module


Is it possible to create a Z-Include in a customer Function Module? If yes then how to do it?



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on May 06, 2011 at 11:27 AM

    Don't insert includes in function module, insert those in the main program of the function group.

    - If it is actually a customer function module, just open the main program (should be a customer one beginning with SAPLZ, SAPLY or SAPL<customer namespace>) and add an include at the end.

    If the function group is ZXXX, the main program is SAPLZXXX and includes name should begin with LZXXX.

    - if it is a Customer Exit Function Module, open the main program (should be a SAP one beginning with SAPLX) there should be a customer reserved include at the end beginning with Z, the name should look like ZXnnnZZZ.

    Usually if you add a PERFORM xxx. in a function module, if the form doesnt exist yet, double-click will provide you a pop-up window where you can choose or create the include, SAP will provide a suitable name and will do the job for you.



    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.