How do you find opening and closing stock in SAP?
WAY 1 : When you go through MB5B source code (RM07MLBD) , you will see “g_t_totals_flat” internal table which holds all the output data which contains your opening and closing stock . So here you can do an import and export it wherever you need it . IMPORT g_t_totals_flat TO g_t_totals_t FROM MEMORY...