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: 

bapi for BAPI_BANK_GETLIST

Former Member
0 Kudos

this is my first bapi i have written like this please correct me.

following bapi is not executing.

REPORT ZBAPI .

tables: BAPI1011_LIST.

data: begin of itab occurs 0,

x like BAPI1011_LIST,

end of itab.

start-of-selection.

CALL FUNCTION 'BAPI_BANK_GETLIST'

EXPORTING

bank_ctry = 'ZA'

max_rows = '0'

  • IMPORTING

  • RETURN =

tables

bank_list = itab

.

end-of-selection.

loop at itab.

write:/ itab-x.

endloop.

*

*CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

    • EXPORTING

    • WAIT =

    • IMPORTING

    • RETURN =

  • .

*

Edited by: vi p on Jun 24, 2008 8:39 PM

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

Obviously.

YOu should specify the MAX_ROWS to some non zero values.

like

max_rows = 100.

Regards,

Ravi

4 REPLIES 4

former_member181962
Active Contributor
0 Kudos

Obviously.

YOu should specify the MAX_ROWS to some non zero values.

like

max_rows = 100.

Regards,

Ravi

0 Kudos

yes i have done it like that but even then its saying syntactically correct but not displaying output

former_member181962
Active Contributor
0 Kudos

are you sure if there are some banks for the country ZA?

0 Kudos

yes problem is with that i changed to us it worked