on 07-19-2011 8:28 PM
Hi gurus,
I have an FS where I need to assign a task list to a work order.
I am using User Exit IWO10009.
I need a BAPI or Function Module to modify fields:
Group (source: CAUFVD-PLNNR / CHAR 8).
Group Counter (source: CAUFVD-PLNAL / CHAR 2).
If anyone has any idea, please make me know.
Thanks in advance,
Jay
Edited by: emanuel_sap on Jul 19, 2011 9:33 PM
Edited by: emanuel_sap on Jul 19, 2011 9:35 PM
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone,
The solution to this is the following:
Use cmod to open up user exit EXIT_SAPLCOIH_009.
(IWO10009 "PM Order: Customer Check for 'Save' Event")
and here, in include ZXWOCU07, put this code:
PERFORM FCODE_PLSU(SAPLCOIH). "This form calls User Exit IWO20001
Then, use cmod to open up user exit EXIT_SAPLCOIH_003
(IWO20001 PM order: User exit to pass routing to order).
Here in INCLUDE ZXWOCU03, I entered the follwing code:
SEL_TAB-PLNTY = 'A'. "This is the radio button (A=General List)
SEL_TAB-PLNNR = 'SAFE_INS'. " This is the name of the task list
SEL_TAB-PLNAL = '01'.
APPEND SEL_TAB.
Hope this helps,
Have a great day,
Jay
Edited by: emanuel_sap on Jul 20, 2011 7:40 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
PeteA,
But user-exit IWO10020 has only structure CAUFVD_IMP as import.
How can I set Group (CAUFVD-PLNNR ) and Group Counter values ( CAUFVD-PLNAL )?
Thanks in advance,
Jay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the description from the FS:
This enhancement will enable automatic assignment of a task list to a work order, based on the order type and maintenance activity type combination.
A custom table will be created to store relationship between maintenance activity types and task list that will be automatically assigned to the work order. A customer exit at the work order creation will seek task list on custom table depending on activity type associated to work order, and will attached task list to the work order.
Table:
Column 1: Order Type (source: AUFPAR-PM_AUFART / CHAR 4)
Column 2: Maintenance Activity Type (source: CAUFVD-ILART / CHAR 3)
Column 3: Group (source: CAUFVD-PLNNR / CHAR 😎
Column 4: Group Counter (source: CAUFVD-PLNAL / CHAR 2)
Hope it helps.
Jay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jay,
Can you please give more details on how you would expect this to work?
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not sure of the FM but have a look at User exit :- IWO10020 Maintenance order: Automatically include task list
regrds
pushpa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
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.