SAB ABAP creating employee FM

SAB ABAP creating employee FM
推荐方案:HR_MAINTAIN_MASTERDATA
备选方案:BAPI_PERSDATA_CREATE(先录入最基本的字段、产生一个人员编号) + HR_INFOTYPE_OPERATION(维护信息类型) + HR_READ_INFOTYPE

HR_MAINTAIN_MASTERDATA的使用方法:
https://archive.sap.com/discussions/thread/731650
https://archive.sap.com/discussions/message/4535244#4535244

使用HR_MAINTAIN_MASTERDATA的注意事项:
Try using Simulation Mode first and then check the Returtn1 table and if none found then do the actual run.

Also,to hire an employee using HR_MAINTAIN_MASTERDATA., you must ensure that the parameter NO_EXISTENCE_CHECK is set to ‘X’. Pass the multiple infotypes data in the Tables paramter proposed_values.

For Dialog Mode set ‘0’.
for LUW_MODE –
0 : no commit and no rollback
1 : commit after booking all datasets without error
2 : commit after every dataset is booking without error
3 : no booking

更多参考信息:
https://blog.csdn.net/mysky_wxh/article/details/9794937

本文作者: GavinDong

版权属于: GavinDong博客

文章链接: https://gavindong.com/2581.html

如果使用过程中遇到问题,可 **点击此处** 交流沟通。

版权所有,转载时必须以链接形式注明作者和原始出处及本声明。

(0)

相关文章

发表回复

登录后才能评论