Skip to Content
0
Dec 12, 2011 at 07:11 PM

Get code help in Infoset

44 Views

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.