Bapi BAPI_EQUI_CHANGE

I have a requirment to update the matnr and sernr for a particular EQUNR, I went through the BAPI  BAPI_EQUI_CHANGE, however in the structure DATA_GENERAL i was not able to find MATNR and SERNR.
Has anyone done this  before , which BAPI to use and what are the parameters needs to be passed.

Hi,
I used the solution I suggested here.  BAPI_EQMT_MODIFY.
I m recieving the message that
'Equiment 'XXX' does not exist',
whereas I can see that in the EQUI table, and where the update is not yet done as per the to be changed material is inputted.
Kindly reply my qurery.
regards,
Chandani

Similar Messages

  • Use of FM BAPI_EQUI_CHANGE to update equipement with customer fields

    Hello all
    I have extended the EQUI table with customer fields using customer include structure and append structure.
    I want to populate these customer fields with BAPI BAPI_EQUI_CHANGE Or BAPI_EQUI_CREATE.
    So I have extended the structure ITOB appending the same customer fields as in table EQUI.
    I have enhanced the function MAPXI_BAPI_ITOB_TO_ITOB which map data from structure BAPI_ITOB to internal structure ITOB.
    But the fields are not populated ?
    Has someone already the BAPI in that way ?
    Thanks
    Jerome

    Hello all
    I have extended the EQUI table with customer fields using customer include structure and append structure.
    I want to populate these customer fields with BAPI BAPI_EQUI_CHANGE Or BAPI_EQUI_CREATE.
    So I have extended the structure ITOB appending the same customer fields as in table EQUI.
    I have enhanced the function MAPXI_BAPI_ITOB_TO_ITOB which map data from structure BAPI_ITOB to internal structure ITOB.
    But the fields are not populated ?
    Has someone already the BAPI in that way ?
    Thanks
    Jerome

  • User id is not processed by BAPI

    Hi ,
    We are implementing SAP PM and developing interface with PI.
    Iam passing userid (technicians) to BAPI for  Dismantling/Installation of equipment as to track who has performed the action.
    The issue is PI is not taking the userid rather it is processing with  the PI system id .
    Please suggest  to resolve this issue.
    Regards
    Anil

    Hi Pete,
    Let me state my problem again...
    Xi interface sends a file which will contain data to create equipments. this will contain the user name field . The equipments created/changed by should be with this user ID.
    I create set of Equipments(Through BAPI) . My problem is i can create the Equipment with the user id given in the file. but when i use change transaction IE02 , i tried to populate sy-uname with the name given in the file just before call transaction IE02. it is not working.
    I tried using BAPI   BAPI_EQUI_CHANGE to change the changed by field but no luck.
    Any pointers on how to resolve this would be highly appreciated.
    Thanks and Regards
    Anil Kumar

  • Usage of BAPI_EQUI_CHANGE

    Hi,
    i use BAPI: 'BAPI_EQUI_CHANGE' to change some fields of an equipment.
    Now i have to change the garantie fields of the eqipment.
    This fields are store in BGMKOBJ-GWLDT and BGMKOBJ-GWLEN.
    I cannot find this field in the Parameter of the BAPI.
    Is there another Bapi/FM to change this Fields?
    Thanks.
    regards, Dieter

    Hi,
    A way to solve this may be use the ENHANCEMENT-POINT in BAPI_EQUI_CHANGE:
      ENHANCEMENT-POINT EHP_BAPI_EQUI_CHANGE_01 SPOTS ES_SAPLITOB_BAPI_EQ
    Here you can adjust the value of L_ITOB_REC-GWLEN and L_ITOB_REC-GWLDT .
    Best regards,
    Leandro Mengue

  • Bapi to change Equipment stock information??

    hi all,
    I am trying to find a BAPI which changes stock information of Equipment. ( we can change the stock information from ie02 in the serdata tab ) i tried BAPI BAPI_EQUI_CHANGE but for storage location and stock type there are no fields.
    Any pointers to how to acheive it would be highly appreciated...
    Regards,
    Sreekanth

    Only option is BDC

  • How to change the changed by name of an equipment

    hi All,
    My Problem is as follows..
    Xi interface send a file which will contain data to create equipments. this will also contain the user name field . The equipment created/changed by should be with this user ID.
    I create set of Equipments(Through BAPI) and update the stock information thorugh BDC using IE02. my problem is i could create the Equipment with the user id given in the file. but when i do stock updation through IE02 it takes sy-uname.  i tried to pouplate  sy-uname with the name given in the file jus before call transaction IE02. it is not working.
    I tried using BAPI BAPI_EQUI_CHANGE to change the changed by field but no luck.
    Any pointers on how to resolve this would be highly appreciated.

    sy-uname = 'DUARAN'.
    CALL TRANSACTION 'IE02' USING lt_bdcdata
                                    OPTIONS FROM lw_opt
                                    MESSAGES INTO lt_bdc_errors.
    please let me know if you want more info..

  • Transaction ie02 in LSMW

    Hi,
    I want to modify equipment with a LSMW and a batch input. In this transaction, I want to change the permits associated to an equipment. But I can't change them (if the fields PMSOG are free, I can add new permits, but if a permit is already associated to a field PMSOG, I can't change it). I think the problem comes from the attribute K_NODEL, which is not checked, but this attribute is dimmed and I can't check it, even in the direct transaction.
    Thks for your help

    DimSAP,
    Why not use LSMW with BAPI BAPI_EQUI_CHANGE or BAPI_EQMT_MODIFY. I think you can solve your problem using this way.
    Regards.

  • BAPI for Equipment Stock Info Maintenance

    Hello,
    Transaction for maintenance of the Equipment master data (IE02) contains tab named "SerData" where it is possible to specify serial number and Stock information. I need to assign Sales Order No./ Position to the Equipment during it's creation. But the interface of the FM BAPI_EQUI_CREATE or BAPI_EQUI_CHANGE does not contain these parameters.
    Is there a way I can do this using BAPI?
    Points will be rewarded for help, of course.
    Thank you in advance
    Best regards,
    Maksim

    Santosh,
    We generate a large number of work orders using the OrderMaintain method of BAPI_ALM_ORDER_MAINTAIN.  We have exposed it to a .NET front end through a web service and this seems to work well for us.  As Pete said, your requirements are rather brief but if you look at this function module it might help you.
    Note: This and other related BAPIs were first available in 4.7 and I think are standard beyond that but can't say for sure.
    Bob Stanza

  • BAPI to change partner data in Function location

    Hi,
    is there any BAPI,that can be used to change the Partner data in functional locations & equipments.
    Regards,
    Raghavendra

    You can use the BAPI <b>BAPI_EQUI_CHANGE</b> for this purpose.

  • BAPI Transaction IA06 with positions

    Hello everybody,
    Can anybody help me with the BAPI,BAPIS's or Function Module for Transaction IA06, I need to modify the positions in text and work center, I'm trying BAPI_EQUI_CHANGE and BAPI_EQUI_MODIFY, but I can't modify the positions or operations with this BAPI's, thanks in advance.
    Greetings
    Julio Cesar

    Wrong post, sorry.

  • BAPI to change material assignment with serial number (IQ02)

    Hi Experts,
    Please let me know the BAPI to change material assignment with serial number in IQ02. I am using BAPI_EQUI_CHANGE, but this does not work. Waiting for Your valuable inputs...
    Thanks in advance,
    Birendra

    Hello Birendra,
    Honestly, I do not have good experience with the BAPI for serialnumber change...
    would suggest to explore function module:
    SERIALNUMBER_LIST_UPDATE
    or
    SERIALNUMBER_LIST_SAVE
    Also run ST05 to trace what kind of data it passed to these function modules by running IQ02!
    Cheers
    Krish

  • BAPI_EQMT_MODIFY vs BAPI_EQUI_CHANGE

    Hi guys - need some help
    I need to update MATNR on a specific equipment
    Tested with BAPI_EQMT_MODIFY which is an obsolete bapi but it works fine
    where i pass to EQUIMASTER-MATNR new value
    and to EQUIMASTER_X-MATNR update flag 'X'
    and finish it off with BAPI_TRANSACTION_COMMIT
    and matnr gets updated on that equipment without any porblem
    When I am using BAPI_EQUI_CHANGE which I am supposed to be using
    I am not getting anywhere, what I do is simillar to BAPI_EQMT_MODIFY:
    I populate DATA_SPECIFIC-MATNR with new matnr
    and DATA_SPECIFICX-MATNR with update flag 'X'
    (also send empty structure for DATA_GENERAL and DATA_GENERALX
    and finish it off with BAPI_TRANSACTION_COMMIT
    I dont get anything back in return structure and equipment does not get updated
    Am I missing something? Do I need to populate any other fields?
    //Thanks

    Thank you again guys.
    I found the problem and it is the function module
    ITOB_FILTER_DATA -> that seems to filter MATERIAL and serial-number out
    SAP has an enhancement for this reason which is called ITOB_SFWS_SC_ITOB_FILTER_DATA
    which help to keep serial and matnr - very confusing but that is how it works.
    Two other important fields that must be populated prior using this BAPI_EQUI_CHANGE
    MaintPlant (ITOB-SWERK) and Company code (ITOB-BUKRS) or no change will take place
    Well - happy coding

  • BAPI to change equipmente name?

    Hi,
    Is there any BAPI to change the EQUIPMENT name?
    i need to know plz

    Hi:
           Why you need BAPI to change equipment name? You can change that using LSMW. Please check BAPI_EQUI_CHANGE.
           Regards

  • BAPI to change maintenance plant on Equipment

    Hi everyone,
    Is there a BAPI which changes the maintenance plant on the equipment. I tried both
    BAPI_EQMT_MODIFY and
    BAPI_EQUI_CHANGE unsuccessfully.
    If any of you have an idea of any BAPI which does the same or if the plant can be changed with the above BAPI's please help.
    Thanks
    Aneesh

    Hi Aneesh,
    When using BAPI_EQMT_MODIFY are you populating with BAPI_ILOA-MAINTPLANT = "Your value" as well as BAPI_ILOA_X-MAINTPLANT = 'X'
    Don't forget to call BAPI_TRANSACTION_COMMIT if you have no errors in your return table as well.
    Kind Regards,
    Richard.
    Edited by: Richvdl on Nov 30, 2010 6:08 PM

  • BAPI_EQUI_CHANGE Error ITOB 407

    HI I need to Changes in Equipment master through BAPI but i found an error .
    I noticed that the return message is Equipment could not be changed.
    Msgtyp E
    Message no 407
    Message ID ITOB.
    Code
      Data :general TYPE STANDARD TABLE OF BAPI_ITOB WITH HEADER LINE,
            generalx type STANDARD TABLE OF BAPI_ITOBX WITH HEADER LINE,
            datas TYPE STANDARD TABLE OF BAPI_ITOB_EQ_ONLY WITH HEADER LINE,
            datasx type STANDARD TABLE OF BAPI_ITOB_EQ_ONLYX WITH HEADER LINE,
            fleet TYPE STANDARD TABLE OF BAPI_FLEET WITH HEADER LINE,
            dg type BAPI_ITOB , ds type BAPI_ITOB_EQ_ONLY, df type BAPI_FLEET,
            fleetx type STANDARD TABLE OF BAPI_FLEETX WITH HEADER LINE,
            return type BAPIRET2,ireturn type BAPIRET2.
      Data : equip type EQUNR.
    general-INVENTORY = '99999999'.
    *general-MANFACTURE = 'HONDA'.
    APPEND general.
    generalx-INVENTORY = 'X'.
    *generalx-MANFACTURE = 'X'.
    APPEND generalx.
    equip = '1001840'.
    '1001973'.
    CALL FUNCTION 'BAPI_EQUI_CHANGE'
      EXPORTING
        equipment               = equip
        data_general            = general
        data_generalx           = generalx
        data_specific           = datas
        data_specificx          = datasx
      DATA_FLEET              = fleet
    *DATA_FLEETX             = fleetx
       VALID_DATE              = SY-DATUM
       VALID_TIME              = SY-UZEIT
    IMPORTING
      DATA_GENERAL_EXP        = dg
      DATA_SPECIFIC_EXP       = ds
      DATA_FLEET_EXP          = df
       RETURN                  = return.
    iF RETUrN IS INITIAL.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    IMPORTING
       RETURN        = ireturn.
    ENDIF.
    if return-type = 'E'.
      write: equip, return-type, return-message, return-field,return-NUMBER.
    endif.
    Any solution pls. ?

    Hi,
    general is not an table it is Line item or strucuture..
      equip = '1001840'.       "Do not hard code use conversion routine....
    general-MANFACTURE = 'HONDA'.
    generalx-MANFACTURE = 'X'.
    "also assign manufacture country
    "also Populate Manufacturer Serial number
    "Populate Delivery number
    general-INVENTORY = '99999999'.
    generalx-INVENTORY = 'X'.
    APPEND generalx.
          CALL FUNCTION 'BAPI_EQUI_CHANGE'
            EXPORTING
              equipment      = equipment
              data_general   =general
              data_generalx  =generalx
              data_specific  = specific
              data_specificx = specificx
            IMPORTING
              return         = t_return.
    Prabhudas

Maybe you are looking for

  • Execute SQL Task fails when specific column names are mentioned in Excel Query

    Hi, I have a requirement for extracting Excel data with thespecific column order. So instead of using the below query, Select * From [Sheet1$A1:ZZ1] I use the below one, Select col1, col2, col91 From [CRM$A1:ZZ1] So I have totally 91 columns. I don't

  • Help me. I am Beginner to RMI.

    code on the server side: rebind("rmi://192.168.41.30:1051/toaster",p1); run it with: rmirigistry & java -Djava.rmi.server.hostname=192.168.41.30 ProductServer then the error arised as follows: java.rmi.ConnectException: Connection refused to host: 61

  • Line item extract and delete query

    If you change the default view for a scenario and line-item detail has been entered, you should first extract the line-item detail and save it. Then delete the line-item detail from the scenario before changing the view. You must change the extracted

  • LIST_FROM_MEMORY error NOT_FOUND??

    Hi! i wonder why the <b>FM 'LIST_FROM_MEMORY' </b> raise error NOT_FOUND. function LIST_FROM_MEMORY.   import LISTOBJECT from memory id '%_LIST'.     if SY-SUBRC <> 0. ->    raise NOT_FOUND.     endif. endfunction. my code to convert abap report to e

  • Internal Oreder Error in FI posting

    Hi, in FI posting i got an error like The account assined object defined for other business areas while i'm posting telephone expenses in Fi anybody plz let me know how to resolve it Thanks, reddy