Академический Документы
Профессиональный Документы
Культура Документы
Argentina Web
Service
It is a standalone tool, which displays the status of documents. By using this tool documents can be
processed through AFIP or CONTINGENCY.
Table of Contents
Various Features ..................................................................................................................................... 3
Objects Used ........................................................................................................................................... 3
Tool Flow................................................................................................................................................. 5
1.1:- Selection Screen .......................................................................................................................... 5
Detail of selection screen fields:- ..................................................................................................... 6
1.2:– Main Screen of Monitoring Tool .................................................................................................. 9
PART 1 ........................................................................................................................................... 10
PART 2 ........................................................................................................................................... 11
1.3:- Application toolbar of the monitoring tool ................................................................................. 11
Objects Used
1. Logs:
Log object is used to store all logs that are created while processing a particular document.
a. Log Object ‘AR_CAE’ (AR: Log Objects for Argentina Web Service)
b. Sub Object ‘MONITOR’ (AR: Sub Object for Monitoring Tool)
2. Tables:
a. J_1ACAE (Argentina electronic invoice CAE track table)
This existing table is enhanced to store the records that are applicable for Argentina
web service.
b. J_1ACON (AR: Contingency Maintained at Company and Branch Level)
This is a new table that stores the details whether a branch is in contingency or not. It
can be altered only by user having authorization object as in 3.a (below)
c. J_1ACONTINGENCY (AR: Argentina electronic invoice Contingency track table)
This is a new table which stores the details of all the documents that are processed in
contingency mode.
SD Documents Check Box – If valid Company code (For Ex: AR01) is given and if this field
is checked, then you will be able to give the input for Billing Document field.
FI Documents Check Box – If valid Company code (For Ex: AR01) is given and if this field
is checked, then you will be able to give the input for Accounting Document field.
Additional Parameters:
Output Selection:
1. Presentation server – If this radio button is selected then the XML file will be stored in
the specified path of the presentation server(By default C:\temp)
2. Application server – If this radio button is selected then the file will be stored in
DIR_HOME directory of application server.
Type of View:
1. Display ALV– If this radio button is checked then it displays the ALV output.
2. Execute in background (AFIP) – This radio button is used to save a variant for
Background processing of set of documents through AFIP.
3. Execute in background (Conting) – This radio button is used to save a variant for
background processing of set of documents through Contingency.
4. Archive XML (Background) – This radio button is used to save a variant for archiving
multiple documents in background jobs.
The above figure shows the main screen for the monitoring tool -
I. The first part (Part 1) shows all the documents as per the selection criteria.
II. The Second part (Part 2) Shows the LOG Details (logs for current date).
PART 1
It displays all the details from the J_1ACAE Table with additional information’s.
I. STATUS: - This field is used to show the status of the document. To present the status
graphical icons are used.
ICON INFO
Represents a Rejected document which requires user action (Document
with status R)
Represents a New Document which requires user action (Document with
status N)
II. LOG: - This field shows whether a log is available for the document, if Log is available
then a user can see the log by clicking on the graphical icon.
ICON INFO
Represents LOG is available for the document
Please note, the ALV display is based on the default layout. It can be changed as per your need.
PART 2
The bottom part of the main screen shows the LOG details
Initially it shows the running log for the current date and up to the current time.
Once any action is performed on the screen, then it shows the information about that
particular action. For example, if ‘Set Contingency’ Action is performed on the screen,
then the LOG shows the documents that can be processed through contingency.
REFRESH – It refreshes the main data and log that is currently being
displayed.
CONTINGENCY – This button is used to set the contingency mode for the documents as
per company code and branch.
If YES, it shows a dialog box with unique combinations of company code and WS
applicable branches. Along with that it also shows the respective contingency branch.
If you want to set the contingency, select the combination and then press the
CONTINUE button, else press the CANCEL button to resume processing by without
setting the contingency.
IF CONTINUE, and then a POP UP will ask for the contingency reason.
Then the documents corresponding to the company code and branch combination will be
set to contingency mode.
It Updates Contingency Flag as ‘X’ and Contingency reason in the J_1ACAE table
It inserts a record with the selected combination I.e. company code and branch in
J_1ACON table.
RESET CONTINGENCY –
First, it shows all the combinations (company code and branch), which are under
contingency.
PROCESS CONTINGENCY
For Example: Here you have to select the documents with contingency flag set to X
Select the proper documents and press PROCESS CONTINGENCY Button
SEND TO AFIP
If connection is not proper, the log will be filled with the respective error message
This button is used to get the last approved ODN for the combination of company code,
branch, and document class and print character from AFIP. After fetching the last
approved ODN from AFIP, it checks for the last updated ODN for the same combination
in J_1ACAE table.
If the Last Approved ODN from AFIP is same as the last ODN updated in J_1ACAE
for the same combination, then it just updates the LOG with the Last Approved
ODN.
Once you click on Get last ODN button, a pop up box will be displayed as
below
If all the inputs are proper, the LOG will be updated with the Last
approved ODN number.
If any inconsistency found then it updates the ODN Number in J_1ACAE table.
Click on Get Last ODN button and Enter the selection combination for
which you want to retrieve the Last Approved ODN
For Ex: - This type of scenarios occurs when there is a system failure or PI
Failure or there is a table updating problem. So in these types of cases
Press YES. Then it displays the document for which the ODN is missing.
Note: - If there is any RFC lock or a document which is in process for a long time due to
downtime of AFIP or PI then GET LAST ODN functionality can be used to unlock the documents,
so that processing can continue with other documents of the same combination.
This button is used to either display or archive XML file from AFIP.
To display XML file for an approved document, select the document and then press
on Display/Archive button.
If you want to save the XML file in Application server or Presentation server the click
on SAVE button.
21 Monitoring Tool for Argentina Web Service
Make sure that in selection screen you have selected the path where you want to
save this XML file. If not, then it shows an information message as below.
To save multiple files, select the documents and press on Display/Archive button.
Press on YES.