Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

TR_LOAN_POST_DATA - MOST URGENT

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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 .. ...

3 REPLIES 3

Former Member
0 Kudos

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 .. ...

0 Kudos

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

0 Kudos

Check if there are entries in BSEG also ...