System status search

Hi :
  In Plant Maintenance , i was able to find system status using the function
'STATUS_TEXT_EDIT'. From the returned string i want only those status whose value is CNF or TECO or CLSD and excluding the status if it contains  PCNF or CRTD or DLFL or REL.
How can i search the variable ( v_status ) returned from the function 'STATUS_TEXT_EDIT'.
Thanks.
Raghu

Try something like this.
if (  str cs 'CLSD'
   or str cs 'CNF'
   or str cs 'TECO' )
and
   (  str ns 'PCNF'
  and str ns 'CRTD'
  and str ns 'DLFL' ) .
endif.
STR is the string which contains the status from the funciton module.
Regards,
Rich Heilman

Similar Messages

  • Activity search display system status

    Hi,
    I want to display the system status column in the activity search results list in the WEB UI in crm 2007. This will help the users to see the activities in a particular system status when they display the activities in the results list.
    The component is CUBT126SAPPT and the view name is ApptSR.
    Any ideas,
    Dan

    Step  5:  Change the attribute methods :
                 Get_system_status : 
    try.
        try.
            dref = current->get_property( 'STATUS_SYSTEM' ). "#EC NOTEXT
          catch cx_crm_cic_parameter_error.
        endtry.
        catch cx_sy_ref_is_initial cx_sy_move_cast_error
              cx_crm_genil_model_error.
          return.
      endtry.
        if dref is not bound.
          value = 'BTQRAct/STATUS_SYSTEM not bound'."#EC NOTEXT
          return.
        endif.
        try.
            value = if_bsp_model_util~convert_to_string( data_ref = dref
                                        attribute_path = attribute_path ).
          catch cx_bsp_conv_illegal_ref.
            field-symbols: <l_data> type data.
            assign dref->* to <l_data>.
            concatenate <l_data> '-CURR/QUANT CONV FAILED-' into value
                        separated by space.                 "#EC NOTEXT
          catch cx_root.
            value = '-CONVERSION FAILED-'.                  "#EC NOTEXT
        endtry.
    * Modify in case of mass changes happened
      if gr_appt_cuco->gt_guid_name_val is not initial.
        data: lv_desc          type crmt_description,
              lv_guid_name_val type crmt_guid_name_val_comb,
              lv_guid          type crmt_object_guid.
        current->get_property_as_value( exporting iv_attr_name = 'GUID'"#EC NOTEXT
                                        importing ev_result = lv_guid ).
        read table gr_appt_cuco->gt_guid_name_val
                   with key guid = lv_guid
                            name = 'STATUS_SYSTEM'                   "#EC NOTEXT
                   into lv_guid_name_val.
        if lv_guid_name_val is not initial.
          value = lv_guid_name_val-value.
          call method cl_crm_uiu_cust_get=>get_text_for_field_value
            exporting
              iv_fieldname   = 'STATUS_SYSTEM'                       "#EC NOTEXT
              iv_value       = value
            receiving
              rv_text        = lv_desc
            exceptions
              error_occurred = 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.
          value = lv_desc.
        endif.
      endif.

  • How to find out System Status of WBS Elements?

    Hi PS Experts!
    Please help me on my query.
    I want to get a list of WBS elements whose status is Released and can be used.
    If I try to search the table PRPS, it can only help me in finding WBS elements without deletion flag, with RA Key and so on.
    But the System status (such as Blocked for use) etc. is not present in the table.
    The one way I know is to get Object Number of WBS element from PRPS Table and insert it in JEST Table to get system status.
    Or alternatively, I give the WBS element no. in CJ20N t-code, and then check for System Status.
    These 2 methods work, if I do it one WBS Element at a time. If I need to get thousands of WBS elements in such a fashion, it's tedious.
    So could anyone help me on this issue?
    Thanks in advance,
    Vinitha.

    Hi Bala
    Yes, you have put it rather correctly.
    We use WBS elements for booking and posting time (client requirement). So what I am looking for is WBS Elements with the system status TERL (Time and Expense Released).
    I talked of the deletion flag also, because a WBS element flagged for deletion can't be used. It's one of the criteria to screen the WBS elements.
    I hope it's clearer now.
    Vinitha.

  • System status CMPL is active

    We are using SRM 5.0-Extended classic scenario. The Purchase order which was created and replicated to the backend R/3 system . But now the *status changed to *"Transaction complete " status and if am going to change the PO am getting pop-up message as "System status CMPL is active".
    Is any way to change the PO status ? Or any other function module is available , I have tried function module
    BBP_PD_PO_STATUS_CHANGE. But am getting the same status.
    Kindly advice

    Hi,
    Its great that you were able to solve the problem. May be you dint specify the required keywords for this thread to appear. Its always a good habit to search the forum before posting the question. We really appreciate that here in SDN.
    P.S: I dint have any hand in restricting that thread from appearing in the search list
    Thanks,
    Pradeep

  • System Status in COOIS

    Hi ,
    In COOIS report  two system status " REL and CLSD system status" is not work  for excluding .when i do exclude CLSD it is not effect in report output it is display but for another status it is work ok.another thing it is not work only Quality server but other server production and development it is work fine.
    T&R

    Itsmerajkhan,
    This is the incorrect Forum for this kind of question. What I suggest is that you do a search on COOIS and find the most appropriate Forum for this question.
    I did a search and saw a number of areas where this question may be best asked, but only you will know which is closest to your need.
    These Forums do NOT allow multiple postings of the same question in multiple Forums. Please close this message, find the most appropriate Forum using the Search box above and repost there.
    Regards,
    Bob

  • Tables fields where the system status is getting stored

    I need to find out the Quotes which have open and completed system status.
    Once I find these orders I need the check the validity dates of the Quotes.
    Can experts please let me know the tables where the system status and the validity dates are stored?

    Try TJ02
    It contains the System status ISTAT.
    Kindly execute the report CRM_ORDER_READ.
    This is a report for executing the FM CRM_ORDER_READ.
    provide the transaction ID or guid as teh input.
    Check the ET_STATUS and ET_APPOINTMENT tables which contain the details required.
    In the table ET_STATUS search with the header GUID.
    The values with I are the system status and the value with E is the user status.
    Explore the result of this report to get more detail.
    Regards,
    Taher

  • System status in equipment master

    Hello all,
    In the equipment master the system status is showing ESTO HUAS SLOR. Is this correct? The material with this serial number is in stock - so ESTO i s valid. But it is not assigned to any sales order (Cross checked table EQBS)...What makes this combination work (System status).
    Also, in the action log it says previously it was assigned to sales order but now its in inventory. How to correct this. Please help.
    Thanks
    RJS

    Hi,
    Please clarify that after assigning to sales order have you performed return delivery? Because of this might the link between ESTO and sales order is not there. To assign the ESTO to sales order as EDEL  go to the trx BS22, search the status EDEL. Then , you double-click on short text, Search operation PMS8 and set flag "enable" o "warning". Whit this setting, You can post a delivery whit status ESTO EDEL. Hope it works. Thanking you.

  • System status & contract date

    hi ,
    please tell me in which tables can I get the 'system status' and 'contract date' for a contract in CRM ?
    thx..
    paul

    Use transaction SARA AND USE OBJECT CRM_SACONT FOR crm sales Contract other search CRMcONT
    Please reward if useful.

  • System status and user status configuration

    Hello All,
    1. Is it possible for the system to  reverse the user status of WBS element if the actual business transaction is reversed. For example, User status 'ABC' is set as Initial status and in OK02 config, it was set that, when the system status is 'ACPT'( will appear when we create an SO and saved), the user status will be changed to XYZ. But subsequently when the WBS element in the Sales order is removed (by changin SO because of wrong postin), is it possible to the initial active status.
    Here my ok02 config is like this
    stuatus 10 ABC 10 30   1  1
                 20 BCD  10 20  1   1
                 30 XYZ  30 40  1  1
    Here my requirement is once the system sets the status XYZ, the user should not change to BCD. But my above mentioned requirement of reversal will arise when the user wrongly enters the WBS element in the SO.
    Any advice is highly appreciated. Could not find proper solution after enough search.
    Thanks.
    Ram.

    Hi,
    In this case you can create the one more user status as 40 EFG 10 40 1 1and restrict this status by authorisation key.
    provide this status authorization to responsible person not for all the users. If SO deletes the responsible person changes the status from XYZ to EFG and then to ABC, from here you can follow regular process.Finally the WBSE status remains
    as XYZ.
    regards,

  • Notification Status - System Status Object1- Message - 0STATUSNTF1_TEXT

    Hello dear Experts,
    I'm trying to figure out what status texts do the extractors 0STATUSNTF1_TEXT, 0STATUSNTF2_TEXT and 0STATUSNTF3_TEXT (System Status Object1- Message, System Status Object2- Message and System Status Object3- Message) bring to BW. I suppose they are related to the notifications, because these datasources are under QM-IO Quality Management Master Data. When I try to use transaction RSA3 they extract nothing.
    I tried searching the internet, help.sap and SDN with no results. Does anybody know anything of these datasources?
    Thank you very much,
    Isabela.

    Note 300300 - PSBW: Application of the status concept

  • System status - transaction control

    Hello ,
    I have a following doubt ,
    Are we allowed to checnge system status business transaction control ? using transaction BS22?
    Or it can cause problems in the system?
    Thank you
    Rika

    Hello Rika,
    the system status is the "stronger" one.
    Using transaction bs32 you can display the business transactions for the status maintanance. Position to one of them like "FINI" and display the where used list(F6). You will get a view where the corelation between system status and status process is displayed.
    For FINI I can see that the system status I1005 CMPD Completed is set.
    Now go to the bs22 transaction and search for the I1005 system status. Do also a where used list(F6) and you will get all the processes that delete this system status. You will see that the process QUOT is allowing this.
    So now it comes up to the status profile. You have mentioned that you have the FINI process. Check if the rejection user status is allowed after FINI by checking the lower highest columns in the status profile.
    I hope this will clearify your doubts.
    Best regards,
    Erika

  • UNTECO the system status which is TECO

    Hi experts
    How or where can i check the user not allowed to do unteco (IW32 Order->Function ->Cancel technical Completion) which is the status already TECO. means once the status in IW32 is TECO. user do not akl

    Authority check is executed via authorization object I_VORG_ORD "PM: Business Operation for Orders"
    the authorization fields are AUFART "Order type" and BETRVORG "Business transaction"
    To find the correct "Business transaction" look via transactions BS23 "Display system status" - look for TECO (I0045) and perform a where used search you should find a list of processes that set and delete the status.
    Regards,
    Raymond

  • Why not all fields dimmed or show in display mode after system status TECO and CLSD for Project

    Dear All,
    When Sets the system status TECO or even CLSD all fields for WBS Elements are not goes to Display mode. User can still edit them or change then.
    The fields are:
    1. WBS Element Description, technical name: PRPS-POST1
    2. Person responsible number, technical name: PRPS-VERNR
    Other Progress and Customer enhancement tab pages for WBS Element all fields there also editable in TECO and CLSD system status.
    The client do not want to set LOCK system status for master data option.
    Is there any enhancement or standard way of doing that?
    Regards
    Saqib Usman

    Dear Saqib,
    Its a standard behavior of the system. In CLSD status, transactional data like Procurement gets restricted along with WBSE no and its scheduling details. But it allows to you change like WBSE desc./Responsible person.
    Also go thru the below link for clarification of WBSE system status:
    http://help.sap.com/saphelp_470/helpdata/en/ee/41f82246ee11d189470000e829fbbd/content.htm
    For locking all master data, as above experts suggest, you should use MDLK/LKD.
    Regards
    Shishir

  • How to get system status and user status of service order

    Hi,
    I want to show user status and system status for service order in my report and i am using CRM_ORDER_READ function module to read the status, but it is returning lot of status records, could anyone please suggest how to get the system status and user status for service order.
    I did not find any clue for how to get user status, i can see the user status when i open the transaction using CRMD_ORDER.
    Regards,
    Kamesh Bathla

    Hi,
      Go to CRM_JEST table give your service order guid and get the status, pass this status into TJ02. You will get the status of your order.
    Regards
    Srinu

  • MR11 error message system status CLSD is active

    MR11 fails with error message system status CLSD is active . How to clear the PO line item which gives error message in MR11 system status CLSD is active .

    If you are using an account assigned PO then possibly the order(PM order, internal order etc) to which your PO refers might have status as CLSD.
    Check and reverse the status.

Maybe you are looking for

  • Levels in the General Ledger

    Why are there 5 levels in the in the European G/L and only 4 in the U.S. version and can you tell me what the differences are?

  • Why does Aperture implement full screen mode differently to other Apple software?

    Yes I know I always was pretty thick, and things haven't improved as senility draws nigh, but I have not yet found a way to run Aperture as I would like to. What I want to do is to run the NON full-screen interface in a manner that occupies the whole

  • Can my secondary email address be used to receive invitations to share a calendar?

    I currently have an @me.com email address for my ID. I never use this address, but have another address that is widely known. Some colleagues want to share calendars via private sharing. They sent the invitation to my usual address, so I cannot conne

  • SPSS ON PARALLELS?

    sorry if this is on the wrong place but i have a cwk due in next week, and realised my university does not have a mac license for SPSS would i be able to purchase parallels so that I can run SPSS on my mac or is there other ways?? also is it XP or vi

  • Time Machine duplicating backups for no apparent reason

    Hello all. I am attempting to use Time Machine with a hard drive ("AirDisk") attached to an Airport Extreme Base Station. I am aware that this is not officially supported, and I expect I will just end up having to go back to doing SneakerNet backups.