SAB ABAP creating employee FM

  • A+
所属分类:Notes

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

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: