report ZSDR006
.
tables : VBAK , VBAP .
data : begin of WA_TAB ,
VBELN type VBAK -VBELN ,
posnr TYPE vbap -posnr ,
KUNNR type VBAK -KUNNR ,
end of WA_TAB .
data :ITAB like table of WA_TAB with header line .
data : SOHD like BAPISDH1 ,
SOHDX like BAPISDH1X ,
SOITEM like BAPISDITM occurs 0 with header line ,
SOITEMX like BAPISDITMX occurs 0 with header line .
data :RT type table of BAPIRET2 with header line .
data : RT2 type BAPIRET2 .
data :WA_RETURN type BAPIRET2 .
data :SOBP type table of BAPIPARNRC with header line .
data :SUB_SOBP type table of BAPIPARNRC with header line . .
data :ROWNUM type I .
constants :
C_BEGIN_ROW type I value 1 ,
C_BEGIN_COL type I value 1 ,
C_END_ROW type I value 9999 ,
C_END_COL type I value
tables : VBAK , VBAP .
data : begin of WA_TAB ,
VBELN type VBAK -VBELN ,
posnr TYPE vbap -posnr ,
KUNNR type VBAK -KUNNR ,
end of WA_TAB .
data :ITAB like table of WA_TAB with header line .
data : SOHD like BAPISDH1 ,
SOHDX like BAPISDH1X ,
SOITEM like BAPISDITM occurs 0 with header line ,
SOITEMX like BAPISDITMX occurs 0 with header line .
data :RT type table of BAPIRET2 with header line .
data : RT2 type BAPIRET2 .
data :WA_RETURN type BAPIRET2 .
data :SOBP type table of BAPIPARNRC with header line .
data :SUB_SOBP type table of BAPIPARNRC with header line . .
data :ROWNUM type I .
constants :
C_BEGIN_ROW type I value 1 ,
C_BEGIN_COL type I value 1 ,
C_END_ROW type I value 9999 ,
C_END_COL type I value