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: 

Values are not stroed in Z fields

jogeswararao_kavala
Active Contributor
0 Kudos

Dear Experts,

I have created a screen area through Screen Exit (SAPLITO0 screen 2000) of enhancement ITOB0003.(EXIT_SAPLITO0_003).

Prior to this I've created 2 Z-fields and appended the FLEET table.

Now I have used these two Z-fields in the above screen area.

The above screen area is appearing in the 'Vehicle Technology' tab of FLEET Master as desired

But, when I give some values and change the fleet master the values are not stored into the database. (V_FLEET)

Kindly help

Regards

Jogeswara Rao

1 ACCEPTED SOLUTION

AbhinavDagar
Explorer
0 Kudos

Dear Jogeswara,

Please check the screen values in PAI of the screen and move the custom added fields to the structure which you have enhanced on save action trigred by the end user.

Regards

Abhinav

11 REPLIES 11

former_member404244
Active Contributor
0 Kudos

Hi,

Did you write the code to update the custom fields.

Regards,

Nagaraj.

AbhinavDagar
Explorer
0 Kudos

Dear Jogeswara,

Please check the screen values in PAI of the screen and move the custom added fields to the structure which you have enhanced on save action trigred by the end user.

Regards

Abhinav

0 Kudos

Thank you both Abhinav and Nagraj,

I did not write any code. Because my earlier such works in Enhancement QQMA0001 did not need any coding.

Kindly help in sample coding to be written in PAI in this case.

Thank you

Kind Regards

Jogeswara Rao

0 Kudos

hI,

I don't have any samples but as the OP has suggested you can try this

Move the custom added fields to the structure which you have enhanced on save action trigred by the end user.

Regards,

Nagaraj

0 Kudos

Dear Nagraj

on save action

In the Screen exits OK_CODE provision is not there to write such code.

Regards

Jogeswara Rao

0 Kudos

Hi Jogarao,

Check this

EXIT_SAPLITO0_003 (Data Import)

TABLES: FLEET.

FLEET-appended_field = I_DATA_FLEET-appended_field.

EXIT_SAPLITO0_004 (Data Export)

TABLES: FLEET.

E_UPDATE_DATA_FLEET-appended_field = FLEET-appended_field.

E_UPDATE_FLAG_FLEET = 'X'.

EXIT_SAPLITO0_003 (Data import ITO0 => XTOB) and

 EXIT_SAPLITO0_004 (Data export XTOB => ITO0)

In screen SAPLITO0 1330, an area of maximum ten lines is reserved for the include subscreen. The include subscreen must be of the

type "subscreen".

In transaction SMOD, a maximum of five include subscreens are provided (numbered 2000 to 2004). The various screens can be used,

for example, to display individual data screens per fleet object type.

Regards,

Madhu.

Edited by: madhurao123 on Jul 18, 2011 5:31 PM

0 Kudos

Thank you Madhurao,

I could not undestand where I need to write the code.

If at all I need to write code, it will be inside the includes provided or in the PAI of screen exit.

One thing more: I noticed is that in the enhancement screen where the lsit of screen exits are there, the first Exit is marked green tick in the 'IMP' column. the second one is not, whether this has anything to do with.

Regards

Jogeswara Rao

0 Kudos

Hi Jogarao,

You have to write the code. Just read the documentation of those two fm. You will a clear picture.Post if need help.

Regards,

Madhu.

0 Kudos

Dear Madhurao,

Your post helped solve my problem.

Thanks to Nagraj too, to guide my direction.

Regards

Jogeswara Rao

0 Kudos

Hi Rao,

Good.

Regards,

Madhu.

madhu_vadlamani
Active Contributor
0 Kudos

Hi Jogeswararao,

See in the exit . There are two functions are there. Please check what is the code written in that.Post if need help.

Regards,

madhu.