EQUIPMENT_UPDATE VS ITOB_EQUIPMENT_MODIFY_SINGLE
Hi All,
There is requirement to update the single field (TYPBZ) in the equipment master using program. I can do this task using FM either EQUIPMENT_UPDATE or ITOB_EQUIPMENT_MODIFY_SINGLE.
I wanted to know which FM I should use. I am getting correct result from both FMs. Please let me know.
If somebody has any other suggestion then please let me know.
Thanks,
Chandra
Hi,
ITOB_EQUIPMENT_MODIFY_SINGLE : ITOB Buffer RFC: Change Individual Equipment
This RFC-capable function module enables you to create master data for an individual piece of equipmen without using a dialog.
EQUIPMENT_UPDATE : Normal Function Module
Similar Messages
-
Hi
Can anybody tell me how to use this function module EQUIPMENT_UPDATE?
Even though i provide all the data required the function module is going for dump saying <b>PARAMETER *HEQKT IS MISSING</b> even the parameter is being provided.
The actual rquirement is to update the EQUI table with PLANT & STORAGE LOCATION data, which is not being updated by any bapi available. Is there any other function modules which can serve this purpose. Please tell me if any other function modules available for this purpose.
Thanks in advance.Hi,
I am having a similar issue but BAPI_EQUI_CHANGE will not work as it does not appear to make changes directly to EQBS. I need to change the batch link to serial number in both EQBS and EQUI simultaneouls otherwise I get an error cannot change.
Is FM EQUIPMENT_POST or EQUIPMENT_CHANGE the best recommendation?
Thank you,
Alan -
How to update equipment ship to party and sold party data
Hi all,
How to update equipment ship to party and sold party data? Is there any BAPI or FM?Hi Suresh,
chech with the below
PM_PARTNER_UPDATE "Parner update
ITOB_EQUIPMENT_READ_SINGLE "read equmment data
ITOB_EQUIPMENT_MODIFY_SINGLE "update the parner data for the same equimpmet
hope it helps you..
Thanks!
Edited by: Prasanth on Apr 14, 2009 6:30 PM -
VC : Update Equipment with new configuration number
Hi,
I am trying to update an existing equipment with a new configuration number (cuobj).
I used try to use 'BAPI_EQUI_CHANGE' to achieve this but apparently they didn't work even though i've received no exceptions. (no luck either with EQUIPMENT_MODIFY)
For 'BAPI_EQUI_CHANGE' i used following code :
data : v_equipment like BAPI_ITOB_PARMS-EQUIPMENT,
v_datageneral like BAPI_ITOB,
v_datageneralx like BAPI_ITOBX,
v_dataspec like BAPI_ITOB_EQ_ONLY,
v_dataspecx type BAPI_ITOB_EQ_ONLYX,
return type BAPIRET2.
CALL FUNCTION 'BAPI_EQUI_GETDETAIL'
EXPORTING
EQUIPMENT = v_equipment
IMPORTING
DATA_GENERAL_EXP = v_datageneral
DATA_SPECIFIC_EXP = v_dataspec
return = return.
IF return is initial.
v_dataspec-READ_CUOBJ = newcuobj.
v_dataspecx-READ_CUOBJ = 'X'.
CALL FUNCTION 'BAPI_EQUI_CHANGE'
EXPORTING
EQUIPMENT = v_equipment
DATA_GENERAL = v_datageneral
DATA_GENERALX = v_datageneralx
DATA_SPECIFIC = v_dataspec
DATA_SPECIFICX = v_dataspecx
IMPORTING
RETURN = return.
IF return is initial.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
ENDIF.
thanks for your help.Hi,
Please try this FM EQUIPMENT_UPDATE.
Check program RISTEQ01 for sample code on how to use above FM.
Regards,
Ferry Lianto -
Hi Experts,
I have a concern regarding updating the field in EQUI.
I need to update table IHPA parnr and table EQUI-kunde. I used PM_PARTNER_UPDATE for updating table ihpa, but how can i update the kunde in table EQUI?Hi Raymond,
Thank you for the response.
BAPI_EQUI_CHANGE does not have a field named kunde for CurCustomer that is why i didn't used it, then i search in the net and saw a code and tried it. But in my program it returns me a "Not Successful" output.
SELECT objnr
INTO gt_fxihpa-objnr
FROM equi
WHERE equnr EQ p_equnr.
ENDSELECT.
SELECT parvw
INTO gt_fxihpa-parvw
FROM ihpa
WHERE objnr EQ gt_fxihpa-objnr.
ENDSELECT.
IF r_emp EQ 'X'.
gt_fxihpa-parvw_ext = 'VW'. "'Assigned to Employee'.
ELSEIF r_third EQ 'X'.
gt_fxihpa-parvw_ext = 'VN'. " 'Assigned to Vendor'.
ENDIF.
gt_fxihpa-mandt = sy-mandt.
gt_fxihpa-erdat = sy-datum.
gt_fxihpa-erzeit = sy-uzeit.
gt_fxihpa-ernam = sy-uname.
gt_fxihpa-aedat = sy-datum.
gt_fxihpa-aezeit = sy-uzeit.
gt_fxihpa-aenam = sy-uname.
gt_fxihpa-obtyp = 'IEQ'.
gt_fxihpa-parnr = p_kunnr.
gt_fxihpa-updkz = 'U'.
APPEND gt_fxihpa.
IF NOT gt_fxihpa IS INITIAL.
CALL FUNCTION 'PM_PARTNER_UPDATE'
TABLES
fxihpa = gt_fxihpa.
IF sy-subrc = 0.
COMMIT WORK.
ENDIF.
ENDIF.
DATA: l_valid_equi LIKE itob,
l_itob_old LIKE itob,
l_itob_new LIKE itob,
l_valid_equi_new LIKE itob,
l_itob_rec LIKE itob,
gt_equipment LIKE bapi_itob_parms-equipment.
gt_equipment = p_equnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = p_equnr
IMPORTING
output = gt_equipment.
CALL FUNCTION 'ITOB_EQUIPMENT_READ_SINGLE'
exporting
i_lock = 'X'
i_objnr = gt_equipment
importing
e_object_rec = l_valid_equi
exceptions
not_successful = 1
others = 2.
IF sy-subrc = 0.
l_valid_equi_new = l_valid_equi.
l_valid_equi_new-kunde = p_kunnr.
move: l_valid_equi to l_itob_old,
l_valid_equi_new to l_itob_new.
CLEAR l_itob_rec.
* Function module to udate equipment data
call function 'ITOB_EQUIPMENT_MODIFY_SINGLE'
exporting
* i_auth_tcode = 'IE02'
i_filter_data = space
i_write_buffer = 'X'
i_post_buffer = 'X'
i_commit_work = 'X'
i_object_rec = l_itob_new
i_object_rec_old = l_itob_old
importing
e_object_rec = l_itob_rec
exceptions
not_successful = 1
others = 2.
IF sy-subrc = 0.
ENDIF.
ENDIF. -
Equipments related to a super equipment
in transaction IE03 when we enter the euipment number we get several tabs.
in structure tab we get the list of materails that are attached to that equipment.
can you please tell me from which table or using which functional module i can get the list of equipments attached to a super euipment.
waiting for you reply eagerlyhi,
use this table.
Table - ITOB.
field - HEQUI.
also check these fm which r useful.
EQUIPMENT_ADAPT_BUSVIEWS
EQUIPMENT_CHANGE_TYPE_CHECK
EQUIPMENT_CHECK
EQUIPMENT_CHECK_SYNC_SERNR
EQUIPMENT_CHECK_UPDATE_EFHM
EQUIPMENT_COPY
EQUIPMENT_GET_CONFIG_REFERENCE
EQUIPMENT_INIT_BUSVIEWS
EQUIPMENT_LOCK
EQUIPMENT_NUMBER_CHECK
EQUIPMENT_ONLY
EQUIPMENT_READ
EQUIPMENT_READ_DISPLAY
EQUIPMENT_READ_VIEW
EQUIPMENT_REGISTER_CONFIG_REF
EQUIPMENT_SAVE
EQUIPMENT_SUCCESSORS
EQUIPMENT_UNLOCK
EQUIPMENT_UPDATE. -
Hi,
I am working on PM master data creation and change (Euipment and FL) through Web dynpro for abap. I want FMs or BAPI to create and change that. I used 'BAPI_EQUI_CREATE' and 'ITOB_EQUIPMENT_CREATE_SINGLE' to create and 'BAPI_EQUI_CHANGE' and 'ITOB_EQUIPMENT_MODIFY_SINGLE' to change, but those does not create EQ with all fields.
I want FM or BAPI which will create and change following fields of EQ: class, main work center and plant for main work center
Regards,
SaketSame BAPI worked
Maybe you are looking for
-
I have changed my family sharing organizer payment method but when asked to add members it keeps asking for information for a card I no longer have so I do not have the security code. My current shows in all the correct places but when asked to veri
-
When I convert a file from PDF to word it is all in characters how do I get it in english text
Please could someone help me with a converted file. I have bought the adobe acrobat and tried to convert my PDF to word and it just comes up with characters how to I get it in normal text?
-
Is there a way to add code in SAPLV70A (before going to RSNAST00)?
Hello, SAP 6.0: I am looking for a way to insert code after processing an output type (before going to RSNAST00). Has somebody an idea? Thanks a lot! Guido Edited by: G. Verbruggen on Mar 12, 2009 5:27 PM
-
This is an Adobe Illustrator File that was saved without PDF Content.
Hi everybody, I'm working in illustrator CS6 and I am trying to save my file as PDF. However I can't seem to do it. I save the file as an ai. file and click the "Create PDF Compatible File" option. Then when I click >save as >and opt for the PDF vers
-
Is there likely to be a update to the Raw plugin so it covers the Pentax K3?