10-11-2010 8:47 AM
Hello All,
I have a requirement to read/insert/update conditions in Loan contract FNVM . I tried to use class
CL_FVD_LOAN_CONDITION_SERVICES
for reading conditions based on company code and loan number .
Also i need to insert/update conditions to that contract number .But i am getting a FATAL error in the following
subroutine
PERFORM check_fatal_error USING i_ref_log->log_handle
CHANGING l_flg_error.
in FM
FVD_LOCAC_OL_INITIALIZE .
The source code whic i used to read condition records for loan contract is as follows.
DATA: log TYPE REF TO cl_fvd_log,
loan TYPE REF TO cl_fvd_loan_condition_services.
START-OF-SELECTION.
***
CREATE OBJECT log
* EXPORTING
* im_object =
* im_subobject =
* im_extnumber =
* im_log_handle =
.
CREATE OBJECT loan
EXPORTING
im_application_log = log.
DATA ex_tab_condition_data TYPE STANDARD TABLE OF rcondition_services_data.
DATA ex_tab_vvzzkopo TYPE trty_vvzzkopo.
data ex_error TYPE TB_FW_ERROR.
CALL METHOD loan->read
EXPORTING
im_company_code = '3600'
im_contract_no = '0000040000002'
* im_lock =
* im_condition_type =
im_application_log = log
IMPORTING
ex_tab_condition_data = ex_tab_condition_data
ex_tab_vvzzkopo = ex_tab_vvzzkopo
ex_error = ex_error
* ex_lock_failed =
.
Kindly guide me on this.
Thanks & Regards,
S.Sivakumar
11-10-2010 6:06 AM
11-07-2012 2:25 PM
Hi Sivakumar,
Have you find a solution to your problem?
If it's the case could you explain it?
Regards
11-09-2012 4:45 PM
Hello Naomi Meta Tshibanda,
Unfortunately i have not found a solution for this problem . So i went for FNVM BDC.
Later on the requirement changed to transaction FN8X transaction . If you want i can share you the code to replicate FN8X transaction .
Thanks,
Siva
11-12-2012 7:53 AM