Hello!
I´m currently developing a mobile solution that should allow for WM cycle counting. This works fine whenever the user
counts one or several bins by counting only those articles that are contained in the bin inventory. The solution then creates the count
posts by mimicking the tcode sequence LI01N ->LI11N ->LI20N, i.e creating a counting document, entering the results and clears the
difference.
The problem arises if the user should decide to add an article to a bin count , other than those articles that are already in the bin´s inventory.
I´ve done this manually in tcode LI11n and it works, but the mobile app uses the FM L_INV_COUNT_EXT to register the counting results
per bin, and this fails when trying to post a count with extra articles....
The interface table s_linv gets filled with all the articles in the count, but the posting fails when the table line(s) containing newly added
articles are checked. More specifcally, the FM L_ZAEHLUNG_BUCHEN, called by L_INV_COUNT_EXT fails in subroutine LINV_HINZUFUEGEN
I don´t understand why this happens when using these function modules and not while using the tcodes manually...?
Any ideas or hints are greatly appreciated
Regards
Jorgen Nilsen