Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI to modify IE02

former_member666258
Participant
0 Likes
1,565

Hello i'm looking for a bapy to modify these fields:

If you have some example i would preciate it 😄

1 ACCEPTED SOLUTION
Read only

ziolkowskib
Active Contributor
1,345

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

1 REPLY 1
Read only

ziolkowskib
Active Contributor
1,346

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