2023 Jul 11 4:04 AM
Hi,
I have a concern with one of my development. Currently I am using CO_XT_COMPONENT_ADD to add component to production order. Before run commit statement, I have assign (SAPLCOBC)resb_bt[] table to a field symbol and change its posnr field relatively.
Recently, I change a few more fields other than POSNR field which are potx1, potx2 and sortf using the same method. It is working fine but since it seems that it is not a proper way to update those fields, I have a concern whether this way of updating those field might not be the best way in ABAP development. Do you guys know what might be the impact of this method or maybe other FM that could achieve the same goal ?
PS : I have looked over the internet and there is no other way than update it using BDC recordings.
2023 Jul 11 10:17 AM
The nickname of this "method" is the "dirty assign". It's not supported by SAP, you'll have to manage all consequences by yourself. At your own risk as people use to say. You can find more detailed answers in the forum.