data: lt_list like table of bapi1003_alloc_list,
lt_num like table of bapi1003_alloc_values_num,
lt_curr like table of bapi1003_alloc_values_curr,
lt_char like table of bapi1003_alloc_values_char.
clear: lt_num,
lt_curr,
lt_char,
lt_list.
clear: gv_class,gv_object,gt_return,gt_char.
if gs_tab-n_feg_online is initial
and gs_tab-n_feg_outage is initial
and gs_tab-n_i0_status is initial
and gs_tab-n_quality is initial.
else.
* 将function location的外部编码转换为内部编码
call function 'CONVERSION_EXIT_TPLNR_INPUT'
exporting
input = gs_tab-tplnr
importing
output = gv_object
exceptions
not_found = 1
others = 2.
* 获取class
gv_class = 'N_GENERAL'.
gv_ctype = '003'.
call function 'BAPI_OBJCL_GETCLASSES'
exporting
objectkey_imp = gv_object
objecttable_imp = 'IFLOT'
classtype_imp = gv_ctype
read_valuations = 'X'
keydate = sy-datum
language = sy-langu
tables
alloclist = lt_list
allocvalueschar = lt_char
allocvaluescurr = lt_curr
allocvaluesnum = lt_num
return = gt_return.
if not lt_char is initial.
append lines of lt_char to gt_char.
endif.
if not lt_curr is initial.
append lines of lt_curr to gt_curr.
endif.
if not lt_num is initial.
append lines of lt_num to gt_num.
endif.
* 获取特征值的value
mcr_character_value:
'N_FEG_ONLINE' gs_tab-n_feg_online,
'N_FEG_OUTAGE' gs_tab-n_feg_outage, "
'N_I0_STATUS' gs_tab-n_i0_status , "
'N_QUALITY_AND_SAFETY_CLASS' gs_tab-n_quality. "
clear gt_return.
*******************************************************
call function 'BAPI_OBJCL_CHANGE'
exporting
objectkey = gv_object
objecttable = 'IFLOT'
classnum = gv_class
classtype = gv_ctype
status = '1'
keydate = sy-datum
tables
allocvaluesnumnew = gt_num
allocvaluescharnew = gt_char
allocvaluescurrnew = gt_curr
return = gt_return.
*/--End of Change On 2011-02-11-----*
clear: gs_return,gs_error.
* 记录创建失败的错误信息
read table gt_return into gs_return with key type = 'E'.
if sy-subrc = 0.
move-corresponding gs_tab to gs_error.
loop at gt_return into gs_return where type = 'E'.
concatenate gs_error-message gs_return-message into gs_error-message
separated by space.
endloop.
gs_error-lines = gv_lines.
append gs_error to gt_error.
call function 'BAPI_TRANSACTION_ROLLBACK'.
else.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
endif.
endif.
分享到:
相关推荐
Classification Test 1. Set Matlab's working directory to the location containing these files. 2. Run 'Descriptors.m' to load data from the training set and see how each descriptor method performs as...
fem_geom_elem_location(…) 179 Appendix D 180 Form Spacing Parameters (appforms.p) 180 * SPACING 181 Appendix E 206 MSC.Patran Architecture 206 Appendix F 208 Shareware Compiling Functions 208 ...
Prototype-Based Kernels for Extreme Learning Machines and Radial Basis Function Networks Chapter 8. Supervised Neural Network Learning with an Environment Adapted Supervision Based on Motivation ...
Deep Learning for Classification of Dental Plaque Images Chapter 35. Multiscale Integration for Pattern Recognition in Neuroimaging Chapter 36. Game Theoretical Tools for Wing Design Chapter 37. Fast...
Echo Location Image Processing Chapter 2 - Statistics, Probability and Noise Signal and Graph Terminology Mean and Standard Deviation Signal vs. Underlying Process The Histogram, Pmf and Pdf The ...
classification and clustering, even when you do not follow up with access to the original data. See [1]. --------- sax_demo: --------- This code demonstrates the first case described in time...
Location: C:\Program Files\Microsoft Visual Studio Are these correct?([y]/n): y matlab> make Under 64-bit Windows, Visual Studio 2005 user will need "X64 Compiler and Tools". The package won't ...
13. Reach 1 LiDAR Cross Sections and Sample Point Location 31 14. Differences Between LiDAR and Field Based Elevations 37 15. Regression ofLiDAR and Field Cross section Elevations 38 16. Comparison of...
5.13 Classification of Digital ICs 183 5.14 Application-Relevant Information 184 Review Questions 185 Problems 185 Further Reading 187 6 Boolean Algebra and Simplification Techniques 189 6.1 ...
11.4 Single-Site Location Techniques 391 11.5 Fix Accuracy 392 11.6 Fix Coverage 396 11.7 Concluding Remarks 399 References 401 Chapter 12 Hyperbolic Position-Fixing Techniques 403 12.1 Introduction ...
12.4.1 Location of Maximum Shear Stress for Two Spherical Bodies in Contact 420 12.4.2 Column Design for Minimum Mass 421 12.4.3 Flywheel Design for Minimum Mass 425 Exercises for Chapter 12 429 ...
非常经典,我们教材就用的这个!该版本非常清晰,强烈推荐! Preface xi 1 Introduction 1 1.1 Mathematical optimization . . ....8.6 Classification . . . . . . . . . . . . . . . . . . . . ....
PEP 471 - os.scandir() function – a better and faster directory iterator PEP 475: Retry system calls failing with EINTR PEP 479: Change StopIteration handling inside generators PEP 485: A function...
PassMark BurnInTest V5.3 ...All Rights Reserved ... Overview ======== Passmark's BurnInTest is a software tool that allows all the major sub-systems of a computer to be simultaneously tested for reliability...
1.6 Classification of Optimization Problems .........................................11 1.7 Organization of the Book ...................................................................13 Exercises ......