07-18-2011 11:55 AM
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
07-18-2011 12:09 PM
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
07-18-2011 12:04 PM
Hi,
Did you write the code to update the custom fields.
Regards,
Nagaraj.
07-18-2011 12:09 PM
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
07-18-2011 12:21 PM
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
07-18-2011 12:29 PM
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
07-18-2011 12:50 PM
Dear Nagraj
on save action
In the Screen exits OK_CODE provision is not there to write such code.
Regards
Jogeswara Rao
07-18-2011 12:58 PM
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
07-18-2011 1:14 PM
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
07-18-2011 1:21 PM
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.
07-22-2011 4:24 AM
Dear Madhurao,
Your post helped solve my problem.
Thanks to Nagraj too, to guide my direction.
Regards
Jogeswara Rao
07-22-2011 4:25 AM
07-18-2011 12:40 PM
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.