一起好官网函数PYXX_READ_PAYROLL_RESULT的dump问题

2019-11-21 作者:一起好官网   |   浏览(134)

似是而非深入分析文本:

一起好官网函数PYXX_READ_PAYROLL_RESULT的dump问题。代码行:

察觉有八个H智跑的后台按期职分现身dump,日志表示,是PYXX_READ_PAYROLL_RESULT发生了连串冲突的百般CX_SY_DYN_CALL_ILLEGAL_TYPE。

项目                  ABAP 编制程序错误                
运营时不当             PE安德拉FORM_CONFLICT_TYPE       
异常                  CX_SY_DYN_CALL_一起好官网函数PYXX_READ_PAYROLL_RESULT的dump问题。ILLEGAL_一起好官网函数PYXX_READ_PAYROLL_RESULT的dump问题。TYPE 
ABAP 程序             SAPLHRPAY99_IMPEXP          
应用程序组件            PY-XX                       

函数PYXX_READ_PAYROLL_RESULT是八个用来获取工资的函数。在Google找寻了半天,不得解法。查阅函数文书档案,能够查出:

      PERFORM import_result IN PROGRAM (subroutine_pool-name)
                                   USING key
                                          payroll_result "第二个参数
                                          import_subrc
                                          pcl2_version_number
                                          typepool_version_number
                             IF FOUND.

 

因此看来有的时候候文书档案比谷歌(Google卡塔尔更直白有效。大家不应有因为文书档案的阅读难度而放任查阅...固然有追寻到本文的读者,请和本身联合记住这几个教诲:)

 

 

日志标题部分:

 

 

You can use this module to generically read a complete payroll result, that is for all country versions, from file PCL2 or from the puffer. In doing so, the payroll result is transferred to the PAYROLL_RESULT parameter. In the calling system, this must be classified as a complex structure according to the 'PAYxx_RESULT' dictionary structure. xx is the ISO code for the country in question (Exception: for the international part only, use PAY99_RESULT).

原来,PAYROLL_RESULT参数是动态类型的。难点发出在,最早的开垦者只构思了clusterid为"CN"即中华夏族民共和国时的场所,把它定义为PAYCN_RESULT花色。而当系统加大到远方的时候,CN的结构类型已经不复利用,程序应该利用分歧的协会来收纳输出结果。

An exception has occurred which is explained in more detail below. The exception is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE' and was no caught in procedure "PYXX_READ_PAYROLL_RESULT" "(FUNCTION)", nor was it propagated by a RAISING clause. Since the caller of the procedure could not have anticipated this exception, the current program was terminated. The reason for the exception is: The FORM call "IMPORT_RESULT" is incorrect: The actual parameter (number 2) has a different data type in the PERFORM than requested by FORM "IMPORT_RESULT" in program "%_T000VU".

例如说,当输入参数中的clusterid = '凯雷德G'(United Kingdom卡塔 尔(阿拉伯语:قطر‎时,就应该定义参数payroll_result参数的种类为PAYGB_RESULT,那样就不会产生类型冲突的荒谬了。

本文由金沙澳门官网网址发布于一起好官网,转载请注明出处:一起好官网函数PYXX_READ_PAYROLL_RESULT的dump问题

关键词: