05-29-2008 8:49 AM
how to test this function module .
it consists of 2 - mandatory structures to be filled.
how do i test this - provid me some tips to test this function module.
i filled some values and executed - still it i thorows some error............( i already debugged but it takes us to so deep consists of many "FM" inside).
pls provide some tips - ASAP.
05-29-2008 9:02 AM
U need to populate the two structures using FM :
READ_AND_TRANSFER_ZNB_DATA
call function 'READ_AND_TRANSFER_ZNB_DATA'
exporting
i_znb_key = i_znb_key
tables
xt_op = lt_op
xt_vdznv = lt_vdznv
xt_vdznb_head = lt_vdznb_head
xt_payinfo = lt_payinfo
exceptions
error_reading_znb_data = 1
error_reading_znb_data_from_db = 2
error_transfer_znb_data = 3
others = 4.
Look at the FM : TR_LOAN_READ_AND_POST_PPP for any help ..
Reward If this solves your problem .. ...
05-29-2008 9:02 AM
U need to populate the two structures using FM :
READ_AND_TRANSFER_ZNB_DATA
call function 'READ_AND_TRANSFER_ZNB_DATA'
exporting
i_znb_key = i_znb_key
tables
xt_op = lt_op
xt_vdznv = lt_vdznv
xt_vdznb_head = lt_vdznb_head
xt_payinfo = lt_payinfo
exceptions
error_reading_znb_data = 1
error_reading_znb_data_from_db = 2
error_transfer_znb_data = 3
others = 4.
Look at the FM : TR_LOAN_READ_AND_POST_PPP for any help ..
Reward If this solves your problem .. ...
05-29-2008 9:40 AM
hi srinivas,
thanks for your reply.
but my question is - when i am executing the function module i have to fill with valid values for the 2 structrures - right ?
when i try to fill the values and executes is i am getting error reading document.
so i strucked up - i don't know which value - is the cause for that error.
i have a sample values which can execute - i can simulate the same get desired results.
kindly help me by giving exact answers ASAP.
Thanks
05-29-2008 10:04 AM