Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
50 views2 pages

SAP Financial Document Processing

The document describes developing a customer T code to reverse FTTH OTF records where the reversal flag is 'Y' and cancel invoice is not blank, allowing the user to select line items to post; it details how the system will check if the customer line item of the cancel invoice is open or cleared before posting, and provide error messages if cleared.

Uploaded by

niteshg11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views2 pages

SAP Financial Document Processing

The document describes developing a customer T code to reverse FTTH OTF records where the reversal flag is 'Y' and cancel invoice is not blank, allowing the user to select line items to post; it details how the system will check if the customer line item of the cancel invoice is open or cleared before posting, and provide error messages if cleared.

Uploaded by

niteshg11
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

A Customer T Code – ZFIOTF_REV (Name – FTTH OTF Reversal) to be developed


like F-04. All the records available in the table ZSD_FTTH_OTF will get
populated to User based on the input fields as below. Only the cases where
reversal flag is ‘Y’ and Cancel Invoice is not blank
a. BA Codes
b. Customer Codes
c. Cancel Invoice No.

2. User has to select the line item through check box, tick mark and will process for
posting.

3. System must check the customer line item of the cancel invoice accounting
document number. If it is open, then it will allow for further posting. If it is
cleared, then system must give an error message that “Pease reset
the customer
line item’ and clear the original invoice accounting document with Vendor line
item”.

4. If customer line item is open, then a accounting document needs to be posted


with Doc Type – DA, clearing the customer line item of cancel invoice
document and posting to same customer account with a Special GL indicator – P
(Payment Request).

5. Again, another accounting document needs to be posted with Doc Type – DS,
clearing the customer special GL line item as posted in point no. 4 and
posting to same customer account. This Doc Type – DS will trigger work flow in
the user’s inbox for necessary approval of competent authority.

How to know that accounting doc is open or closed.


In BSIS table enter BELNR accounting doc from BKPF and see the field clearing doc
If blank doc is open
Else
Doc is cleared
Show Error Message
BDC recording and program available on ECX for F-04 transaction

to get accounting doc from cancelled invoice no is BKPF with help of VBRK
FM for the same is
ou can use the FM "AC_DOCUMENT_RECORD" which will take the following Parameters.

CALL FUNCTION 'AC_DOCUMENT_RECORD'

EXPORTING

i_awtyp = 'VBRK'

i_awref = wa_invoices-vbeln

i_awtyp_incl = 'BKPF'

x_dialog = wa_boole

TABLES

t_documents = i_docnum "-> This will contain the Acc.

"-> Doc Number(s).

EXCEPTIONS

no_reference = 1

no_document = 2

OTHERS = 3.

Thanks and Regards,

You might also like