IL01 - create functional location (check superior FL)

Dear expert,
In SAP standard if i create a FL with code AAA-BBB-CCC the system creates this FL also if the AAA FL and AAA-BBB FL dosn't exist.
Than, is there any way by which i can put a "check" on SAP before the creation of a FL that verify if the Superior FL exists or not exists?
Thank you very much

Now i'm working in a project where we are implementing an User Web GUI interface that helps the user to create a techical object (in this case a FL).
This kind of FL represents a logical container and contains an unstructured set of Elements (Equipment). This is a 4th level FL.
By the way:
- We have this structure: XX-NNNNNN-XXXXXX-XXXXXX
Where:
- XX is a fixed value
- XX-NNNNNN probably will be fixed after data migration
- XX-NNNNNN-XXXXXX shoul be on system while i'm creating a XX-NNNNNN-XXXXXX-XXXXXX, than if there isn't a Superior FL it's important that the System responds an error.
This check probably it's easily solved by an abap program... i think...
However i will check the user exit proposed, Thank you very much again!

Similar Messages

  • How to create functional location for IE02

    hi all,
    can anyone please tell me that how to create functional location for IE02?
    Regards saurabh.

    To attach a functional location to an equipment, please make sure the following settings,
    1- You have defined the installation allowed at functional location for the following equipment category.
    2- Make sure status of your equipment is AVLB not ESTO.
    then Goto IE02 in the structure tab ---> click change installation location and install the functional location.
    Regards,
    EJ

  • Function Module for creating Functional Location BOM and Equipment BOM

    Hi All,
    Is there any function module for creating and changing Functional Location BOM and Equipment BOM ???

    Hi,
    Tables for Eq., BOM: EQST, STKO, STPO.
    Tables fro Fun., Loc., BOM: TPST, STKO, STPO.
    You can use FMs: CS_BOM_EXPL_TPL_V1, CS_BOM_EXPL_EQU_V2 & CS_BOM_EXPL_MAT_V2 for extracting the appropriate BOM related data.
    And for the Alternatives please check the customizing or check with your respective Module experts for the appropriate configuration.
    Hope this helps.
    Best Regards, Murugesh AS

  • Error in creating functional location

    Hai all,
    My struc.indicator is XXXX-XXXXXXXXXX-XXXXXXXX.
    I have created the functional locations till the third hierarchy level.Also i created the user status and assign this profile to the functional lcoation named  XXXX-XXXXXXXXXX
    Based on the above settings, i have done the transactions also by changing the user status from one to another in the above said functional location.Later i decided that this user status is not relevant for this and i cancelled the assignment  in the functional location and in the OIBS Object types.
    Even after removal of assignment, still the assignment of status profile to the funtional lcoation is showing in the IL02.
    Now i couldnt able to create the new functional location and system is throwing the following error.
    No status object is available for FL  #1
    Message no. BS001
    Diagnosis
    When trying to read the status of an object (FL  #1), a system error occurred: For object number TM0000000001IF there is no status object.
    Procedure
    Please contact your system administrator.
    Now my questions are
    1.How to permanently delete the assignment of userprofile still showing in the functional location even after cancel the assignment .
    2.How to eliminate the above said error
    Please help
    Regards,
    Suresh.

    Hai Pete,
    1.I am using IE02 for insall the equipment.
    2.This is happening every time and also i tried for another functional location category and structural indicator too.
    3.I am getting the same error messages whenever i am trying to create the fucntional location.
    4.I changed the user status of the F.Loc and again i tried the reinstalling the equipment.No change observed.
    Also, Finally i cancelled the assignment and deleted the user status profile itself.Still its not working .
    Since i am concentrationg on the other part, i couldnt continoulsy do the trouble shooting.
    Any other suggestions.
    Regards,
    Suresh.

  • Euipment installation problem at functional location.....

    hello all,
    i'm facing problem with equipment installation at functional location...
    my functional location heirarchy is level 1,2,3
    i have tick the istallation allowed check box in level-3 functional location,
    as per senario defind in the help document.,   it will not allow to install euipment in levels above i.e, superiour levels level 1,2
    Ex:
    functional location might have the following structure:
    Level 1 Conveyor  installation not allowed
    Level 2 Stage A  installation not allowed
                 Stage B  installation not allowed
    Level 3 Motor 1  installation allowed
                 Motor 2  installation allowed
              Conveyor belt 1  installation allowed
    and so on.
    but in my server it is allowing to install euipment in the superiour F.. locations also ...
    i.e, it is allowing to install equipment at laval 1,2
    i need to know any config.. required to it..... to get the above functionality or the above senario is wrong...?
    thank in advance,
    regards.
    gunnu

    hi thyagarajan,
    thank u very much for ur kind replay.
    i have created functional locations like below
    level 1 : CMR
    level 2: CMR-A
                 CMR-B
    level 3: CMR-A01
                CMR-A02
                CMR-B01
                CMR-B02
      and i marked F location CMR-A01 as Equipment install allowed
    now the problem is when i am trying to install equipment at CMR-A01 Functional loaction it allowing asusal..
    but  the CMR functional location (level 1)  also allowing to install the equipment
    so what is the senario..
    it is importent to me....
    thanks for your time......
    regards,
    gunnu
    Edited by: gunnus on Apr 27, 2011 7:36 AM

  • Adding Characteristics to Functional locations

    I have a LSMW that creates Functional locations. When I get to adding characteristics, while recording the LSMW, I find that the program acts differntly than whnen using IL01 or IL02. When IL02, when I click on Charactertisics, the class type is already filled in. After that, once I select the class. I then get a list of characteristics.
    When recording the LSMW, I have to select the class type then the class. After that, I get an empty list of items.
    Can anybody tell me how I can add characteristics to a FL (either via LSMW or a Bapi)
    Thanks for any help!
    Scott

    Hi,
         I agree with the point which sunil says.
    Also one more thing you have to commit using BAPI_TRANSACTION_COMMIT. Then only the data gets saved.
        Also if you want to create the characteristics for the function location, you have to use the bapi BAPI_OBJCL_CREATE and for update use BAPI_OBJCL_CHANGE & then use commit.
    Edited by: smartvalli on Aug 25, 2010 7:45 AM
    Edited by: smartvalli on Aug 25, 2010 7:46 AM

  • Clients distributor or dealer location as functional location

    Dear All,
    We are implementing PM/CS module in Ice Cream Mfg. Co. Here my client purchases deep freezer and send to various distributor locations in all over India by doing some commercial agreement. In this up to the one year deep freezer is asset of my client then after one year it is asset of distributor.
    Kindly go through following points & how this can be mapped in SAP PM/CS module.
    1) After purchasing of deep freezer my client (Ice cream mfg. co.) send this to various distributors. They give deep freezer to distributor for one year which on Free of Cost basis. In that some maintenance is taken place, which is carried out by client (Ice cream mfg. co.) service technician. This maintenance is also carried on free of cost basis. Once one year gets completed they sell out to distributor.
    So that becomes a distributoru2019s asset.
    2) After one year what ever maintenance is taken place which is reported to client (Ice cream mfg. co.) then client sends technician to distributor location. He carries maintenance & charged for the same. Which may include some material cost or spares cost.
    3) In this scenario can I use functional location category as u201CS - Customer system u2013 standardu201D for creating functional location. Also confirm, can I create all Distributor or Dealer location will be as functional location.
    4) Whatever deep freezer is installed at distributor location, those deep freezer can I create as Equipment.
    Thanks & Regards,
    Sandeep Theurkar

    Sandeep,
    The following is the rough mapping of your requirement.
    You = Ice Cream Mfg Co.,
    Customer = Distributor
    Equipment = Freezer
    4) Whatever deep freezer is installed at distributor location, those deep freezer can I create as Equipment.
    Yes, every Freezer is an Equipment
    3) In this scenario can I use functional location category as u201CS - Customer system u2013 standardu201D for creating functional location. Also confirm, can I create all Distributor or Dealer location will be as functional location.
    Yes, you can use Customer site as Functional location
    1) After purchasing of deep freezer my client (Ice cream mfg. co.) send this to various distributors. They give deep freezer to distributor for one year which on Free of Cost basis. In that some maintenance is taken place, which is carried out by client (Ice cream mfg. co.) service technician. This maintenance is also carried on free of cost basis. Once one year gets completed they sell out to distributor.
    So that becomes a distributoru2019s asset.
    1a.You may use customer consignment process  to maintain the Eqiupment in your stock.
    1b.Create another sales order and deliver to the distributor from Consignment Stock
    Service and Maintenance would be standard process
    2) After one year what ever maintenance is taken place which is reported to client (Ice cream mfg. co.) then client sends technician to distributor location. He carries maintenance & charged for the same. Which may include some material cost or spares cost.
    Service and Maintenance would be standard process. You may also execute a Service contract between you and Distributor for servicing and maintenance
    Babu

  • Equipment BOM & Function Location BOM

    Dear All,
    We  are created functional location BOM and we are  created Functional location order.In that order i found the  Equipment BOM which are linked with functional location.I assigned functional location BOM as well as Equipment BOM items for that order.It will take the items.In Functional location order Equipment BOM items should not take.
    Pls.Help me.

    Hi Srinu,
    Your query is not clear.
    Normally when your creating the maintenance order for Functional location. if this FL is having the BOM you will get the this BOM during the material planning in that order.
    if your creating the maintenance order for Equipment. if this Equipment is having the BOM you will get the this BOM during the material planning in that order.
    If there is no BOM you can plan the Material from the list also.
    Regards
    Venkat

  • Object as functional location

    HI Guys,
    we have somany plants in implementing company. if extend  RO or AO as functuional location, which plant it will select while creting of RO as functiional location. what are all the implecation of plant. is it necessary plant in Functionla location.
    Warms regards
    Ryan

    HI,
    Plants and maintenance planning plants are not required fields when creating functional locations (unless explicitly set). Thus, when object is created in RE, automatically created func loc does not contain plant nor maitnenance planning plant.
    A separate mantinenance of the functional locations under Plant Maintenance module will have to be done for these fields. Eventually plant and maintenance planning plant will be required when processing work orders, etc.
    Regards,
    Lynne

  • Avoid Email address check while creating or changes functional location PM

    Hi Experts,
       We have upgraded 4.6C system to ECC 6.0 with EHP4.
    We are tring to change the existing functional location created in 4.6c through tcode IL02 -> location tab -> Email address.
    and tring to maintain value as 'CAP 20/20/97' in email address field but it pop-ups with the error message as
    'Email address 'CAP 20/20/97' is invalid'.
    We know this is a SAP standard check but as part of the AS IS functionality, end user is able to maintain the same value in 4.6c and expecting same in ECC 6.0.
    NOte : End user is using this field SMTP_ADDR (Email address) for multiple purposes.
    When we reached SAP, following is the SAP responce.
    This validity check is in compliance with RFC 2822.
    This behaviour is standard since note 799902. If you would like to see
    this functionality changed then please proceed as outlined in the
    attached note 11.
    Can any one provide work around solution to avoid the Email address validity check ?
    Regards,
    Suresh Goud.

    Hi Pete,
    I just want to find out the reason for occuring this issue in ECC 6.0. Is because of any incomplete validation / missing configuration / implementation of any other SAP Note ? PFA the SAP note details for your easy reference.
    SAP Note No. 1546997 
    Number 1546997
    Version 1
    Processor
    Processing Status New
    Implement. Status Cannot be implemented
    Language EN
    Short Text Correction of translation of '<Email address & invalid>'
    Component XX-TRANSL-NL
    Long Text
    Symptom
    Wrong translation /
    Reason and Prerequisites
    Solution
    Translation of objects using transaction SE63 (see further below)
    Transport Object(s):
    PgID Object Name
    LIMU MESS XS138
    Package: SCON
    Software Component: SAP_BASIS
    Application Component: BC-SRV-COM
    Translation Guideline:
    English Text: Email address
    Other terms
    SE63, SE91
    Valid Releases
    SAP Basis component
    SAP Note No. 1546997 11/11/2013 Page 2
    46C
    620
    640
    700
    710
    711
    701
    702
    720
    730
    Links to Support Packages
    Software Component Release Package Name
    Thanks & Regards,
    Lakshmi S

  • Authorisation check for Functional Location Category

    Hi All,
    Does anyone know of an authorisation object which can be checked to restrict which Functional Location Categories a user can create/change (IL01, IL02)?
    Thanks,
    Richard

    hi
    i think it will serve the pupose while changing the object ,if you want to prevent for creating you can simply delete IL01 t code to the user using I_TCODE object .
    regards
    thyagarajan
    you can also check INST_AUTHORITY_CHECK PM/CS Enhanced Authorization Checks this badi for your need
    Edited by: thyagarajan krishnamurthy on May 14, 2009 7:01 PM

  • CS: how to assign a Superior Functional Location?

    Hello all,
    A help please!!!!
    A CS question.....
    I created a Functional Location (tcode: IL01).
    Now I want to assign to it a Superior Functional Location.
    How/where we can do this assignment?
    Many thanks,
    Barbara

    The answer was done at:
    Re: how to assign a Superior Functional Location?
    Thread is being closed.
    Barbara

  • BAPI_FUNC_LOC_CREATE BAPI functional location create

    Hi, I have a question. I need to create a new functional location. I try to use BAPI_FUNCLOC_CREATE with this code:
    PARAMETERS:  FUNCLOC LIKE BAPI_ITOB_PARMS-FUNCLOC DEFAULT 'ZTZ1-ABC-AA-02'.
    DATA:  FC_DATA_GEN   LIKE    BAPI_ITOB,
           FC_DATA_SPE   LIKE    BAPI_ITOB_FL_ONLY,
           FC_RETURN     LIKE    BAPIRET2,
           FC_LABEL      LIKE    BAPI_ITOB_PARMS-LABEL_SYST.
           FC_DATA_SPE-STRIND = 'A'.
           FC_DATA_SPE-CATEGORY = 'M'.
           FC_DATA_SPE-EQINSTALL = 'X'.
           FC_DATA_GEN-READ_CRDAT = SY-DATUM.
           FC_LABEL = 'A'.
      CALL FUNCTION 'BAPI_FUNCLOC_CREATE'
        EXPORTING
          EXTERNAL_NUMBER         = FUNCLOC
          LABELING_SYSTEM         = FC_LABEL
          DATA_GENERAL            = FC_DATA_GEN
          DATA_SPECIFIC           = FC_DATA_SPE
        IMPORTING
         FUNCTLOCATION           =
         DATA_GENERAL_EXP        =
         DATA_SPECIFIC_EXP       =
          RETURN                  = FC_RETURN
    (this code was intended for testing only)
    After the function has passed new functional location was not created. And in RETURN I got message number 000.
    I guess that a fun. loc. was in creation process because when i inserted a breakpoint I couldn't create a functional location with the same Id as in report (I could with an other) but it didn't save.
    Can You help me?

    Call BAPI_TRANSACTION_COMMIT after this.
    Also uncomment FUNCTLOCATION and get the value into a variable and check.
    Regards,
    Ravi
    Note: Please mark the helpful answers

  • Function of create Storage Location Automatically

    Whats the function of the following Tab in SPRO.
    SPRO- Materials management - Inventory management and Physical Inventory - Goods issue/Transfer Posting - Create Storage Location Automatically
    Please advise

    Hi,
    This is the case for, if you work with negative stocks and a material's first movement may be an outward movement that is Goods issue or Transfer posting.
    If the material master record is not extended to the storage location which is giving at the time of goods issue / transpfer posting, system won't allow to post the document. First you have to maintain material master record for that SL, then only system will allow postings.
    In such cases  if the  material master record is not created for the storagelocation, SAP having facility like that system can update / create SL data for that materila master record automatically by the system during GI / TP postings.
    For that you have to activate SL Create automatically checkbox aganist Plant as well as Movement type. You have activate in both the settings, then only system will update/create SL data in the MMR.
    If the Negative postings allowed means eventhough stock is not there, system will allow to issue stock and inventory will show with negative sign.
    For ex: Stock is zero. You have issue 25 with the movement type 201, system will allow to issue the stock. But inventory will show -25 for that material (Check in MMBE).
    This is case for, if you work with negative stocks and a material's first movement may be an outward movement that is Goods issue or Transfer posting. Then only these setting will helpful.
    Regards
    KRK

  • Functional location in Measuring Point and while creating M.plan or differe

    Hi,
    we found that functional location in Measuring point and M.plan functional location Measuring point are differrent, how to restrict that one ,we need automatically flow of functional location from measuring point to Maintenance plan.
    --Ganesh

    Hi,
    If you created the Measuring Point for the selected FL, then that measuring point will be populated automatically. If you have more than one measuring point, then you can select using Possible entries option.
    In this case, I think its not possible to restrict with configuration.
       IPRM0004 Maintenance plan / item: Customer check for time "SAVE"
    Use this user exit, while saving check for the functional location for the selected measuring point & give error message.
    Use tables IMPTT to get Object Number of FL. Use IFLOT to get the FL.
    Regards,
    Maheswaran.

Maybe you are looking for