Creatinga Work Order from Function Builder

Hi
I am trying to create a work order using BAPI_ALM_ORDER_MAINTAIN in Function Builder. I have filled out the IT_METHODS the IT_HEADER and the IT_OPERATION values and I am getting back results in the RETURN field when I execute the BAPI in Function Builder, but when I go into the SAP R/3 GUI and do a search for the new Order # I created it says that the Order 814741 does not exist.
Is it that  Function Builder is purely for testing and dose not fully write back to SAP when you execute the BAPI or am I missing something in one of the methods/Objects I am calling to.
Please review my values below.
Thanks, Donagh
[1 ]IT_METHODS
REFNUMBER = 000001
OBJECTTYPE = HEADER
METHOD = CREATE
OBJECTKEY  = %00000000001  
[2] IT_METHODS
REFNUMBER = 000001
OBJECTTYPE = OPERATION
METHOD = CREATE
OBJECTKEY  =%00000000001  
[3] IT_METHODS
REFNUMBER = 000001
OBJECTTYPE =
METHOD = SAVE
OBJECTKEY  =%00000000001  
IT_HEADER
ORDERID = %00000000001
ORDER_TYPE  = PM02
PLANPLANT = 1000
BUS_AREA  = 9900
MN_WK_CTR = WXDEF001
FUNCT_LOC = PF1-EL1-SB1
EQUIPMENT = 6600MSB001P02
RETURN (after executing the BAPI in Function Builder)
TYPE = S
ID = IWO_BAPI2
NUMBER = 110
MESSAGE = Order %00000000001 saved with number 814741     
LOG_MSG_NO  = 000000
MESSAGE_V1 = %00000000001
MESSAGE_V2  = 814741
SYSTEM = CE8CLNT850
(the rest of the fields are blank)
Message was edited by: Donagh Mc Gowan
Message was edited by: Donagh Mc Gowan
Message was edited by: Donagh Mc Gowan
Message was edited by: Donagh Mc Gowan

These statuses stand for the quality notifications which you can check in QM03  tcode.
Nabheet

Similar Messages

  • Lock work orders from custom transaction

    Hi,
    I have created a custom tcode that has functionality similar to IW32.
    I need to implement locking similar to what iw32 implements ( not allowing to open work orders by 2 users at a time.)
    Please provide me with sample code, how i can implement the same for my custom tocde.
    Is there any possiblity to lock users from opening the work order from iw32 when they have already opened the same in my tcode.
    CO_ZF_ORDER_LOCK_MULTI....is this the correct FM to use...

    Hello Narendra
    Function module <b>CO_ZF_ORDER_LOCK_MULTI</b> is the right one for locking. Use similar coding like in routine <b>ORDER_CHANGE</b> (include <b>LCOIHF3G</b>):
    *--- Sperren (nicht im Anzeigen) --------------------------------------*
        if tc10-trtyp <> y_trtyp_anz.
          move-corresponding caufvd to ordt_pre.
          if caufvd-prueflos is initial.
            ordt_pre-kein_prlos = yx.
          endif.
          append ordt_pre.
          call function 'CO_ZF_ORDER_LOCK_MULTI'
               exporting
                    lock_mode   = 'S'
               tables
                    enqueue_tab = ordt_pre
                    not_locked  = ord_pre.
          describe table ord_pre lines sy-dbcnt.
          if not sy-dbcnt is initial.
    Regards
      Uwe

  • 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

  • Issue during automatic Creation of Work Order from Notification

    Hi,
    I have a issue during automatic Creation of Work Order from Notification.
    BADI implemented: NOTIF_EVENT_POST
    BAPI called in BADI: BAPI_ALM_ORDER_MAINTAIN
    I am able to create Work Order successfully but after that i need to update notification header with created work order number.
    But i am unable to update the same (VIQMEL-AUFNR).
    Can anybody provide solution for the same!
    Thanks,
    Kumar.

    Hi,
    Any inputs on above posted issue!
    Thanks in advance.
    Thanks,
    Kumar.

  • SAP PM Work Order from SAP SD order

    Hi ,
    Is that possible to create SAP PM Work Order from SAP SD order in IS - U?
    What will be the trigger points for this?
    Thanks & Regards,
    VEER

    Hello All,
    sorry for updating the thread so late.
    Actually the issue here was the memory ID. We changed that and the print started coming fine.
    Thanks to all who replied,
    Amit.

  • Termination error while creating and saving Work Order from a Notification

    Hi All,
    While creating Work Order from a Maintenance Notification, we get a error message "Update Termination OPROL Initial Number". This happens even while creating Maintenance Notification & Work Order separately and assigning the Notification in the Objects tab of the Order subsequently.
    Could any body please help in this issue.
    Thanks,
    SS

    Hi Sourabh,
                        Please check the link:
    Express Document Update terminated while Scheduling Preventive single Plan
    it will help you, it is actually the Number range issue.
    Regards,
    Yawar Khan

  • Work orders from sales orders

    17.11.07
    HI friends,
    I have a service item in my sales order and the charge is billed on the customer. This service has been provided to the customer through a vendor.  Can i create a work order or purchase order on the vendor using this sales order? I have created the vendor as a partner at the item level.
    Please advise.
    Regards,
    Udaynath.

    u just creat slaes order after that mm will come online that means service material gurantee and warntte  they will check qm and will decide that will be serivces or not or replaced that material so just we have to do the billing only  if the serivced material through vendor that will so  sending vendor but we are givening to the invoice to customer thank u
    Just iam trying to give the answer only if any mistakes please remind me this is my cell number 9848948675

  • Status QM* for a work order from FM: STATUS_READ_MULTI.

    Hi All
    We are calling the function module
    CALL FUNCTION 'STATUS_READ_MULTI'
         EXPORTING
           client                     = sy-mandt
           only_active                = 'X'
           all_in_buffer              = 'X'
    *     GET_CHANGE_DOCUMENTS       = ' '
    *     NO_BUFFER_FILL             = ' '
          TABLES
            objnr_tab                  = gt_objnr
            status                     = gt_status
    gt_objnr contains two entries:
    OV*1
    OV*4. These are operation statuses.
    In the gt_status, we are getting a range of values:
    1) OR*.I believe these are order status.
    2) OV*. This should be operation status.
    3) QM*. NOT SURE WHAT ARE THESE STATUSES FOR???
    Can anyone please tell me what does QM* statuses stand for.
    Thanks in advance.
    Harsh
    PS: '*' indicates a range of characters.

    These statuses stand for the quality notifications which you can check in QM03  tcode.
    Nabheet

  • From Work Order Functional area not Updating in MM & FI Documents During GI

    Hi All
    In work order functional area is getting updated in additional data tab from functional location. In functional location we have the work center and this work center is assigned to cost center. In this cost center we maintain the functional area & profit center.
    from there it is updating in the work order. But in MM & FI documents the functional area is showing as blank we are facing this issue for only one work order for other work orders the functional area is updating in MM & FI documents.
    Thanks & Regards
    VIshvesh Saodekar
    Edited by: Vishvesh Saodekar on Nov 8, 2010 12:43 PM

    I have posted thread in PLM forum

  • How to refer the work order status value from a different transaction in the step handler?

    Hi All,
    I have a requirement to check the status of the work order from a different transaction before doing some logic in the current transaction. The following transactions are done to replicate the issue
    1)changing the status to ONSITE to edit the work order (transaction 1)
    2)Adding some information which will do some logic (transaction 2)
    3)Completing the work order (transaction 3)
    The transaction 2 will have some logic and will be executed only if the status is COMP but even though the status is COMP now (transaction 3) my condition check in the logic is showing as ONSITE status(transaction.status=ONSITE) and it fails. How can i get the latest status of the work order in the device? Please advice

    Hi Jason,
    The CompleteWorkOrderFinish sub action does have Apply action (screenshot 1) and the transaction definition (screenshot 2)of CompleteWorkOrderFix transaction with the only property Status which has the following settings (screenshot 3)
    Also I am trying to add a status property in EditMeterFitDetaisl transaction and update this value with the current status of the work order using object collections filtering with key value. Please let me know if that approach can be followed. Thanks

  • Complete work orders without complete notifications from Overall Completion

    We have a work order assigned to a notification type and we need to complete the work order from the overall completion transaction  (IW42) without completing the notification when clicking on technical completion button.
    Is it possible?

    You can check with your netweaver team if this could be controlled from user authorizations. Do check if the following Business Transactions are available against the tcode "iw42"
    PMM2     Put notification in process     
    PMM4     Complete notification     
    PMM6     Put notif. in process again     
    I hope this will help.
    Regards

  • Work order Bus area

    I have some baisc questions related to Plant mintenance work orders, equipment, functional locations and business area.
    How to check on the business areas in the functional locations and equipment masters. is there a report.
    From where would the work order get the business area information.
    How is the work order posted to FI.. just the basic process.
    Thanks
    Any material or clarification is appreciated.

    http://www.sap-img.com/sap-pm.htm

  • Creating new work order - error on %001

    Hi all,
    Creating a new work order from the SAP Work Manager 6.0 application should be a standard functionality,
    However, on the system of our client, this goes wrong.
    Upon creating a new work order, we get the error 'Enter a numerical operation number'.
    New objects get an ID that starts with 'LOCAL_xx:xx:xx', which is converted to %001.
    SAP should recognize this and convert this automatically to 0010, 0020, ...
    how come this does not happen?
    it works fine on our SAP system, our customer's system gives an error.
    Kind regards,
    Judith

    Have you done any enhancement to  standard  product "specifically create method of  Work  Order Class handler" . or the standard product functionality itself is not working ?
    I don't see any reason why it works in your system but not in customer system. Try to put break point in create method of Work order class handler and check what  values are passed  for operation  number before invoking Work  Order create BAPI. 
    Infact Work Manager product converts local numbers to incremental  sequential  numbers before invoking create BAPI for Work Order.
    BR,
    Manju - SAP CEG UX/Mobile

  • 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

  • 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.

Maybe you are looking for

  • Error while AD Connector Uninstallation in OIM11GR2

    Hi All, I am getting the following Error while uninstalling AD Connector. [ConnectorUninstall_Error.log],REMOVE_RESOURCE_EXCEPTION: Resource Object ->AD Group RemoveITResourceDef_EXCEPTION-->AD Group/XL_SP_RemoveITResourceDef/APP_INSTANCE ORA_CODE: 2

  • Please help! How can I validate Radio Buttons and List Menu with PHP.

    Hello everyone, I have been learning PHP step by step and making little projects. The point is I find it easy to learn by doing "practical projects." I have been reading the David Powers's Book on PHP Solutions and it's really great, however there is

  • How is it possible for me to turn in my old iPhone 4s for the new iphone 5 for the lowest price

    how is it possible for me to turn in my old iPhone 4s for the new iphone 5 for the lowest price

  • CSS monitoring tool

    Hi, Is there any tool for monitoring the CSS boxes?? We have a Cisco CSS 11506 working for load balaning the application traffic for few servers, so now we would want to see the performance of the CSS in terms of no of hits coming in to the CSS and n

  • Policy files URGENT

    Hello I have a question regarding the local and global policy file. The union of these are used, but what will happend if - the global policy file allows to write to a file and the local denies this? - the local policy file allows to write to a file