SAP ABAP: Batch Input (BDC) error: input value is longer than screen field

So, I had a requirement which I need to call the Goods Receipt (MIGO) transaction, and previously populate it with some data. For that, I used a Batch Input.

One of the fields I had to populate was a currency field, I created a variable with the exact same type and set it as the value of the bdcdata structure, as the following snippet:


After a few tries, I've discovered that the fnam field must be a character, so, I've created another variable to hold this value in a "string" format with the exact same size:

Comments