User status block on Date wise
Dear Experts.....
I have scenario.
Normally user will be using the system whole month.
But by the end of month,Top management will be viewing the reports.
Now my req is
Whether we have any option in Usersatus .
System should block to all users on date wise every month u2026(30,31 date)u2026.(No procurement).
Is it possible.
Regards
Chandra
A/c to me in PS we cannot block the user by the virtues of Timeframe.....
If there may be some sort of way out than that would be possible with the help of tehcnical consultant. Say perticular role / authoriasation to user would be dyanamic say before 30th of the month they would have that authorisation and on and after 31 they might be not have that.
That type of development would workout in this case.
Regards
Nitin
Similar Messages
-
Hi EXPERTS,
In notification when we change user status, system logs date and time in action log
I want to know in which table does user status date and time can be found.
Regards
Anil KumarAnil Kumar,
I'm not a t a system right now, but have a look at JEST and JCDS.
PeteA -
Reg : User status information is not updating in Cube
Hi Experts,
I am loading data to INfocube which gets data from sales order ODS and Master data infoobject PROJECT which has project code. User status is a attribute fo Project (Master data infoobject). 1 WEEK before user staus was changed for a particular Project code in source system ECC system .If i display data in Master data PROJECT ,I could able to see changed user staus for that particular Project code.
Later data loaded to cube from Master data and ODS.If I select a particular Project code and give a sales document number and try to see user status which got changed ,it is not showing changed User status and values are not showing in Infocube.But when i try for another project code its showing correct User status in INfocube.
Kindly guide me to solve this issue.
Thanks in advance!ACR for Master data load was happend already and we can able to see changed user status in Master data.
But we are unable to view user status ,SALES document values for that particular project code. Sales document is extracting from ods. -
USER STATUS TABLE FOR ORDER MASTER
Hi
Please reply the Data table name for the field "USER STATUS" under control data tab of Order master.
Regards
Prakash.Hi,
The statuses for orders are strored in JEST table.
Regards,
Eli
P.S. Please, avoid posting in CAPITAL letters -
Any Pointers to set user status in iw31 and iw32
Hi all,
I am working on an enhancement where I need to set the user status for an order every time a new order is created(iw31) or an existing order is changed(iw32) and a material in that is flagged as a retirement unit material.
Is there any function module to do that?Hello Anu
I would like to point to the BAPI documentation where a useful BAdI (<b>IBAPI_ALM_ORD_MODIFY</b>) is mentioned:
FU BAPI_ALM_ORDER_MAINTAIN
Short Text
Process Maintenance-/Service Order
Functionality
This Business Application Programming Interface (BAPI) is used for
changing maintenance- or service orders and their lower-level objects.
The following objects of an order can be processed (for restrictions,
see the note at the end of the documentation):
o Order header
o Partner
o User status
o Order operations
o Relationships
o Components
o Long texts for order header, operations, and components
Function
Calling up this BAPI once allows you to perform all the operations. For
this the system supplies the function module with a method table
containing the methods to be performed. The entries in the method table
refer to data records in the optionally filled-out data tables. All the
methods from the method table are performed. Alternatively, just lower-
level objects from existing orders can be changed.
You can process the transferred data with the Business Add-In (BAdI)
IBAPI_ALM_ORD_MODIFY to, for example, merge data from the external
system with data from the R/3 system. The BAdI is called up as soon as
the transferred data is converted into the internal format. The tests
then take place after this.
Construction of Method Table
o REFNUMBER Reference number for linking object methods - attributes
The reference number is the line of the database which contains the
corresponding data. The data table is determined by the object type.
o OBJECTTYPE Object category
The object category specifies which object from the order should be
processed. The key words listed here are not language-dependent and
must be transferred exactly as they are. The following objects
exist:
- HEADER Order header
- PARTNER Partner data
- USERSTATUS User status
- OPERATION Operation data
- RELATION Relationships
- COMPONENT Components
- TEXT Long texts
- (empty) ,General BAPI functions (save)
o METHOD Methods
The methods with which the data should be processed. The following
functions exist:
- CREATE Create objects
- CHANGE Change objects
- DELETE Delete objects
- RELEASE Release
- TECHNICALCOMPLETE Technically complete
- ATPCHECK Availability check
- CALCULATE Calculate
- SCHEDULE Schedule
- DELELTEDSEX Delete the status for external scheduling at
operation level
- SAVE Save all data
- DIALOG Call-up dialog. See explanation below.
- TRACE Write trace file in the specified file to the
frontend
o OBJECTKEY SAP external object key
This key is for assigning the lower-level objects correctly to the
corresponding objects, as there is always just one key in the data
table. The key must have the following structure:
- 1-12 Order number
When creating orders with internal number assignment, a
reference number beginning with % must be entered here. The
BAPI then returns this number and the number actually assigned.
- 13-16 Operation number
- 17-20 Sub-operation number
For relationships, the key is structured as follows:
- 1-12 ,Order number from
- 13-16 Operation number from
- 17-28 Order number to
- 29-32 Operation number to
The following methods are permissible for the individual objects:
o HEADER:
CREATE, CHANGE, RELEASE, TECHNICALCOMPLETE, ATPCHECK, CALCUALTE,
SCHEDULE
o OPERATION
CREATE, CHANGE, DELETE, DELETEDSEX
o PARTNER, RELATION, COMPONENT, USERSTATUS, TEXT:
CREATE, CHANGE, DELETE
o (empty):
SAVE, DIALOG, TRACE
Data tables and update tables
The objects have one or more data tables. For some objects you can
specify which of the fields specified in the structure should be
changed. For this you must set the field in the corresponding table to X
as in the data table. If no update-table is transferred, then only
those fields are set that have a value that is not initial. This
simplifies the transfer data. However, this means it is not possible to
delete fields. If an update structure should only be specified for some
data records, the table with the update fields must nonetheless have the
same amount of lines as the data table. The empty lines are then
treated as if no update structure was transferred. The objects
"Partner", "User Status", and "Text" have no update tables. The whole
data record is always copied here.
References
The objects use the field REFNUMBER from the method table to refer to
the lines in the data table. Counting always begins with 1. In doing
this, REFNUMBER also refers to the update table. However, in the method
table there is a second reference to higher-level objects for
lower-levels objects. The field OBJECTKEY must be filled with order
number, operation number, and sub-operation number, as specified above.
If lower-level objects of a newly-created order should be changed, then
you must enter a temporary order number that must begin with %. Several
orders can be numbered serially, for example, with %00000000001,
%00000000002 ... .
The following objects have special treatment for REFNUMBER:
o Partner
o Texts
Partners have an order number in the data table. During processing of
the method table, all those entries in the data table are processed
which have an order number that is the same as that in the line to which
the method refers. Thus, through just one entry in the method table,
several partners can be changed.
Texts are composed of two tables. The first table (IT_TEXT) is made up
of the header data of the text. Here you must specify the object and the
first and last line of the text table (respectively inclusive, counting
from 1). Through this, a line segment is specified in the text line
table (IT_TEXT_LINES).
Peculiarities in processing
The BAPI processes the transferred methods in a particular sequence,
which must not correspond to the sequence in the methods table.
o Write trace file
o Change user status time period 1
o Delete objects (dependent first)
o Create new objects
o Change existing or newly-created objects
o Change user status time period 2
o Status change of order
o Save data
The methods are performed such that lower-level objects can also be
assigned to newly-created objects. For example, first the operations are
created, and then the components. Long texts can also be created for the
objects.
Components have an exceptional position. Components are created through
the assignment to an operation, that is, using the "key" order/
operation (item number). However, as this is not the unique component
key, you can only access the components to change them, delete them, or
add long texts by using the reservation number/-item, which is only
given after saving. This means that, for example, you cannot create a
long text when you create the component.
User status changes can take place at two different time points. Time
point 1 is before the object changes, time point 2 is after the object
changes and before the status change of the system. These time points
should be defined in the transfer table in the field CHANGE_EVENT. The
field documentation contains the possible values.
The external scheduling is offered by the BAPI as a special function.
THe BAPI can set the date field directly at the operation level, and
select the operation with the status DSEX "Date set by external system".
This status prevents any further scheduling of the operation, it keeps
the transferred dates. For this, set the category 'X' in the restriction
categories. When reading the operation, this category is also returned,
independent of the category of restriction set in the dialog. To delete
the status, you can call up the method DELETEDSEX for the object
operation. The external scheduling cannot be influenced in the dialog.
All changes to the scheduling restrictions in the dialog are saved as
normal, but are not relevant for the scheduling as long as the status
DSEX is active.
Every time the BAPI is called up, a SAVE or DIALOG method must be
transferred. Normally, calling up a BAPI is seen as a transaction. All
data that is changed in the BAPI should be saved to the database
immediately. The BAPI checks whether a SAVE method exists, otherwise it
terminates processing. A test run of the BAPI is composed of a normal
call-up using the SAVE method and a subsequent
BAPI_TRANSACTION_ROLLBACK. To call up the BAPI without the SAVE method,
for example, to realize dialog transactions, the BAPI can be called up
with the DIALOG method. This switches off the check for the SAVE method.
The processor must then ensure that later either a SAVE method or a
BAPI_TRANSACTION_ROLLBACK is called up.
A BAPI_TRANSACTION_COMMIT without SAVE method terminates processing in
the update to ensure that no inconsistent data is written to the
database. The processor who called up the BAPI does not receive any
confirmation for the termination of the update in the target system.
This logic is necessary as the order data was flagged for updating with
BAPI_TRANSACTION_COMMIT through the SAVE method. However, the status
information was already flagged for updating when the BAPI was called
up. A BAPI_TRANSACTION_COMMIT without SAVE method then just saves the
status information and would generate inconsistent orders, if the
updating was not terminated.
Customer Enhancement
The BAdI IBAPI_ALM_ORD_MODIFY can be used to change the transferred
data. The BAdI is called up after the conversion of the transfer
structure into the structures used internally. Additional data can be
transferred using the table EXTENSION_IN. Only then is the data checked.
Example
The following examples should clarify the use.
Creating an order
OBJECTKEY should be filled with a temporary key. The BAPI returns this
key together with the assigned order number in the return table
ET_NUMBERS . The order number in the HEADER table should also be filled
with the number. For external number assignment, the external number
should be specified. The update structure can be transferred if
necessary.
Methods table
REFNUMBER OBJECTTYPE METHOD OBJECTKEY
1 HEADER CREATE %00000000001
IT_HEADER
ORDERID ORDER_TYPE PLANPLANT ...
%00000000001 PM01 1000 ...
Creating an order with operation and long text
Methods table
REFNUMBER OBJECTTYPE METHOD OBJECTKEY
1 HEADER CREATE %00000000001
1 OPERATION CREATE %00000000001
1 TEXT CREATE %000000000010010
IT_HEADER
ORDERID ORDER_TYPE PLANPLANT ...
%00000000001 PM01 1000 ...
IT_OPERATION
ACTIVITY SUB_ACTIVITY CONTROL_KEY WRK_CNTR ...
10 PM01 MECHANIC ...
IT_TEXT
ACTIVITY ... TEXTSTART TEXTEND
10 ... 1 2
IT_TEXT_LINES
TDFORMAT TDLINE
* Longtext for operation 10, line 1
* Line 2 of the long text
Notes
Using the BAPI to process the order data cannot support all the functions
of the transaction. This applies in particular for the following
functions:
Order header data
o The object list cannot be processed.
o Refurbishment orders are not supported.
o The estimated costs cannot be processed - only the estimated overall
costs of the order.
o Notification data cannot be processed with the order BAPI. Even if
the settings in Customizing are such that the orders and
notifications can be maintained on one screen, no notification is
created for the order.
o Permits cannot be processed.
o The order addresses cannot be processed.
o Individual partner addresses cannot be maintained.
o The settlement rule cannot be maintained.
Order functions
o Printing the papers is not possible.
o Locking and unlocking the order is not possible.
o Accepting and rejecting quotations is not possible.
o Business completion is not possible.
o Flagging for deletion is not possible.
o The log cannot be displayed.
o User default values are not used.
o The field selection is not checked.
o The Customer Exits/BAdIs are not executed completely.
o Joint ventures are not supported.
o Funds Management is not supported.
o Investment orders are not supported.
o No integration of service products with task lists possible.
o No integration of configurable service products possible.
o Assignment of sales document items with service products in
accordance with the aforementioned conditions.
Operation data
o A change of the control key in the operation is not possible, if
this leads to a change of the processing type (internal-/external
processing)
o User status change not possible.
o Production resources and tools cannot be processed.
o Service lines cannot be processed.
o Task list integration is not supported.
o Linking operations with object list is not supported.
Component data
o User status change not possible.
o BOM data cannot be processed.
o The delivery address cannot be processed.
Further information
See also the documentation for the individual transfer tables.
Parameters
IT_METHODS
IT_HEADER
IT_HEADER_UP
IT_HEADER_SRV
IT_HEADER_SRV_UP
IT_USERSTATUS
IT_PARTNER
IT_PARTNER_UP
IT_OPERATION
IT_OPERATION_UP
IT_RELATION
IT_RELATION_UP
IT_COMPONENT
IT_COMPONENT_UP
IT_TEXT
IT_TEXT_LINES
EXTENSION_IN
RETURN
ET_NUMBERS
Exceptions
Function Group
IBAPI_ALM_ORDER
Regards
Uwe -
Webclient - action in user status field
Hello Folks,
Can somebody give me a clue to create an action for the field user status?
I´m using service tickets, and I need to advance a few days, depending of the user status.
Any help is welcome.
thanks
Luiz DavidHello Gary,
Yes, I have to change it, in the screen, at sla view.
And I have to change calculation rules for the due date for this ticket. I mean, dependind on the updates being processed in field user status, the sla date (due date) field, must be calculated again, and the new date must be shown in the screen.
I know, when the user status is changed, a "submit" is made, in the ticket. My guess, it´s maybe there a possibility to create an action based on this field. Worst case a badi should be used. I don´t know exactly how does it works, or options to use here.
Any info about, is welcome !
thanks
Luiz David -
User status for crm order in bw
Hello
There is a customized status profile in crm for sales orders.
I'm using extractor 0crm_order_i for loading orders into bw.
How can I get this user status in the data source through sbiw customization ?
Thanks,
Rita ArkinIf you want to extract additional fields, you need to extend the
corresponding extract structure and possibly the communication
structure, fill the field with the user exit EXIT_SAPLRSAP_001,
etc.
Also, you will find additional information about such enhancments in:
http://service.sap.com/bi
> Documentation
> Business Content Documentation
> Extracting Sales and Distribution Transaction Data - vers. 2
Chapter 7 of this document provides further information about the
enhancement of extract structures.
See transaction RSA5
Colin -
Activate a user status when confirm with Reason for Variance
Dear SAPper,
I have a requirement to set a user status block order for good movement and confirmation
when user confirm the order with reason for variance Z999 (machine broke down)
In the order header, I have attach status profile ZBLOCK contain 2 user status
a. UNR = Unrest ---> initial user status
b. LCK = lock for good movement and confirmation
In the reason for variance Z999 (machine broke) i have attach to status profile ZBLOCK user status LCK
But when i tried confirm worh reason for variance Z999, why the order not updated to LCK for its status?
Did i miss something?
Kindly help?
Best regards,
Freddy Ha
Edited by: Freddy Halim on Dec 4, 2008 8:49 AMsolved.
it is only works for operation
and not order header -
Hi
Can some one help, how do I see date wise user overview which should contain what are all the tcodes that user had performed in a particular date?
Thanks in advance.
RegardsActivating Security Audit:
1) Go to transaction code SM19
2) SM19 Create a new profile
3) Select options.Give client detail and choose all options in AUDIT class.
4) SAVE
5)Click Yes(Do you want to distribute the profile)
6) Activate the Profile by clicking on the Activate button or Cntrl+F3
7)LOGOUT and again LOGIN
Viewing security Audit:
1) Go to transaction code SM20
2) Select from and to date, User, transaction and Click on "Reread Audit Log"
3) Get the details by clicking read audit log -
User status- when selected it logs date/time & User in Work Not. long text
Hello,
Is there a way when a user clicks on a user status on Work Notification the long text will be updated to date/time and username.
For example:
If we have 3 approval process: Supervisor Approved, Deputy Manager Approved,, and Manager Approved.
When the Supervior press the Supervior Approved (User Status and saves) the long text on the Work Notification will update with log of time/date & user. Then the same for the next 2 approvals.
This will help us a lot.
Thanks,Jay,
I really dont know why you guys need to update the long text when user status has been changed. You could simply trigger the email to the approver who needs to be notified. but anyway if this is your rqmt, I think you can do it thru field exit. Talk to ABAPer and get a help from him
Mahee -
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. -
Date and time stamp of user status does not appear
Hi, gurus.
For a specific transaction type, the date and time stamps for certain user statuses do not appear within the transaction although these missing date/time stamps are captured in the database upon checking by our ABAP. It seems that this problem started when I added several statuses and rearranged their status numbers in the status profile last year.
I'd also like to ask if it's really necessary that the statuses within the status profile and date profile should maintained in the same positions.
E.g.
Status Profile
Status No. --- Status Code --- Short Text
10 --- IP1L --- In Process 1st Level
20 --- IP2L --- In Process 2nd Level
Date Profile
Display Position --- Date Type
1 --- In Process 1st Level
2 --- In Process 2nd Level
We're going to create and assign a new status profile for the concerned transaction type. We'll make sure that this status profile is sychronized with the date profile. Hopefully, the date/time stamps will all be displayed in prospective transactions but the problem on the missing date/time stamps in historical transactions will still remain.
Pls. help us.
Thanks in advance,
TheresaI'd also like to ask if it's really necessary that the statuses within the status profile and date profile should maintained in the same positions.
No -
Good morning,
I am replicating a sales order frm CRM to ECC.
I have created a status profile (transaction CRMBS02). I have two status: accepted and cancelled.
When the status is cancelled I would like to block the billing, so the replicated sales order can't be billed. Do you know if i can add any transaction to block the billing??
I have seen the transaction CANC to add in the user status but it consists in delete the item, (so the price in ECC is 0).
Thank you very much
P.D I give points to the answersHi Robert,
I am also trying to replicate the user status from CRM to ECC.
As you said '
implement logic in method CRM_DATAEXCH_AFTER_BAPI_FILL of badi CRM_DATAEXCHG_BADI. Status is writen in IT_BUS_TRANS_MSG-STATUS_H. You must then fill appropriate structure for ERP side.'
Could you tell me which one would be the appropriate structure on ERP side. I dont find one in teh badi CRM_DATAEXCH_AFTER_BAPI_FILL
Thanks,
Oindrila -
Dear All
For an ABAP report , i need to find the table names for date and time of change in the User Status for the Maintenance Order. ( for example from INPR to RETN)
I have tried JEST and CRM_JEST tables but couldn't found the correct result.
Pl advice.
thanks in advance
Regards
Manish BansalTake the object number OBJNR and go to table JCDS
Field Status STAT starting with 'E' i.e., your user status.
You also have time/date fields there.
Regards
Sreenivas -
Action condition through user status as well as date profile
Hi All,
My scenario is like action will be triggered through date. I have the scenario like we hv to create the exchange order and after that we hv to create the sales prder. The maximum time gap betewwen the exchange order and sales order is 1 month. If customer does not return the goods within 21 days we hv to send a mail to customer saying "you have another 7 days to return the product" means before 7 days we hv to send a warning mail to customer. Again if the customer send the old goods then we will make a fresh order on the reference on exchange order. Can u tell me how can I achieve this through action peofile. That is condition will be date management and user status.
Status is opened state. Before 7 days mail will be sent to customer. If customer does not return the product the status will be cancelled.
How mail will be sending to customer automatically after 21 days to return the products?
Your help will be appreciated.
Thanx
ChinmayaHi Madhu,
Thanx for ur valuable time. I know the configuration of action profile and sending the mail to customer. But my requirement is suppose I create the exchange sales order today, the customer is supposed to return the product within 1 month. If customer does not return the product within 21 days I should send a warning mail on 21st day. I know to create everything, but my requirement is if I create the exchange order today, how automatically mail will go on 21st day to the customer. I created the action profile, created the date profile. But in action condtion when I am going to give the condition I am not seeing any condition that should executed through Date profile. I can execute the conditon based on user status, system status, priorityetc. But I am not seeing any condition which will be executed through Date profile.
Can u tell me how can I maintain the condition through Date profile. I have assigned the date profile to the Transaction.I have assigned also status proifle, Action profileetc whatever needed to be done.
Please help by giving valuable answer in step by step.
Thanx
Chinmaya
Maybe you are looking for
-
ITunes now saying that iPhone 4s must be restored or set up as a new iphone
Just got home. Plugged in my 4s using the USB cable. Instead of syncing, iTunes says "This computer has previously been synced with an iPhone or another iOS device." Anyone else see this? I haven't backed up in over 24 hours, so I don't want to r
-
[RESOLVED] conditional field color
this is probably has a very simple answer. In a af:table with af:inputText's in them I am trying to get the table to render where the cells of one of the columns in the table have a background color of yellow if the field says "Yellow" as the inputTe
-
Volume bar not showing after reinstall
I have a HP DV7-3164CL and put in a larger hard drive and installed a retail copy of Windows 7 64bit I have installed all the drivers on the HP site for my laptop and also installed HP "Media Smart Smart Menu" and HP "Media Smart DVD" also HP "Media
-
Some issue in Best Practice Implementation
Hi, When i try to "Register Item for New system" in System Administration --> System Configuration -->Universal Worklist & Workflow --> Universal WorkList - Administration, i am getting the following error : Errors: System SAPRETAIL: Mon Mar 09 12:25
-
Hi. I'm just in the process of looking into an upgrade from version 5 to 7. I have a critical client project that involves merging their RH5 help system into our RH5 help system, and I've been accomplishing this by using Peter Grainge's techniques (t