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

PAI (Process After Input) Fields and Syntax?

Former Member
0 Likes
838

I have a custom subscreen with input fields, within an SAP screen. After entering data into them, or without entering data, I can put my input technical fieldnames in the debugger, they are valid, and I can see if they are populated, or not. This is in the PAI, Process After Input, module.

However, when I to write code in the PAI module that would move these custom fields (from a structure defined in the layout in SE51), or just one field, I get syntax errors that say they are not defined by a data statement? Yet, like I said, I can put them in the debugger, when stepping thru the PAI module, and they exist?

Any suggestions?

Thank-you

2 REPLIES 2
Read only

Former Member
0 Likes
651

I had to define the structure as

Table: structure name here....and it worked, Can I give myself ten points?

ThanksAll.

Read only

Former Member
0 Likes
651

I figured it out.