Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HR: PE04 Function Creation

muhammad_sohail
Participant
0 Likes
1,988

Dear All,

I have created a new HR Function With the name ZHOCT from PE04. It is created and activated successfully. But when I open it's source text(RPCALCX0), it displays an error as: "Form routine FUZHOST could not be found in program RPCALCX0".

how I should created it's entry in RPCALCX0. I have done some research which says that your function entry should be in PCBURZ0. But I can't open it in edit mode. How can i create this entry and write code to accomplish my requirements.

Thanks and Regards,

Sohail

3 REPLIES 3
Read only

Former Member
0 Likes
730

Check this .MAy help

Read only

jrg_wulf
Active Contributor
0 Likes
730

Hi Muhammad,

- the include PCBURZ0 is a standard include, so every modification is tracked by the modification assistant

pick the icon labeled insert from the icon bar, than you'll get editable lines.

- in my experience, it is a good practice, to put every customer function into an own include, name the include to represent the functionname and put just the include statement into PCBURZ0.

- create a form by the name of FUnnnnn (where nnnnn is your function name) in ypur new include.

After activating both, your include and PCBURZ0, you can access the coding thru PE04

regards

Jörg

Read only

Former Member
0 Likes
730

After Creating the function module in PE04, u shud add this function module in PE01 transaction ie adding function module to the schema. Once this is done, I guess u can write necessary coding within the include PCBURZ0 as FORM (Function module name) Endform.

I think u might also need access key for coding within the standard include.

Best Regards,

Vivek