Error while  changing Service order through  BAPI_ALM_ORDER_MAINTAIN.

Hi Frens,
I am facing problem while  changing a service order .
I am changing the  HEADER ( Planner group & Basic Finish date )   through
BAPI_ALM_ORDER_MAINTAIN.
  lt_methods-refnumber = '000001'.
  lt_methods-OBJECTTYPE = 'HEADER'.
  lt_methods-METHOD = 'CHANGE'.
  lt_methods-OBJECTKEY = l_aufnr.
  append Lt_methods.
  lt_methods-refnumber = '000001'.
  lt_methods-OBJECTTYPE = ' '.
  lt_methods-METHOD = 'SAVE'.
  append lt_methods.
  lt_header-orderid = l_aufnr.
  lt_header-PLANGROUP = 'GE'.    " Hard coding for testing
  lt_header-FINISH_DATE = '20081114'.
  append lt_header.
  lt_headerup-orderid = L_AUFNR.
  lt_headerup-PLANGROUP = 'X'.
  lt_headerup-FINISH_DATE = 'X'.
  append LT_headerup.
  CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
    TABLES
      IT_METHODS   = LT_methods
      IT_HEADER    = LT_header
      IT_HEADER_UP = LT_headerup
      RETURN           = LT_return.
  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
     EXPORTING
       wait = 'X'.
I am getting error No : IWO_BAPI2  ( 118 )"  *Order 5001887 cannot be saved, since no operation is maintained."*

Hi Balu,
You can refer to the note 966289 which talks about this problem if a service order template is used.
Thanks
Abishek

