on 10-05-2008 3:03 PM
I want to copy Maintenance Work Center(GEWRK), active user status and active system status to notification print out. I am not able to search from which table this field is coming. Can any body tell me the name of table ?
Regards,
VM
Edited by: V M on Oct 5, 2008 4:03 PM
VM,
Just to confirm a few things:
- You are using TCode IW22 or IW52 when you are performing the print (not IW32)
- Is there a possibility that the order has been changed, but not saved
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Pete,
Maintenance Work Center is now coming on notification print. For user ans system status, can you tell me from which table does this 'action log' is generated. As the user status is changed the change will be captured by action log and we will pick it from action log and print to notification.
But it is not clear from which table this status is appearing in the 'actionl log'.
Regards,
VM
I have run the function module(STATUS_READ_MULTI ) in SE37. In the import tab there is a parameter ONLY_ACTIVE. In the table tab I found a paramete STATUS. I executed the function by F8, here I reached Test Function Module - Initial Screen. Then I put 'X' for the 'Only active' parameter and RUN this test function. On the result screen there is no entry. How can I utilize this functional module to get active user ans system status.
Regards.
VM
VM,
It may not work with print programs, but try putting the following code in your ABAP program:
* get notification statuses
data: lt_jest type standard table of jest.
call function 'STATUS_READ_MULTI'
exporting
all_in_buffer = 'X'
importing
status = lt_jest.
If that fails, then try this:
data: lt_jsto_pre type table of jsto_pre with header line.
data: lt_jest type standard table of jest.
call function 'STATUS_READ_MULTI'
exporting
client = sy-mandt
only_active = 'X'
tables
objnr_tab = lt_jsto_pre
status = lt_jest.
VM,
Looks like you have the work center figured out and it's just the user status and system status you need.
If you get the object number from table QMEL, you can read all the system and user statuses in table
JEST (don't forget to exclude the inactive statuses) For the status description goto table TJ02.
If you prefer to use the FM approach and want to test using SE37, you will need to limit the selection by the object number for the notification.
Then when you run the FM you will see your status ID's in the report. User statuse are prefixed by E, system statuses by I.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
H.SB,
Yes you can do this, but what if someone has changed the notification status in IW22, but not saved the notification yet? In this case the current values will NOT be in the database (i.e. JEST), they'll be in the buffer (ABAP memory).
The first set of code above goes to the buffer to get the information. The second set of code goes to JEST (and others) for the data from the database.
PeteA
Are you looking for Table AFIH - Order header
System Status : TJ02
User Status : TJ30
K.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.