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_BANK_CREATE

Former Member
0 Likes
5,798

BAPI_BANK_CREATE

if I use this bapi to create an order, but the order already exists, what happens?

because the return table does not return anything to me

1 ACCEPTED SOLUTION
Read only

VeselinaPeykova
Active Contributor
4,262

1. BAPI_BANK_CREATE is used to create bank data, not orders. This means that you won't be able to create an order with it (whatever kind of document you meant by order), so it does not matter whether there is an order created previously or not.

2. As to the question "what happens" you could test this in the system by yourself and see the result.

3. If you actually meant creating a bank and not an order - the BAPI documentation for RETURN clearly states that the message BF00215 is returned by the FM.

4. It is impossible to tell what is the problem without looking at your code and at the data in the system (if there is a problem, that is).

2 REPLIES 2
Read only

VeselinaPeykova
Active Contributor
4,263

1. BAPI_BANK_CREATE is used to create bank data, not orders. This means that you won't be able to create an order with it (whatever kind of document you meant by order), so it does not matter whether there is an order created previously or not.

2. As to the question "what happens" you could test this in the system by yourself and see the result.

3. If you actually meant creating a bank and not an order - the BAPI documentation for RETURN clearly states that the message BF00215 is returned by the FM.

4. It is impossible to tell what is the problem without looking at your code and at the data in the system (if there is a problem, that is).

Read only

Nawanandana
Active Contributor
0 Likes
4,262

This FM module will create bank data. I suggest you to read BAPI document. In the document its clearly indicate returns.

Returns
Description
This table contains the return messages from the method call.
Value range
Type   ID     Number   Message 
E      BF00   228      No authorization to create bank data
E      BF00   202      Country & is not included
E      BF00   206      Specify bank key
E      BF00   215      Bank & & already exists
E      AR     148      Do not specify a bank key