Skip to Content

SE37 tcode

Dear Experts,

In se37 tcode, under attributes tab I can see 2 details such as program name, include name. Can you please tell,

1. Are they created automatically once we create our FM.

2. What is the use of them

KR,

Bharath

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 08, 2009 at 05:51 AM

    Hi

    Yes, program name and include will be created automatically.

    Regards,

    Swarna Munukoti

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Bharath Padmanabhan

      Hi Bharath,

      Use of includes from SAP Help:

      >>Include Programs

      >>Include programs are used to split ABAP source texts into individual Repository objects. An ABAP program can be created in the program attributes using the program type include program. Include programs do not need to contain introductory statements for programs and cannot be generated independently from the ABAP compiler. When using the statement INCLUDE, however, include programs can be integrated in programs that can be generated.

      >>An include program must contain complete statements. It can include other include programs but not it cannot include itself. An include program does not need to contain complete processing blocks.

      If you double click on the program name in attributes -> It will display function pool with few includes -> if you double click the second includename(with comments function modules) -> it will show a set of includes. These include names are nothing but the automatically generated include name while creating the function modules.

      It is always advisable to go through sap help for better understanding.

      Regards,

      Swarna Munukoti.

  • Dec 08, 2009 at 05:52 AM

    These are generated automatically by function library.

    the program name is name of function pool generated.

    the include is generated(system defined) for each function module created.

    goto se80

    give the function group - click the include drop down , and you can see a include ending with XX and TOP, double click on it, You will come to know.

    For more details refer sap help for function pool,function group etc.

    I hope im correct 😊

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 08, 2009 at 05:54 AM

    Hi Bharath,

    Once you create your FM inside some function group a Function Pool is created automatically by SAP.This is your program name.

    The include name which you see in the attributes tab is the include which contains the code for your FM.This include can be seen inside the main program.

    All these help in creating a Function group with multiple FM's inside it.All the FMs will have their own includes inside the main program.Also you can add includes in the main program(say for data delcalration across all FMs)

    Hope this helps

    For the reply to your above question.As i said developers can add Includes inside the main program which will be accessible to all the FMs inside that particular Function group.

    Regards

    Avinash

    Edited by: Avinash Jagtap on Dec 8, 2009 6:57 AM

    Add comment
    10|10000 characters needed characters exceeded