I encountered a weird problem. in following code, "AT New matnr." will be executed in Development system when condition met but will never be executed in QA system. Any advice is welcome.
Under is the coding with problem:
FIELD-SYMBOLS <fs_mchb> TYPE ty_mchb.
LOOP AT batch_inv_in ASSIGNING <fs_mchb>.
.......(unrelated code omitted)
****Get material flavour, type from material class, standard price
AT NEW matnr.
*-----get material flavour and type from material class
.......(unrelated code omitted)
ENDAT.
.......(unrelated code omitted)
ENDLOOP.