Sie sind auf Seite 1von 7

5/23/2017 SAP BASIS & Security: SAP Note 216364 ­ Blocked queue / No update to external tax system

0   More    Next Blog» Create Blog   Sign In

SAP BASIS & Security


Home SAP Certification Material

Search This Blog

Search

Friday, January 7, 2011

SAP Note 216364 ­ Blocked queue / No update to
external tax system
Symptom

Please follow the steps in this note with appropriate care if you encounter the following
scenarios:
o You want to resend documents to the external tax system.
o The tRFC queue TIF_UPDATE_AUDIT_FILE is blocked by a document.
o The tRFC queue TIF_UPADTE_AUDIT_FILE has version lower than
6.20.045, supplement 9 and contains a blocking transaction which
was caused by an update termination. The STATUS is WAITUPDA. Please
have a look at note 525318 and 438015.
It is recommended that you contact SAP Support to verify that no data gets
lost, especially if you are not certain of the cause of the blocked queue.

More Terms
http://sapsecurity­basis.blogspot.com/2011/01/sap­note­216364­blocked­queue­no­update.html 1/7
5/23/2017 SAP BASIS & Security: SAP Note 216364 ­ Blocked queue / No update to external tax system

Vertex, Taxware, Sabrix, external tax system, no update

Cause and Prerequisites
o Symptom 1
Documents have been accidentally deleted from the audit database in the external tax system.

o Symptom 2
Or, documents had to be deleted because they were waiting in the tRFC queue (see details under step 1) and
could not be executed manually.

o Symptom 3
Or, documents are waiting in the queue with status 'Transaction recorded' and block the queue because the queue
was temporarily locked and needs to be reactivated.

o Symptom 4
Transactions are updated into the queue even though the actual transaction was not posted due to an update
termination. The queue has the status WAITUPDA. When you drill down on the column ENTRIES, the top hanging
transaction shows the message 'Transaction recorded
(LUW with update records)' in the column 'StatusText'. This problem should be resolved with higher kernels
(please see details in note 722339).

o Symptom 5
The queue stops with error 'SYSFAIL'. When you drill down, the status shows 'CPICERR­ Connection Closed'. The
hanging document cannot be processed manually and gives error ''Target system/gateway not active'
'Message no. SY 358'.

The reason why the documents do not get processed could vary:

o Cause A
Data being sent is not consistent with the data format expected from the external tax system. An error message
should be displayed in transaction SMQ1. Please see attached notes 329191 and 329193.

o Cause B
The connection to the external tax interface was temporarily broken or the queue was stopped (SMQ1/Execute
Queue name TIF_UPDATE_AUDIT_FILE/ Edit: Lock queue (F7) or Edit: Generic queue/Lock). As a consequence,
transactions are getting recorded, but not processed.

o Cause C
The qRFC/tRFC version has errors (see note 442478).

o Cause D
Vertex specific: please find described in note 645527 the issue that after the upgrade of R/3 to 4.6C or 4.7 the
queue hangs if the RFCs used contain the old calls (RFC_CALCULATE_TAXES and RFC_CALCULATE_TAXES1) and
the new call (RFC_CALCULATE_TAXES_DOC).

o Cause E

http://sapsecurity­basis.blogspot.com/2011/01/sap­note­216364­blocked­queue­no­update.html 2/7
5/23/2017 SAP BASIS & Security: SAP Note 216364 ­ Blocked queue / No update to external tax system

Vertex specific: the queue stops in mode RUNNING, but no transaction is being updated to the Vertex Register.
The queue cannot be activated, there is no response from the Vertex side.
This can happen after a hardware change and if Win2000 or Win2003 is used.

Please note that you have to be very conscious if you delete entries
from the tRFC. There is no log. The display program (RFYTXDISPLAY)
thinks that the document has been successfully sent to the external
system (because no longer in queue). Contact SAP Support if you need
further clarification in addition to this note.

Solution

Symptoms 1 and 2:
Step 1
Reset the update status of those documents so they can be resent to the external tax system.
Create a custom reset program based on the attached program template Z_CUSTOMER_REPORT. (The template
program is not tested. SAP does not provide support for this program.)

Determine the hanging transaction:
o Enter transaction SMQ1, specify queue name TIF_UPDATE_AUDIT_FILE, leave default * in queue destination and
execute (F8).

o Double click on column ENTRIES. A list of all transactions still to be processed in the tRFC queue and the data
to be sent is displayed. An error message should be displayed in the column STATUS TXT.
The top one is the document which could not be processed and caused that the sequential processing of all
remaining transactions was held up. The document number of the document can be found when you double­click
on the column 'QUEUE NAME' under
I _ T A X _ U P D _ H E A D _ I N
or
I _ T A X _ F R C _ H E A D _ I N
Parameter Value
X X X 1 1 1 2 2 2 2 3 3 3 3 3 3 3 3 3 3 C U R
XXX = System name
111 = client
2222 = company code
3333333333 = document number
CUR = currency key

