Application Development 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: 

Can You Help me...

Former Member
0 Kudos

Hi,

In regard to data transported in PAI when the FIELD statement is used, which of the following is NOT a true statement?

A: Fields in PBO are transported directly from PAI.

B: Fields with identical names are transported to the ABAP side.

C: Fields not defined in FIELD statements are transported first.

😧 Fields that are defined in FIELD statements are transported when their corresponding module is called.

which is correct..

2 REPLIES 2

volker_beermann
Discoverer
0 Kudos

Can I use a joker or ask the ordiance ???

Former Member
0 Kudos

Answers:

  • Only screen fields that do not appear in a FIELDS statement are transferred at the beginning of the PAI event.

  • Do not use fields in PAI modules until they have been passed to the program from the screen, otherwise the ABAP field will contain the same value as at the end of the previous dialog step.

  • The exception to this are fields that were initial in the PBO event and are not changed by the user. These are not transported by the FIELD statement. If a field of this type is filled with a value in a PAI module before its corresponding FIELD statement is executed, any value that you assign to it is not overwritten.

-


Data is passed from screen fields to ABAP fields with the same names once in each dialog step. If you only use simple module calls, all of the data is transferred in the PAI event before PAI processing starts.

The FIELD statement in the screen flow logic allows you to control the moment at which data is passed from screen fields to their corresponding ABAP fields.

To specify this point, use the following statement in the PAI flow logic:

FIELD <f>.

Data is not transported from the screen field <f> into the ABAP field <f> until the FIELD statement is processed. If a field occurs in more than one FIELD statement, its value is passed to the program when the first of the statements is reached.

Only screen fields that do not appear in a FIELDS statement are transferred at the beginning of the PAI event. Do not use fields in PAI modules until they have been passed to the program from the screen, otherwise the ABAP field will contain the same value as at the end of the previous dialog step.

The exception to this are fields that were initial in the PBO event and are not changed by the user. These are not transported by the FIELD statement. If a field of this type is filled with a value in a PAI module before its corresponding FIELD statement is executed, any value that you assign to it is not overwritten.

-


regards,

  • dj

reward, if its useful.