PA的Infotype创建.docx

上传人:b****5 文档编号:11782277 上传时间:2023-04-01 格式:DOCX 页数:14 大小:554.71KB
下载 相关 举报
PA的Infotype创建.docx_第1页
第1页 / 共14页
PA的Infotype创建.docx_第2页
第2页 / 共14页
PA的Infotype创建.docx_第3页
第3页 / 共14页
PA的Infotype创建.docx_第4页
第4页 / 共14页
PA的Infotype创建.docx_第5页
第5页 / 共14页
点击查看更多>>
下载资源
资源描述

PA的Infotype创建.docx

《PA的Infotype创建.docx》由会员分享,可在线阅读,更多相关《PA的Infotype创建.docx(14页珍藏版)》请在冰豆网上搜索。

PA的Infotype创建.docx

PA的Infotype创建

HowtocreateaHRinfotype?

InSAPHR/HCM,employeedataisgrouped inInfotypes.Thisemployeedataissavedininfotypesbasedonhis/herpersonalnumber(PERNR).

ForexampleininfotypePA0006(Addresses)youwillfindemployee’saddressdetails.Similarly,ininfotypePA0021youwillfindtheemployee’sfamilydetails.

SAPprovideshundredsofstandardinfotypes,butmany timestherearebusiness/clientrequirementswherewehavetocreatenewinfotypes.InthistutorialwewillseehowtocreateacustomPA(PersonalAdministration)infotypeinjustfiveeasysteps.

Step1.CreatingthePSnnnnStructure

Eachinfotyperequires aPSstructurewhichcontainsallthedatafields.

Tocreatethe‘PSstructure’,gototransactioncodePM01.

Giveafourdigitnumberbetween9000–9999inthe‘Infotypeno.’field.Selecttheradiobutton‘Employeeinfotype’.Selecttheradiobutton‘PSStructure’andthenclickonthe‘Edit’button.

Afterpressingthe‘Edit’buttonyouwillseethe‘Dictionary:

MaintainStructure’screen.Here,giveashortdescriptionofyourinfotypeandalso givethedatafieldswhicharerequiredinyourinfotype.

Afterprovidingalltherequiredfields,press thesavebutton.

Now,clickon‘Extras’→ ‘EnhancementCategory’tomaintain theenhancementcategoryforthePSstructure.

Select‘Canbeenhanced(character-typeornumeric)’.

Clickonthe‘Copy’buttonandthenClickonSave,CheckandfinallyActivate.Thiscompletesourfirststep.Now,clickthe‘Back’buttontogobacktotheinitial screenofPM01.

Step2.Generatingallrequiredobjects(DialogScreensandDatabaseTables):

AftercreatingyourPSstructure,returnbacktotheinitial screenofPM01.

By,clickingonthe‘GenerateObjects’button,youwillsee‘n’numbersofpop-upscreenwhichwillaskforconfirmationtogeneratetheobject.Keeppressingthecontinue(enter)buttonuntilalltheobjectsarecreated.

 

 

 

Therewillbesomemorescreens,justkeeponpressingcontinue(enter)buttontoproceed.

Step3.MaintainInfotypecharacteristics

Inthisstepyouwillmaintaintheinfotypecharacteristicssuchas ‘InfotypeDescription’and‘GeneralAttributes’,propertiesfor‘DisplayandSelection’and‘TechnicalData’.

Clickon‘Infotypecharacteristics’.

Youwillseethe‘Infotypesattributes’TableView.Clickonchangeicon.

Andthenclickonthe ‘NewEntries’buttontocreateanewentry.

Now,youwillseethescreenwhereyoucanprovidetheinfotypecharacteristics.

Before,proceedingfurtheryoushouldknowaboutthefollowingimportantcharacteristicsofaninfotype.

TimeConstraints:

Thischaracteristicdeterminesifmorethanoneinfotyperecordcanexistatthesameperiodintimeperemployee.

Thefollowingvaluesoftimeconstraintsareaccepted.

DateReactionIndicators:

 Theycontrolthesearchtype,when“nodates”,“onedate”or“twodates”areentered ontheselectionscreen.

AsperyourrequirementselecttheTimeConstrainsandtheDateReactionIndicators.

Step4:

MaintaintheTechnicalAttributes

Inthisstepyouwillmaintainthetechnicalattributesoftheinfotypesuchas–DialogModule,DatabaseTableandStructure.Alltheseobjects(exceptthestructure)areautomaticallygeneratedinStep2bypressingthe‘GeneratesObjects’button.

Youwillseethe‘InfotypeDialog/Databaseassignment’tableview.Clickonthechangebutton.

Nowclickon‘Position’buttonandenterthenameofyourinfotype.

Selectyourinfotypeandclickonthe‘DisplayButton

Bydefault,allthevaluesshouldcomeappearautomatically,ifnotthenenterthemmanually.

ClickonSAVE and assign yourdevelopmenttoatransportrequest.

Step5.ChangingtheInfotypeScreenLayout

Now,wewillmakesomechangesintheinfotypescreenusingthescreenpainter.

AttheInitialscreenof transactionPM01,selectthe‘Screen’radiobuttonunderthe‘Subobjects’tabandenterthescreennumberas‘2000’.Thenpressthe ‘Edit’button.

Selectthe‘Layout’radiobuttonandthenclickon‘Change’button.

Maketherequiredchangesinthescreenlayout.Save,checkandthenactivate.

TheScreenOutput

Tochecktheoutput,gototransactioncodePA30.Enteremployeenumberandclickonthecreatebutton.

 

Summary:

InthistutorialwehaveseenhowtocreateasimpleInfotypeeasilyinjustfivesteps.Dependingonyourrequirements,formorecomplexinfotypesyoumayalsoneedtoaddbusinesslogic,whichyoucanaddinthedialogprogrammingofyourinfotypescreen.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 工程科技 > 材料科学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1