User /system status
dear gurus,
what is user /system status?how to configure user status?what are all uses of user status?in which situations we have configure user status.if possible please explain in terms of scenario.
thanks in advance
-gide
Message was edited by:
gide
Hi,
Status: A status documents the current processing status
of the object say Production order.
When Business transactions are carried out on an
object the status of the object changes
accordingly.
System Status:
A system status is set by the system.It informs the user that particular function was carried out on an object.We cannot influence the system status and hence cant be deleted or changed.
User Status:
User status is activated by the user in addition to existing system status.To define a uaser status we need to create a status profile per order type
Using USER STATUS we can restrict the release of Production order if there is Error in cost calculation.
Restrict release in case there is CSER status
1.You need to define a status profile in BS02 ( Ex A1)
2. Assign the status profile to object type PP order header
3. Then click the user status .
4.Enter the user status as CSER.Tick the initial status indicator.
5. Double click the CSER ,then goto create mode.
6. select the business transaction release.
7. Against release transaction choose forbid radio button and select the set function.
7. Save and assign the status profile to order type in OPJH.
Change in a process order not allowed when the order status is TECO
1. Goto TCODE BS02
2. Create status profile ex A1
3. Assign the Object type Ex PP PRODUCTION ORDERS.
4. Goto User status.
5. Enter TECO and set as initial.
6. Double click on TECO
7. Goto create mode
8. click goods movement Forbid.
9. Confirm order forbid set active status
10 GR For production order forbid set active.
11. Assign the user status to order type
Regards,
nandha
Regards,
nandha
Similar Messages
-
Report: user/systems status with change details for a project
HI.
I am aware of CN41N/CN43N transaction.
Is there a way to pull a report for a project with system status, user status and the details of who made the changes with date and time???
thanka a lot in advance
Regards
SURYAHi
If you have change documents active for status management and project profile then you can get the data from JCDS table directly (changed status and who changed it). Note that you will get the status in SAP internal code and you need to refer TCJ30 table for status. -
Need to change user & system status of trade promotion
Hi,
I have a requirement where I need to advance a user status if system status is changed based on some creiteria.
Similarly a system status will be changed on a particular user status.
Which table is updated for status of trade promotion? Which class/method can be used for it?
Regards,
ShikhaHello Shikha,
Status management on the whole in CRM is pretty complex at the db level as there are so many nr of tables. So, i feel it is better not to go more deep.
Individual application frameworks like one order, marketing has extended the status management for their needs which resulted in pretty good number of APIs for status related actions.
Try the using the following methods of the class CL_CRM_MKTPL_APPL_BASE
1) STATUS_READ --> to read the active status of the marketing object at that point of time
2) STATUS_SET --> for this method pass the business transaction associated with the status of your marketing project.
Hope this helps.
Regards,
Vinay -
Change the user/system status when PP order is packed through COPP1
Hi All,
We have a requirement to set the system or user status for a PP order. The flow is the transaction COPP1 is used to pack the order for different dates. Now there is a button available on the toolbar when the second screen comes and it shows the data for different dates.
Is there any user exit or badi available to change the user or system status when tcode COPP1 is used. We want to change the status when the order is packed through tcode COPP1.
Has anyone of you come across such kind of requirement before if yes then guide me how to solve this problem. If there is other way out also let me know.
Thanks,
MarkHello,
I am not aware about COPP1 transaction and fuctionality but production order change (automatic) is possible from Status profile settings. Create a status profile with your desired statuses and assign this to ordey type.
Regards
TAJUDDIN -
User & System Status in CRM Quotation
Hi
In Quotation we are able to change the System status and User Status.But Client want only to change User status but not System Status.Can any body help how to make System Status not Changable( only in Display Mode).
Is their any Customizing or any Badi Program to change this
Thanks in advance
Regards
SK.AhmedHi,
You can make the system status into display and this will get updated as per the user status. This is a normal configuration process.
Please go to SPRO-> CRM-> basic Functions-> Status and then try to configure the status profile and assign this to your Order type/item category.
I hope this will help. -
How to get user and system status for a trade promotion
Hi,
I have to develop a batch program to change user status and system status of all trade promotions which satisfy some criteria. This criteria checks some dates related to trade promotion(like Changed on,Pallett buying, buying horizon dates) also.
I thought of first extracting all external ids from CGPL_PROJECTS table and then run trade promotion query. But how can I get current user & system status and all dates as these can be taken from relations "TPMStatusActiveRel" and "TPMDateRel". I don't know to take data from relations. Please help me with a piece of code.
Thanks.Hello Shikha,
You can use these relations here, as you are not in the Business Object layer anymore. As far as my understanding is, all the batch programs or reports should be done at the API layer. Try this code, to read the status of the Trade Promotion object.
data: lr_appl_base type ref to CL_CRM_MKTPL_APPL_BASE,
lt_sys_status type CGPL_ISTATUS_TEXT_T.
lr_appl_base ?= CL_CRM_MKTPL_APPL_BASE=>GET_INSTANCE().
" To read system status
call method lr_appl_base->STATUS_READ
exporting
IM_MKTELEMENT_GUID = "your Trade promotion guid
ET_TJ02T = lt_sys_status.
" To read user status
call method lr_appl_base->STATUS_READ_EXTERN
exporting
IM_MKTELEMENT_GUID = "your Trade promotion guid
ET_TJ02T = lt_sys_status1.
To change the user status, use the method STATUS_CHANGE_EXTERN of the same class
To set the system status, use the method STATUS_SET of the same class.
Hope this helps.
Regards,
Vinay -
Report to check the WBS "system status"
Hello friends,
Would anyone know for a standard report where I can check for the WBS "system status"?
i.e.: I want to know everything I have in AVAC status
Thanks and Regards
AlexYou can get the system status of WBS in CN41, Execute the report , after it use the change layout option, select status.
System will display you user / system status for all the PS Objects.
With Regards
Nitin P. -
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 BathlaHi,
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 -
Fetching the sales order data using both system status and user status
Hi,
Could any one tell me how to fetch sales orders using both system status and user status.
My requirement is to fetch sales order data in a report where the user enters the system status and user status in the selection screen fields.
For example i need sales orders where the system status is I1002 i.e. OPEN and user status is E0002 (status profile CMSCON0) that is In Process
Early replies are appreciated.
Thanks
TanveerHi,
The system status and user status are stored in CRM_JCDS & CRM_JEST tables you can get the all the order GUID on particular status further pass the order GUID in table CRMD_ORDERADM_H to get transaction ID.
Regards,
Dipesh. -
How to get user status in place of system status - B2C
Hi,
In our requirement for B2C webshop, we need to replace the user stattus with the system status . In the standard B2C webshop, , we have only OPEN and COMPLETED orders, which related to system status - OPEN and COMPLETED.
I want to get user status in place of system status.
Please help me how to proceed with the things.
Regards
Yaswanth.KDone using Custom RFC and jsp modifications!
-
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 AMHi 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 -
Validate the user and system status
hi sap,
i have a requirment where i need to validate
if system status = ( ISTAT = 'I0002' AND " released
ISTAT = 'I0098' AND " create
ISTAT = 'I0119' ). " active
if the system status ( ISTAT = I0119 Which is ACTIVE then
it should CHANGE the user status.
if the system status ( ISTAT = I0002 Which is RELEASED then
It should NOT CHANGE the user status.
if the system status ( ISTAT = I0098 Which is CREATE then
It should NOT CHANGE the user status.
I have and internal table like this but i dont get the data what is the worng can you pls tel me where i went wrong
how do i validate the above formula?
data:begin of wa_itab,
spras TYPE tj02t-spras,
istat TYPE tj02t-istat,
end of wa_itab.
data: sys_itab like standard table of wa_itab.
SELECT spras
istat FROM tj02t
INTO TABLE sys_itab
WHERE spras = 'E'
AND ( istat = 'I0002' AND
ISTAT = 'I0098' AND
ISTAT = 'I0119' ).Hi ,
Use this.
DATA:BEGIN OF wa_itab,
spras TYPE tj02t-spras,
istat TYPE tj02t-istat,
END OF wa_itab.
DATA: sys_itab LIKE STANDARD TABLE OF wa_itab.
SELECT spras
istat FROM tj02t
INTO TABLE sys_itab
WHERE spras = 'EN'
AND istat in ('I0002','I0098','I0119').
Regards,
Vijay -
How to set a user status (complete) when ever system status is set complete
Experts,
We have configured status profile and few user status (say open, pre-release, complete) and assigned the status profile to the item category(zxxx).
The problem we have is if we have a service order that is created with the item (item category zxxx) -- Say the header status is open and the item status is pre-release. Now end user comes and sets the header status to completed - then the item status is still set pre-release. It is not changing to complete as expected.
Yes, the Item system status is set to completed but not the user status. How do I configure to set a complete user status when the header and item system status are set to completed.
Thank you
Edited by: ram on May 4, 2010 8:51 PMI am not sure if this can be "reverse engineered" in Status profile.
But here is some hint. You can use the BAdI CRM_ORDER_STATUS mehtod AFTER_CHANGE and actually break when the Header status is changed, and set the item status as desired. -
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,
RanjanHi,
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 -
System status or user status for IDOC creation and processing for prod ord
All
I am creating IDOCs for production orders to send requirements to an external WM system for kitting execution.
I need to know whether there are any system statuses to notify me when an IDOC has been created,failed and processed. If not, how do I go about creating user defined statuses for these statuses.
Second question, which idocs should I use to confirm, teco and cancel the production orders from an external system?
Thanks
EvanFor the first part of your query refer to the technical forums.
For the second part - refer to Idoc - LOIPRO01, it has a segment for Order status, that should be of interest.
Attn Moderators
I think it would be better to move this thread to a technical forum, so the requester can get the most relevant information.
Maybe you are looking for
-
After updating to IOS5, I can hear my music videos, but there is no picture
After updating to IOS5, I can hear my music videos, but there is no picture..help..
-
Dear experts, In my company we are using DP forecasting weeks, starting on Saturday going through to Friday. For 2008, I was able to set up my FY variant to deal with week 53 like this: Month Day Week# Year shift
-
CMD outputs in chinese characters
All my CMD outputs are in chinese characters like "net share > svrshareinfo.txt I dont have a clue why this is happening but I need a solution fast so I cant turn in my output captures for my windows server 2012 r2 class quickly.
-
Organizational managment - sales area data
Hello , I am looking for FM/tables that can retrieve: Sales office, sales group, sales organization and other attributes from any Org unit of Organizational model. Thank you, Rika
-
Is there a keyboard shortcut for pulling up the pop-up menu. I don't like that i have to click the drop-down button to see the values in a list. To me it should auto open if I try to start editing in the cell. hanks