SAP开发笔记HR_INFOTYPE_OPERATION

SAP开发笔记HR_INFOTYPE_OPERATION

ID:40564876

大小:15.35 KB

页数:4页

时间:2019-08-04

SAP开发笔记HR_INFOTYPE_OPERATION_第1页
SAP开发笔记HR_INFOTYPE_OPERATION_第2页
SAP开发笔记HR_INFOTYPE_OPERATION_第3页
SAP开发笔记HR_INFOTYPE_OPERATION_第4页
资源描述:

《SAP开发笔记HR_INFOTYPE_OPERATION》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、validitybegin-validitybegindate record-infotyperecordvaluestobeupdated,insertedetc(willbestructureofinfortyoeyouareupdating) recordnumber-sequencenunberfrominfotyperecordyouareupdating Operation-describeswhatoperationistobeperformed COP=Copy DEL=Delete DIS=Display EDQ=Lock/unloc

2、k INS=Create LIS9=Delimit MOD=Change INSS=CreateforActionsisnotconvertedtoChange nocommit-commityes('X')/no('') dialog_mode-dialogmodeornot,defaultis'0'ExamplecodingforMODoperationCONSTANTS:changeTYPEpspar-actioVALUE'MOD'."ThiscodeisrequredandlockstherecordreadyformodificationCA

3、LLFUNCTION'HR_EMPLOYEE_ENQUEUE'EXPORTINGnumber=p_pernr."loopatp0071intop_p0071."addedtoputcodeincontextvaliditybegin=p_record-begda.validityend=p_record-endda.p_record-endda=pn-begda-1.CALLFUNCTION'HR_INFOTYPE_OPERATION'EXPORTINGinfty='0071'subtype=p_record-subtyobjectid=P_recor

4、d-objpsnumber=p_record-pernr"employeenumbervalidityend=validityendvaliditybegin=validitybeginrecord=p_recordrecordnumber=p_record-SEQNRoperation=changenocommit=nocommitdialog_mode='0'IMPORTINGreturn=return_structkey=personaldatakeyEXCEPTIONSOTHERS=0."endloop."unlockrecordaftermo

5、dificationCALLFUNCTION'HR_EMPLOYEE_DEQUEUE'EXPORTINGnumber=p_pernr.ExamplecodingforINSoperationCONSTANTS:insertTYPEpspar-actioVALUE'INS'."ThiscodeisrequredandlockstherecordreadyformodificationCALLFUNCTION'HR_EMPLOYEE_ENQUEUE'EXPORTINGnumber=p_pernr.validitybegin=p_record-begda.v

6、alidityend=p_record-endda.p_record-pernr=p_pernrp_record-begda=pn-begda.p_record-endda=validityend.p_record-subty=p_SUBTY."subtypeofnewentryp_record-SCREF=p_SUBTY."subtypeofnewentry"pluspopulateanyotherfieldsyouneedtoupdateCALLFUNCTION'HR_INFOTYPE_OPERATION'EXPORTINGinfty='0071'

7、subtype=p_record-subtynumber=p_record-pernr"employeenumbervalidityend=validityendvaliditybegin=validitybeginrecord=p_recordoperation=insertnocommit=nocommitdialog_mode='0'IMPORTINGreturn=return_structkey=personaldatakeyEXCEPTIONSOTHERS=0."unlockrecordaftermodificationCALLFUNCTIO

8、N'HR_EMPLOYEE_DEQUEUE'EXPORTINGnumber=p_pernr.I

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。