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: 

Problem with mutiple BAPI calls during the commit

Former Member
0 Kudos
233

Hi all,

I am trying to create accounts for a given partner i the transaction F9K1 using the BAPI BAPI_BKK_ACCNT_CREATE. After calling the BAPI I am committing it too.

The problem is if I try to create multiple accounts like RCA, ACA, MCA, IOE and so on, the first time the BAPI is called to create RCA account it is successful an it is even committing. When I call the BAPI to create the the ACA account the return table from the BAPI shows success message but the commit fails. If I restart the program and try creation of accounts now the RCA will throw a error msg saying account already exist, ACA account will be created and then the MCA account creation fails in the same manner explained above.

I see the issue is with multiple BAPI calls and I tried using all sort of methods like clearing buffers, start new task in local and wait command and all. But none of them seems to be working for me.

Can anyone please guide me on how I can overcome this problem.

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
118

Have you looked for notes?

See if 1086711 helps.

Rob

6 REPLIES 6

former_member181962
Active Contributor
0 Kudos
118

i do not see any bapi with that name.

Can you give us the correct bapi name?

Regards,

ravi

0 Kudos
118

Ravi,

We are on ECC 6.0 and I can see the BAPI BAPI_BKK_ACCNT_CREATE.

Thanks.

Former Member
0 Kudos
119

Have you looked for notes?

See if 1086711 helps.

Rob

0 Kudos
118

Rob,

I just checked t, does it mean we have a program error , Is it some thing I need to handle or should I go back to SAP ? Please suggest me on this

Thanks.

0 Kudos
118

I think it said that there was a program error in the SAP system. So see if you can download and install the note using transaction SNOTE.

Rob

Former Member
0 Kudos
118

BAPI :

BAPI BAPI_BKK_ACCNT_CREATE

Functionality

Use this method to create an account in Bank Customer Accounts. This method returns the following values:

Identification details for the newly created account such as the internal and the external account number, and the bank area details

A table containing error messages

To create an account by using this method, you must specify values for the import parameters Bank Area (BANKAREA) and Product (PRODUCTNAME).

Note: You must also specify a value in the External Account Number (EXTERNALACCOUNTNR) parameter if you have defined an external number range for the bank .

REgards,

Jayan.