Skip to Content
author's profile photo Former Member
Former Member

IW 31

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 03:55 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 04:10 AM

    Hi,

    I am not sure of the FM but have a look at User exit :- IWO10020 Maintenance order: Automatically include task list

    regrds

    pushpa

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2011 at 11:18 AM

    Jay,

    Can you please give more details on how you would expect this to work?

    PeteA

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 12:15 PM

    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 8)

    Column 4: Group Counter (source: CAUFVD-PLNAL / CHAR 2)

    Hope it helps.

    Jay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 01:42 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 04:51 PM

    Solved

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.