SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

System and Transports



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> Function Modules | Функциональные модули
View previous topic :: View next topic  
Author Message
admin
Администратор
Администратор



Joined: 01 Sep 2007
Posts: 1639

PostPosted: Mon Sep 17, 2007 7:05 pm    Post subject: System and Transports Reply with quote

TR_EXT_INSERT_IN_REQUEST - Inserting object in given request

TR_EXT_GET_REQUESTS - Get changeable requests of given user

TR_EXT_CREATE_REQUEST - Creation of change request

TR_EXT_ADD_REQ_ATTR - Add attributes to given request

TR_INSERT_NEW_COMM - Create a new request/new task

TR_APPEND_TO_COMM_OBJS_KEYS - Append and lock objects and keys to a task

TRINT_REQUEST_CHOICE - select type of request and request itself

BAPI_CTREQUEST_CREATE - Create request with tasks (method for object CTREQUEST)

BAPI_CTREQUEST_CREATE_TASKS - Create tasks for request (method for object CTREQUEST)

BAPI_CTREQUEST_RELEASE - Release task or request (method for object CTREQUEST)

IW_C_CREATE_TRANSPORT_REQUEST - Create request (Workbench, Transport etc.), assigning next request # w/o dialog

IW_C_APPEND_OBJECTS_TO_REQUEST - Add objects to request (Workbench, Transport etc.) If all objects are unlocked, then dialog to choose request. If one of objects is locked in a request, then remaining objects added to the same request

SVRS_AFTER_CHANGED_ONLINE_NEW Generate new version.
Only for the objects that:
versionable
exist in TADIR
locked or local

RS_GET_ALL_INCLUDES

RS_GET_MAINPROGRAMS

RS_FUNCTION_POOL_CONTENTS - Get Function Modules in a Function Group
Import: function group name.
Export: table of function modules (function module name <->ABAP program name)

FUNC_GET_OBJECT - Get function module information (main program, include number, parameters and source code.

FUNCTION_INCLUDE_SPLIT - Get Function Modules and Includes Belonging to a Function Group
Depending on the import parameter, returns the following data:
  • PROGRAM - namespace, function group
  • COMPLETE_AREA - namespace, function group
  • INCLUDE -
    - namespace, function group
    - include (without namespace)
    - include number (for function module includes)
    - 3-character suffix,
    - function module name (for function module includes, and if SUPPRESS_SELECT=space)

Code:
report z_find_main_prog.
* find main program for function group
  data: l_namespace like rs38l-namespace,
  l_area like rs38l-area,
  l_main like sy-repid,
  l_fugr like tlibg-area.
  parameters fugrname like tlibg-area.

  select single area
    from tlibg into l_fugr
    where area = fugrname.
  if sy-subrc <> 0.
    write: 'Cannot find function group', fugrname.
  else.
    call function 'FUNCTION_INCLUDE_SPLIT'
      exporting
        complete_area = fugrname
      importing
        namespace = l_namespace
        group = l_area
      exceptions
        others = 6.
    if sy-subrc <> 0.
      write: 'Cannot retrieve main program name for function group',
             fugrname.
    else.
      concatenate l_namespace 'SAPL' l_area into l_main.
      write: 'Main program name for function group',
              fugrname, 'is', l_main.
    endif.
  endif.


FUNCTION_INCLUDE_INFO
Depending on the import parameter, returns the following data:
  • FUNCNAME - namespace, function group, include name
  • GROUP - namespace, table of function modules (function module<->include name)
  • INCLUDE - namespace, function group, function module name (for function module includes)


FUNCTION_INCLUDE_CONCATENATE - Determine the Name of a Function Group / Main Program by Namespace
Import: include number, complete area, namespace
Export: function group, names of main program, top include, UXX include, include with the given number.

See also tables:
  • TLIBG - Person responsible for function class (list of all function groups)
  • TFDIR - Function Module
  • ENLFDIR - Additional Attributes for Function Modules
  • FUPARAREF - Parameters of function modules
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> Function Modules | Функциональные модули All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.