Quantcast
Viewing all articles
Browse latest Browse all 8852

Re: MD61 Upload program using bapi

Hi Rocky,

 

 

       CALLFUNCTION'BAPI_REQUIREMENTS_CHANGE'

         EXPORTING

           material                 = gs_req_item-material

           plant                    = gs_req_item-plant

           requirementstype         = gs_req_item-requ_type

           version                  = gs_req_item-version

           reqmtsplannumber         = gs_req_item-req_number

           vers_activ               = 'X'

         TABLES

           requirements_schedule_in = gt_items

           return                   = gt_return[].   "<--- you gt_return itab with header line, so you need add [ ].


Actually, if you debug step by step, it`s easy to find why.


regards

Archer


Viewing all articles
Browse latest Browse all 8852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>