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

Modifying std check print program to call custom HRFORMS

messier31
Active Contributor
0 Likes
1,439

we have requirement to call custom HRFORM form in standard check print prog RFFOUS_C.

For this we have done following customization.

A. Copied std RFFOUS_C program to ZRFFOUS_C.

B. Commented std prog code form in main program ZRFFOUS_c

PERFORM scheck.

(This is the form where sap calls standard sapscript form and I doubt whether sap also generates

check no in this form..)

C. Below this line we are calling out hrforms and passing all selection paramters for hrforms in selection

table

LOOP.

PERFORM call_hrforms.

ENDLOOP.

Now my questions are as follow:-

A. Is it the right place to call our custom HRform..?

B. If not which would be appropriate place to do ..so that form is call properly for each empoloyee..?

C. With this implementation, when we are testing check print program..we are not getting proper check nos..any

solution abt how to go ahead with this.

D. any other solution abt how to modify this std check print process..??

Thks in adv.

7 REPLIES 7
Read only

Former Member
0 Likes
1,089

Hi Pankaj,

The check printing program takes the Form(sapscript) dynamically from some SAP tables. wat Form it takes can be configured. So, actually u need not go n change the program to call ur Form instead of the standard Form.

try following these steps...

Transaction>FBZP>4th tab>select ur country n Payment method C>double click>Form Details>here u ll c the standard Form for Check printing>u can replace this with ur custom script> in the same screen u ll c a Tab at the top-->click that n u ll c the standard program(RFFOUS_C) at the bottom..replace ur program...

in FBZP-->2nd tab also change the Form name...

Now wen u run ur Program( either directly or using F110), ur custom form will be called...

so this setting wud suffice ur requirement..

hope it helps..

Read only

Former Member
0 Likes
1,089

Hi Pankaj ,

as per our frnd aggrwal, do the same way to call HR form.Comming to C/D i dont know which HR form u are using as per my knowledge HR will Populate data based on the Infotypes / wage Types.So let us know more details .

Regards

Prabhu

Read only

0 Likes
1,089

Hi prabhu,

we have created our custom check form in HRFORM and want to call the same during check print process...

do have any other idea to do so...other then calling through code by making z prog of std RFFOUS_C

Read only

0 Likes
1,089

Hi Pankaj ,

yes u can call up Customer HR form in the Check print process , thats what aggarwal told us , how to do is thru FBZP.

2.In that Form u have to say process this form thru Standard driver program say <b>RFFOUS_C</b>

process-->se71( in chage mode )-menu item-Form>check>texts ( where u have to give driver program RFFOUS_C for ur custom Form ).

Regards

Prabhu

Read only

0 Likes
1,089

Hi All,

The very first thing that i want to make clear is that we done have script form, we have custom HRFORM, created using tcode "HRFORMS"..

Many of you have adviced regarding doing settings in FBZP...but even that is not helpful..we get "Form not active or does not exist" error ...that is the reason we are calling HRFORMS in custom RFFOUS_C i.e ZRFFOUS_C..

Now we are getting both form, our HRFORM and std sap script form....we want to hide the std script form..

can commenting the code for calling std script form will suffice ....??? will it impact the functionality too..

Read only

0 Likes
1,089

hi Pankaj ,

i dont know what are u expecting out of SAP. Forms Created using HRFORMS are depends upon Country.

i told u u have to include the program name ( driver program) in the Texts of <b>ZRFFOUS_C</b>.

Regards

Prabhu

Read only

0 Likes
1,089

hi,

It's completely gray area ...

why dont u try doing it using normal script and print program as the check print program may not suit the need..

regards

Gunjan