12-12-2011 7:11 PM
If somebody ever used /SAPQUERY/FISD infoset I suppose it could help me.
I want to make similar infoset like /SAPQUERY/FISD, But I don't understand one part of the GET code (in BSIS table), so I don't know if is significant :
IF SY-REPID CP 'AQ++/SAPQUERY/AUOS*'.
*
Check sorted table of visited documents
READ TABLE IBSIS
WITH KEY BUKRS = BSIS-BUKRS
GJAHR = BSIS-GJAHR
BELNR = BSIS-BELNR
BINARY SEARCH.
CHECK SY-SUBRC NE 0. "not found
Insert document into sorted table of visited documents
MOVE-CORRESPONDING BSIS TO IBSIS.
INSERT IBSIS INDEX SY-TABIX.
*
ENDIF.
Can somebody explain me the meaning of this code, and because I want to make similar Query like that in IF part (OS Query), so I don't know can I skip this code.
P.S. internal table IBSIS is defined in DATA part.
12-13-2011 8:32 AM
12-13-2011 8:32 AM