o Verify that the DOCSTATUS of this document is set to UPDATED in table ETXDCH with transaction SE16.

o Reset the blocking document with the custom reset program. After the reset, the field ETXDCH­DOCSTATUS
should hold the value HASGLDATA.

Step 2
Run program RFYTXUPDATE. It will automatically select those documents that have not yet been updated and will
(again) update to the external system with the tRFC. Please note, this program is meant as a template and should
be copied to a custom named program. It serves a workaround tool if the automatic update fails.

Step 3

http://sapsecurity­basis.blogspot.com/2011/01/sap­note­216364­blocked­queue­no­update.html 3/7
5/23/2017 SAP BASIS & Security: SAP Note 216364 ­ Blocked queue / No update to external tax system

If the transactions still cannot be transferred to the external tax system even when resent, contact SAP
development support and the external tax vendor in order to have the cause determined.

Symptom 3

Activate the queue again.
o SMQ1/Queue name TIF_UPDATE_AUDIT_FILE /Execute/Place cursor on the queue and hit F6 'Activate queue'.
With F9 'Refresh', you can see that the number of entries are getting smaller. The transactions are processed
sequentially again.

Symptom 4
o Before deleting the blocking entry from the queue, verify with VF03, FB03 or MIR4 that the document number
does not exist. Check this also with transaction SE16 for table ETXDCH. Check in the update log (SM13) if the
transaction is recorded. So, after having
made sure that the hanging transaction indeed was caused through an update termination, delete the record from
the queue and activate it again. NO record needs to be re­updated to the external tax interface as the entry was
a faulty one.

Symptom 5
o Vertex specific: The Vertex register database (type: ISAM) has a file size limitation of 2GB. If this size is
reached, transactions are no longer updated from the queue. The file is called ''RegPreGn.dbf' and is located
under /vertex/DB/Register directory.
It contains all the tax information recorded in Vertex.

Solution:
Archive data from the Register Database with Vertex specific tools:

o Step 1: Create a control card for the dates you want to archive the data. (Refer to control card templates
provided by Vertex)
o Step 2: Transfer the data from PreReturn to PostReturns.
o Step 3: Unload the data (archive the data from PostReturns)
o Step 4: Purge PostReturn Table
o Step 5: Quit.
o As Reports cannot be run over the archived data, it needs to be reloaded
o if needed for reporting.
 
Symptom 6
o Create a c:\temp directory on the SAP application server if the translink.reg specifies the following for the  View My
LockFile and IDFile: Stats
"LockFile"="c:\\temp\\verrfc.lck"
"LockTryMax"="180"
"LockTrySleep"="1000"
"IDFile"="c:\\temp\\verrfc.tid"
This is necessary on Windows 2000 machines because there is no c:\temp directory by default. Vertex delivers
the translink.reg entries as above and they need to be edited to a valid directory.
Windows NT has a c:\temp directory by default, so this issue can only appear with Win2000 and Win2003.

Posted by Moderator at 3:07 AM 

http://sapsecurity­basis.blogspot.com/2011/01/sap­note­216364­blocked­queue­no­update.html 4/7
5/23/2017 SAP BASIS & Security: SAP Note 216364 ­ Blocked queue / No update to external tax system

No comments:
Post a Comment

Enter your comment...

Comment as:  Unknown (Google) Sign out

 
Publish Preview   Notify me

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

Important Note

The notes mentioned in this blog are for quick reference only.
Please download & read the original version of the note from http://service.sap.com/notes before implementing in the system.
All the notes in this blog are proprietary of SAP.

http://sapsecurity­basis.blogspot.com/2011/01/sap­note­216364­blocked­queue­no­update.html 5/7
5/23/2017 SAP BASIS & Security: SAP Note 216364 ­ Blocked queue / No update to external tax system
Total Pageviews Blog Archive

 
279047 ►  2016 (1)
►  2014 (9)
►  2013 (5)
Popular Posts
►  2012 (30)
SAP Note 1378659 ­ NWBC known issues & what to check when ▼  2011 (136)
opening a ticket
►  October (7)
Symptom Known issues of Netweaver Business Client >=3.0
(NWBC) and what to check when you open a support ticket on BC­ ►  August (21)
FES­BUS* Othe...
►  June (15)
SAP Note 2383 ­ Documentation: description of "super user" SAP* ►  May (8)
Validity:   valid since 10.02.1999 Symptom Documentation
problem: description for user entry SAP* is unclear Additional key ►  April (19)
words S... ►  March (27)

