‎2008 Apr 17 10:10 AM
Hi All,
RFEBLB00 is the standard lockbox program. To fulfill some clearing criteria for company codes, some user exists were added to the standard program.
user exits EXIT_RFEBLB20_001 and EXIT_RFEBLB20_002 were created for it.
Then again for some requirement a copy of the prg RFEBLB00 was created as ZRFEBLB00.
Now this ZRFEBLB00 no more calls the prg RFEBLB20 but it calls a copy of it i.e. ZRFEBLB20.
now user exits are not being working can any body help me regarding this...
i think in RFEBLB20 we have the statements like
CALL CUSTOMER-FUNCTION '001'. so then it goes for the user exit EXIT_RFEBLB20_001 and works accordingly..
but in ZRFEBLB20 the same stament cannt call the user exit EXIT_RFEBLB20_001 as it looks for the EXIT_ZRFEBLB20_001 which cannt be created (as we cannt create this user exit for Zprg) but i have to use the same user exit...
can i use any other statements which can replace this CALL CUSTOMER-FUNCTION '001'. ..
or else...
can i use CALL FUNCTION ' EXIT_RFEBLB20_001'.
please help me regarding this..
Thanks....
‎2008 Apr 17 10:23 AM
‎2008 Nov 21 8:27 PM
Here's how we modified the lockbox functionality:
We had a format from the bank which was close to BAI2 but not quite the SAP BAI2
On txn OBAY, we created a new entry called 'OBAI'.
We modified RFEBLB00 like so:
at selection-screen on formt.
if formt ne 'BAI'
*{ INSERT CDSK906195 1
added for new lockbox
and formt ne 'OBAI'
*} INSERT
and formt ne 'BAI2'.
message i634. "45a
endif.
in start-of-selection:
case formt.
when 'BAI '.
perform process_bai_file(rfeblb20).
when 'BAI2'.
perform process_bai_file(rfeblb20).
*{ INSERT CDSK906195 1
Process the Lockbox Format cc 2000
when 'OBAI'.
perform process_bai_file(zrfeblb20).
*} INSERT
when others.
message e637.
endcase.
So you can see, we needed a new copy of RFEBLB20, but we only needed to modify the following subroutines to make our Lockbox format fit the SAP BAI2:
FINISH_PREV_CHECK
NEW_CHECK
OVERFLOW_RECORD
PROCESS_BAI_FILE
I just called the RFEBLB20 subroutines whenever they were needed. They in turn called the customer exits, so no issue.
e.g.
case ident.
when '5'.
------- new batch -
clear w_skip_rec.
we will someday deal with these, just not today.
if flb05-dh002 = '800' "ACH entries
or flb05-dh002 = '900'. "Wires
w_skip_rec = 'X'.
add 1 to w_flb09_sub_rec.
endif.
if febko-azidt+0(7) ne flb05-dh004
or febko-azidt+8(6) ne flb05-dh005.
if w_skip_rec is initial.
new lockbox or new deposit date
perform finish_prev_check.
perform finish_prev_lockbox(rfeblb20).
perform new_lockbox(rfeblb20).
endif.
endif.
Maybe you can do something similar?
‎2008 Nov 21 11:34 PM
‎2008 Nov 21 11:48 PM
‎2008 Nov 22 12:01 AM
Even more I'm not sure he is asking a question or suggesting him a solution!