Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 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