Application Development 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: 

Call BAPI_MATPHYSINV_COUNT

masoud_ebrahimzadeh
Participant
0 Kudos

Hi I call  BAPI_MATPHYSINV_COUNT fine , but is not work on Materials with serial Number ( Serial Number Is not save and when I try to change Count in Mi05 ,Serial Number list is Empty ) whats my problem ?

how pass value to SERIALNUMBERS ?

         CALL FUNCTION 'BAPI_MATPHYSINV_COUNT'

           EXPORTING

             PHYSINVENTORY = ITB-IBLNR

             FISCALYEAR    = PYEAR

             COUNT_DATE = PDATE

           TABLES

             ITEMS         = I_COUNT

             RETURN        = I_RETURN

             SERIALNUMBERS = I_SN .

        COMMIT WORK .

1 REPLY 1

masoud_ebrahimzadeh
Participant
0 Kudos

HI All

  Not any Suggest ....

when I call Bapi for Materials with serial Number, I create internal table(type BAPI_PHYSINV_SERIALNUMBERS) with All Material s serial and material s Item Numbers For All Rows and pass it .. but not any record Insert in objk and ser07 ?

is that wrong ?