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

NODE not available in form

Former Member
0 Likes
351

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

2 REPLIES 2
Read only

Former Member
0 Likes
320

Hi Kevin,

Please insert the logical database name PNP for payroll in the report attributes and try again.

Regards,

Abhishek

Read only

0 Likes
320

Thanks for your reply.

I am already using PNP with screen 900.