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

Adding New Infotype

Former Member
0 Likes
379

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

2 REPLIES 2
Read only

suresh_datti
Active Contributor
0 Likes
339

Did you create a new infotype or add fields toan existing infotype? the error you mentioned points to Custom fileds on Infotype 0019.

~Suresh

Read only

0 Likes
339

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.