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

FIELD statement in PAI

Former Member
0 Likes
1,398

Hi I am new to ABAP development.My question is:

How the system comes to know or predict that there is a FIELD statement in PAI event block during the data transport at the beginning of PAI processing?

During the data transport how the system holds the values of fields(without transporting in to ABAP program) mentioned in FIELD keyword?

Controlling the Data Transfer (SAP Library - SAP NetWeaver by Key Capability)

In the above example how system only transfers box4 value?

how system predicts that box1,box2,box3 are specified in the FIELD keyword at the start of PAI processing?

1 ACCEPTED SOLUTION
Read only

NooruBohra
Active Participant
0 Likes
813

Hi Vamsee,



Whenever system executes the flow logic, it traverse from top to bottom to find the elements that comes under the FIELD statement. Screen contains runtime information and transfers the value automatically. If a element is having FIELD statement then its value is only getting transferred when its corresponding field statement is reached.

As example suggests that FIELD4 is not having FIELD statement so its value gets transferred and available in all the three modules.

Rest of the field's values get transferred when their corresponding FIELD statement gets reached by compiler. Thats why the last module has the all values in their appropriate variables.


Hope it helps.!!!


Thanks,

Nooru Bohra

Hi I am new to ABAP development.My question is:

How the system comes to know or predict that there is a FIELD statement in PAI event block during the data transport at the beginning of PAI processing?

During the data transport how the system holds the values of fields(without transporting in to ABAP program) mentioned in FIELD keyword?

Controlling the Data Transfer (SAP Library - SAP NetWeaver by Key Capability)

In the above example how system only transfers box4 value?

how system predicts that box1,box2,box3 are specified in the FIELD keyword at the start of PAI processing?

1 REPLY 1
Read only

NooruBohra
Active Participant
0 Likes
814

Hi Vamsee,



Whenever system executes the flow logic, it traverse from top to bottom to find the elements that comes under the FIELD statement. Screen contains runtime information and transfers the value automatically. If a element is having FIELD statement then its value is only getting transferred when its corresponding field statement is reached.

As example suggests that FIELD4 is not having FIELD statement so its value gets transferred and available in all the three modules.

Rest of the field's values get transferred when their corresponding FIELD statement gets reached by compiler. Thats why the last module has the all values in their appropriate variables.


Hope it helps.!!!


Thanks,

Nooru Bohra