‎2020 Aug 12 8:32 PM
Hello i'm looking for a bapy to modify these fields:
If you have some example i would preciate it 😄


‎2020 Aug 12 9:52 PM
Hi naoto_a,
BAPI_EQUI_CHANGE should do the trick. Main asset number (ANLN1) is available in structure DATA_GENERAL (field ASSET_NO) and Technical identification number (TIDNR) is available in structure BAPI_ITOB_EQ_ONLY (field TECHID).
Please remember to fill in corresponding fields of structures DATA_GENERALX and DATA_SPECIFICX. If you want so see how to populate those structures with correct values you can read the existing equipment using BAPI_EQUI_GETDETAIL to check it.
Regards,
Bartosz
‎2020 Aug 12 9:52 PM
Hi naoto_a,
BAPI_EQUI_CHANGE should do the trick. Main asset number (ANLN1) is available in structure DATA_GENERAL (field ASSET_NO) and Technical identification number (TIDNR) is available in structure BAPI_ITOB_EQ_ONLY (field TECHID).
Please remember to fill in corresponding fields of structures DATA_GENERALX and DATA_SPECIFICX. If you want so see how to populate those structures with correct values you can read the existing equipment using BAPI_EQUI_GETDETAIL to check it.
Regards,
Bartosz