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

Automatic filling in PERNR field in Maintenance Orders PM

Dear Team,

There is the possibility of PERNR field (Personnel Number) have automatic filling from orders generated via transaction IP30?

Attached: Person_Respons.jpg

Thank you very much in advance

Adriano

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Mar 19, 2016 at 06:20 AM

    Hello Adriano

    This can be done using exit IWO10009. Put the code below in the include ZXWOCU07 of the above exit and the job is done.

    IF caufvd_imp-warpl IS NOT INITIAL.

    DATA: lv_parnr TYPE ihpa-parnr.

    CLEAR lv_parnr.

    lv_parnr = '2923'.

    CALL FUNCTION 'PM_PARTNER_SYNC_OBJECT_ORDER'

    EXPORTING

    objnr = caufvd_imp-objnr

    auart = caufvd_imp-auart

    obtyp = 'ORI'

    parnr_in = lv_parnr

    parvw_in = 'VW'.

    ENDIF.

    • I gave Line4 different color, to indicate that you are supposed replace this hard-coded line by the logic which retrieves the value for Person Responsible field and stores in the variable lv_parnr . Then it will be automatically filled in the Person Responsible field by the fm used in the code.. (If it is always '2923' then the code is readily fits into use,)
    • As you desired, this automatic filling will happen to Orders created through Maint. plans only.
    • I have tested this.

    Good luck

    KJogeswaraRao

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 18, 2016 at 07:30 PM

    HI Adriano,

    I dont think its available in standard. You have to go ahead with some available exit or implicit

    enhancement.

    You can default activity type via task list. check with ABAPer if it is possible to maintain a Z table with PERNR in combination with Activity type and Work center.

    Regards,

    Amol

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 28, 2016 at 01:30 PM

    Hi Adriano

    Did you get a chance to check through solutions provided over this issue. If you have achieved your requirement successfully, kindly close this thread my marking correct/helpful answer.

    OR

    update your comments regarding further clarifications required.

    Regards,

    Amol

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 25, 2016 at 11:50 AM

    Adriano,

    I'm not sure this is useful..

    I've mis-used user-exit IWO10006 before to default values in a work order before the main screen is displayed in IW31.

    This means you don't need to wait till SAVE.

    PeteA

    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.