Table for user status field in CJ20n transaction project defination

HI ALL,
what is table for user status field in CJ20n transaction project defination creation. This field is in Basic Data tab.
Thanks.

Hi,
Check following tables for Usre status:
TJ30 - User status
TJ30T - Texts for user status
TJ20 - Status profile
JEST - Object status
JSTO- WBS status profile.
Check this code:
REPORT zps_get_userstatus .
PARAMETERS: p_posid LIKE prps-posid.
*-- Constants
CONSTANTS: gc_yes(1)     TYPE c                 VALUE 'X',
           gc_no(1)      TYPE c                 VALUE ' '.
*-- Variables
DATA: l_objnr LIKE prps-objnr.
*-- Internal tables
DATA: BEGIN OF lit_jest OCCURS 0,
       objnr LIKE jest-objnr,
       stat  LIKE jest-stat,
     END OF lit_jest.
DATA: BEGIN OF lit_jsto OCCURS 0,
       objnr LIKE jsto-objnr,
       stsma LIKE jsto-stsma,
      END OF lit_jsto.
DATA: BEGIN OF lit_status OCCURS 0,       "Combination of JEST & JSTO
          objnr LIKE jest-objnr,
          stsma LIKE jsto-stsma,
          stat  LIKE jest-stat,
        END OF lit_status.
DATA: BEGIN OF lit_usrsta OCCURS 0,       "Uer status for all wbs
         objnr LIKE jest-objnr,
         stsma LIKE jsto-stsma,
         stat  LIKE tj30t-estat,
         txt04 LIKE tj30t-txt04,
       END OF lit_usrsta.
DATA: BEGIN OF lit_usrtxt OCCURS 0,       "User Status text - TJ30T
        stsma LIKE tj30t-stsma,
        stat  LIKE tj30t-estat,
        txt04 LIKE tj30t-txt04,
      END OF lit_usrtxt.
* get WBS object number
SELECT SINGLE
     objnr FROM prps
           INTO l_objnr
           WHERE posid = p_posid.
* get WBS active status from table JEST
SELECT
      objnr
      stat
           FROM jest INTO TABLE lit_jest
           WHERE objnr =  l_objnr AND
                 inact <> gc_yes.
* get WBS status profile from table JSTO
SELECT
      objnr
      stsma FROM jsto
            INTO TABLE lit_jsto
            WHERE objnr =  l_objnr.
* combine JEST and JSTO table for user status
LOOP AT lit_jest.
  IF lit_jest-stat CP 'E++++'.
    READ TABLE lit_jsto WITH KEY
                        objnr = l_objnr.
    IF sy-subrc = 0.
      lit_status-objnr = lit_jest-objnr.
      lit_status-stsma = lit_jsto-stsma.
      lit_status-stat  = lit_jest-stat.
      APPEND lit_status.
    ENDIF.
  ENDIF.
  CLEAR: lit_jsto, lit_status.
ENDLOOP.
*  get text for user status
SELECT DISTINCT
         stsma
         estat
         txt04 FROM tj30t
               INTO TABLE lit_usrtxt
               FOR ALL ENTRIES IN lit_status
               WHERE stsma = lit_status-stsma AND
                     estat = lit_status-stat  AND
                     spras = sy-langu.
Let me know if you have any question.
Regards,
RS

