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

bapi for BAPI_BANK_GETLIST

Former Member
0 Likes
819

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

Former Member
0 Likes
717

Obviously.

YOu should specify the MAX_ROWS to some non zero values.

like

max_rows = 100.

Regards,

Ravi

4 REPLIES 4
Read only

Former Member
0 Likes
718

Obviously.

YOu should specify the MAX_ROWS to some non zero values.

like

max_rows = 100.

Regards,

Ravi

Read only

0 Likes
717

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

Read only

Former Member
0 Likes
717

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

Read only

0 Likes
717

yes problem is with that i changed to us it worked