process
DESCRIPTION
ProcessTRANSCRIPT
![Page 1: Process](https://reader036.vdocuments.net/reader036/viewer/2022082517/55cf969d550346d0338cab01/html5/thumbnails/1.jpg)
Process#2
TIBCO TO SAP
RFC#1
1) TIBCO will insert record to SAP internal table from IC table with status =Blank, Reference document number (XBLNR) and put PDF file in SAP server.
2) Need to create one internal table for validation of data .Internal table fields are:ATTACH INTERNAL TABLE Validation of records will take place in SAP internal table as below
a) Mandatory fields must be filled in internal table.b) GL code (HKONT) to be validated from table SKB1 with company code (BUKRS) and
SKB1-XSPEB is initial for this particular GL code.c) Customer code (KUNNR) to be validated from table KNB1 with company code
(BUKRS) and KNB1-SPERR is initial for this particular customer code (KUNNR).d) Reconciliation account of customer in table KNB1 will validate with GL table SKB1.
E.g. KNB1-AKONT=SKB1-HKONT.e) Service tax type (Y_1ITYPE) to be validated from table YSERVTAXPAYVAL in
combination of TAN ID (Y_1ITANID) and company code(BUKRS)f) Profit Centre (PRCTR) to be validated from table CEPC.g) Posting date (BUDAT) and invoice (BLDAT) of internal table should not be future
date. 3) If validation fails; then failure message will return to TIBCO with status ‘F’ and error message
description (concatenate messages if there are more than one error message) and RFC#1 will delete that particular record from internal table once failure message send to TIBCO.
4) If validation gets success; then success message will return to TIBCO with status ‘S’ so as TIBCO will keep PDF file as usual.
RFC#2:-
1) On success of RFC# 1, RFC#2 will trigger to update the ZTABLE –ZINCNCT with below fields.Add FI document number and DMS file number field in table and attach table.2) Then pass the FI entry. (BAPI_ACC_DOCUMENT_POST).3) If FI entry does not pass then failure message will return to TIBCO with status ‘F’.4) If FI entry passed successfully then update the ZTABLE-ZINCNCT with accounting document
number and table YSERVTAXBILLDETL for service tax through FM-YSERTAX_AVAIL_UTIL_UPDATE.
RFC#3:-Z_DMS_INCNCT
After execution of RFC#3 the PDF file (DMS document number) will be updated against the FI document number.
![Page 2: Process](https://reader036.vdocuments.net/reader036/viewer/2022082517/55cf969d550346d0338cab01/html5/thumbnails/2.jpg)
The parameters will be used to get PDF file from SAP server.
sAttach dms table