You query will only fetch documents if AUGBL and BELNR are same.
From what i understood you need document against AUGBL so,
remove condition and belnr = it_str-augbl.
+ As suggested above make x2 as X2.
You query will only fetch documents if AUGBL and BELNR are same.
From what i understood you need document against AUGBL so,
remove condition and belnr = it_str-augbl.
+ As suggested above make x2 as X2.