cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW Interest Rate Instrument - 55A

Gustavo_Vazquez
Active Contributor
0 Kudos

Hi,

I downloaded a transaction with FTR_BAPI (Prod type 55A) and tried to upload with LSMW (Business Object Method BUS5550) but I get an error and I can't identify it .

Error is

------------------------------------

An error has occurred assigning data (E1BP_FTR_CREATE_IRATE)

Message No. B1527

Diagnosis

To call a BAPI the IDoc data must first be assigned to the relevant BAPI interface parameters.

An error has occured when carrying out this operation, possibly due to an incorrect data type or data format in the segment E1BP_FTR_CREATE_IRATE.

Procedure

Check that the data types in the IDoc data record matches the data types in the BAPI parameter.

-------------------------

I run FM BAPI_FTR_IRATE_CREATE with the same parameters of IDOC and it works, but I can't get LSMW to work. I analyzed IDOC output with WE19, WE09 and copy parameters from the BAPI, but the same error. According to the message there is an error in data in IDCO, but I can't find out what is the error and no log to read about.

I'm working on ERP 617 and installed sap note 2285810, 2347644, 2342512

Any ideas ?

Kind Regards

Accepted Solutions (1)

Accepted Solutions (1)

Gustavo_Vazquez
Active Contributor
0 Kudos

Well, I finally got it.

The problem was with amounts formats.

FTR_BAPI downloaded amounts with format NNN.NNN.NNN,DD (comma separator) according to my user profile but FM IDOC_INPUT_FTR_IRATE_CREATE expected format NNNNNNNNN.DD (point separator). When it tries to execute line 87

MOVE-CORRESPONDING E1BP_FTR_CREATE_IRATE to INTERESTRATEINSTRUMENT

There is a SY-SUBRC = 1 which is catch at line 150, only after the MOVE sentenceI saw the INTERESTRATEINSTRUMENT was filled only with date fields (START_TERM, END_TERM) but nominal amount was empty and all values after that.

Also INTERESTRATEINSTRUMENT-INTERESTRATE must have a point as decimal separator.

Only way to discover the error, is put a break in Function Module IDOC_INPUT_FTR_IRATE_CREATE (or the corresponding one) and debug with F5, F6, F7 keys.

Hope this helps someone 😉

Kind Regards

PS : Date format is YYYYMMDD

Answers (0)