SAP Note 510007 ­ Setting up SSL on Web Application Server ABAP ►  February (11)
Symptom This note concerns the setting up of Secure Sockets ▼  January (28)
Layer (SSL) on the SAP Web Application Server ABAP. Other Terms
SSL, TLS... SAP Note 1134886 ­ Activating log SDCCN for retrie...
SAP Note 1229904 ­ Maintenance certificate distrib...
SAP Note 837300 ­ Size restriction when sending documents
Version: 5 Validity: Valid Since 21.05.2008 Summary Symptom SAP Note 1251060 ­ Error in requirement process of...
You want to ensure that only e­mails under a certain size are sent SAP Note 1240265 ­ SPAM/SAINT: No valid maintenanc...
using the SA...
SAP Note 1266139 ­ Incomplete SMSY systems do not ...
SAP Note 434918 ­ Configuration for fully qualified host names for SAP Note 1293657 ­ Error in distribution of Mainte...
BSP
Symptom A BSP is started that contains a shortened URL (no SAP Note 1307034 ­ Work centers: License managemen...
domain name) is started from SE80. This problem can be solved
SAP Note 1312413 ­ Enhanced Checks for License Man...
with the new pro...
SAP Note 1315724 ­ Short dump when creating licens...
SAP Note 550779 ­ FAQ: General questions about network
SAP Note 1316075 ­ Display errors in license manag...
communication
Validity:   valid since 19.01.2004 [1] Question: What are SSF and SAP Note 1381710 ­ Dump CALL_FUNCTION_NOT_FOUND ­ ...
SNC? [2] Question: Is there a difference between SAPCRYPTOLIB
and SA... SAP Note 1280664 ­ Distribution of maintenance cer...
SAP Note 902892 ­ Procedure cache hit ratio seems ...
SAP Note 1171138 ­ Size restriction for outbound e­mails
Version: 1 Validity: Valid Since 20.05.2008 Symptom You want to SAP Note 515376 ­ Missing or incorrect values in t...
ensure that only e­mails under a particular size are sent using the SAP Note 608636 ­ SQL Server does not maintain Per...
SAPconne...
SAP Note 721548 ­ XI 3.0: Changing the passwords o...
SAP Note 320991 ­ Error codes during logon (list) SAP Note 216364 ­ Blocked queue / No update to ext...
Visit http://ebooks­sap.blogspot.com to download SAP certification
eBooks Validity:   valid since 14.10.2010 Symptom During a... SAP Note 816861 ­ Migrating entries in the secure ...
SAP Note 329537 ­ Spool cut off at 1000 lines when...
SAP Note 195442 ­ Language import and Support Packages
Symptom You want to install/import an additional language into a SAP Note 722026 ­ Parameter table
system in which you have already imported Support Packages or
Add­On ...
http://sapsecurity­basis.blogspot.com/2011/01/sap­note­216364­blocked­queue­no­update.html 6/7
5/23/2017 SAP BASIS & Security: SAP Note 216364 ­ Blocked queue / No update to external tax system
Add­On ... SAP Note 837300 ­ Size restriction when sending do...

SAP Note 763561 ­ Service Data Control Center (SDCCN) ­ FAQ SAP Note 1171138 ­ Size restriction for outbound e...
Symptom For the planned execution of a service session at SAP, SAP Note 1443908 ­ ST03N ­ Weekly workload data ca...
you want to provide SAP with statistical data on the use of the R/3
Syst... SAP Note 455140 ­ Configuration of e­mail, fax, pa...
SAP Note 90293 ­ Error dialog box when starting Tr...
SAP Note 1422843 ­ Wrong deletion date in spool re...
SAP Note 688131 ­ Windows: missing data in ST06/OS...
SAP Note 548699 ­ FAQ: OS collector SAPOSCOL

►  2010 (1)

SAP eBooks

Error loading feed.

SAP Engine ‐ SAP Jobs

Walkin Interview @ Tech Mahindra in Chennai on 27th July 2013
(SAP Professionals)
SAP eBooks HUGE Collection ­ All Modules (Uploaded.net Links)
Walkin Interview @ Tech Mahindra in Chennai on 20th July 2013
(SAP SD, SAP FICO, SAP BI/BODS, SAP HANA, SAP ABAP, SAP
HCM)
Walkin Interview @ Tech Mahindra(Mahindra Satyam) in
Hyderabad on 6th July 2013 (SAP MM, PP, FICO, ABAP, Security)
eBook Download ­> The Official ABAP Reference (3rd Edition)

Simple theme. Theme images by Jason Morrow. Powered by Blogger.

http://sapsecurity­basis.blogspot.com/2011/01/sap­note­216364­blocked­queue­no­update.html 7/7

Das könnte Ihnen auch gefallen