01-02-2009 5:43 AM
Hi Guys,
I am working on CAA1/2/3 enhancement in which I need to update 'ACCOUNT DETERMINATION FIELD' (FKKVKP-KOFIZ_SD) present in table FKKVKP once user presses save button.
Is there any way to that?
CAWM -> Contract Account Control -> Screen Layout -> Views -> ???????????
Edited by: Nikhil Jathar on Jan 1, 2009 11:43 PM
01-02-2009 8:53 AM
u2022 DSAVB (collecting data)
The applications using the table transfer the new data status from their current memory to the application which owns the table. To do this, they call the table function module to collect the data.
Runtime: When saving the data.
Application area: Applications using the tables
Naming convention: <Application>_<Application object>_EVENT_DSAVB
(Customer: Function module name also has the prefix Y_ or Z_)
Action required:
u2022 Transfer new data from the current memory to the application which owns the table. The function module defined for the table is called to collect the data.
To get memory data we can use VKK_Get function module and to save VKKCollect function module
search with these key words you will get function modules.
Regards,
Shiva Kumar
01-02-2009 8:53 AM
u2022 DSAVB (collecting data)
The applications using the table transfer the new data status from their current memory to the application which owns the table. To do this, they call the table function module to collect the data.
Runtime: When saving the data.
Application area: Applications using the tables
Naming convention: <Application>_<Application object>_EVENT_DSAVB
(Customer: Function module name also has the prefix Y_ or Z_)
Action required:
u2022 Transfer new data from the current memory to the application which owns the table. The function module defined for the table is called to collect the data.
To get memory data we can use VKK_Get function module and to save VKKCollect function module
search with these key words you will get function modules.
Regards,
Shiva Kumar
01-02-2009 10:04 AM
Working with below code:
To get the contract account partner-specific details.
CALL FUNCTION 'VKK_FICA_FKKVKP_GET'
TABLES
t_fkkvkp = gt_fkkvkp.
IF NOT gt_fkkvkp[] IS INITIAL.
READ TABLE gt_fkkvkp INDEX 1 INTO gwa_fkkvkp.
Picking preferred payment date, annual DD payer and Credit
voucher no into work area.
gwa_fkkvkp-KOFIZ_SD = '03'.
MODIFY gt_fkkvkp FROM gwa_fkkvkp INDEX 1.
Contract Acct Maint. in Bus.Partner Meth.
CALL FUNCTION 'VKK_FICA_FKKVKP_COLLECT'
EXPORTING
i_subname = 'SI_FKKVKPSICA'
TABLES
pt_fkkvkp = gt_fkkvkp.
ENDIF.
Thanks