Need Bapi to create maintenance order

Hi All,
I need a BAPI to create maintenance order in PM module.
i checked before posting the i did not get suitable BAPI .
please help...
Thanks,
Santhosh

BAPI_ALM_ORDER_MAINTAIN

Similar Messages

  • Bapi's for creating Maintenance order in IW31 with notification

    Hi All,
       Is there any bapi's for creating Maintenance order with Notification number in the transaction iw31.
      Also is there any bapi's for creating measurement document.
    Points will be awarded.
    Regards,
    vinoth

    RFC MeasDocument: Individual Processing, Create
    MEASUREM_DOCUM_RFC_SINGLE_001
    RFC MeasDocument: Individual Processing, Change/Display or Read
    MEASUREM_DOCUM_RFC_SINGLE_002

  • Need FM or BAPI to create Notification Order (Like TCode IW34)

    Hi PLM Expert,
    Can you give hints to create Notification Order (Like TCode IW34) from FM or BAPI?
    Thanks in advance,
    Gilang

    Hello Raj and other experts, I need help creating a a maint order referencing notification. I am using method CREATETONOTIF to create Order refer notification. I am successful in creating order however bapi is creating two orders. One without reference to notification and second one with reference to notification. Please note i have to use create header object type and method 'Create' as well.
    If i get rid of first method below it_methods - Object id header & Method create so i only execute method called CREATETONOTIF , i get a error on "Enter another operation number" from bapi . Your help would be greatly appreciated. I am stuck on this error now.

  • Need     RFC/BAPI    to create Delivery Order  with respect to  Sales Order

    Hi Gurus ,I'm   new  to  AB AP  Language   to be  working  in company
    so  can anyone  tel  me   FM/BAPI   to create  Delivery  order  with respect to  sales order(va01,vl01n)
    Any  sugg.. will appreciate  u.........
    Thanks in Advance...........

    Hi,
        Try this BAPI
    BAPI_SALESORDER_CONFIRMDELVRY
    Regards
    Bala Krishna

  • Problem in creating Maintenance Order with multiple operations

    Hello all,
    I am facing problem while creating Maintenance Order with multiple operations and sub-operations. I am using BAPI : BAPI_ALM_ORDER_MAINTAIN.
    For single operation it is working fine,but i am unable to create MO with multiple operations and sub-operations.
    Please, provide me the inputs required,
    I have used methods :
    ORDER        CREATE,
    OPERATION CREATE
    and SAVE.
    Regards,
    Siddhartha

    Hi,
    The FM you are using is a perfect one. This FM is bit tricky to use. You need to perfectly pass the Reference number field. which links various input table parameters of this FM.
    Thanks & Regards,
    Navneeth K.

  • FM/BAPI to create Transfer Order(TO) with reference to TR or Material Doc.

    Hi,
    I am in need of Function module or BAPI to Create Transfer Order(TO) with reference to Transfer Requirement(TR) or Material Document.

    Hi,
    Please try any of the below,
    1.Look at function group L03B (Transfer order processing)
    2.Use L_TO_CREATE_TR
    3.BAPI_GOODSMVT_CREATE set:
    GOODSMVT_ITEM-STGE_TYPE_PC = destination storage type or GOODSMVT_ITEM-STGE_TYPE_ST = destination storage type
    4.Look at fm L_TB_VERAENDERN. This isn't RFC, but you might copy fm into ZL_TB_VERAENDERN and set RFC on.
    Hope this helps.
    Thanks,
    Harini

  • Error while creating Maintenance order

    Hi,
    While creating Maintenance order with any order type (PM01,PM02 & PM03) & entering material in component Tab, the system is giving this Error 'Entry does not exist,check your entry'
    The used material is already maintained in the Material Master with all necessary information.
    Kindly suggest the best possible solution for this problem.
    Thanks in advance 
    Rohit8384

    Hi,
    The following error is coming while order processing.
    Entry    does not exist - check your entry
        Message no. 00 058
    Diagnosis
        Input values must be defined in Table MARA. The value or values '  ' are
        not specified in this table.
    Procedure
        Check whether the input is correct and correct if necessary.
    Procedure for System Administration
        If this is not an incorrect entry, check the system settings and change
        them if necessary.
        If there is a connection to the Customizing system, you can maintain the
        system settings by choosing Maintain entries (F5)
    Thanks in Advance.
    Rohit

  • While creating Maintenance order using t-code iw31 mainwork center not pick

    Hi,
    while creating Maintenance order using t-code iw31 Maintenance work center not picking from drop down (already have in drop down)but giving manually accepting.
    --Ganesh

    Hi,
    My understanding is that the selected work center is not copied into the input field. This can be corrected with note [1451299|https://service.sap.com/sap/support/notes/1451299]. Check if the note is relevant for your system.
    -Paul

  • Is there any function module or BAPI to create maintenance item.(Urgent)

    Hi Experts,
                       I want to create an RFC which creates the maintenance item in the sap. The RFC is going to receive data from XI. So is there any function module or BAPI to create maintenance item? so that i can call that FM in my RFC.
    Thanks,
    Prasanna
    Helpful answers will be rewarded.

    Check and implement your program accordingly:
    *& Report  ZMRS_BAPI_DEMO_ORDERS
    REPORT  ZMRS_BAPI_DEMO_ORDERS.
    DATA: gs_method     TYPE bapi_alm_order_method,
          gs_header   TYPE bapi_alm_order_headers_i,
          gs_header_up  TYPE bapi_alm_order_headers_up,
          gs_return     TYPE bapiret2,
          gs_numbers    TYPE bapi_alm_numbers,
          gs_return_commit TYPE bapiret2,
          gs_demo_order TYPE objidext,
          gt_demo_order LIKE TABLE OF gs_demo_order,
          gt_method     LIKE TABLE OF gs_method,
          gt_header     LIKE TABLE OF gs_header,
          gt_header_up  LIKE TABLE OF gs_header_up,
          gt_return     LIKE TABLE OF gs_return,
          gt_numbers    LIKE TABLE OF gs_numbers,
          gt_return_commit LIKE TABLE OF gs_return_commit.
    DATA lv_not_successful TYPE c.
    DATA lv_ref_cnt TYPE i.
    IMPORT gt_method FROM MEMORY ID 'MET'.
    IMPORT gt_header FROM MEMORY ID 'HED'.
    IMPORT gt_header_up FROM MEMORY ID 'HUP'.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
      TABLES
        it_methods   = gt_method
        it_header    = gt_header
        it_header_up = gt_header_up
        return       = gt_return
        et_numbers   = gt_numbers.
    CLEAR lv_not_successful.
    LOOP AT gt_return INTO gs_return.
      IF gs_return-type = 'E'.
        lv_not_successful = 'X'.
      ELSEIF gs_return-type = 'W'.
       lv_not_successful = 'X'.
      ELSE.
      do nothing
      ENDIF.
    ENDLOOP.
    IF lv_not_successful <> 'X'.
    commit changes
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait   = 'X'
        IMPORTING
          return = gs_return_commit.
    ELSE.
    rollback changes
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
        IMPORTING
          return = gs_return_commit.
    ENDIF.
    EXPORT gt_return TO MEMORY ID 'RET'.
    EXPORT gs_return_commit TO MEMORY ID 'COM_RET'.

  • Is there BAPI to Create Repair Order / Coupons.

    Hi All,
        Can you let me know if there is any BAPI to create Repair Order and Coupon using BAPI.
    I have created Debit memo / Credit memo using BUS2096 / BUS2094 respectively. Now I want to create Repair Order and Coupon.
    Thanks in Adv.

    ALM_ME_ORDER_CREATE
    To post the order use
    CO_ZV_ORDER_POST
    Regards,
    Jai.

  • Object RESB within Critical Area - creating Maintenance Order

    Hi All,
    We are getting warning message while creating Maintenance Order. It says " Object RESB within Critical Area". After checking we found that 90% of the number range for reservation documents have been consumed and it is maintained in settings that the warning will come up when number range enters last 10%.
    we have changed this setting to 5% but still the issue is not resolved. We are still facing the same warning message.
    Kindly guide.
    Regards
    DM

    DM,
      This maybe due to the buffering of the number range numbers on the application servers.once these numbers are exhausted and new  block of numbers are picked up  from the database server this should go off.  Ideally you may want to adjust to a new  number range so that this warning message doesn't irritate the end users.
    Regards
    Narasimhan

  • Error in commitment check when creating maintenance orders

    I'm getting an error " Error in commitment check" when creating the maintenance order for procuring the spare parts which is an non-stock item. I checked the cost for the particular Cost center/GL there is no money in that, so thatu2019s the reason for getting the error, so when we did testing in DEVL and QA, we put money into the cost center/fund/functional area and the issue has been resolved.
    Now my client said they donu2019t want that control and they want to remove the commitment check so that you can create maintenance order even though you donu2019t have money on particular cost element.
    FICO person told that there is no AVC check in place, also there is no budgeting control implemented, she also told that when they create Purch requisition directly they are not getting the error even though cost is not in that particular cost element but she wonder why it is giving error when we create the purchase requisition thru Maintenance order.
    I have referred the experts forum to figure out this issue, but everywhere they mentioned this is due to budgeting or funds management issue and ask me to contact FICO person to remove the control, but there is no such person as current FICO person is an end user trained in SAP.
    Your help is appreciated

    Hi,
    We got same error , while procuring through PM order , Please help us , what settings required .., Our version is 4.7EE .
    The note mentioned up to level of 4.6 ,
    Regards,
    Sujana

  • Settlement Parameter change while creating maintenance order

    HI ,
    I am creating maintenance order PM  through transaction IW21 while saving the order based on revison the settlement profile has to change . i am using userexit IWO10009.
    Please send the replay.
    Thanks in Advance.
    Thanks
    satya

    Hi,
    Use this exit for settlement rules. IWO10027 :  User exit: Generate user-defined settlement rule
    Regards
    Ahsan

  • Bapi to create purchase order

    Hi Experts,
                    I need to find a bapi to put purchase orders using co08.Please let me know if some bapi or function module exists there for the same.
    Thanks in advance

    See th Business object BUS2012
    u can see all bapis for Purchase order.
    BAPI_PO_CREATE
    BAPI_PO_CREATE1 to create purchase order.
    <b><REMOVED BY MODERATOR></b>
    Regards,
    Vimal
    Message was edited by:
            Alvaro Tejada Galindo

  • Creating maintenance order from enhancement IMRC001

    Hi
    I am trying to create a maintenance order from the customer exit EXIT_SAPLIMR0_001 inside enhancement IMRC001. For order creation i have invoked the BAPIs  BAPI_ALM_ORDER_MAINTAIN and bapi_transaction_commit subsequently to write changes to the database. But once the control returns from main program I receive an express message which states
    Update was terminated
    System ID....   ECD
    Client.......   400
    User.....   SSEN
    Transaction..   CO11N
    Update key...   48DCDEE6DD6E01AFE1008000093362E1
    Generated....   15.10.2008, 09:11:42
    Completed....   15.10.2008, 09:11:43
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Can any of you help me on this. I am doubtful on commiting from a include; but in the doc for this enhancement it is mentioned that we can create order from it. Is there any other way to do this?
    Thanks in advance
    Sudip

    udip,
    I think there's some sample code with this user-exit..
    Have a look at that, it may give some pointers...
    Also try without the BAPI_TRANSACTION_COMMIT.
    PeteA

Maybe you are looking for

  • The type or namespace name 'Skeleton' could not be found in V2.0 kinect

    I Have Use kinect 2.0V and install and add toolkit and Use this Code. then display error in "Skeleton" Class but same code already working 1.8V. public interface ICommonProperty         Skeleton currentSkeleton             get;             set;

  • Dynamic selection in alv

    hai   How to display a column in alv(Container) in dynamic manner at runtime. specify the code if u have. thx in advance.

  • ERROR OLAP Process Application

    Hi all! This is our problem, when i try to process my application called "Finance", it always fails and appears the following error message: Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'dbo_tblFactFina

  • Final Cut camera compatibility

    I'm looking for a camera compatible with FCP 5.1.4 that isn't HDV. I'd like to record HD to a something other than tape for easier offloading. I'm even willing to settle for something less that pro-sumer for the time being. I used a client's Sony (di

  • How to manage ApplicationDomain for loaded SWFs across different domains?

    I've been getting this following error -- when I'm loading a subsidiary SWF into a main one. The sub swf contains the overlays. OverlayOne is a subclass of Overlay. TypeError: Error #1034: Type Coercion failed: cannot convert OverlayOne@18684f89 to O