‎2006 Nov 16 9:11 AM
Hello everyone,
A new infotype together with two new subtypes has been added in our HR
system. I want to display these as a subscreen in PA20/PA30.
When I add the code in the PBO routine: (0300 being the new subscreen)
CALL SUBSCREEN subscreen_t582c INCLUDING 'ZP001900' '0300'.
I keep getting the syntax error:
Include ZP001920
"." or "ID...FIELD" expected after "SUBSCREEN".
I cannot figure out what the problem is. Can anyone help??
Thanks
Andy
‎2006 Nov 17 1:06 AM
Did you create a new infotype or add fields toan existing infotype? the error you mentioned points to Custom fileds on Infotype 0019.
~Suresh
‎2006 Nov 17 3:01 AM
I think you could take a look at below, new subscreen will be called by MPPERS00 dynnrly. and you can define which subtype to displayed in Module pnnnn.
PROCESS BEFORE OUTPUT.
MODULE before_output.
CALL SUBSCREEN subscreen_header INCLUDING header_prog header_dynnr.
MODULE pnnnn. "your customized infotype.