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: 

Adding a IBAN to a debitor via RFC

Former Member
0 Kudos

Hi everyone,

I have a problem with creation of debitors including IBAN and can not find a suitable solution.

I am creating debitors in SAP via RFC function modules. For this purpose a colleague created a function module which based on SD_CUSTOMER_MAINTAIN_ALL.

So I already have all needed fields to create full debitors. But if I take a look at the bank details there is no way of adding a IBAN and BIC.

Do I have to extend my function module for inserting IBAN an BIC or is there a way of doing this with a standard RFC function module (or BAPI).

Best Regards

Markus

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

You could

  • Use CMD_EI_API. Its method MAINTAIN_BAPI carry a parameter CENTRAL_DATA-BANKDETAIL-BANKDETAILS-DATA containing the IBAN field.
  • Also call BAPI_IBAN_CREATE

Regards,

Raymond

9 REPLIES 9

raymond_giuseppi
Active Contributor
0 Kudos

You could

  • Use CMD_EI_API. Its method MAINTAIN_BAPI carry a parameter CENTRAL_DATA-BANKDETAIL-BANKDETAILS-DATA containing the IBAN field.
  • Also call BAPI_IBAN_CREATE

Regards,

Raymond

0 Kudos

Hi Raymond,

if I use the BAPAI "BAPI_IBAN_CREATE", how can I connect the created IBAN to a debitor.

0 Kudos

The IBAN is not connectd to vendor, it's connected to its bank accounts. (LFA1 -> LFBK -> TIBAN) so XK03 will display it and F110 use it.

Regards,

Raymond

0 Kudos

The problem is, I have no bank account, I got only a IBAN and a BIC.

What now?

0 Kudos

You could call the multiple FM associated to BTE 00003040 :

Hints:  FM name like CONVERT_IBAN_2_BANK_ACCOUNT_*, one generic FM and some specific per country code. You can find list in FIBF or table TBE31.

Regards,
Raymond

0 Kudos

I think I understand.

I will try it and let you know if it works.

Thanks so far.

Best regards

Markus

0 Kudos

I just found CONVERT_IBAN_2_BANK_ACCOUNT which will manage itself the call of BTE.

Regards,

Raymond

0 Kudos

Hi Raymond,

thanks a lot for your support.

I managed to do it.

First I use CONVERT_IBAN_2_BANK_ACCOUNT, than I add the "classic bank account data" to my debitor with the function module SD_CUSTOMER_MAINTAIN_ALL and after that I use "BAPI_IBAN_CREATE".

Best

Markus

0 Kudos

Hi Markus,

iam dealing with the same stuff.
FuBA CONVERT_IBAN_2_BANK_ACCOUNT doesn't work properly.
Another question is how to use SD_CUSTOMER_MAINTAIN_ALL to add the bank details to debitor (just kna1 and table xknbk with the bank details is not working).

Can anybody can give more hints?

Regards,

Oktay