Authorization check creating Work Orders (IW31)

Hello everyone,
We need to make an authorization check when creating a Work Order in transaction IW31.
That check is based on the field "Main work center for maintenance tasks"
No check apart from the plant associated to the work center is done, but the problem is that there exist different Work Centers associated to the same plant, and we need to restrict it.
Our authorization model considers the Cost Center associated to the Work Center, but the Cost Center is not checked in this IW31 when entering the Work Center.
We have also tried using the classification system, but despite activating authorization obejct C_KLAH_BKL, is neither checked.
(It is amazing the difference between the number of objects marked to be checked in SU24 for this IW31 and the objects really checked when looking at authorizations trace)
We know that Work Center field exit could be used, but we would prefer not to change ABAP code.
Could you please give us a hint about how we can restrict this field?
Thank you very much.
Best regards.
Jose Sanz.

Hi Jose,
You can look at the object C_ARPL_WRK,
if you work with this , i hope you would be able to find a solution for this situation.
Thanks,
Vijay

Similar Messages

  • How can I make settlement rule mandatory in create work order (IW31)

    How can I make settlement rule mandatory in create workorder and saving without release.
    I kanow we can make settlement rule mandatory upon Release order but here requirement is
    Create work order (IW21) save without releasing that time settlement rule should default.

    Hi,
    1.If you want the settlement rule default then maintain account assignment data in technical object and when MO is created on that it would be copied into the settlement rule...
    2. If you want to make those fields mandatory .... plz check up field selections in config , if you cannot find those then use SHD0 Transaction variant to make those fields mandatory.
    3. Enter SHD0 , Enter IW31 in transaction and ZIW31 for transaction variant ..click create option and this takes you to IW31 initial screen , here enter required values of technical object etc and press enter and this gives you IW31 Initial scree screen variant , click continue and this takes you to inside screen and here enter required field values and on pressing enter gives you screen variant .. so you need to enter field values and check the flow of screen variants and on getting settlement rule screen variant select required option for the fields you need.
    4. Finally you can save that in package created in SE80 for transporting to other client .., you can activate the variant in SHD0 -->Standard variants -->you can find activate option ..
    regrds
    pushpa

  • Error in BDC program which is creating Work Order IW31

    Hi All,
              I am getting an error - 532 - " Specify only one start time/date "   when running bdc program for txn IW31 in back ground. I run the same program in the foreground.. there is no error.. but when I run in background.. I am experiencing the above error.
    Thank for Ur time.
    Cheers
    Senthil

    Hi,
    Are you facing this issue during Normal order creation with that functional location ?
    Please check CC assignment to functional location  and settlement rule applied while saving order.
    Thanks
    Riyaj

  • Error in Work order -IW31

    Hello All,
    We are facing one error while creating work order.
    When we are creating work order from IH01 > Goto> Create order or directly creating from IW31 by putting PM03 in type , priority and equipment details then after release if we press save button then system says that invalid account group.
    What can be reason for same.
    Regards
    Himanshu

    Hi,
    Are you facing this issue during Normal order creation with that functional location ?
    Please check CC assignment to functional location  and settlement rule applied while saving order.
    Thanks
    Riyaj

  • Error while creating Work Order

    Hello Experts,
    I am getting below error while creating work order via add-on named beas but the error seems to coming from SBO.
    Please advise.
    Thanks
    Deepak

    Hi,
    Plz check this thread:
    What does this error mean?

  • User based authorization to create Purchase Orders out of Purchase Req.?

    Hello,
    I have the following requiment for my client:
    User based authorization to create Purchase Orders out of Purchase Req.?
    I am told the same can be achieved using same standard menu path in IMG/Customizing.
    Please advise with the menu path and detials, Usefull answers will be rewarded.
    Thanks

    Using OMET Function Authorization, you can restrict users to create Purchase orders without Purchase Reqn.
    Using OMET trxn code Create one Function Authorixation Called pr and in General Parameters tab Select the Field Selection and in Possible reference Objects Tab Mark the With ref to Prs check box and save.
    Next, you've got to associate via SU01 
    Click Parameters, insert a new parameter id EFB to the authorization code. 
    Type in Parameters value you want e.g. XX 
    You have to assign the control for ALL the SAP buyers via thier SAP users id.
    Logoff and login again. Then try to create a Purchase Order without a reference.
    From Next time whenever you try to create with out referring PR it will not allow you to Save PO.
    Regards,
    Ashok

  • Create work order in 4.6C

    Hi guys,
    Have any of you seen any FMs for creating work orders in 4.6C?
    Thanks
    Mantas

    Hello Mantas,
    could you please check if the following BAPI can help fulfill your requirements.
    BAPI_ALM_ORDER_MAINTAIN
    I think that this what you are looking for.
    Regards,
    Isabelle

  • Create Work Order Using BAPI in LSMW

    Hi All,
    I searched in SCN but i dint get the correct idea to create Work Order USING BAPI,
    Im trying to create Work Order Using BAPI in LSWM
    Can any one Give me Brief Idea to create Work Order(Either Component or Operations) (t code - IW31) using BAPI in LSMW
    Regards
    Smitha

    Hi All,
    I searched in SCN but i dint get the correct idea to create Work Order USING BAPI,
    Im trying to create Work Order Using BAPI in LSWM
    Can any one Give me Brief Idea to create Work Order(Either Component or Operations) (t code - IW31) using BAPI in LSMW
    Regards
    Smitha

  • Error creating work order for new notification - Related SyncBO not present

    Hi,
    We are working with MAM3.0 standard application.
    We age getting an  error while creating work order for a NEW notification.
    In this scenario both notification and corresponding work order are also not created.
    Here is the error for MAM30001 Sync BO in MEREP_MONI:_
    Reading inbox record (mobile ID=0000001444, seq, no.=29, rcd_cntr=1, data=TOP0001000000
    External format successfully converted to internal format: ldata=TOP0001000000000000000
    Related SyncBO MAM30_010 with Sync key 0000000028 is not present on the device.
    Return code 1 (DOWNLOADER)                                                   
       Here is the error for MAM30010 Sync BO in MEREP_MONI:_
    Return code from RFC BAPI Wrapper call:Order NEW does not exist
    Return code from RFC BAPI Wrapper call:The order/network type  is not defined
    Return code from RFC BAPI Wrapper call:Order NEW does not exist
    Return code 0 (UPDATE MEREP_506-STATUS)                                      
    Can any body please tell me what is the sollutions for this error
    your help in this regard is appreciable.
    Regards,
    Murthy

    Hi Murthy,
    II have no idea what patch level you are on. A while back we had similar issues with some clients. There are several patches around that area available. Perhaps you should have a look into patch 959732.
    Hope that helps.
    Regards,
    Oliver

  • Material Availability check during work order creation and Release

    Hello All,
    We are checking material availability at creation as well as release
    Say we have Material XYZ=100 in stock MMBE
    Now XYZ =100 is say at normal storage location =75
    and scrap storage location=05 and serviceable =20
    Currently when availability check is performed it checks for 95 (It excludes scrap storage location 05 )
    but we want  Availability check to be only for normal stock =75 and not for Serviceable and Scrap location
    how to do this in configuration or via exits
    Since if the material is under Scrap location it is not counting in Availability check at work order creation this logic is working fine but I do know from where this control is put that when the material is in the stock of scrap it is not counting in Availability check for work orders.Same thing I want to extend it to Serviceable stock .
    Why not it is consider it for Scrap storage location , what is config or any MM enhancement
    So that when Availability check run it will not consider Materials at SCRAP as well as SERVISABLE storage location also.
    Please have your views on this
    Regards
    pratap

    Hello
    There are two option for your requiement
    1. Changing the status of the servisable storage location stock to restricted use stock . You can include or exclude this stock status material in OPJJ. This solution is not storage location dependent. It is stock status dependent.
    2. Please refer the enhancement for the storage location determination. I am not sure about this funtionality:
    For production orders the following enhancement is available:
    PPCO0005 enhancement for storage loc. determination/backflushing
    You can use this enhancement to change the storage location and the indicator 'backflushing' in the reservation.
    The enhancement PPCO0005 contains the following enhancement components:
    Function exit
    EXIT_SAPLCOSD_001 storage location determination/backflushing
    You can find the description in modification text of the function exit.
    You can find an example of the user exit in the function group XC01 in the include LXCO1F05.
    warm regards
    Ramakrishna

  • Create work order on 4.6C FM

    Hey guys,
    Just wondering if any of you have seen a function module for creating work orders in 4.6C?
    Thanks
    Mantas

    Hi,
    Do you mean PM work order?
    In that case BAPI_ALM_ORDER_MAINTAIN
    Regards

  • How to create Work Order in CMRO

    Dear All,
    We are new to using Oracle CMRO and because of unavailability of CMRO resources, we are facing quite a few problems while working on CMRO. Can anyone please help me out how can I create Work Order using CMRO.
    If anyone can provide me with Oracle CMRO White Papers, I will be very thankful.
    Regards,
    Zulfiqar Ali Mughal

    Hi,
    There are 3 ways to create work order in oracle cMRO.
    1) Through Maintenance Requirement and associated to visit and push to production.
    2) Non-routine.
    3) Unassociated Task.
    1.     Create Work Order From Maintenance Requirement:- In order create work order first of all we need to define an MR in Engineering > Fleet Maintenance Program > Overview > Create. After creating the MR Header at least one route should be associated (Route can be created from Engineering > Route >Overview > Create and the status should be "complete"). Then MR effectivity (means which item or unit MR is applicable) need to be defined and in turn the interval threshold also need to define. Once the MR is completed from the Planning window associate the MR to a visit and push to Production. In case of Planned MRs run the Build Unit Effectivities and view the due date from the Planning> Unit Maintenance Plan screen and associate to a Visit in Planning and push the visit to production. In case of Unplanned MRs create visit, associate unplanned MR, push to production.Work Orders would have generated and visible in Execution >Production Planning > Work Orders.
    2.     Create Non-Routine:- Non- Routines can be created from Execution and Planning
    a.Create Non-Routine work order from Execution:- Select the Routine work order and select Create Non-Routine work order from the pull down menu, furnish the details like severity, urgency, summary etc. and click on (B) Apply.
    b.Non-Routine from Planning: Create NR from Planning >Unit Maintenance Plan> Non-Routines (B)Create and then associate to a visit and push to production.
    3.     Unassociated Task:-This is for executing the miscellaneous operations to be done as part of already created visit. Navigate the visit task screen in an already created visit (Navigation: Planning > Visit Work Package > Overview > Search the visit > Click on the visit hyperlink> view visit task in side Menu), From the drop down menu select the “ Create Unassociated Task” and click (B) Go. Furnish the details in the Task header and click on (B) Apply and (B) Cancel, you would be navigate back to the “Visit Task” Screen. Select the unassociated task and push to production. Unassociated work orders would have created. You can create Unassociated task any time during the execution, before closing of visit.

  • Authorization check for production order settlement

    Hi All,
    Production order settlement currently can be done by any user of any company code. there is a high risk involved in the same since unauthorized postings may happen. Hence we need to add authorization check for production order settlement. Can we maintain the same at the plant or the company code level?
    Waiting for your replies. Thanks in advance!
    Regards,
    Aman Goel

    hi
    What venki has told abt the exit, its absolutely correct.Even i have used the same exit
    •     From table CAUFV pick Material(PLNBEZ),Basic Start Date(GLTRP),Plant(WERKS) .
    •     Pass parameter Material(PLNBEZ) and Plant(Werks) in table MBEW in respective fields i.e. Material(MATNR) and Plant(WERKS).
    •     Pick the latest record for the current period(LFMON) and year(LFGJA).
    •     Pick Product Cost Estimate number(KALN1) from the record and pass it to table KEKO.
    •     Check if Production Order Basic Start Date(GLTRP)<= BIDAT, if NO post Error Message.
    This is the FS for EXit PPco0007
    Reward if useful
    Amit

  • Creating work orders tcode iw31

    Hi all, I am trying to use function module BAPI_ALM_ORDER_MAINTAIN to create an order, see code below! unfortunately when i execute this code i get the following error message returned in the return table
    'You must enter an order number to change an order'.
    Does anyone know how i can over come this? any ideas would be much appreciated. Regards
    Please provide a sample code, wouldbe appreicated as well.

    Hi,
    Check below link if it is useful to you.
    [http://wiki.sdn.sap.com/wiki/display/ERPLO/UsingBAPI_ALM_ORDER_MAINTAINmethod+CREATETONOTIF]
    Thanks,
    Archana

  • Error while creating work order from purchase order

    Dear All,
    We are having a subcontracting scenario where we are creating a Work order from PO but getting the below error.
    Error - "No master data assigned to partners-locations-product combination."
    Done all the setting mentioned in the below thread but the error still persist.
    Error in Generating Work order from Purchase Order
    Any suggestions on which master data we need to check?
    Thanks,
    mahesh.

    Hi Mahesh
    In the below transaction
    /SCA/MFGCFG - Work Order Configuration
    Can you maintain Master data Assigment properly
    Valid From
    Valid To
    Active---Checked
    Can you please list what you maintained
    Regards
    Vinod

Maybe you are looking for

  • Deleting photo's in iPhoto didn't really delete them from hard drive

    I do a lot of photography, mostly sports/action etc. I just noticed that when I delete a photo in iPhoto, it is removed from my view, but it does not go into the trash can. I can use Finder on the pic's left in the same event folder and then peek aro

  • MS-7265 bootup without attached VGA/DVI cable

    Hi, I am unable to boot-up my MS-7265 board without attached VGA/DVI cable (this cable must be connected to monitor also). I am using this board for home server and I have no additional monitor. In manual is nothing about this requirement. Please hel

  • 2 DHCP servers, 2 subnets, 1 physical network

    I am trying to add an Airport Extreme to our office network, but would like it to distribute IP addresses on a separate subnet from our primary network. Here is the basic network topology (hope it makes sense): INTERNET -ROUTER (DHCP Server for 192.1

  • Starting the Oracle Intelligent Agent on Linux/390

    I have recently installed Oracle Developer's Edition on SuSE Linux/390. When I try to start the Intelligent Agent, I get the following error. ------------------------ Mon Jun 3 11:59:43 EDT 2002 ------------------------ Certain conflicts were resolve

  • SAP_COLLECTOR_FOR_PERFMONITOR Behaviour

    Hello, The Basis job SAP_COLLECTOR_FOR_PERFMONITOR runs every hour in our system.  23 times a day it runs in just a few minutes.  However, every morning at the 7:30 run, it will execute for 2-3 hours.  Is there some event/activity within the system t