Similar Messages

  • Table  for User Status Profile

    hi
    Please tell anybody what is the table for User Status Profile in Sales Orders? where it will stores?
    Regards
    Rajendra

    Hi,
    Use table JEST
    Here you will have to enter the object number as an input field
    Get object number from table VBAK or VBAP based on whether the status profile is attached at sales order header or at sales order item.
    Status which is active will start with letter E and the status inactive flag will be blank.
    Regards
    Ravi

  • IW31- How to add Search help for User specific fields in IW31 transaction.

    Hi Experts,
    I have to add Search help for standard fields USR00 to USR10 fields in IW31 transaction.
    Is there any user exit for this requirement.
    Please reply, it will be very helpful for me.
    Regards,
    B. V. Rao

    Bala,
    See the following user-exits:
    IWO10015: F4 Help for user fields on operation
    IWO10016: Customer enhancement to check operation user fields
    PeteA
    [www.pjas.com]

  • Table for user data of Material attched in Project

    Dear All,
    When we attached a material in Project, on Assignment tab of a material we can get the administrative data like Created on & Created by and Changed by & Changed on.
    I want to develop a report in which I need above two data's. Let me know from which table I can get this details.
    Thanks and Regards,
    Atul R. Rajmane

    Hi,
    I can get str RESBD...
    But I cant use it for Report devlopment.
    Is possible to get name of table and field for same....
    Regards,
    Atul

  • User Status field on SAP Project System

    Hi,
    When view a project definition via tranx CJ20n, I see a field called User Status on tab 'basic data'.  When I do F1 to get the technical name, it referenced a field from the structure CNJ_STAT-STTXT_EXT.  How can I find out the table where the value for User Status are stored.
    Please advise.
    Thanks.

    check the below tables.
    TJ30   User Status
    TJ30T   Texts for User Status
    Field TXT30 Object status

  • System Status & User Status Fields/Tables for PM Order

    Hi All,
    May I know the PM Order System Status & User Status Field Names & Tables??
    Sundar

    Dear,
    Table- JEST  to get the status of the order &
    Table- TJ02T to get the text for the internal status & TJ30 to get the text of external status.
    regards
    sunil

  • Function Module to change the user status of a business transaction

    Hi,
      I want to change the user status of a business transaction. Plz let me know if there is a function module to change the user status.I found some FMs.
    - CRM_STATUS_MAINTAIN_OW
    - BBP_PROCDOC_STATUS_CHANGE_DIRE
    - CRM_ORDER_CHANGE_STATUS
      But these FM says that it has to be used for changing system status.
    Thanx,
    Sivagami.R

    hi Siva,
    here is some sample code :
    data :
      ip_guid            type  crmt_object_guid,
      ls_status            type  crmt_status_com,
      lt_status            type  crmt_status_comt,
      ls_input_field       type  crmt_input_field,
      ls_input_field_names type  crmt_input_field_names,
      lt_input_fields      type  crmt_input_field_tab,
      lt_obj_guids         type  crmt_object_guid_tab,
    ip_guid = <your guid>.
    ls_status-ref_guid = IP_GUID.
    ls_status-ref_kind = 'A'.
    ls_status-status = lv_newstat.
    ls_status-user_stat_proc = 'ZCRMCOM1'.
    ls_status-activate   = 'X'.
    INSERT ls_status INTO TABLE  lt_status.
    ls_input_field-ref_guid = IP_GUID.
    ls_input_field-ref_kind = 'A'.
    ls_input_field-objectname = 'STATUS'.
    ls_input_field_names-fieldname = 'ACTIVATE'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    ls_input_field_names-fieldname = 'STATUS'.
    INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
    INSERT ls_input_field INTO TABLE lt_input_fields.
    insert IP_GUID into table lt_obj_guids.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
        it_status       = lt_status
    CHANGING
        ct_input_fields = lt_input_fields.
    CALL FUNCTION 'CRM_ORDER_SAVE'
    EXPORTING
        it_objects_to_save = lt_obj_guids
    EXCEPTIONS
        OTHERS              = 2.
    COMMIT WORK.
    please award points if helps
    cheers

  • Add: User Status field as a selection in IW28/29 "Display Notification"

    Hello,
    Is there a way to add the "User Status" field into the IW28/29 "Display Notification" selection of notification menu.
    THanks.

    Hello,
    Please try this way:
    you can use  fields Status included / Status excluded in the sub screen General Data/Administrative Data. Here you can include user status in the search help and then use this field to enter user status as selection criteria.
    On the search help you use in your system it is also possible to change from the system
    status entries to the user status entries with the help of a button "restrict values shift+F5" on your search help entries-screen.
    Furthermore it is possible to change the lay-out of your search help-screen for this transaction. So that two tabs appear when you ask for search help. One tab is about the system status and one tab is for the user status.
    To achive this, proceed as followed:
    Go to the field on which you want to select the search help. Activate the search help on this field (press F4). The search help entries will appear in your system. Press CTRL+F4 in the search help entry list.
    A pop-up screen will appear, go to the tab "settings current F4 help" mark the option under 'Dialog box'.
    Now when you select the search help again, you will see that there are two tabs (system and user status) from which you can choose your status.
    I hope the information is helpful.
    Regards,
    Jane

  • Tables for Opportunity "Status" and "Reason"

    Hi,
    Can someone help me in finding the tables for determining "Status" and "Reason" for an opportunity along with the relvant text descriptions?
    Regards,
    Sandeep

    Hi Sandeep,
    Status-  code in field stat of CRM_JEST table
                    OBJNR = guid opportunity
                    INACT = SPACE
            Text of status in TJ30T with your status profile
    Reason-  code in field code of CRMD_SRV_SUBJECT with   
               guid_ref equal to guid_set( of crmd_link with objtype_set = 29 )
            Text of reason in QPCT
    I hope this way help you.
    Regards.
    Manuel

  • Screen "Define Status Profile for User Status" should not open in changemod

    Dear all ,
    After following the path CRM>SPRO>SAP IMG -->Customer Relationship Management -->Transactions -->Basic Settings --> Status Management -->Define Status Profile for User Status.
    the screen opens in change mode & allows user to carry out the changes, this is very crucial screen & hnece should not be in open mode ,kindly advice on closing the same.so that it opens only in display mode for production system.
    Regards

    Hi Milind,
                 To Block changes to any Object their is a Provision for the same in Client Deatils Screen
    Go to TCode:SCC4
    Check the Tab Cross-Client Object Changes
    Try setting the Option (3.No Changes To Cross-Client Customization Objs)
    Following Options Symbolises:
    Changes to the Repository and cross-client Customizing permitted
    There are no restrictions on the maintenance of cross-client objects for the client when this setting is used. Both cross-client Customizing objects and objects of the SAP Repository can be maintained.
    No change to cross-client Customizing objects
    Cross-client Customizing objects cannot be maintained in the client with this setting.
    No change to Repository objects
    With this setting, objects of the SAP Repository cannot be maintained in the client.
    No change to Repository and cross-client Customizing objects
    Combination of both restrictions: Neither cross-client Customizing objects nor objects of the SAP Repository can be maintained in the client.
    (Choose This One it Should Resolve your Problem)
    Hope it answered Your Queries..
    Thanks and Regards,
    RK.

  • EXIT/ BADI/ Enhancement point for User Status change in Order

    Hi all,
    I am looking for an EXIT or a BADI or an enhancement point specifically for user status change in an order thru IW31/IW32.
    I have the exit names for Order PBO, PAI, 'SAVE' event etc. so m not looking for generic answers.
    I have to put some validations for the Order on USER STATUS CHANGE. Let me know if any of u have any pointers on that.
    Thanks and Regards,
    Sonal

    Hi,
    Use this Enhancement IWO10009 and call these function module to change the User Status
    STATUS_TEXT_EDIT --> To Read the existing status.
    STATUS_CHANGE_INTERN_VB --> to change the status.
    Regards,
    Satish

  • Table for User Parameter IDs

    Hi All,
    Does anyone know the Table for User Parameter IDs?
    Thanks in Advance

    Hi Duke,
    USR01                          User master record (runtime data)
    USR02                          Logon data
    USR03                          User address data
    USR04                          User master authorizations
    USR05                          User Master Parameter ID      
    Regards,
    Ashok

  • Find table for a structure field

    Hi,
    I need to find table for field Q0743-OFFR1. I tried using tcode SE15, but was not able to find any table where the field is used.
    Is there any other method of finding a table for a structure field.
    Any pointers in this regard would be helpful.
    Thanks,
    Saher

    Hi,
    when u open the structure , u will find the tab " Component " in that you
    will find "Data Element" column which hold the data element of the structure
    component , now double click on the respective "Data Element " and that will
    open up the Data Element Page in which u will find a "Where Used List" icon
    , click on that, this will now display you the list, select the TABLE LIST
    Check box and execute, which will subsequently display you all the the table
    names which has "specified" data element's component as field
    Hope this will Help you.
    Regards,
    Kiran

  • What to know the master table for the following fields

    I want to know the master table for the following fields.
    Company code ( BUKRS )
    Chart of depreciation ( AFAPL)
    Main Asset Number  (ANLN1)
    Asset Sub Number ( ANLN2 )
    Asset Class ( ANLKL )

    hi,
    1) t001 (<b>for assets T093C</b>)
    2) t096
    3 and 4) anla
    5) anka
    rgds Andreas
    Message was edited by:
            Andreas Mann

  • What is the significance of define status profile for user status

    hi friends
    what is the significance of define status profile for user status. what does it contain
    Regards
    Vinny
    Edited by: vinny novice on Dec 29, 2008 1:53 PM

    Hi
    please see Kathir's article on ststus profile
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/bpx-community/supplier-relationship-management/how%20to%20configure%20user%20status%20in%20mysap%20srm.pdf
    regards
    Muthu

Maybe you are looking for