Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create storage Bin

Former Member
0 Likes
798

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

1 REPLY 1
Read only

SimoneMilesi
Active Contributor
0 Likes
507

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?