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 to add bank details

Former Member
0 Kudos
1,668

Hello Friends,

I am trying to add the bank details to the existing SAP business partner !

Here is the code which I am using!

data: bankdata type BAPIBUS1006_BANKDETAIL.

data: detail type BAPIBUS1006_HEAD.

data: my_Table type standard table of BAPIRET2 with default key, wa_myTab like line of my_Table.

bankdata-BANK_CTRY = 'DE'.

bankdata-BANK_KEY = '00000001'.

bankdata-BANK_ACCT = '3'.

CALL FUNCTION 'BAPI_BUPA_BANKDETAIL_ADD'

EXPORTING

BUSINESSPARTNER = '0000000011'

BANKDETAILID = '1'

BANKDETAILDATA = bankdata

IMPORTING

BANKDETAILIDOUT = detail

TABLES

RETURN = my_Table

.

When I execute this code it gives me exception!

PS: The BUSINESSPARTNER already exits in the system!

Any idea or suggestion, what is possibly wrong!

Many thanks

Marke

1 REPLY 1

Former Member
0 Kudos
566

Hello "

Sorry to bother , problem solved

BYE