‎2006 Jun 12 2:57 PM
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.
‎2006 Jun 12 3:31 PM
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..
‎2006 Jun 13 8:10 AM
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
‎2006 Jun 13 9:03 AM
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
‎2006 Jun 14 7:34 AM
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
‎2006 Jun 19 5:03 AM
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..
‎2006 Jun 19 5:37 AM
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
‎2006 Jun 19 6:11 AM
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