‎2008 Jul 24 1:37 PM
Hi All,
We are using following code SUBMIT rfebbu01 AND RETURN
USER sy-uname
WITH anwnd = gstr_febvw-anwnd
WITH s_kukey IN gr_kukey
WITH jobname = ''
WITH buber = 'A'
WITH valut_on = gstr_febsca-buch_val
WITH mregel = '1'
WITH bnkgroup = ''
WITH nebgroup = ''
WITH function = 'C'
WITH mode = gstr_febsca-jmode
WITH p_statik = cc_x.
CLEAR gc_message.
CONCATENATE 'Routing No : ' gstr_paymentlot-bankrouting ' Bank Account : ' gstr_paymentlot-bankaccount
' Amount : ' gstr_paymentlot-amount ' Posted to Loan system. Group Id : ' gc_group INTO gc_message.
log the payment record to application log
CALL FUNCTION 'ZUT_LOG_EMMA'
EXPORTING
object = 'FICA'
subobject = 'MAPAYP'
header = gc_external_id
info = gc_message
msgty = 'I'.
this is to post payment to Loans.
We have a custom program that calls the above program.
We are trying to capture errors and put it into log but errors are not passing back to custom program.
So users assum all is ok but it was found that sometiems posting was not successful but we still did not receive any errors.
Please suggest what aer we missing?
thanks in advance,
Heena
‎2008 Jul 24 10:35 PM
Try SUBMIT ... EXPORTING LIST TO MEMORY and then analyze the list returned by the first program. You'll find examples for such code on SDN.