ZTable new entries need to be validated
Ztable new entries need to be validated.Only the F4 help value should be populated in fields.Few fields are not bringing the F4 help.And when I am trying to save any random data into the field,its saving in the ztable.
i want ONLY F4 HELP values to be saved into the ZTABLE.
1. For Possible entries :
Create the foreign key relationship for the fields in the custom table.
2. For Other validations againt the data entered for the field.
You have to Generate the table maintenance for this custom table in SE11.
After generating the table maintenace for this table there will be a program name
and screen number for this table.
The program name can be identified after running the maintenance generator.
The program will be generated with SAPLZXXXXXXX
For eg :
Function group : ZEURMM000
Program name : SAPLZEURMM000
Screen number : from the table maintenance generator
You can find the PAI of for this table.
Write new module between chain and endchain statement.
FIELD ZMM001-ZPLANT .
FIELD ZMM001-ZDES .
MODULE get_Zdes. "Added new code
MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
MODULE get_zdes iNPUT.
data : lv_zdes type ZMM001-ZDES.
SELECT SINGLE zdes
FROM CHECK_TABLE "The values needs to be validated
WHERE PLANT = ZMM001-ZPLANT
AND ZDES = CHECK_TABLE-ZDES.
if sy-subr <> 0.
ENDMODULE. " GET_CARNO_DES INPUT
All the User PAI statements can be performed in the subrouine LZEURMMXXXO01 of the generated program SAPLZEURMM000.
- 1Problems with PL/SQL wrap 10-11
- 2MP3s won't play correctly in Media Sourc 10-11
- 3Problem on DELETE CASCADE 10-11
- 4SQL Query clauses and conditions 11-30
- 5A small Java Problem for java Experts 11-30
- 6Unable to move or delete folder/files in finder side bar 11-30
- 7Deleting movies in iTunes 11-30
- 8Licensing stopped Error 150:30 Mac 11-30
- X240 complaint - the worst customer service/experience I have ever had10/11
- UIX: Problem with the include file10/11
- The latest version dosen't support my QuickTime?11/30
- BGP Best Practice / Private-AS vs. Public-AS in the MPLS Core11/30
- Problem in using Office Control to launch ms word11/30
- How to watch Iphoto albums on a remote TV11/30
- Why is my shipping taking so long?11/30
- MacBook Pro with OSX 10.8.5 and new Skype Installation11/30
- How to delete keyframes in Geometry Room?11/30
- Change app. name in window title?11/30