Block Order TECO on the basis of operation User Status

Hi Experts,
I am trying to restrict the TECO of maintenance order on the basis of order operation status. I have configured the user status profile and assigned it to order operation. This user status profile have two statuses, INCL - Incomplete and another is CMPL - Complete. I have prohibited the TECO for user status INCL. But when I create an order and try to TECO, the system allows me TECO it enenif the operation user status is INCL.
Could you Pl. tell me, have I missed something in configuration?

Dattatraya,
Actually you can control TECO by completion confirmation of order operation as PCNF ( partial confirmation) for operation which you have mentioned in Order. So you can set up in configuration like allow TECO only once CNF ( Full confirmation ) for all operations mentioned in Order.
For your mentioned scenario , I dont feel based on user status you can stop the TECO, anyway you can check with other experts as well.
Riyaj

Similar Messages

  • Order by on the basis of last characters of the column

    hi
    i have this type of data in Column
    ABL - Allied Corp. services (XES) - Newyork
    ABL - Allied Corp. services (XES) - Chicago
    SBS - Logistics - Newyork
    ETC..
    As the last characters are for city and i want to perform order by on the basis of city.The naming convention is "the name always contain two hiphens(-)
    and the city name in the last".(means after second '-')
    Regards

    SQL> INSERT INTO dt_test VALUES('ABL - Allied Corp. services (XES) - Newyork');
    1 row created.
    SQL> INSERT INTO dt_test VALUES('ABL - Allied Corp. services (XES) - Chicago');
    1 row created.
    SQL> INSERT INTO dt_test VALUES('SBS - Logistics - Newyork');
    1 row created.
    SQL>
    SQL> select
    2 column_1
    3 FROM
    4 dt_test
    5 ORDER BY
    6 SUBSTR(column_1, INSTR(column_1,'-',1,2) + 2);
    COLUMN_1
    ABL - Allied Corp. services (XES) - Chicago
    ABL - Allied Corp. services (XES) - Newyork
    SBS - Logistics - Newyork

  • Order by on the basis of condition

    I want to make order by in sql query result with condition, if data will b numaric the it should be order by on the basis of to_number else on the basis of to_char.
    Edited by: Siddharth Singh on May 17, 2012 2:24 PM

    Kiran wrote:
    decode(LOWER(trim(col1)), UPPER(trim(col1)),to_number(trim(col1)) ,trim(col1));Did you read my reply to Ankit Rathi? Again, expression can't return values of different type. But in your case it is even worth. DECODE returns datatype based on first decoded expression. Therefore your decode will return number and as a result will fail on very first non-numeric value:
    SQL> with t as (
      2             select '1' col1 from dual union all
      3             select '2' from dual union all
      4             select 'A' from dual
      5            )
      6  select  col1
      7    from  t
      8    order by decode(LOWER(trim(col1)), UPPER(trim(col1)),to_number(trim(col1)) ,trim(col1));
      order by decode(LOWER(trim(col1)), UPPER(trim(col1)),to_number(trim(col1)) ,trim(col1))
    ERROR at line 8:
    ORA-01722: invalid number
    SQL> But even if you would come up with decode where first decoded expression is a string your decode wuold be useless since at the end all values would be converted back to strings. If by numeric OP means strings with digits only:
    ORDER BY CASE WHEN REGEXP_LIKE(col1,'^\d+$') THEN TO_NUMBER(col1) END NULLS LAST,
    col1;For example:
    with t as (
               select '10' col1 from dual union all
               select '2' from dual union all
               select '1A' from dual union all
               select '1B' from dual union all
               select '1C' from dual
    select  col1
      from  t
      ORDER BY CASE WHEN REGEXP_LIKE(col1,'^\d+$') THEN TO_NUMBER(col1) END NULLS LAST,
               col1
    CO
    2
    10
    1A
    1B
    1C
    SQL> SY.

  • IW31/32 Operation User Status visible as a field on  Operation tab table

    Hello,
    Is there a way to add the "Operation User Status" as a field visible on the Operation tab table for IW31/32.
    Your help will be very much appreciated.
    Thanks.

    jay23r 
    Not as standard.. and its the same with the used-fields which should be displayed on the Operation tab table (it is in the task list..)
    I don't know why SAP haven't sorted these out...
    Open an OSS Message to SAP - the more requests they get, the more chance there is of them fixing it in the future
    What we have done a few times in the past is to utilise the Header Enhancement tab (user-exit IWO10018) to add a table control to show these fields. Its not elegant, but it works
    PeteA

  • PM preventive PM Order confirmation on the basis of object list

    Dear Experts,
    In paintenance plan I have funtional location.In object list I have 5 Equipments.Now when order is generated there are 4 operations.All the operation is same to all equipments.Is it right.
    Now when I am going for its confirmation,I don't know how to do the same on the basis of Equipment i.e object list.Can any one help me out with the steps involved in the same.
    Regards,
    Rajesh.

    Hi ,
    1.In your case here we would do confirmation for each order operation and that will be applicable for all the eqpts in the oblect list of the order.
    2. If you want to generate separate order with same operations for different eqpts then use maintenance item in the maintenance plan .Thus maintenance order gets generated for each maintenance item in the maintenance plan.The same order would be applicable for the list of eqpts in the object list of maintenance item ..
    I hope this would clarify ..
    regrds
    pushpa

  • Production List and Sales Order list on the basis of Sales Forecast - MRP

    Hi all,
    One of our user wants to use MRP. what he wants is that he puts sales forecast in the system and in the basis of that sales forecast, 2 reports should be generated from system , one will tell that when production should be started to meet sales forecast for every finished good and 2nd report will tell that when sales orders should be created for raw materials to achieve sales forecast for every finished good.
    Is that possible?? Please tell me in steps that how I should I proceed? what changes should be done in SPRO and in master data?
    Please respond.
    Best Regards,
    AI.

    Hi AL,
    As such, this is a basic functioanlity of MRP.
    Once you enter a forecast & take a MRP run system proposes, when to start the production based on the production leadtime &  purc.reqns for the raw materials based on the procurement lead time.
    And the same can be viewed from various reports..FOr example MD04.
    For this to work the MRP configurations should be valid.
    Could you please confine your question to a specific query..?
    Thanks & regards
    Mahesh

  • Payment block non editable on the basis of company code level

    Dear Gurus,
    we had made payment block "A" non editable in payment praposal through transaction code ob27.as per reqeust from
    our partent company in India but our subsidiary in France wants the payment block "a"  to be editable (to be insert
    payment block "a" in document to make document deselect). Is it possible to make payment block editable on the basis of
    company code level.
    Regards,
    Rajesh

    Hi,
    In this scenario, you need to have a NEW Payment block key like Z. Create Z with reference to A in OB27.
    For Z, you need to select check box Change in Payment Proposal and SAVE.
    Now maintain this Z in vendor masters of company code, where you want the payment block can be edited.
    Note: Payment Block codes are not company code dependent.
    Regards,
    SRinu

  • Purchasing: Restriction of creation of PO's on the basis of buyer / user

    Hi,
    We are currently working on a requirement in which the business is expecting to restrict the buyers / users from creating Purchase Orders of some specific GL natural accounts.
    Is there any functionality using which we can provide lock / check on this.
    As the business wants to achieve this lock, since the users (buyers) are using the same responsibility and those responsibilities might have their own independent locks on the usage of Balancing Segment Values and other Cross Validation Rules.
    But, we are looking for something specific which will restrict the creation of PO's based upon the login of user / buyer / PO Creator itself.
    Any inputs in this regard shall be of great help.
    Regards,
    Saurabh Singhal.
    Bangalore, India.

    Pl do not post duplicates - Purchasing: Restriction of creation of PO's on the basis of buyer / user

  • How to modify operation user status

    Hi Team,
    I am created an order from IW31. Is there any way to change the user status of its operation.
    I mean I am looking for any enhancement or BAPI by which I can change the user status of operation.
    Mainak

    Hi
    BAPI to change user status is "BAPI_ISUSMORDER_USERSTATUSSET"
    and BAPI to change system status "BAPI_ISUSMORDER_SETSTATUSTECHN"
    Thanks,
    Prajakta

  • Unable to block creation of sales document from Quotation thru user status

    Dear Experts,
    I have maintained a status profile in my Quotation document through the use of user status. I have defined a status to forbid creation of sales document if the status has not yet been set to "Approved".
    However, even when the status is not yet "Approved", it still allows me to create subsequent sales document from this Quotation.
    Anything that I have missed here?

    Hi,
    It should not happen.
    Please check the Object types for which the status profile is created. It should be for either Sales Order header or Sales order Item.
    Make sure that the "create sales document" is "forbiddden" for the initial status only.
    Also please check Low- High numbers for each status.
    Hope this helps.
    Regards,
    Sharan

  • BAPI_ALM_ORDER_MAINTAIN Operation User Status Update

    Hi All,
    I am trying to use this BAPI_ALM_ORDER Maintain to update the user status at the Operation level, but am facing the following issue:
    In the IT_METHODS table, I am passing the USERSTATUS CHANGE (with the right object key - aufnr + vornr), and SAVE Method.
    And am filling the User Status table (IT_USERSTATUS) with the correct user status to be updated at the Operation Level.
    But when I execute the BAPI - it throws an error saying that the User status XXXX doesnt exist in the XXXXXX (This is the wrong profile. This profile is at the Header level and not at the operation level) Profile.
    So somehow its trying to update at the Header level and not at the operation level.
    Any idea what can be the reason?
    Regards
    Ankur

    Hi,
    BAPI_ALM_ORDER_MAINTAIN user status Change
    check out this link..
    Thanks & regards.

  • Order rows on the basis of score

    I have a table like this format:
    ID
    COL1
    COL2
    1
    i am a boy
    good is male
    2
    i am a good boy
    good is male
    3
    i am a good girl
    gender is female
    Now the user will enter a keyword (in this example, 'good'). Based on that, if the keyword is found in column1, score will be given 2, and if the keyword is found in column2, score will be given 5.
    And at the end, I have to display the ID column based on the score (max score at the top).
    So the results should come like this:
    ID
    SCORE
    2
    5
    1
    7
    3
    2
    How can I do?

    For example like this
    with sample_table as (
                           select 1 id,'i am a boy' col1,'good is male' col2 from dual union all
                           select 2,'i am a good boy','good is male' from dual union all
                           select 3,'i am a good girl','gender is female' from dual union all
                           select 4,'goodie girl','gender is female' from dual union all
                           select 5,'good girl','gender is female good' from dual
    select  id,
    CASE WHEN
             case
               when regexp_like(col1, '(^| )' || :keyword || '( |$)') then 2
               else 0
            end +
            case
              when regexp_like(col2, '(^| )' || :keyword || '( |$)') then 5
              else 0
            end  = 0
    THEN 10
    ELSE
             case
               when regexp_like(col1, '(^| )' || :keyword || '( |$)') then 2
               else 0
            end +
            case
              when regexp_like(col2, '(^| )' || :keyword || '( |$)') then 5
              else 0
            end
    END score
      from  sample_table
      order by score desc

  • Using order by with the UNION ALL operator

    Hi,
    I have 2 queries and i'm using UNION ALL to join both of them.
    And i want to sort the final result based on a column.
    When i try to do that, its not allowing me to use the ORDER BY clause.
    Any suggestions??
    Example
    select * from xxx where job='Manager'
    order by ename
    union all
    select * from yyy where job='Engineer'
    order by ename
    Thanks in advance
    --Kumar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    SQL> select * from test_emp where deptno = 10 order by ename
      2  union all
      3  select * from test_emp where deptno = 20 order by ename;
    union all
    ERROR at line 2:
    ORA-00933: SQL command not properly ended
    SQL> select * from test_emp where deptno = 10 --order by ename
      2  union all
      3  select * from test_emp where deptno = 20 order by ename;
    select * from test_emp where deptno = 20 order by ename
    ERROR at line 3:
    ORA-00904: "ENAME": invalid identifier
    SQL> select * from test_emp where deptno = 10 --order by ename
      2  union all
      3  select * from test_emp where deptno = 20 --order by ename;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7698 BLAKE      MANAGER         7839 01-MAY-81       3141          1         10
          7782 CLARK      MANAGER         7839 09-JUN-81       2700                    10
          7839 KING       PRESIDENT            17-NOV-81       5512                    10
          7934 MILLER     CLERK           7782 23-JAN-82       1433                    10
          7369 SMITH      CLERK           7902 10-OCT-06        882        123         20
          7566 JONES      MANAGER         7839 10-OCT-06       3279        123         20
          7788 SCOTT      ANALYST         7566 11-OCT-06       3307        123         20
          7876 ADAMS      CLERK           7788 10-OCT-06       1212        123         20
          7902 FORD       ANALYST         7566 10-OCT-06       3307        123         20
    9 rows selected.
    SQL> select * from
      2  (select * from test_emp where deptno = 10 union all
      3  select * from test_emp where deptno = 20)
      4  order by ename;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7876 ADAMS      CLERK           7788 10-OCT-06       1212        123         20
          7698 BLAKE      MANAGER         7839 01-MAY-81       3141          1         10
          7782 CLARK      MANAGER         7839 09-JUN-81       2700                    10
          7902 FORD       ANALYST         7566 10-OCT-06       3307        123         20
          7566 JONES      MANAGER         7839 10-OCT-06       3279        123         20
          7839 KING       PRESIDENT            17-NOV-81       5512                    10
          7934 MILLER     CLERK           7782 23-JAN-82       1433                    10
          7788 SCOTT      ANALYST         7566 11-OCT-06       3307        123         20
          7369 SMITH      CLERK           7902 10-OCT-06        882        123         20
    9 rows selected.
    SQL>

  • Sales Orders - Add/Delete the Partner should Trigger User Exits

    Hi,
    I have a business requirement to add a new partner or delete or change an existing partner so as to re-determine the route and hence re-direct the goods to appropriate shipping point. This partner is a service agent and not maintained in the Customer Master. These are freely added partners (agents) at the sales order level.
    Once there is a change in the partner functional the sales order level in VA01 or VA02, the user exit logics to be called again so that the route is re-determined based on the newly added or changed partners at the sales order level.
    I am just trying to provide a pop-up screen for user interaction when the sales order partners are modified with buttons 'OK' or 'Cancel'. For OK, the sales order user exits to be called again. For Cancel, the newly added partners need to be deleted.
    Please suggest me a suitable solution. I hope I have made the question correct. Appreciate your help in advance.
    Thanks,
    Kannan.

    I could Figure it out.
    Thanks,
    Kannan

  • FETCHING SERILA NUMBERS ON THE BASIS OF WAREHOUSE AND STATUS IN SAP 8.8

    Hi
    I have following  questions regarding serial number :
    Firstly , whether OSRI table in sap8.8 has been made obsolete ?
    secondly , I noticed that the STATUS field in table OSRN is not getting updated when an inventory transfer is made for a specific serial number of an item but the status field in OSRI table gets updated to value 1 .
    Earlier status field in OSRI could have 0 or 1 value (0 to indicate that the serial number is present in the warehouse mentioned in WHSCODE field and 1 to indicate that the serial number has been transfered to some other warehouse and is not in the ware house mentioned in WHSCODE field).
    So, If I need to fetch the all the serisl numbers of an item which are present in lets say X warehouse and having status set to value 0 then do I need to apply Join with OSRI table .I mean is it correct to have join with OSRI table or not?
    please reply me back as soon as possible.
    Regards
    Mandeep

    The mentioned link is asking for username and password
    what information am i suppose to provide here ?
    I am not able to access the mentioned document .
    Regards
    Mandeep
    Edited by: mandeep mann on Jun 18, 2010 2:44 PM

Maybe you are looking for

  • Folder redirection to a new location is not working

    Currently in SCM we have all Windows 8 users Documents and Desktop redirected to a users home folder in a Netapp share.  We are planning on moving them to a Windows File Server.  As a test I moved my home folder in AD to the new share.  But SCM is st

  • Runtime error while doing FB08

    while doing FB08 the system is creating a dump. Runtime errors         SYNTAX_ERROR                                                              Occurred on     05.08.2008 at   12:43:14                                                                 

  • IPod touch(4th gen) no longer supports accessories?

    http://www.pinterest.com/pin/create/extension/ My iPod touch (4th gen) suddenly stopped supporting my Altec Lansing speakers, my iHome and my Onkyo dock.  I have updated to the latest version of iTunes, reset my iPod, wiped and restored my iPod (runn

  • Maximum number of Apple TVs on a network

    I know the first gen had a maximum of 5 apple TVs you can sync with. If you're not doing syncing but just streaming, is there a maximum number of apple TVs that can stream from one iTunes library?

  • Unknown event applying patch 120011-14

    When applying patch 120011-14, I have been getting the following message for the last 2-3 hours /pci@780/pci@0/pci@9/scsi@0 (mpt0): mpt0: unknown event e received Is this a cause for concern? Should I let the update continue? Is there something else