2015 Aug 14 10:54 AM
Hi,
We are uploading meter reads through the BAPI 'BAPI_MTRREADDOC_UPLOAD'.
We are passing the meter reads in 'meterreadingresults', as we want to insert the new reads.
The reads are getting created correctly.
But,
We are setting the active flag (AKTIV) along with the other fields before calling the BAPI, as follows
.....
wa_meter_reading-active = 0
(wa_meter_reading is a structure of type bapieablu)
.....
APPEND wa_meter_reading to i_meter_reading.
The internal table 'i_meter_reading' is the one we are passing to the BAPI.
For some reason, the EABL-AKTIV is always set to 1.
Can anyone let us know why this is happening:
1. Is it because BAPIEABLU-ACTIVE is not linked to EABL-AKTIV?
If so what is the field to be used/?
2. Is is because some exit is changing the active status?
What are the possible exits called when the aforementioned BAPI is called?
3. Is there any other reason why this is happening.
Your inputs will be much appreciated.
Thanks.
2015 Aug 25 12:38 PM
Solution:
This was done using the exit 'EXIT_SAPLEL01_015'.
We are now setting the flag, as required in this exit.
Thanks.
2015 Aug 17 7:17 PM
EABL-AKTIV is a character field, did you pass '0' into it or just 0. just checking.
2015 Aug 25 12:38 PM
Solution:
This was done using the exit 'EXIT_SAPLEL01_015'.
We are now setting the flag, as required in this exit.
Thanks.