Quantcast
Channel: SCN : Popular Discussions - ABAP和Java开发 (ABAP & Java Development)
Viewing all articles
Browse latest Browse all 4604

pp展bom函数CS_BOM_EXPL_MAT_V2的参数??

$
0
0

pp展bom函数CS_BOM_EXPL_MAT_V2, 如果要只展替代BOM时参数要怎样写?

 

(我的写的,它展替代BOM时,没有替代BOM的就会把主BOM展出来。)

 

call function 'CS_BOM_EXPL_MAT_V2'     "zapp01r060b  263行

        exporting

          capid                 = 'PP01'

          datuv                 = z_bomdat   

          mtnrv                 = i_list-matnr 

          stlan                 = '1'

          stlal                 = i_list-stlal

          werks                 = i_list-werks

          mehrs                 = 'X'                        

        tables

          stb                   = i_bom

        exceptions

          alt_not_found         = 1

          call_invalid          = 2

          material_not_found    = 3

          missing_authorization = 4

          no_bom_found          = 5

          no_plant_data         = 6

          no_suitable_bom_found = 7

          conversion_error      = 8

          others                = 9.


Viewing all articles
Browse latest Browse all 4604

Trending Articles



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