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.
- 1How do I create a group calendar? 10-11
- 2Sending a variable value to JTextField 10-11
- 3Error while opening the workflow page 10-11
- 4Mac crashes; Firefox 33.02 FORGETS all tabs (Safari doesn't!) 10-11
- 5Problem in the language 10-11
- 6Issues with XML Source Code 10-11
- 7Unable to customize condition branch 11-30
- 8Have to constantly reset preferences 11-30
- HT4995 My iPad 2 Location Service works fine but does not work on my home Airport router. How can I fix the problem?10/11
- CD doesn't appear on desktop, can't eject from drive10/11
- How should I back up? - Ethernet HD vs Time Machine10/11
- Lens profiles missing in LR5 ?11/30
- DVD drive will not except dvd11/30
- Nokia C6 messages are gone11/30
- Retrieve deleted standard table data11/30
- Ipad components missing11/30
- Can't Launch Apps in Creative Cloud it's "Loading"11/30
- Read / Write to Siemens Drive Registers.11/30