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

Table field and structure field

Former Member
0 Likes
789

Hi ,

I am working on an user exit.

I have to update a field on the transaction screen DFBATCH-MHD_IO (DFBATCH is a struture).

Now the same field is defined in table MARA-VFDAT (MARA is a table).

Now in the user exit function module I have written a code which will update the table field MARA-VFDAT.

So will the structure field also gets updated automatically since that structure field is same as the table field (only name is different) or I have to explicitly equate table field to structure field.

Raghu.

Hi ,

I am working on an user exit.

I have to update a field on the transaction screen DFBATCH-MHD_IO (DFBATCH is a struture).

Now the same field is defined in table MARA-VFDAT (MARA is a table).

Now in the user exit function module I have written a code which will update the table field MARA-VFDAT.

So will the structure field also gets updated automatically since that structure field is same as the table field (only name is different) or I have to explicitly equate table field to structure field.

Raghu.

1 REPLY 1
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
536

How do you know that DFBATCH-MHD_IO is tied to MARA-VFDAT. Is there a line of code in the transaction like this.

MARA-VFDAT = DFBATCH-MHD_IO.

or

DFBATCH-MHD_IO = MARA-VFDAT.

If you are updating MARA-VFDAT from your userexit, and the existing code in the transaction is filling the DFBATCH-MHD_IO from MARA-VFDAT, then no you shouldn't need to fill it.

Regards,

Rich Heilman