Application Development and Automation 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: 
Read only

SUBMIT rfebbu01 AND RETURN - not capturing errors

Former Member
0 Likes
503

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

1 REPLY 1
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
406

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.