‎2014 Sep 04 7:12 AM
Hi All,
I am trying to create new storage bin using report. I have a file in text format. i thought to use FM L_LAGP_HINZUFUEGEN But as it was not handling any exception. So, it will not handled no. of records. Please help me in finding more FM's or BAPI.
Thanks in advance.
Regards,
Kirti Bansal
‎2014 Sep 04 8:41 AM
The function is the only available for what i know and found.
And you got no return because the code is a pretty simple insert
MOVE XLAGP TO LAGP.
MOVE CON_X TO LAGP-KZLER.
LAGP-RKAPV = LAGP-LKAPV. "Restkapazität = Gesamtkapazität
INSERT INTO LAGP VALUES LAGP.
IF SY-SUBRC NE 0.
MESSAGE E500. "Fehler beim Hinzuf......
ENDIF.i'm missing a bit the issue you are pointing out: you want to check if the insert was successfull?