Iw32 - Fm for User status
Hi i need a fuctional module to get the user status displayed in Iw32 for a order no.
Keshav
find out the status profile for the service order...
then...
SELECT * FROM jest INTO TABLE it_ustat
FOR ALL ENTRIES IN it_qmel
WHERE objnr = it_qmel-objnr "object number for the order
AND stat LIKE 'E%'
AND inact NE 'X'.
SELECT * FROM tj30t INTO TABLE it_tj30t
FOR ALL ENTRIES IN it_ustat
WHERE stsma = 'ZXXX' "status profile
AND estat = it_ustat-stat
AND spras = sy-langu.
TJ30T-TXT04 contains the user status
Similar Messages
-
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,
SonalHi,
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 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 -
hi
Please tell anybody what is the table for User Status Profile in Sales Orders? where it will stores?
Regards
RajendraHi,
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 -
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 PMHi
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 -
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.
RegardsHi 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. -
Hi,
In Plant Maintenance orders to help users to manage the work process of
user statuses,
When we open the order using tcode IW32, we should be able to set the
userstatus to JBDN, but it should not get reversed from JBDN to any
other previous status(like from JBDN to WIP i.e., high to low). We want to restrict the
authorizations in one role for this type of status change.
Similarly, we want authorizations to be restricted in another role
where we should ONLY be able to set the status from JBDN to WIP(It
means, it should not allow to change the status from WIP to JBDN in the
same role i.e., lower status to higher status).
It mean, we want the user status to be allowed to change in one way.
We tried to restrict the authorization with B_USERSTAT. But it is
allowing to change the status in both ways(i.e., from JBDN to WIP and
also from WIP to JBDN) which should not be the case.
Please let me know what authorization objects to be restricted for this.
Regds
Sekhar.Hi,
As per my knowledge/experience, it is not possible to restrict the user from select options only 1 way and this kind of restrictions are not included in SAP authorizations. May be, you need to look for a customized program, which can lock the option once selected.
Rgds,
Raghu -
Hi Experts,
Is there a way we can build validations on user statuses?
Here's the scenario: For ex- There are two statuses without status numbers - 1) X 2) Y
Is there a way we can restrict the user to select only one at a time i.e. either X or Y?
Note: We cannot use status numbers because of the nature of the user statuses (X and Y), it will be a manual check only no radio button.
Please Advice.
Arya
Edited by: Arya Singh on Dec 9, 2008 3:52 PMtxn OPSI
go to the check mode
exit tab
you can see some user exits there
e.g UFP01 etc
or use BADi to build the logic on save project (projectdef_save) -
BAdi DPR_EVENTS for user statuses
Hi,
Anyone having ideas on how to use the BAdi DPR_EVENTS when user defined statuses are triggered?
Regards,
Vivek?Hi Vivek,
It's not possible to use this BADI for user defined statuses.
We had a similar need a few months ago. We solved it by implementing an enhancement (pre/post exit) in dynpro DPR_STATUS_THRESHOLDS, view VI_STATUS, method ONACTIONCHANGE_STATUS. We can detect here which status (user or system) has been selected.
Matthias -
Hi All,
Is it possible to send the mail at company mail id to different users as per the different user status in the notification thru the work flow?
regards
sunilHi
TCODE : OIM1
Assign agents and activate event linking
So... Check out this link [Work Flow|http://help.sap.com/saphelp_47x200/helpdata/en/b0/df293581dc1f79e10000009b38f889/frameset.htm]
- Pithan -
Hi,
Please let me know if there is any user exit that triggers upon updating the user status in the status tab of the sales order.
I had used the exit 'Move_field_to_vbep' and 'USEREXIT_SAVE_DOCUMENT'
but they are not getting triggered on saving the sales order.
Regards,
Srirupa.You can check with include RV45PFZA and USEREXIT_SET_STATUS_VBUK and USEREXIT_SET_STATUS_VBUP .
Hope it helps.
Reward if it is useful.
Thanks,
Srinivas -
User status transfer for sales orders from ECC to CRM
Hi,
We use business process with CRM sales orders that are transfer to ERP.
Users can change user status in the sales orders in ERP.
How we can replicate custom user status from ECC Sales Order to CRM Sales Order?
What is the steps to do this for CRM 7.0?
DenisHi,
We are creating quotation ZPQT in CRM which is then get replicated to ECC on saving it on “Accepted” status. In ECC we then create sales order of type ZPOR. Sales order gets replicated in CRM and also updates document flow. This sales order is called as “Project Sales Order”. PS team assigns WBS element to this order and does billing later on. Upon billing document is created sales order status in ECC changes to “Completed”. This is system status. But the issue is status of order ZPOR is CRM remains in status “Inprocess”. We want it to change to “Completed”.
We have similar scenario with order type ZOR. In this order after delivery and billing ECC assigns status “Completed” to sale order and same gets replicated to CRM.
In CRM for user status Completed we have assigned system status as FINI. Both ZPOR and ZOR has same status profile assigned at header and item level.
Our concern is if status is changing back in CRM for ZOR then why not for ZPOR. What is stopping system to do so? -
Need FM for reading user status at run time in CRMD_ORDER txn.
hello all,
i need to know the FM for finding the user status on the screen.
i know there are FM's for finding the values on subject and external reference fields. similarly i want it for user status .please help me in this regard....
Thanks,
Sreekanth.Hey Shiva,
The FM for finding user status is CRM_STATUS_READ_OW
Please Reward for usefull usefull post..
Regards,
Anand.. -
Need help on to set User status for Operations in Maintenance order
Hi experts,
i am new to PM module.
i need to do BDC for IW31. i want to know some inforamtion
on user status for each opertaion.
my problem is ,, what is user status.
why it is saying order is not yet released when saving and status can not set.
in this cases how can i do BDC.User status are something set in the configuration and specific to the company which SAP hasn't given in the system status.
May be in your system user status are configured to set only after the release of the order.
For doing the userstatus you may need to release the order, you can release the order thru bdc and then do bdc for user status. Also see below link
http://www.sap-img.com/plant/user-status-set-date-in-maintenance-order.htm -
Hi all, I want to change the user status NOCO(Notification completed) for M2 type of notification in the Quality client.I did it in Dev client for M2(Break down Notn) and imported the TR to Quality.When i try to assign this status in Quality client, the system is throwing an error as follows.
Status NOCO is not allowed (QNF 10039901). Solution please.Also provide the path in SPRO.
Thanks in advance,
Venu.Have you completed all of the tasks in the notification. Has the Notification the following system status : ATCO ,
If not, you would not be able to complete the Notification. Try Completing all the tasks and then mark the Notification as Complete.
If you have defined any user status to be NOCO, then check that whether in the User status profile, against the current user status of the Notification, the lowest and Highest columns allow the NOCO status or not. Include the status number for NOCO against the current user status. This would solve the problem.
Path for User Status Profile Creation and Assignment:
SPRO>Plant Maintenance and Customer Service>maintenance and Service Notifications>Notification Processing>User Status For Notifications-->Define Status Profile
Edited by: Usman Kahoot on Jun 1, 2010 5:19 PM
Maybe you are looking for
-
Older versions of Apple Updater and Bonjour can not be deleted
I sent back my 1st Gen. Nano on recall. I then tried to sync the new 6th Gen. Nano to my iTunes 9.0. iTunes said I had to upgrade to iTunes 10.... When I tried to upgrade I got a message saying older versions of Apple updater and Bonjour could not be
-
Unable to generate SQL trace file in shared mode ??
Hello, I have a 10.2.0.1.0 database on Win2003 server 64 bits, with several instances. On instances in dedicated mode, I can create trace files by using dbms_system.set_sql_trace_in_session, but on instances in shared mode nothing happens : no file i
-
Just bought my first iPad and can't seem to connect even in the house. Have verified the netgear password but it won't let me connect..any ideas?
-
Removal of payment reference no
Hi, At the time of entry of a customer receipt, we have entered the same against the invoice using the partial payment option. Thus the DZ document contains the reference of the RV document. This field is normally editable when you go into the change
-
OAS Cluster / OC4J Cluster without using LBR ?
Hi all, In one of our client running OAS 10.1.3.3, there is requirement for High Availibility, but investing for a hardware LBR may be too much for them on this phase. We think of doing this : using two nodes for OAS : server_1 : OHS1 + OC4J1 server_