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.

Similar Messages

  • ERROR WHILE UPLOADING FUNCTIONAL LOCATION MASTER DATA THROUGH LSMW?????

    Dear Experts,
    I am uploading the master data of functional location through LSMW .I had completed all the steps except "Run Batch Input Session".
    In that step it is showing as functional location already exists, after this error the remaining functional locations are updated in sap or it will stop total transaction by  this error???
    how can u upload the remaining in to sap by skipping already existed one????
    here I am uploading the error screen shot.
    Thanks & Regards,
    Sunil Boya

    Hi Jogeswara Rao Kavala,
    When I am pressing back or NO option  it is showing error like this
    What is this OK- Code means?
    how can I resume this process, even it was not going to back screen also and only one option is available for exit from this is by going into MENU-SYSTEM-SERVICES-BATCH INPUT-CANCEL.
    Sunil Boya

  • 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 will creating function

    Hi Team,
    I am getting error message while creating Function script as below..
    CREATE TYPE Book_t AS OBJECT
    ( name VARCHAR2(100),
      AUTHOR VARCHAR2(30),
      ABSTRACT VARCHAR2(1000));
    CREATE TYPE BOOKSET_T AS TABLE OF BOOK_T;
    CREATE TABLE Catalogs
    ( NAME VARCHAR2(30),
      CAT CLOB);
      CREATE or replace FUNCTION GetBooks(a CLOB) RETURN BookSet_t;
    Error message :=
    Error(1): PLS-00378: invalid compilation unit for this release of PL/SQL
    But All object are valid state only.

    You cannot forward declare functions as database objects like you do in packages, you have to actually provide the body of the function as well..
    SQL> CREATE or replace FUNCTION GetBooks(a CLOB) RETURN BookSet_t;
      2  /
    Warning: Function created with compilation errors.
    SQL> sho err
    Errors for FUNCTION GETBOOKS:
    LINE/COL ERROR
    0/0      PLS-00378: invalid compilation unit for this release of PL/SQL
    SQL> CREATE or replace FUNCTION GetBooks(a CLOB) RETURN BookSet_t IS
      2  BEGIN
      3    NULL;
      4  END;
      5  /
    Function created.

  • Error while creating Function module extracter

    Hello Guru's
    I am getting error while FM extracter creating.
    Have created FM and Extract structure and while creating datasource using these where i am getting error as given below
    1> ZV_ZFRT_INVOICES(Datasource): TABLES-paramter E_T_DATA for extractor Z_ZFRGT_INVOICES(FM) is missing
    2>(DS)ZV_ZFRT_INVOICES: Field ZEILE of the provider structure is missing in extract str. ZVZFRT_INVOICES(Extract structre)
    3>(DS )ZV_ZFRT_INVOICES: Field EBELP of the provider structure is missing in extract str. ZVZFRT_INVOICESExtract structre)
    Please some one can help me to get out of the issue.

    HI Aryan,
    No need to create FM on your own. You can copy the FM from Function Group RSAX.
    The procedure to create FM extractor is as follows:
    1) Create an extract structure.
    2) Go to SE80. Select Function Group RSAX , right click and then copy.
    3) Give your own name to the function group to copy.
    4) Select one appropriate FM from the list of FMs provided. eg FM RSAX_BIW_GET_DATA_SIMPLE.
    5)Specify the name of new FM you want to create.
    6) Go to SE37 and open the FM you have created by copying from Function Group RSAX.
    7) no need to change the import tab.
    8) On tables tab, for paramerter name E_T_DATA under asociate name specify the name of extract structure you hav created.
    9) Under source code tab make the changes in the source code only to customise it to your requirement. eg: declare the database table you are using, make changes where datasource is in picture, etc.
    I have created a generic DataSource with the help of above procedure.. I hope you will find it helpful...
    Regards,
    Geetanjali

  • Error while creating function with record type as return type

    Hi i tried the following code to get the nth highest sal using record type and function.
    CREATE OR REPLACE PACKAGE pack_rec_cur AS
    TYPE rec_type IS RECORD (
    name EMP.ename%TYPE,
    sal EMP.sal%TYPE);
      END;The above package is created
    CREATE OR REPLACE
      FUNCTION fun_rec_cur(n INT) RETURN pack_rec_cur.rec_type AS
       rec pack_rec_cur.rec_type;
        CURSOR cur_rec IS
          SELECT ename,sal
            FROM emp
             WHERE sal is not null
              ORDER BY DESC;
    BEGIN
    OPEN cur_rec;
      FOR i IN 1..n LOOP
       FETCH cur_rec into rec;
       EXIT WHEN cur_rec%NOTFOUND;
      END LOOP;
    CLOSE cur_rec;
    RETURN rec;
    END;   The above function is giving errors
    LINE/COL ERROR
    4/7      PL/SQL: SQL Statement ignored
    7/16     PL/SQL: ORA-00936: missing expression
    SQL> Could you please correct me where i'm doing mistake
    Thanks.

    You are missing the column name in order by clauase. Is it ename desc?
    CREATE OR REPLACE
      FUNCTION fun_rec_cur(n INT) RETURN pack_rec_cur.rec_type AS
       rec pack_rec_cur.rec_type;
        CURSOR cur_rec IS
          SELECT ename,sal
            FROM emp
             WHERE sal is not null
              ORDER BY ENAME DESC; ---added ename
    BEGIN
    OPEN cur_rec;
      FOR i IN 1..n LOOP
       FETCH cur_rec into rec;
       EXIT WHEN cur_rec%NOTFOUND;
      END LOOP;
    CLOSE cur_rec;
    RETURN rec;
    END;  
    -OUTPUT
    SQL> SET SERVEROUT ON
    SQL>
    SQL> DECLARE
      2     rec            pack_rec_cur.rec_type;
      3  BEGIN
      4     rec         := fun_rec_cur (6); --you get the 6th record in order of ename desc
      5     DBMS_OUTPUT.put_line ('ename::' || rec.NAME || '  sal ::' || rec.sal);
      6  END;
      7  /
    ename::MARTIN  sal ::1250
    PL/SQL procedure successfully completed.
    SQL>

  • Error while creating Function.

    Hii All,
    I'm currently working on 10gR2 .I'm trying to dynamically pass a column and parse it but I've encountered following error.Please help me.
    Create or replace Function r_return_col
                         p_table_name          in          varchar2,
                         p_column_name          in          varchar2
                        )return varchar2
    is
              l_count                    number;
              l_clob                    clob;
              l_count_str               varchar2(32000);
              l_column_value          varchar2(32000);
              l_str                    clob;
              l_ret_str               clob;
    begin
              l_count_str := ' select count('||p_column_name||') ' ;
              l_count_str := l_count_str||' from      '||p_table_name ;
              execute immediate l_count_str into l_count;
              for i in 1..l_count
              loop
                        l_str := 'select '||p_column_name||' from ' ;
                        l_str := l_str||' ( ';
                        l_str := l_str||' select row_number() over(order by '||p_column_name||') rw,'||p_column_name||'  from '||p_table_name;
                        l_str := l_str||' ) where rw = '||i ;
                        execute immediate l_str into l_column_value;
                        l_ret_str := l_column_value||','||l_column_value;
              end loop;
                   return 'select l_ret_str from dual';
    end;
    show err;
    SQL> @D:\raghu\oracle_docs\rows_to_columns.sql
    Warning: Function created with compilation errors.
    Errors for FUNCTION R_RETURN_COL:
    LINE/COL ERROR
    34/5     PL/SQL: Statement ignored
    34/23    PLS-00382: expression is of wrong typeRegards
    Raghu.

    I've modified my code as below
    Create or replace Function r_return_col
                         p_table_name          in          varchar2,
                         p_column_name          in          varchar2
                        )return varchar2
    is
              l_count                    number;
              l_clob                    clob;
              l_count_str               varchar2(32000);
              l_column_value          varchar2(32000);
              l_str                    varchar2(32000);--clob;
              l_ret_str               clob;
    begin
              l_count_str := ' select count('||p_column_name||') ' ;
              l_count_str := l_count_str||' from      '||p_table_name ;
              execute immediate l_count_str into l_count;
              dbms_output.put_line('Count is : '||l_count);
              for i in 1..l_count
              loop
                        l_str := 'select '||p_column_name||' from ' ;
                        l_str := l_str||' ( ';
                        l_str := l_str||' select row_number() over(order by '||p_column_name||') rw,'||p_column_name||'  from '||p_table_name;
                        l_str := l_str||' ) where rw = '||i ;
                        execute immediate l_str into l_column_value;
                        l_column_value := q'[']'||l_column_value||q'[']' ;
                        l_ret_str := l_ret_str||','||l_column_value;
              end loop;
                   return 'select '||ltrim(l_ret_str,',')||' from dual';
    end;
    show err;But now instead of returning the query I'd like to return the rows retrived after executing the query.How could I accomplish this??Can this be done using refcursor?Please help me.
    Regards
    Raghu

  • Error while creating function filter for SAP R3 destination

    Hi All,
    I am using SAP Portal Add-in 1.0 Patch 3 for Visual Studio 2003 with SAP Portal Runtime 1.0 Patch 3 for Microsoft .NET and SAPDotNetConnector2.0.
    Portal server is successfully added to my server explorer.SAP R3 system  destination is also added succesfully ,but when i create a function filter  
    for my destination function to add my RFC enabled function module it  gives me an error message "Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx",but when i log into the R3 system from portal system ,I am able to log successfully.
    please see the attached jpg file for your reference.
    what should I do,plz help me.

    3 things:
    1. When you say "but when i log into the R3 system from portal system ,I am able to log successfully"... what do you mean exactly? Do you mean you tried to do a "test connection"?
    2. Make sure the portal user mapping is set to "user & password" and not SSO. In order to work with the destination in design time you need to have it set to User and Password. Later, for run-time connection you can change it to SSO.
    3. If number 2 failed, can you please click on the destination in the server explorer and look at the property grid for the connection string property? make sure it's correct (you can post it here if you don't know).
    Regards,
    Ofer

  • Error in creating function group

    Hi
    In my z function group, do i need to declare all the parameters used in function modules explicitly in any top include?.it was not declared as such in the standard function group from which i copied .

    Hello ,
    Sometimes when u copy any standard function group into ZFuntion group u will get some systax errors saynig some varaible is not defined .
    then
    goto SE37
    Enter the fucntion module  and get into function bulinder
    select EDIT Menu option and Interface Submenu option inthat u will find GLOBALIZE PARAMETERS and LOCALIZE PARAMETERS  Just do that operation u will be free of errors.
    regards

  • Error while creating function anonumos bock

    Hi ,,
    I trying to write a function in a aninymous block to return  the ename based on empo passed . but it throws me an error as follows :
    where am i going wrong here .
    SET SERVEROUTPUT ON
    DECALRE
    v_ename varchar2;
    FUNCTION getename(p_no number)
    RETURN varchar2
    AS
    SELECT ename from
              scott.emp
    WHERE empno=p_no;
    BEGIN
    v_ename :=getename(7369);
    dbms_output.put_line(v_ename);
    END;
    ORA-06550: line 2, column 1:
    PLS-00201: identifier 'V_ENAME' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 3, column 22:
    PLS-00201: identifier 'V_ENAME' must be declared
    ORA-06550: line 3, column 1:
    PL/SQL: Statement ignored
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:

    SQL> SET SERVEROUTPUT ON;
    SQL>
    SQL>
    SQL> DECLaRE
      2    v_ename varchar2(150);
      3    FUNCTION getename(p_no number) RETURN varchar2 AS
      4      RESULT VARCHAR2(10);
      5    BEGIN
      6      SELECT DUMMY INTO RESULT from DUAL WHERE 1=P_NO;
      7      RETURN RESULT;
      8    END;
      9  BEGIN
    10    v_ename := getename(1);
    11    dbms_output.put_line(v_ename);
    12  END;
    13  /
    X
    PL/SQL procedure successfully completed
    SQL>
    Ramin Hashimzade

  • 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!

  • ERROR WHILE DELETING FUNCTION LOCATION

    HI GUYS,
    I TRIED TO DELETE FL USING THE PROGRAM IN SE 38, RIARCTPV
    IT GIVES THIS MESSAGE  Program RIARCTPV started: 02.12.2011 15:24:53
    Program RIARCTPV ended: 02.12.2011 15:24:53
    THEN WHEN I TRY TO RIARCTPA AND CHECKED 'GENERATE ARCHIVE FILE'
    IM GETTING THIS MESSAGE
    Archive file C:\TEMP\PM_PM_IFLOT_20111202_152635_0.ARCHIVE.ARCH cannot be opened for write program
    ANY SUGGESTIONS....
    REGARDS,
    CHINTA

    you should follow the SAP design instead of executing single programs with SE38.
    goto SARA and execute the steps for object PM_IFLOT

  • Error while creating sql function

    I am getting the following error when i execute the below query for creatin sql function. Please let me know waht is the problem
    Major Error 0x80040E14, Minor Error 25501
    > create FUNCTION fantastic ( @deal_id , @as_of_date)
    returns @funtab table
    (issue_id int not null,
    par_amount money not null)
    as
    begin
    insert @funtab
    select a.issue_id,a.par_amount 
    from asserts as a, issue as i, issuer_rating_history h, deal d
    where h.as_of_date = @as_of_date and
     d.deal_id = @deal_id and 
    d.deal_id = a.deal_id
    a.issue_id=i.issue_id 
    return
    end
    There was an error parsing the query. [ Token line number = 1,Token line offset = 8,Token in error = FUNCTION ]
    create FUNCTION fantastic ( @deal_id , @as_of_date)
    returns @funtab table
    (issue_id int not null,
    par_amount money not null)
    as
    begin
    insert @funtab
    select a.issue_id,a.par_amount 
    from asserts as a, issue as i, issuer_rating_history h, deal d
    where h.as_of_date = @as_of_date and
     d.deal_id = @deal_id and 
    d.deal_id = a.deal_id
    a.issue_id=i.issue_id 
    return
    end

    Hello,
    See MSDN
    Differences Between SQL Server Compact and SQL Server => "User-defined functions and full text:
    Not supported" in SQL CE, so you can not create a function as in SQL Server.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • 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

Maybe you are looking for