Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Get code help in Infoset

0 Kudos

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.

1 ACCEPTED SOLUTION

andreas_mann3
Active Contributor
0 Kudos

only at new key - table ibsis is filled!

grx

Andreas

1 REPLY 1

andreas_mann3
Active Contributor
0 Kudos

only at new key - table ibsis is filled!

grx

Andreas