System status per operation

How to get the individual status per operation in Production Order, CO03.
I'm stuck in j_stmaint structure.

Hi Jose,
I hope following code will help you. You have to use the fn/. module STATUS_TEXT_EDIT.
    SELECT SINGLE objnr INTO v_objnr FROM aufk
     WHERE aufnr = f_afko-aufnr.
    IF NOT v_objnr IS INITIAL.
      CALL FUNCTION 'STATUS_TEXT_EDIT'
        EXPORTING
          client           = sy-mandt
          objnr            = v_objnr
          only_active      = 'X'
          spras            = sy-langu
        IMPORTING
          line             = v_status
        EXCEPTIONS
          object_not_found = 1
          OTHERS           = 2.
      IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      MOVE v_status TO ze1afkol_rec-status.
    ENDIF.
Cheers
Prasad

Similar Messages

  • Inspection lot status per operation

    hi,
    Is there an overview in SAP to get the status of an inspection lot per operation (other than QE51N). I've an operation for each laboratory. I'd like to get an overview of the status per operation. If not which tables should i use?
    Thanks.

    Use Bapi : BAPI_PRODORD_GET_DETAIL
    or
    Table : TJ02T along with JSTO & JEST
    Refer
    Operation status of the production order

  • System status LKD REL for operation & phases in Process order

    Hi Gurus,
    We have a process order in which system status for operations & phases is LKD REL due to which user is not able to confirm the process order. The status of process order is REL PRC APNG APRS BASC BCRQ GMPS MACM RESA SETC. One of the user from planning has set the status to LKD due to some artwork changes. Now another user set the status to unlock. Locked status from order status was reset but at operation & phases level the status is still LKD REL & hence order confirmation is not allowed.
    I try to again set the status to lock but i am getting message system status LKD is active (ACT 40547870 0010) which is similar to one which we get during order confirmation.Pls. suggest.
    Regards
    Amit 

    Hello Amit
    If the status LKD is not set for the order header, this is possibly an inconsistency.
    Please open an OSS incident to SAP for further analysis.
    BR
    Caetano

  • Inactivate system status changability in sales operation

    Hi Experts:
    I need to inactivate the posibility for end users to choose a system status directly in operation. They should be able only to change the user status.
    Is there an authoration object or a BAdI to do so?
    Best regards,
    Christina

    Hi Christina,
    There is a BADI CRM_ORDER_AUTH_CHECK with the method CRM_ORDER_ADD_AUTH_CHECK.
    By implementing extra checks as per the requirement, we can control the authorization.
    Hope this will help you resolve your query.
    Regards,
    Susanta

  • Production Order, Operation Release Manually System Status Table:

    Hi Expert,
    1) i am creating Production Order for only Reporting purpose, we have 38 Operations and it will doing different different users, customers wants to status for Operation what time and date it operation is release, and what time confirm, in two activity during period we wants capture, release>> Confirm, i found table for Confirmation operation Date and Time, but now i need to what time operation release, date and time, Table, also i config. done in OPK8 in implementation tab, release versions HEADER, ITEM, OPERATION all tick.
    but i cnt able to find where it is store. operation release time and date.
    when we show in CO02, operation overview, select operation, click on status (i)> extras> change doc. >> all >>click on release > sys show there correct time and date.
    pl. suggest
    MANOJ

    Hi,
    You can make use of the standard SAP Order info system transaction COOIS for order confirmations , also you can make use of the table AFRU.
    Please give suitable points if answer found helpful/suitable.
    Regards,
    Amol Kale

  • How to view Work process status from Operating System level???

    Hi,
    How can I check work process status from Operating System in Unix. For example : In Windows, I can see the work process status from SAP MMC in WP Table.
    How can I view from Unix?
    Appreciate your feedback. Thanks.

    Hi,
    You can terminate. Please look into the menu given by DPMON carefully. You can kill the process using the k option.
    Otherwise you can also kill the process kill -9 <PID of the process>.
    Please do not terminate update and ENQ work process. This may lead to data loss. If the condition can not be control by killing some processes and again all the WPs are occupied. I recommend SAP system restart.
    Restart will ensure that all necessary roll backs happen and no data loss.
    With Regards,
    Saurabh

  • System status as per our requirement

    Dear Experts ,
                      Is there option in SAP to use system status as per our requirement.
    For Ex : system should not allow to do CNF after TECO etc etc
    Please anybody put a light on this matter
    Regards
    Keerthan Kumar

    Keerthan Kumar,
    It’s not recommended to change standard system status set up as this can have influence on different SAP modules…
    But coming back to your original question your request could be realized by calling t-code BS22
    Where for system status I0045 – TECO you set business transaction RMVR – ‘Confirm transaction’ as forbidden.  Please see attached print screen.
    Then when making time confirmation system will display following error message: System status TECO is active, Message no. BS013
    Regards,
    Grzegorz

  • System Status of each operation

    I want to pick up system status of each internal operation. Which functional module will be helpful in such  case.
    Regards,
    VM

    Hi VM,
    Try the following steps-
    1. Go to T-Code CN41.
    2. Enter Order No. in field "Network/order".
    3. Execute.
    4. Select the required operations for which you want to check the status with check boxes.
    5. Press F5 (Choose Fields).
    6. Select the fields you want to check.
    7. You'll get the info on the report.
    Hope this will solve your issue.
    Thanks,
    Amit.

  • Operations system status

    Hi All,
    I want to read the operations data of an order. I want the table in which operations system status is stored. Could anybody knows the table?
    Regards,
    Jeetu

    Hi,
    For each order, you have the object number/object reference number(OBJNR)...
    Take that reference number and check the table JEST...This table will hold the status for each object number...
    Also check TJ02 and TJ30 for system and user status...
    Do let me know incase of issues
    Reward if useful
    Regards
    Shiva

  • How to change status of operation (Production order)

    Hi all,
    I would like to know if there is a way to change the status of an operation for an operation order.
    I found a BAPI for changing the status of the production, a function module to get the status of an operation but nothing standard for changing the status of an operation.
    The solution is using a call transaction?
    Thanks for your help!
    David

    Dear,
    It is not clear what you want to do. Usually the operation system status is driven by the way you release the operation or at headre level. On the other hand you can influence the user status as per your logic. Please let us know you are looking for which status?
    Raj

  • Planning board user status at operation level

    Hi Guys,
    Our user is not using planning board and therefore system status should not have DISP status as system status.
    Now user needs two profiles in the CM07 bases on the statuses SCH and RFS.
    Profile 1: For operation user status=SCH
    Profile 2: For operation user status=RFS
    I know how to create over all profile for planning board from the below path.
    IMG>Production>Capacity Requirements Planning>Evaluation>Profiles-->Define overall profiles
    Could any one please suggest me where and how to define required user statuses against the profile.
    Thanks,
    Lucky

    Hello,
    Please check the transction BS02. or Below Path in SPRO
    Production Planning for Process Industries>Master Data>Resource>General Data>Define Status Profiles
    Regards,
    Rakesh

  • User exit for Previous and current system status  for  5 transactions

    Hi Experts
    My Objective to capture the Previous and current status  of system status  for  5 transactions  in their  user exits .
    Description                                         Business Object               Transaction
    Production Order operations              BUS2005                            CO02 to edit Production Order
    Maintenance Orders                           BUS2007A                         IW32 to edit Plant Maintenance Order
    INTernal   ORDER                                 BUS2075                          KO02 to edit Internal Order
    WorkBreakdownStruct                       BUS2054                          CJ02 To edit the WBS element
    Project System Network                      BUS2002                           CN22 to edit Network
    Activities Network
    For Both Production order  and   Project System Network Activities Network    ,
    i got  User exit  "  EXIT_SAPLCOBT_001  " 
    But i am not sure whether we can use this or  not for our purpose . When i am changing status and  then saving ,  my  break point comes  to  EXIT_SAPLCOBT_001  .
    But  can we capture   JEST   or   JCDS  related  data   in that  user  exit  or  How can we capture both Previous status  and Current ( Means New changed status ) . For eg  From Released   to   Technically complete   etc.
    I want Status changed and its immedtiate previous status. 
    Do i need to check Exit  or BADI  before  and after Saving .
    Thanks
    Regards
    Gaurav
    Edited by: TheGaurav on Sep 8, 2011 10:28 AM

    Hi Himanshu
    Many Thanks for the reply . 
    I also had some other processing needs to be done on the basis of those status. .
    So do you have any idea or  how to find what all exits or BADIs  i can use for all of these 5 transactions , where
    i can get data for JCDS ( or JEST ) .
    CO02 to edit Production Order                 
    IW32 to edit Plant Maintenance Order
    KO02 to edit Internal Order
    CJ02 To edit the WBS element
    CN22 to edit Network        
    can we use   EXIT_SAPLCOBT_001  for    CO02  and  CN22   .
    Edited by: TheGaurav on Sep 8, 2011 1:21 PM

  • "Site System Status Summarizer still cannot access storage object" after DB Move

    After our SCCM server was up and running, the DBAs moved the SQL Site Database to a new drive which is a supported SQL Operation according to this Support document:
    https://support.microsoft.com/en-us/kb/2709082
    Using the methods described by the above document we were able to restore functionality to SCCM but I am still seeing Informational messages in the SMS_SITE_SYSTEM_STATUS_SUMMARIZER component.
    Site System Status Summarizer still cannot access storage object "\\<SQLServer>\S$\SMS_<SQLServer>" on site system "\\<SQLServer>". The operating system reported error 67: The network name cannot be found.
    Possible cause: The site system is turned off, not connected to the network, or not functioning properly.
    Solution: Verify that the site system is turned on, connected to the network, and functioning properly.
    Possible cause: Site System Status Summarizer does not have sufficient access rights to connect to the site system and access the storage object.
    Solution: Verify that the accounts are properly configured to allow the site to connect to the site system and access the storage object.
    Possible cause: Network problems are preventing Site System Status Summarizer from connecting to the site system.
    Solution: Investigate and correct any problems on your network.
    Possible cause: You took the site system out of service and do not intend on using it as a site system any more.
    Solution: Remove the site system from the list of site systems used by this site; this list appears under Site Systems in the Configuration Manager Console.
    Possible cause: You accidentally deleted the storage object or took the storage object out of service.
    Solution: The components will eventually detect that the storage object no longer exists on the site system and will either recreate it or choose a new storage object. Monitor the status messages reported by other site components to verify that this
    occurs properly.
    The storage object has been inaccessible since "14/03/2015 1:23:20 AM". When you correct the problem and Site System Status Summarizer successfully accesses the storage object, Site System Status Summarizer will set the storage object's status
    to OK, providing that the storage object has sufficient free space.
    I have run a site reset to try and fix this but the site server still seems to be trying to access files on the old drive. Is there a method to get SCCM to start looking for these files on the NEW DB drive (H$) in my case?

    Was a site reset performed at all yet? This has to be done. 
    Torsten Meringer | http://www.mssccmfaq.de
    Yes, I tried a site reset prior to making this post. I was sure I had read that this should resolve the issue but unfortunately it seems a site reset did not resolve the issue.
    Since we are running a virtualized environment, is it possible the old drive has to still exist prior to running the site reset? If we add a small "S" drive back to the server and run the site reset again, might that help?

  • System status and user status Priority

    Hi All,
    We have system status and user status for the production order, I would like to know which has higher priority.
    E.g In system status some business activity are not allowed but at the same time for user status those activites are active, then which status has high priority.
    Regards,
    Ranjan

    Hi,
    As per my understanding both the status work together. If User status forbids a business transaction and system status allows it, then also the business transaction cannot be carried out.
    Also if system status forbids a business txn and user status allows that, then also you wont be able to carry out the txn.
    Both work with "AND" condition.
    Regards,
    Rohit.
    Added: you can try it by creating a User status profile. Allow Goods Movement to CRTD status. Now dont release the production order, only save it. Then try issuing goods (261), the system will block you.
    Now, other way round, forbid GR without confirmation. Though System Status allows GR without CNF or PCNF status, but the user status will forbid the transaction.
    Hope the example helps.
    Regards,
    Edited by: Rohit Chauhan on Jun 5, 2009 9:09 AM

  • How to use of Business Trnasaction That set the system status in BS23

    Run Tcode BS23, If i give I0117 in left  bottom corner > Enter> Click on system Status I0117 Top Left corner > Press F6> system will go to system Status Cross reference screen
    Here we can find the Business Transaction  related information like Process That set the status, Process that deletes the status etc. ( business transaction like RMEP ,RMEZ ,RMUP )
    Above scenario i have depicted for  System Status DSPT. But
    Now my Question is very generic not for only I0117 System Status ( DSPT)
    But  from name of  business transaction how can we get idea that, this Business Transaction can be performed by which T Code,
    this Bu transaction is belogs to which module etc....
    How can I find help related to this business Trnasction from System / any report/ Programme from SE38 etc.....
    I am functional, Please explain me accordingly..
    Being Functional Consultant how can we get maximum help from this Business Transaction.
    Any help pointing to above querries would be appreciated.
    Regards
    Nitin

    Hi,
    Try transaction BERP.
    It will give  you the following info.
    1. See the business events available and the pupose they are meant fot
    2. Documentation for that particular event (here you can know where exactly it is called)
    3. Interface parmeters required in the custom FM
    4. A sample function module with the export import parameters.
    There are few more transaction which are usefull in Bte
    FIBF --> Maintenance transaction BTE
    BERE --> Business Event Repository
    BERP --> Business Processes
    BF31 --> Application modules per Event
    BF32 --> Partner Modules per Event
    BF34 --> Customer Modules per Event
    BF41 --> Application Modules per Process
    BF42 --> Partner Modules per Process
    BF44 --> Customer Modules per Process
    and Bte is attach to a process it works in similar way like workflow do, you can't exactly know the tcode by looking into the event but you can know it with the process for eg.
    This event is called while invoice printing.
    00705000     Invoice print: Exclude contracts
    and we can get more info by checking its description.
    Hope this will help,
    With best regards,
    Navneet Chaubey

Maybe you are looking for