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

Problem with mutiple BAPI calls during the commit

Former Member
0 Likes
915

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

Former Member
0 Likes
800

Have you looked for notes?

See if 1086711 helps.

Rob

6 REPLIES 6
Read only

Former Member
0 Likes
800

i do not see any bapi with that name.

Can you give us the correct bapi name?

Regards,

ravi

Read only

0 Likes
800

Ravi,

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

Thanks.

Read only

Former Member
0 Likes
801

Have you looked for notes?

See if 1086711 helps.

Rob

Read only

0 Likes
800

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.

Read only

0 Likes
800

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

Read only

Former Member
0 Likes
800

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.