‎2008 Mar 18 2:37 AM
Experts,
In reading Payroll results using GET PAYROLL.
REPORT ZHRPYIO001.
TABLES: pernr, pyorgscreen, pytimescreen.
NODES: payroll TYPE payca_result.
START-OF-SELECTION.
GET PERNR.
GET PAYROLL.
PERFORM process_payroll_data.
.........
The form process_payroll_data does not have the values of PAYROLL-INTER-RT (the whole Payroll structure seems empty), whereas outside of the form in the main program, we can read the PAYROLL structure with its values in it. In other words, the NODE Payroll as declared, does not seem to be global in a way that the Form can have immediate access to it without being passed as a parameter.
Whereas table PERNR is accessible in the form process_payroll_data. I can successfully read PERNR-PERNR inside the form.
Any idea why the Payroll Node is not accessible in the form?
According to documentation:
+Table areas declared with NODES behave like common data declared with addition COMMON PART: They are shared by the programs of a program group.. + and I've further read that it is also shared by all subroutines called by the main program.
Regards,
Kevin
‎2008 Mar 18 3:30 AM
Hi Kevin,
Please insert the logical database name PNP for payroll in the report attributes and try again.
Regards,
Abhishek
‎2008 Mar 18 3:37 AM