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

Similar Messages

  • 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

  • Different user status profile for network header and activities

    Hi everyone!
    Is there any way to define different user status profile at network header level and at network activity level? As far as I know, it is only possible to enter a user profile at network type level, and both netwok headers and activities use the same statuses. Does it work this way?
    Thanks!
    Regards.
    Edited by: Thalos on Jul 2, 2011 12:27 AM

    Hi Punith, Hi abdul!
    Thanks for the reply!
    I've gone through the OPSC, but the thing is that here you define a user status profile at network plant level. But I need to define it at network activity level.
    The reason why I need this is because we have types of activities. We use network activities for client activities, for internal activities, to identify and follow-up risk management, etc. Each group of activities -since they have different usages- has different user status associated. But as I don't have any way to assign different user status profiles, all the activities have the same statuses, although  they will only use some of them.
    Thanks!
    Regards,
    Thalos.

  • Bapi for Project User Status Profile

    Hi,
    Is there any bapi that contains the field "Status Profile (STSMA) of the Project? I only can find the WBS status...
    Thanks in advance.
    LM

    Hi,
    Thanks for your reply.
    But this function is to get the status... The problem is when creating a project by BAPI, the "user status profile" field (STSMA) is not available to fill. In this case, it happens if we have 2 schemes for projects, the bapi only puts the first that appears and I want the 2nd one to be fullfilled.
    How can we create a projet by bapi and have this field?
    Thanks in advance,
    LM

  • User status profiles for work orders and sub-orders

    Hi Experts,
    I have the following question regarding status profiles for SAP PM work orders (but I guess it relates to all user status profiles).
    Customizing
    A status profile is defined for order type "PM_A", which contains an authorization key "OP" for certain user states (to be set by the ordering party)
    Situation
    The ordering party A creates an order of type PM_A for contractor B, and B then creates a sub-order of type PM_A for contractor C
    Problem
    - If I assign the authorization key "OP" only to roles of party A, then party B can't set the user states reserved for the ordering party (correct for the order A->B, but not for the sub-order B->C)
    - If I assign the authorization key "OP" to roles of party A and party B, then B could set certain user states reserved for the ordering party in the order A->B, which is also wrong
    Question
    Is there a way to restrict sub-orders differently than "non-sub-orders", or do I have to create a "sub-order order-type" for each order type, in order to assign them different status profiles and authorization keys?
    Thanks a lot!

    hi
    since you have 3 roles to be assigned to the same order type with different authorization ,it is better you create an seperate order type for sub order and assign the user status with authorization for B and C
    regards
    thyagarajan

  • 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

  • Object Types in User Status profile for Investment managment

    Is there any one who has idea about what object types should I select in User Status Profile for Investment management . this is very urgent .
    Regards
    Rama Shanker Sharma

    Dear Ram,
    User Status can be maintained in the system as foll
    Maintain the Status Profile first in OK02
    Status no       Status        Short text         Initial status flag    lowest    Highest
    10                  NBU            Not Budgeted             ^                10          20
    20                  BUD           Budgeted                                      10          20      
    in
    Status
    NBU
    maintain the required fields as required by your process requirement
    Material purchase order
    Material purchase requisition
    Partially release project
    Release etc
    and define each line item weather it should be No influence/Allowed/Warning/Forbidden/No Action/Set/Delete
    Repeat the same logic for
    Status
    BUD
    I hope this solves your problem, if not please write in detail your requirement.
    Regards,
    Vikat Verlekar

  • Automatic Selection of  "User Status Profile" for Inspection lot

    Hi all,
    I have created "User Status Profile" for particular plant to block UD if Results are not recorded ; I want this 'User status profile' to be selected automatically in record usage decision screen - qa11 of inspection lot .Please let me know how to go about this?
    Thanks
    Veeresh

    You can call the inspectiion whatever you want up to I think 6, (maybe 8) characters.
    You can use 04pppp where pppp = your plant ID.  So 041000, 042000, 042010, 043000, 043140, etc...
    In the insepction type setup in the material masters you can set the inpsection type you want to use in that plant as the "preferred" one by checking that box in the inspection setup in the material master.
    FF

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

  • User Status Profile for an Installed Base

    hello everybody!
    I need your help! I want to assign a User Status for an Installed Base, Anybody knows what is the step by step for this?
    I already have the User status profile, but i dont know where I can assign it into de Ibase.
    I think is into this Dialog step but I'm not sure. This is SAP CRM 7.0.
    Thank you so much for your help, regards!

    Hi,
    You need to add the below Object Types in your user status profile.
    Go into your user status profile and click on the Object Types as highlighted below and then enable the list of object types. Then you will be able to see the status profile in the IBase header.
    Enable these object types for IBase.
    Allowed Object Types
    General Object
    Ibase Header
    Product Master Data
    Regards,
    Siraj

  • User Status Profile for Process Order Operations

    Hello Experts.
    I have a need to set up a User Status at the Process Order Operation level that will prevent operation confirmation when the status is Active .
    I have been successful at the following:
       --- Created a new Status Profile (transaction BS02),
       --- Creating a u201CHoldu201D status,
       --- Defined the Influence on Business Transactions,
       --- Set the allowed Object Types for the profile.
       --- In an individual Process Order operation, I can now select the Status Profile, and set the Hold status, and it functions correctly.
    My problem is that I canu2019t figure out how to set my new profile as a default for Process Order Operations.  For Production Orders, this is done in the IMG definition for the Order Type (transaction OPJH), updating field T003O-VRG_STSMA.  However the Order Type definition for Process orders (transaction CORN) only has a field for a status profile at the header level.  Iu2019ve searched through Configuration and the Recipe, and the Production Version, and the Control Key, but can find no where to set the default status profile for a Process Order Operation..
    As a final desperate act, I manually edited a T003O record for a Process Order Type in our test system, but even this failed to set a default Operation Status Profile for subsequently created Process Orders.
    If you have any knowledge about this, then please help.

    As of this date, we have still not implemented a fix, but I did get some information from someone else who has.
    I'll post his information here for all to see.  Hope you find it helpful.
    From: Joe
    Yes we managed to do it.
    After several false starts and CMOD/projects which suffered because only the default keys (for order number, aufpl etc) were in place and not the actual, we coded up the IN_UPDATE method in the WORKORDER_UPDATE badi. This gives us the final format after the DB save (but before the commit). The update of the STATUS using the SAP std function module was actioned successfully but the status profile was not actually passed through. We assumed that this was because of the update task - so we introduced an INSERT into JSTO instead (a bit naughty I know, but desperate needs etc). If you require anything more let me know.
    Best Regards
    Joe

  • User Status Profile for Notification PM

    Dear Masters,
    I know the steps to create the user statuses and user status profile for notification but I want a brief description on maintaining the user statuses. Can i have any document that can explain me the user statuses.
    Hope to find the reply soon. Thanks in advance.
    Chin2

    Hi Naveen,
    Thanks for such a valuable reply, this document is very much helpful to me. See the below example i am showing for the status profile i have created
    STATUS PROFILE:  ZP-NOTIF
    Status number        Status     description                                          Init      Lowest       Highest      position     priority
             1                    OPEN       Open Notification                                no        1                   1                 1               1
             2                    RUNG      Equip. Running Condition                    no         1                   2                1               1                
             3                    NRUN      Non-Running Condition                       no         1                   2                1               1                
             4                    CLSD      Closed                                                 no         1                   2                1               1                
    When I am trying to set the first status (OPEN) to the notification, it works fine but even after I am assigning the order to this notification, put notification in process, assign equipment I cannot set the next status (i.e., RUNG) it is showing me the following error:
    "Status RUNG is not allowed (QNF 100000000000) "  -> -> 
    Diagnosis
    The user status 'RUNG' has reference number 02.  In the current object status 'QNF 100000000000', the reference number of a status may not be higher than 01.
    Procedure
    You can only set user status whose reference number is not higher than 01.
    please help me solving this question its a bit urgent.
    Thanks once again for your replies.

  • User Status Profile for Purchase order

    hi
    Can any one help me how to created user statuses other than system status for Purchase order? where to assign it to PO document type.
    Rajendra

    Dear Rajendra,
    I'm not sure there a standard field for user status in PO, you have to custom it, but it's not recommended.Perhaps u should check what if the critical use for this user status before u    continue to custom.
    regards

  • 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

  • User Status Profile at Component Level in PM order

    Hi All,
    How can we assign a User Status Profile at the component level in a PM order.
    System statuses are available at component level. And these system statuses control other business transaction also. I want similar to system status, I should have some User status, which can control some business transaction.
    Please share some inputs.
    Thanks,
    Piyush

    Hi Thyagarajan,
    Thanks for the reply.
    My actual requirement is as follows:
    The component's tab page will have many component line items.
    I want a seperate PR for each one.
    But I want that based on an influencing factor, I should be able to control, the timing when PR is generated for each component line item.
    i.e. PR should not be generated together for all line items, but at different times for diff line items.
    Please give some input.
    Thanks and regards,
    Piyush

