‎2007 Oct 20 3:10 AM
after I have done table maintence,what can I do for adding flow logic module?
for example,one field value in the table requires anoter table's value calculation,who can tell me the method?
thanks a lot!
‎2007 Oct 20 3:13 AM
Hi Shasha,
Welcome to SDN :).
I think you want to validate the fields in table with some other data from another table. You can achieve this using events. Look at below SAP help for details.
http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
Event 01 may help you.
Regards,
Atish
‎2007 Oct 20 6:47 AM
thank you very much!
the problem has been resolved
I mean that I need output one field,but the fields need calculation from anther table
for example
table ytchar01 field ytchar01-veh_glgs
table ytchar04 the relationship of bus and chassis one bus can have more than one chassis.
the ytchar01-veh_glgs is the number of the correponding data
in the that time ,I did`nt know where i should insert the pbo module
in fact it is very esay!
in the pbo,you insert the required module
‎2007 Oct 20 6:49 AM
Hi
SE11->Utillities->table maintainence generator
You need to enter the values of following fields:
1. Table name
2. Authorization group , and authorization object (select the suitable one )
3. Function group and package
4. Maintainence type : single or double screen maintainence view depending on the option selected.
5. Maintain screen number : you may specify a value or let the system generate one for you.
The validation code for the table entry is written in the flow logic of this screen. Even some of the fields may be made display only , by adding suitable code in the logic or directly disabling the input in table control in the layout.
>> Activate
Check these links for more information which will be very usefull for u
http://help.sap.com/saphelp_nw04/helpdata/en/16/4b3c8c170e11d6999d00508b6b8b11/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/adjusting-table-maintenance-134547
Regards
Pavan
‎2007 Oct 20 6:50 AM
[
PROCESS BEFORE OUTPUT.
MODULE detail_init.
*&& insert
MODULE list_veh_glgs.
PROCESS AFTER INPUT.
MODULE detail_exit_command AT EXIT-COMMAND.
MODULE check_id .
MODULE detail_set_pfstatus.
CHAIN.
FIELD ytchar01-id .
FIELD ytchar01-matnr .
FIELD ytchar01-matna .
FIELD ytchar01-vmodele .
FIELD ytchar01-veh_clmc .
FIELD ytchar01-veh_zh .
FIELD ytchar01-veh_wkc .
FIELD ytchar01-veh_wkk .
FIELD ytchar01-veh_wkg .
FIELD ytchar01-veh_zzl .
FIELD ytchar01-veh_zbzl .
FIELD ytchar01-veh_zgcs .
FIELD ytchar01-veh_edzzl .
FIELD ytchar01-veh_jsszcrs .
FIELD ytchar01-veh_qybz .
FIELD ytchar01-veh_qyqtxx .
FIELD ytchar01-veh_bz .
FIELD ytchar01-rzws .
MODULE set_update_flag ON CHAIN-REQUEST.
ENDCHAIN.
CHAIN.
FIELD ytchar01-id .
MODULE detail_pai.
ENDCHAIN.