Similar Messages

  • Error while changing Service Order in CRM

    Hi,
    After creating Service Order in CRM, i click on change mode, it shows the following error:
    An error occurred in system ECC during account assignment
    Message no. CRM_ORDER_MISC 060
    Diagnosis
    Errors occurred when assigning an account assignment object to a business transaction. To view the error message, see the accompanying log file.
    Transfer Log
    Enter the business area (Notification E KO 136)
    Characteristics for Controlling object have errors (Notification E IAOM 034)
    What needs to check in R/3 to process this successfully to create an Internal Order in ECC referring this Service Order.
    tnx in adv.
    rgds,
    balu

    Hi Balu,
    You can refer to the note 966289 which talks about this problem if a service order template is used.
    Thanks
    Abishek

  • ABAP dump Error while creating service order in PCUI.

    Hi Experts,
                     We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          02.01.2008 14:55:38
    Short text
    Exception condition "TYPE_NOT_FOUND" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
    exception
    condition "TYPE_NOT_FOUND".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    |    function module from the display of active calls.     
    We have added custom fields in the service application. these custom fields with Z-structure & data elements  are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
    This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
    How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
    Helpful answers would be rewrded max points as it is high priority issue.
    Regards,
    Basavaraj Patil

    Hi Thirumala,
    Thnaks for the reply.
                I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields)  created while doing  EEWB is not included in BSP structure.
    I f transports are missed to move to target system, Is there any other alternative to solve this problem?
    Regards,
    Basavaraj Patil

  • Error while saving service order?

    Dear SAPIENTS,
    While saving service order system is throwing error in commitment check
    message number  CO634
    can anybody tell where i need to check to resolve this problem?
    Regards,
    Kaushal Rai

    hi
    In FMAVCR01 you can see the amount avaialble for the fund center and commitment item combination ,
    in the maintenance order itself from the menu Goto>Assignments>fund center
    i think you are using the funds management where the system picks up the commitement item for the respective material in the order you specified ,kindly consult with your FICO person also
    regards
    thyagarajan

  • Problem while Creating Service order through Work Order

    Hi Gurus,
    I have a problem While creating Service order (me21n) through - Work order it contains service requisitions.
    So that means they carry information such as G/L and work order number while entering the requistion no in PO Creation Screen (me21n)  which automatically should be picked from the work order refference.
    But problem here is the service items and all other are assigned to PO except the Account Assingnment tab which is GL Account and Work Order No and Cost center..
    Can anyone explain me this?
    Is this something that one can explain?
    Regards,
    Murugesh R
    Rewards for value replies.

    Closed..

  • Error while creating service order in web ic 5.0

    Hi All,
    we are facing problem with service order in web ic 5.0.whenever we click on service order in navigation area it is throwing an error message as given below.
    Note
    The following error text was processed in the system RQ4 : No business transaction type was found
    The error occurred on the application server pssapcmq_RQ4_01 and in the work process 0 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system RQ4 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server pssapcmq_RQ4_01 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server pssapcmq_RQ4_01 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 370 -u: BEJAW1M -l: E -s: RQ4 -i: pssapcmq_RQ4_01 -w: 0 -d: 20080111 -t: 133612 -v: ERROR_MESSAGE_STATE -e: No business transaction type was found
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Please help me
    Regards
    Madhav

    Hello Madhav,
    You have to maintain your 'business transaction profile' (SPRO->CRM->IC Web->Business Transaction->Define bus. trans. prof.) in the customizing and assign that profile to your IC WebClient profile (the one you assigned in the org. model)
    In the business transaction profile you must make sure that at least one transaction type (e.g. ZSRV) is assigned as 'Dependent business transaction' and that entry is flagged as 'Service'.
    Also make sure that that transaction type (ZSRV) has leading business transaction category 'Service process' (BUS2000116).
    This should solve your problem!
    Kind regards,
    Joost

  • ITem category  error while creating sales order through

    Hi,
    I am trying to create a sales order through Bapi  and in between im getting the below error.
    ' Item category TAM is not defined for non material items'.
    Can anybody pls provide the solution for this.
    Thanks

    speak to your SD functional person.  The Error is pretty self explanatory; SAP is telling you that the item category for that order item is not permitted by your SD configuration.

  • Error while releasing Sales Order through VKM1

    Hi Gurus,
    I got a sales order which has created a credit hold.  When I try to release that through VKM1 i am getting the  error "Error Determining Posting Period (info structure S008, Variant Z2, RC).  Kindly let me what should I do for releasing this.
    Thanks in advance.
    Regards,
    Varada

    hi,
    Goto img->logistics general->logistics data warehouse->updating->updating control->Activate update choose sales and distribution
    double click on the infostructure s008 and see the details & if possible select asynchronous only and not synchronous. Check out this.
    chan
    Message was edited by:
            CHAN HARI

  • Lock error while Changing the Routings through IDoc

    Hi All,
            we are trying to change the routing by passing change mode X using IDoc /SAPMP/ROUTING01 with message type /SAPMP/ROUTING and we using the function module /SAPMP/IDOC_INPUT_ROUTING to process the IDoc. We have no problem while creating but when we are trying to change we getting errors that Header, Operation & Sequence cannot be locked (lock management error).
    On executing this IDoc we are getting errors with meggase No. CPCL015 Header cannot be locked(lock management error), CPCL218 Operation cannot be locked(lock management error), CPCL115 Sequence cannot be locked (lock management error).
    Please help me in resolving this isuue.

    Use OP77 to define work area. Check the flag for locking the header and use that work area in BAPI interface for changing the task

  • Error while creating Sales Order Through BAPI

    Hi Friends,
      i am creating a RFC where i have to create sales order .
    I am using bapi
    BAPI_SALESORDER_CREATEFROMDAT2
    for same and entering values to it.
    I got the following return messages:
    S V4                   233 SALES_HEADER_IN has been processed successfully
    S V4                   233 SALES_ITEM_IN has been processed successfully
    S V1                   311 BDN Order 3112800903 has been saved
    But when I go to transaction VA03 and enter the number i get the following error:
    SD document 3112800903 is not in the database or has been archived
    Can any one know how to resolve this error.I am also using BAPI_TRANSACTION_COMMIT with wait = 'X'.
    Regards,
    Santosh Alle

    Hi,
    Try to check the return message once.
    SD document 3112800903 is not in the database or has been archived
    You will get this message if the sales document is deleted from the database .The BAPI   'BAPI_SALESORDER_CHANGE'  is used to delete salesorder.Check whether anyone has deleted it
    Also, sometimes it may take few seconds to update the sales order in the database when using BAPI. Check the transaction after some time.
    Regards,
    Lakshman.
    Edited by: Lakshman N on May 14, 2010 7:43 AM

  • Error while Changing Purchase Order quantity

    Hi experts,
            I am doing a BDC so that it should change the invoice quantity by the Received quantity, and also if the received quantity is 0 it should delete that particular Line item. It is doing well for the above, but i am getting stucked in a po number withe following error,
    "Quantity delivered differs from qty. invoiced (Function not possible)". Can any one please help me in this issue...
    thanks ,
    Ajeeth

    you can only set a deletion indicator if invoiced quantity and received quantites are equal.
    check the PO history in PO item detail , there you can see how much you received and how much was invoiced.
    Maybe you missed to clear GR/IR account with MR11

  • BAPI_ALM_ORDER_MAINTAIN associating notification number while Changing the order

    Hi,
    I am unable to associate the notification with the PM order while changing the order through BAPI_ALM_ORDER_MAINTAIN. The scenario is like following:
    Order is already created & Notification is also created.
    Now I am populating the Methods table as:
       3.  Passing the Notification no. in notif_no field of header table and 'X' in notif_no field of header_up table.
    In the return table it shows that the order saved successfully but when we check it in IW32, the notification is not associated with it.
    Please suggest.

    You might have missed some parameters, that is to be passed, means you have mistakenly commented any parameters that is not to be comment, please search in this forum you will get many threads, then see what is missing.

  • Stop Message while saving Service Order from IW51

    Hello,
    I am getting bleow error while saving service order.
    System: Status object does not exist. Message Numner IW351
    Actually I have done one enhcement in the User exit of the Sales order in the form Routine...
    USEREXIT_SAVE_DOCUMENT_PREPARE
    From this depending upon the some validation i am populating Error message,
    I am creating sales order through service order from the Transaction IW51.
    When i Try to save the service order i get the error messages which is coming from my validation which
    I had put in the MV45AFZZ.
    After the error messgae i press ENTER and then try to change the order by clcicking on the advance shipment.
    As soon as i click on that i get a STOP messgae.
    Which i as below.
    System: Status object does not exist
    I m not getting why it is coming.
    Kindly Help.
    Regards
    Sachin

    Hi,
    After MESSAGE add STOP. :
    MESSAGE ixxx(xxx) with param1 param2 param3 DISPLAY LIKE 'E'.
    STOP.
    or If ambiguity with usage of  STOP being obselete use EXIT after message.
    MESSAGE ixxx(xxx) with param1 param2 param3 DISPLAY LIKE 'E'.
    EXIT.
    BR
    Dep

  • Error releasing of Service Order

    Hi Experts,
    Error while releasing service order "System status CNOK is Active" . Please let me know how to release the orders.
    Regards
    Yadu

    Hi Yadu,
       Release the order using IW41.
       Reward points if it helps.
    Regards
    Karan

  • Error message IM063 while closing service order

    Hi,
    I am facing an issue of error message-IM063 (Plant is not assigned to sales org and distribution channel) while closing service order or changing status into TECO. When i checked plant and sales area assignment all looks fine as there are some other service order which has same equipemnt and closed.
    Thanks for your reponse.
    Regards,
    Rakesh

    How you created the Service Order (either through BAPI or manually)?
    If you created using BAPI, please see the below note.
    [Note 702763|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=702763]

Maybe you are looking for

  • RABAX_STATE error When i am trying to acess the PO in portal (DEV)

    Hi , In the smartfrom i am trying to change the vendor address format and i want to add Country for that so i done the code                 vendor_country_key  = SF_PO-VENDOR-COUNTRY.                 VENDOR_LANGUAGE_KEY = SF_PO-VENDOR-LANGU.        S

  • Single Database with 2 brancehs

    Hi all, Client is having Single Company i.e. at location 1 , Slient is having multiple branch records in single company i.e. production is done at 2 branches Noida and rudrpur, how we can assign the item A to both the Branches ,we are having 2 wareho

  • How to find out where is the remaining balance of my voucher

    Hi ,        i was given an Itunes Voucher , after buying few tunes, now I wander where I can find the remaining balance? thanks

  • Pre-Tax Deduction Wage Type

    What is the best practice to create a new Pre-Tax  Deduction Wage Type that will be used for a new Benefit related program? I will need this new pre-tax  deduction wage  type to be processed in Third Party.  Thanks,

  • Oracle on Development Platform

    I had Oracle 10g setup on the production server running 2 database. Now I want to setup another oracle 10g on the development server so every night the data of both database in the production server will be copy over to the oracle on the development