18.1.11

SAP Note 17975 - Pmnt data deleted before the print program is run

Symptom:

No payment media are generated although the payment documents were posted.

Cause and prerequisites

The payment data which was generated by the payment program was deleted before the payment medium was issued.

Make sure that you check whether this requirement has been met. (This can be done, for example, via the payment list or the SE16 transaction, tables REGUH, by specifying the run date in the YYYYMMDD format (that is, 19951231 for 12/31/1995) and run ID). If the payment data still exists, then the payment media can be generated by re-running the RFFO* programs (see also note 4332).

Solution
As the payment data was physically deleted, there is no quick and easy solution for the customer. Field BKPF-BKTXT, which contains the name of the payment run, is the only link between each payment document and its payment run. All other data (such as the payment method) is lost. Therefore we would propose the following method:

Change a copy of RFBUEB00 so that all documents for this payment run are displayed.
Branch to the online check printing using F2.
Print one check per payment document.

The following steps are necessary to do this:

Transaction SE38
Program RFBUEB00
Utilities -> Copy (or as of Release 3.0 Program -> Copy)
Target program ZZBUEB00
After copying program REBUEB00, make the following changes to it:

.
.
.
PARAMETERS: STATUSD LIKE BKPF-BSTAT NO-DISPLAY,
STATUSM LIKE BKPF-BSTAT NO-DISPLAY,
STATUSS LIKE BKPF-BSTAT NO-DISPLAY,
STATUSV LIKE BKPF-BSTAT NO-DISPLAY,
TCODE LIKE TSTC-TCODE NO-DISPLAY.
PARAMETERS: TEXT LIKE BKPF-BKTXT DEFAULT 'YYYYMMDD-ID'. "<<<< new
.
.
.
GET BKPF.
CHECK BKPF-BKTXT EQ TEXT. "<<<< new
PERFORM LISTE_SCHREIBEN.
.
.
.
IF TCODE NE SPACE.
CALL TRANSACTION TCODE AND SKIP FIRST SCREEN.
ELSE.
* CASE BKPF-BSTAT. "<<<< old
* WHEN 'D'. "<<<< old
* CALL TRANSACTION 'FBD3' AND SKIP FIRST SCREEN. "<<<< old
* WHEN 'M'. "<<<< old
* CALL TRANSACTION 'FBM3' AND SKIP FIRST SCREEN. "<<<< old
* WHEN 'V'. "<<<< old
* CALL TRANSACTION 'FBV3' AND SKIP FIRST SCREEN. "<<<< old
* WHEN OTHERS. "<<<< old
* CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN. "<<<< old
* LEAVE. "<<<< old
CALL TRANSACTION 'FBZ5' AND SKIP FIRST SCREEN. "<<<< new
ENDIF.
.
.
.

You can now start Report ZZBUEB00. You enter the date of the program run and the ID.: YYYY is the year, MM the month and DD the day of the run date, followed by a hyphen and the ID. You can call the online check printing transaction using the pickup function (F2) from the list and print the payment documents as checks.
FBZ5 searches for the payment documents in the account (e.g. 113101) that was defined for the payment method using the payment program configuration functions (FBZP - Bank selection -> Account determination). If, therefore, the payment program has taken a different sub-account for bank transfers (113102), you must also enter this account number (1133102) on a temporary basis for checks via transaction FBZP, to enable FBZ5 to find the payment document in this account.
After the repair has been made, you must reverse these customizing changes.

Additional key words

F110, REGUH, RFFOUS_C, RFFOD__U, RFFOD__S.

No comments:

Post a Comment