03-26-2008 6:04 PM
Hi,
I would like to know if there's a user exit in the payment program to update table REGUH before the payment medium is printed or sent. The table has field SRTF2 that we want to populate using our own logic and then use it to control the sort order of output. I looked at program SAPF110S but couldn't find a solution.
Thank you, Gabriel
03-26-2008 10:36 PM
Hi,
Please use the BTE 2110. You should be able to change the values going into REGUH.
Hope this solves your problem.
Regards,
Raj
03-27-2008 7:39 PM
Raj,
As far as I can see, BTE 2110 is used only in program RFZALI20 which produces payments list or exceptions list, but does not actually updates REGUH.
Thank you, Gabriel
03-27-2008 9:55 PM
Hi
Did u try changing the C_REGUH_LST?
FUNCTION SAMPLE_INTERFACE_00002110.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_REGUH) LIKE REGUH STRUCTURE REGUH
*" TABLES
*" T_REGUP STRUCTURE REGUP
*" T_REGUP_LST STRUCTURE REGUP_LST
*" CHANGING
" VALUE(_C_REGUH_LST_*) LIKE REGUH_LST STRUCTURE REGUH_LST
*"----
ENDFUNCTION.
Regards,
Raj
03-28-2008 4:43 PM
Hi Raj,
Yes, I've tried changing C_REGUH_LST but REGUH itself has not changed. From the payment job log I can see that BTE 2110 is used only by program RFZALI20 (I put a MESSAGE command and this is too late since it's happening after the checks have printed already.
Rgerads, Gabriel
03-28-2008 9:01 PM
Hi,
There are couple of other BTE's 1820 and 1830.
1830 can be used where all the Vendor Payments are grouped. (This BTE will be triggered to all those invoices for which the payment is being made. Navigate on these 2 BTEs.
Regards,
Raj
06-02-2009 11:41 AM
Hi Gabriel,
We have a similar requirement of populating REGUH-SRTF2 to sort the output of payment advice.
Did you find any solution to this? Please let me know.
Thanks in advance.
Savitha