Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

hi all, OSS notes for luxembourg

hi strong sap abapers and functionals

hey, i would like to know what could be the problem that i am unable to implement OSS notes for luxembourg country.

i have done the same for other european countries.

prerequisites notes obviously installed that is why i could do the same.

2 function modules are also created and parameter setting is also done as per correction instructions.

this is done for 4.6c version.

two function module coding i am pasting here.

1ST FM IS AS FOLLOWS.

FUNCTION CONVERT_BANK_ACCOUNT_2_IBAN_LU.

*"----


""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(I_BANK_ACCOUNT) TYPE C

*" VALUE(I_BANK_CONTROL_KEY) LIKE KNBK_BF-BKONT DEFAULT SPACE

*" VALUE(I_BANK_NUMBER) LIKE BNKA-BNKLZ

*" VALUE(I_BNKA) LIKE BNKA STRUCTURE BNKA OPTIONAL

*" EXPORTING

*" VALUE(E_IBAN) TYPE IBAN

*" EXCEPTIONS

*" NO_CONVERSION

*"----


*{ INSERT

DATA: l_length TYPE i,

l_checkdig(2) TYPE c,

l_iban TYPE iban.

  • check if bank number is maintained

IF i_bank_number EQ space.

MESSAGE e012 RAISING no_conversion.

ENDIF.

  • generation just for bank numbers of 3 digits

l_length = STRLEN( i_bank_number ).

IF l_length NE 3.

MESSAGE e012 RAISING no_conversion.

ENDIF.

CONCATENATE: i_bank_number i_bank_account g_intca '00'

INTO l_iban.

  • Calculate check digit

CALL FUNCTION 'CALCULATE_IBAN_CHECK_DIGIT'

EXPORTING

i_check_string = l_iban

IMPORTING

e_check_digit = l_checkdig.

  • Get IBAN together

CONCATENATE: g_intca l_checkdig i_bank_number

i_bank_account INTO l_iban.

l_length = STRLEN( l_iban ).

  • The length for LU must be 20

IF l_length NE 20.

MESSAGE e012 RAISING no_conversion.

ELSE.

e_iban = l_iban.

ENDIF.

*} INSERT

ENDFUNCTION.

2nd FM AS FOLLLOWS.

FUNCTION CONVERT_IBAN_2_BANK_ACCOUNT_LU.

*"----


""Lokale Schnittstelle:

*" IMPORTING

*" VALUE(I_IBAN) TYPE IBAN

*" EXPORTING

*" VALUE(E_BANK_ACCOUNT) TYPE C

*" VALUE(E_BANK_CONTROL_KEY) LIKE KNBK_BF-BKONT

*" VALUE(E_BANK_NUMBER) LIKE BNKA-BNKLZ

*" EXCEPTIONS

*" NO_CONVERSION

*"----


*{ INSERT

DATA: l_length TYPE i.

l_length = strlen( i_iban ).

  • The length for LU must be 20

IF l_length NE 20.

MESSAGE e013 RAISING no_conversion.

ENDIF.

e_bank_number = i_iban+4(3).

e_bank_account = i_iban+7(13).

*} INSERT

ENDFUNCTION.

can onebody solve this problem if not what should be done. should i write email to service.sap. please suggest.

thanking u in advance.

raj

Tags:
Not what you were looking for? View more on this topic or Ask a question