Application Development and Automation 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: 
Read only

Get code help in Infoset

0 Likes
520

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
Read only

andreas_mann3
Active Contributor
0 Likes
476

only at new key - table ibsis is filled!

grx

Andreas

1 REPLY 1
Read only

andreas_mann3
Active Contributor
0 Likes
477

only at new key - table ibsis is filled!

grx

Andreas