OPEN CURSOR WITH HOLD gv_cursor FOR
SELECT a~mblnr a~mjahr a~zeile a~bwart a~matnr a~werks a~lgort a~charg a~lifnr a~kunnr a~shkzg a~dmbtr a~menge a~meins a~ebeln a~ebelp a~aufnr a~kzbew b~budat b~vgart FROM mseg AS a INNER JOI...
* LOOP AT it_mard where matnr = ls_mara-matnr and werks in p_werks . """""""commented on 30 nov READ TABLE it_mard with key matnr = ls_mara-matnr werks = p_werks BINARY SEARCH.
if sy-subrc = 0.
lv_index1 = sy-tabix.
i am not getting how to wr...
direct by the mseg table its taking to much of time in order to avoid joining the table and its a materail ageing report so .. its taking almost 10 hrs to run the report . if we run in background how to check where its taking more time .....by the ...