2005 Sep 26 4:46 AM
Hi,
I have created a table maintenance. How can we have default values to the fields when new entries button is clicked.
e.g. : I have a username field and I want the sy-uname value to be associated by default when I create a new entry.
-
Also can we add our custom modules to the standard generated screens to perform some checks for data validity or some processing ?
Can nebody tell me the procedure for the same ?
Regards,
Nitin
2005 Sep 26 4:55 AM
Hi Nitin,
You can create your own module for checking validation and you can display the sy-uname when new entry is pressed.
Step 1: Create table maintenance by
SE11->change mode of a table->Utlities->Table maintenance Generator
Step 2:Clickk create button by giving Authorization group,Function group and Maintenance Steps[fill the screen nos.]
Step 3:THen generate it.
Step 4:In the screen,click Fn.Gr Text push button.
Step 5:Uncomment the includes PAI and PBO and give them valid names.
Step 6: In PBO include,create your own module and code the following
screen-field = sy-uname.
Step 7: In PAI include,create your own module and code for the validations appropraitely.
Kindly reward points if it helps.
Hi,
I have created a table maintenance. How can we have default values to the fields when new entries button is clicked.
e.g. : I have a username field and I want the sy-uname value to be associated by default when I create a new entry.
-
Also can we add our custom modules to the standard generated screens to perform some checks for data validity or some processing ?
Can nebody tell me the procedure for the same ?
Regards,
Nitin
2005 Sep 26 4:51 AM
Hi,
Plz go through this link
http://help.sap.com/saphelp_40b/helpdata/en/a7/5139ef407a11d1893b0000e8323c4f/frameset.htm
2005 Sep 26 4:54 AM
Hi Nitin,
You need to use view events for maintenance views.
Check SAP documentation for this.
There are previous posts on View events that you can also check, that has the path..
Rgds,
Prash.
2005 Sep 26 4:55 AM
Hi Nitin,
You can create your own module for checking validation and you can display the sy-uname when new entry is pressed.
Step 1: Create table maintenance by
SE11->change mode of a table->Utlities->Table maintenance Generator
Step 2:Clickk create button by giving Authorization group,Function group and Maintenance Steps[fill the screen nos.]
Step 3:THen generate it.
Step 4:In the screen,click Fn.Gr Text push button.
Step 5:Uncomment the includes PAI and PBO and give them valid names.
Step 6: In PBO include,create your own module and code the following
screen-field = sy-uname.
Step 7: In PAI include,create your own module and code for the validations appropraitely.
Kindly reward points if it helps.
2007 Dec 07 12:31 PM
Hi
Can you please tell me briefly how to add code in PAI and PBO module if i want to set sy-unmae in the a field . Evry time I add new entries it the currrent date should be defaulted
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |