×

[PR]この広告は3ヶ月以上更新がないため表示されています。
ホームページを更新後24時間以内に表示されなくなります。




Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>MDM_FuncLoc



Index

MDM_FuncLoc

MDM_FuncLoc


No description is available


11-Dec-2005


Methods

Available Methods


  • Change : Change Functional Location [ BAPI_FUNCLOC_CHANGE ]
  • Create : Create Functional Location [ BAPI_FUNCLOC_CREATE ]
  • GetDetail : Read Functional Location [ BAPI_FUNCLOC_GETDETAIL ]
  • GetList : Selection of Functional Locations (with Internal Key) [ BAPI_FUNCLOC_GETLIST ]
  • SaveReplica : Save Replica [ BAPI_FUNCLOC_SAVEREPLICA ]

11-Dec-2005


Change

Change


This BAPI enables you to change the master data of an individual functional location.

Notes

General notes in BAPIs for processing individual technical objects:

  • A BAPI for creating or changing master data receives these notes using
    the parameter DATA_GENERAL (structure: BAPI_ITOB). Object-specific data is processed using the parameter DATA_SPECIFIC:
  • Functional locations: DATA_SPECIFIC (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC (structure: BAPI_ITOB_EQ_ONLY)

  • Each BAPI returns the processed data to the caller in the parameterDATA_GENERAL_EXP (structure: BAPI_ITOB) independently of the activityto be performed (Create/Change/Read). Object-specific data is returned to the caller using the parameter DATA_SPECIFIC_EXP:

  • Functional locations: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_EQ_ONLY)
  • The system returns any error messages in the parameter RETURN.

  • In Customizing (field selection) for master data dialogs, entries defined as mandatory are generally not checked by the BAPIs.

  • 11-Dec-2005


    Create

    Create


    This BAPI enables you to create an individual functional location.

    Individual functions:

  • Functional location category check.
  • Structure indicator check.
  • Locking of labeling with simultaneous warning (ENQUEUE).

  • Database check if the labeling is already being used.
  • Creation of the functional location in general status management.
  • Notes

    General notes in BAPIs for processing individual technical objects:

  • A BAPI for creating or changing master data receives these notes using
    the parameter DATA_GENERAL (structure: BAPI_ITOB). Object-specific data is processed using the parameter DATA_SPECIFIC:
  • Functional locations: DATA_SPECIFIC (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC (structure: BAPI_ITOB_EQ_ONLY)

  • Each BAPI returns the processed data to the caller in the parameterDATA_GENERAL_EXP (structure: BAPI_ITOB) independently of the activityto be performed (Create/Change/Read). Object-specific data is returned to the caller using the parameter DATA_SPECIFIC_EXP:

  • Functional locations: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_EQ_ONLY)
  • The system returns any error messages in the parameter RETURN.

  • In Customizing (field selection) for master data dialogs, entries defined as mandatory are generally not checked by the BAPIs.

  • 11-Dec-2005


    GetDetail

    GetDetail


    This BAPI enables you to read the master data of an individual functional location.

    Notes

    General notes in BAPIs for processing individual technical objects:

  • A BAPI for creating or changing master data receives these notes using
    the parameter DATA_GENERAL (structure: BAPI_ITOB). Object-specific data is processed using the parameter DATA_SPECIFIC:
  • Functional locations: DATA_SPECIFIC (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC (structure: BAPI_ITOB_EQ_ONLY)

  • Each BAPI returns the processed data to the caller in the parameterDATA_GENERAL_EXP (structure: BAPI_ITOB) independently of the activityto be performed (Create/Change/Read). Object-specific data is returned to the caller using the parameter DATA_SPECIFIC_EXP:

  • Functional locations: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_FL_ONLY)
  • Equipment: DATA_SPECIFIC_EXP (structure: BAPI_ITOB_EQ_ONLY)
  • The system returns any error messages in the parameter RETURN.

  • In Customizing (field selection) for master data dialogs, entries defined as mandatory are generally not checked by the BAPIs.

  • 11-Dec-2005


    GetList

    GetList


    This BAPI enables you to read all functional locations that meet the selection conditions using the selectioncriteria listed below.

    FUNCLOC_RA

    DESCRIPT_RA

    MAINTPLANT_RA

    PLANGROUP_RA

    PLANPLANT_RA

    SORTFIELD_RA


    Example

    Notes

  • If you have activated the alternative labeling function, the fieldFUNCLOC_LIST-FUNCTLOCATION contains the internal key for the functionallocation, while fields FUNCLOC_LIST-FUNCLOC and FUNCLOC_LIST-LABEL_SYST
    contain the external label as well the relevant labeling system.
  • The selection result is transferred in the table FUNCLOC_LIST.
  • Notifications are returned in the parameter RETURN.

  • 11-Dec-2005


    SaveReplica

    SaveReplica


    This function module is used for creating and changing functional locations. Its functions correspond to the function modulesBAPI_FUNCLOC_CREATE and BAPI_FUNCLOC_CHANGE.

    A multilingual short- and long text processing (creation/changing/ deletion) is also possible.


    The function module can be used for mass processing and works accordingto the "all or nothing" principle. This means, either you can create /change all the functional locations or you cannot create / change any functional locations.

    Notes


    The data for a functional location is shared between the following tables:

    CT_DATA

    CT_DATAX

    IT_DESCRIPT

    IT_LONGTEXT

    All the tables contain a TA_GUID field. The data for a functionallocation can be determined through this field. There is exactly one
    CT_DATA- and CT_DATAX record for each functional location. However, there can be more than one IT_DESCRIPT- and IT_LONGTEXT records.


    11-Dec-2005