Maybe you are looking for

  • Income tax calculation error

    Dear All for an Employee , his total taxable income is Rs 2,65,395 pe annum so  per month it would be Rs 22116. But it is showing income tax for april month as Rs 44,210. His PAN is also being maintained. Kindly guide me in resolving this issue. Rega

  • Customer Statement and DI API Invoices

    Hi, We are running SAP Business One 2007A PL5. We have a number of invoices that have been created by the DI API used by the Radio Beacon/SAP interface.  These invoices are not appearing on the customer statement. The only noticable difference in the

  • OM Infotypes delta

    How will I monitor when there are changes(insert,update,delete) from OM infotypes? Can i use HRIADMIN transparent table to check aedtm if theres a change? Unlike in PA, you may configure some trigger fields using IMG to monitor changes for every chan

  • Mavericks changed permissions?

    I get the following error message when trying to save a file from illustrator. Can't save illustration. You do not have enough access privileges. ID: -5000 The file is in a folder in the "FAVOURITES" pane. When I try to locate the actual folder I can

  • Error with Booking_dataFS.java

    All, I am tryin to run the sample B2B Hotel application from JDeveloper. I am in the HRS module, trying to Submit the cart. THe HRSServlet calls the Booking_dataFS class Here I am getting the following error: java.lang.NoSuchMethodError: oracle.xml.p