Cancelamento de NF-e parado (batch status 05, process status 02)

Bom dia pessoal,
Ontem tivemos um problema no GRC/PI de um cliente, onde por alguma razão o certificado estava sendo rejeitado. Depois de vários problemas causados por isso, foi resetado o j2ee e o sistema voltou a operar normalmente.
As sequelas disso foram duas notas para as quais foi solicitado o cancelamento, agora elas estão com status de processamento 02 (Sent to Signature Service) e batch status 05 (Result Received).
Seguindo uma orientação para um caso parecido (),
peguei os MsgIDs das mensagens dessas NFs na /xnfe/acknowledg (ambas com SIGNC), encontrei-as no SXI_MONITOR do PI, onde elas são listadas 2x cada, com os seguintes status
1 - Status = Transfer to Process Engine (, Ack. Status = branco
2 - Status = Processed Successfully, Ack. Status = Still awaiting acknowledgment (bola verde com interrogação)
Ao tentar dar restart nas mensagens, recebo a seguinte mensagem de erro:
You cannot restart XML message E07AFA5FD584CEF1B15C3C4A927627EC with this status/type
Message no. XMS_ADM085
Diagnosis
You want to reschedule an XML message that has already been processed (Restart). However, the XML message status or type does not permit a restart.
System Response
You can only restart asynchronous XML messages.
Furthermore, you can only reschedule XML messages with errors. You cannot restart correctly processed XML messages or XML messages with the status Being Processed.
Tem algo que possa ser feito sem ter que alterar tabelas?
Como a equipe responsável pelo PI/GRC fica fora do BR, é bem complicado conseguir autorização para qquer coisa nesse sentido em PRD.
ps.: Agora cliquei no "Expand all messages", para cada um dos MsgIDs, apareceram 2 novas linhas, uma com status = Scheduled (bandeira verde) e outra com status Scheduled for Outbound Processing (seta preta), ambos com o awaiting ack.
=> SMQ1 e SMQ2 ambas sem entradas.
Obrigado!
Eduardo Hartmann

Eduardo,
O NFe type = 2 (cancelamento)?
Se sim, me parece que o pedido de cancelamento foi enviado pra assinatura e nao teve resposta, provavelmente devido ao fato de o J2EE estar fora. Nesse caso, o batch status é irrelevante (ele só é relevante pro processo de envio de NFe, não pra cancelamento/inutilização).
O "correto" seria vc identificar onde a mensagem de assinatura parou (i.e. se em alguma fila - SMQ1/SMQ2, se tem q restartar o BPM etc.). Mas como o passo de assinatura é stateless, diferentemente do processamento da SEFAZ, vc poderia simplesmente "marretar" um status de erro de assinatura de cancelamento na /xnfe/nfe_hist (verifique o valor apropriado do error status no domínio do campo) e restartar a assinatura do cancelamento pelo monitor de NFe do GRC, aba de erro de assinatura.
Abs,
Henrique.

Similar Messages

  • BDOC status completely processed: data not getting updated

    Hi Experts
       I'm  downloading BP data from R/3 system to CRM system , data is successfully getting into the CRM system when checking the SMW01 it was showing the status fully processed (status green) ,but data is not getting updated in tables.
    Please let us know what could be the possible reason
    Thanks & regards
    Rajasekhar

    1) First check the data in the BDOC. Check if the partners are really cmoing.
    2) Check if there are any dumps created in ST22. If yes Pls analyze them.
    3) Check the flow defintion for bdoc type BUPA_MAIN. You can check this in SMW01. Check if the actual call to upload the data and  create BP is done.

  • Batch determination at creation status

    Hi Experts,
    I want to do batch dertemination in create status.Currently system allow me to do batch determination after release of order.
    How to achieve this

    Dear,
    Maintain the batch search procedure through COB1  backdated with sort rule and batch class. Check batch classification in MSC2N.
    Also check any developement has been there for batch determination on release like VB_BATCH_DETERMINATION or Function module EXIT_SAPLCOZR_003 Enhancement PPCO0013/21 for automatic batch determination
    Because I have given you all detials according to standard SAP.
    Also refer this link,
    Re: User-exit Transaction COR1
    And way of express the tanks on SDN is with points for all valuable reply.
    Regards,
    R.Brahmankar

  • Batch input session from F.05 has an 'in processing' status

    Hello all,
    We would like to ask for advice regarding an issue that we are facing right now. We ran F.05 on 9/30/2008. This transaction should create a batch input
    session and post revaluation at the end of the month and eventually
    reverse them at the beginning of the next month. Unfortunately, as of
    the date of the run, period 10 was not yet open. So, the results are
    the following:
    The batch input created, until now, has an 'in processing' status. 70
    transactions were supposed to be processed (but not sure if this is
    already the total or it still has some more to process -since we do not
    have a record of the supposed number of postings). Now, period 10 is
    already open and we are trying to reprocess the session, but it can't
    be because of its status.
    Looking at the transactions: total is 70 (but not sure if there are
    still more to be processed supposedly). 35 transactions (pertaining to
    the revaluation postings at the end of the month) have been processed and
    their revaluation documents were already produced. 35 transactions (pertaining to the
    supposed reversal on the first day of October) are in error because
    period 10 was not yet open as of run date. No logs have been created (blank).
    In the meantime, can we post manual reversals in October for the revaluation postings made in September? Is there a possibility that there are still revaluations to be processed for September? Let's say, instead of only 35, there are still more? Or another option: could we manually reverse the revaluation postings on September 30 and post on the same date, delete the batch input session (can it be deleted despite the status?), then run the revaluation transaction again for September?
    Thanks in advance for your advice.
    Regards,
    Peter

    Hi Peter,
    Go to SM35 > Select the session in process > Release session (Shift + F4)
    Now select the session again from "Overview" and process again in order to process the remaining documents. Ensure the period is opened.
    This should resolve the issue. Let me know how it goes.
    Rgds
    Nadini

  • Issues during Component Batch Determination for Process Orders

    Hi,
    I am encountering a strange issue during component batch determination of process order.
    1. During creation of process order, when I execute batch determination, systems does determination based on strategies we have set and when I click on Copy it gives an error
    "Log cannot be saved: Object/subobject not specified"
    Message no. BL201
    *Diagnosis
    Log save cancelled because at least one log contains no object or subobject.
    Object and subobject are needed to classify application logs because there are several log types. Only a few logs are managed in main memory at runtime, so this classification is not needed.
    If the logs are to be saved in the database, object/subobject must be specified for later retrieval.
    Procedure for System Administration
    Object/sub object can be passed when a log is created (function module BAL_LOG_CREATE) and changed with BAL_LOG_CHANGE.
    The possible values for object and sub object must be configured in transaction SLG0.*
    If I save the order with CRTD status and come back again in change mode and do determination, It works fine.
    Again when the order is in REL status and do the determination, It gives the same error.
    This happens only for a specific plant, In other plants batch determination works in all scenarios.
    I checked for all plant related Config for batch determination and coudn't find any discrepancies.
    Please advise how to resolve this issue. Thanks in advance for your help
    Regards,
    Aheesh

    There Is no direct solution for your requirement just try this work around.
    While defining the batch determination search strategy for process order in COB1, there is one column Quantity proposal where you can attach the Routines (This is written in ABAB code )  make use of this, define New Routines with ABAB help to fulfill your requirement. Try this if found useful award full points.
    Regards,
    Ajay Nikte

  • Workitem stunned in 'in process' status

    Hi Export,
    I met a workflow problem in CRM.
    This workflow is for DPA approval.
    It generate a workflow in CRM, then trigger another workflow for approval in R/3.
    After approval completed in R/3, it call back to CRM, and then CRM update status and condition in DPA.
    Most of the workflow run correctly. But sometimes workflow met problem in step of update DPA. This background step stunned in 'In Process' status and will not change to complete status.
    I have to use tcode: SWPC for this workitem, and it can be found in this transaction. I need to click continue process and then this step can continue running.
    I checked workflow log and there is no any error message, all workitem status show green.
    Why it happen,and is there a method to fix this problem?
    Thanks.
    Peter

    Hi Prasath,
    Thanks for your help.
    I checked ST22, and found below error.
    WF-BATCH    UNCAUGHT_EXCEPTION    CX_OS_OBJECT_NOT_FOUND
    Description of this error is:
    An exception occurred. This exception is dealt with in more detail below
    . The exception, which is assigned to the class 'CX_OS_OBJECT_NOT_FOUND', was
    neither
    caught nor passed along using a RAISING clause, in the procedure
    "IF_MERGE_PPF~MERGE" "(METHOD)"
    Since the caller of the procedure could not have expected this exception
    to occur, the running program was terminated.
    The reason for the exception is:
    Could not find the referenced object with the OID
    "00000000000000000000000000000000" (instance GUID) and
    "37AF698827994D45E10000009B38F9B7" (class GUID)
    Do you have any idea about this?
    Thanks
    Peter

  • How to get system status and user status of service order

    Hi,
    I want to show user status and system status for service order in my report and i am using CRM_ORDER_READ function module to read the status, but it is returning lot of status records, could anyone please suggest how to get the system status and user status for service order.
    I did not find any clue for how to get user status, i can see the user status when i open the transaction using CRMD_ORDER.
    Regards,
    Kamesh Bathla

    Hi,
      Go to CRM_JEST table give your service order guid and get the status, pass this status into TJ02. You will get the status of your order.
    Regards
    Srinu

  • Processing Status on Sales Order

    I am configuring in SAP R/3 a Free Third Party Sales Order . . . The problem I am having is with the Processing Status area . . . specifically the Overall Status for the Header and the Item.  With the new set up neither of those fields show on the sales order,  and so the order does not show up on VA05 as open when first entered.  What would need to be done in configuration for these fields to be on the sales order, and to show the appropriate status?
    Update . . . The only way so far I have found to have these fields show on the sales order is by using the Completion on the item category, but from what I am reading it is not the suggested way to do it, yet the only way so far to get it on there.  And, the problem here is when in MIRO the PO on the Free Third Party Order, it does not complete the Sales Order Header or Item, so I still am unable to get the status to change.
    Any ideas?
    Edited by: Diane Thacker on Aug 4, 2009 9:41 PM

    Hi,
    Per standard process, the sales process will not complete unless the billing has been done for the sales order.
    What this means is once MIRO is done, the sales order is eligible for billing. You must complete the billing, so that the sales order wont appear in the VA05 list. Until billing is completed, the sales order status remains open.
    Regards

  • Sale order Processing status

    Hi gurus,
               Where we check the sale order processing status configuration ?
    Regards,
    T.Murugu

    Dear Murugu
    If you see the document flow of the particular sales document, you can see the status.
    If you want to know where the control is, go to VTLA, for the combination of your order type and delivery type, select your item category and execute.  There you can see a field Update document flow.  You have to check this box for status updation.
    thanks
    G. Lakshmipathi

  • Report to check Po o/p processing status & details

    Dear experts ,
    Is there a standard SAP report that give me the details of a PO o/p type processing status with details ?
    Regards
    Anis

    Dear Jurgen ,
    Thx for the update , but  ME9F is an executable report , also it doesnt have the message details in the o/p screen . I wanted an information report for end user that would just tell him if the output exitsis & if yes what is its status & other details .
    Regards
    Anis

  • How to add a new status to the Status drop down menu in CRM

    Hi All,
    Help me guyz i am new to CRM,
    i have to add a new status to the Status drop down menu in CRM Sales Area.
    Please help me for steps.
    Thanks
    DST

    Hi,
    You can add New status to the Drop Down menu by defining a catalog,codegroups & code group profiles to that...... Once assigned assign them to the Subject profiles and assign this subject profile to the transaction type that is assigned.
    This would populate all the profiles that u have mentioned in the subject profile.
    Award points if this answer helps you.
    Regards,
    Ravi

  • Packing status and delivery status

    What are the fields for packing status and delivery status?

    Hi,
    Please check tables VBUK (header status) and VBUP (item status).
    VBUK-LFSTK ((Delivery status)
    VBUK-PKSTK (Overall packing status of all items)
    VBUP-LFSTA (Delivery status)
    VBUP-PKSTA (Packing status of item)
    Regards,
    Ferry Lianto

  • Overall Processing status for Service Order is incorrect

    On Service order the overall processing status is incorrect at the header.  It remains in status Being Processed even though it is fully processed.  Any suggestions on where to look?

    Can you elaborate a bit more.
    starting from creation of service order to outbound delivery.
    as per my understanding, if you want to do service order process with goods movement.
    In our current client, we are planning to do in below method:
    Customer requests for the service, this service is done in 2 ways,
    1- Service at customer site
    2- service from plant
    in First case, service request will be created from VA01- order related billing. Technician will be sent to customer site along with the spare parts,with ref to this order. Once job is done.Technician will get acknowledgement from customer. Once technicians submit this , then authorized person will remove the billing block from service order, do issue invoice.
    Service order is copy of OR w/o delivery & with order related billing,inlcuding billing block in OR type.
    Fine tune the relevant settings in config.
    2-Service from Plant,
    Create service request, is copy of RE, inward the matererial with PGR. once jobwork is done, create Confirm Service order ( copy of OR ) with ref to above Service Req, create outbound delivery-PGI & Invoice.
    Hope it helps,
    Thought of others in similar scenario with any difference will be really helpful.

  • Processing status code error

    Hi all,
    What does processing status code "Error" indicate in rcv_headers_interface.There is no error message in po_interface_errors.There is nothing available in the log of Receiving Transaction Processor.Can someone guide me what exactly this means?
    Thanks in advance!!

    Hi Sandy;
    Please see below notes which could be helpful
    Resolving records stuck in the Receiving Transactions Interface [ID 50903.1]
    http://docs.oracle.com/cd/E19509-01/820-4390/ggtrm/index.html
    Regard
    Helios

  • How to change 'Processing status' of Purchase Requisition

    Hi Workflow Gurus,
    I have query on Purchase Rquisition Item Release Workflow. My requirement is like,
    Whenever a PR approver rejects the PR item then the processing status of the PR item should be changed from "In Process" to 'Release Refused' without any user intervention i.e. in background.
    Please help me ASAP as I have my delivery deadline already coming in.
    Many thanks in Advance!!!
    Regards,
    Vikash

    Hi PJ,
    Mentioned  BAPI is not for changing the processing status but for Release status i.e. Blocked or released etc...
    I could get the solution by my own R&D. I am updating the database field EBAN-BANPR with required status and i am doing it in the Back ground.
    Its working fine now.
    Anyways Thanks for your quick response !
    Regards,
    Vikash

Maybe you are looking for

  • Billing block in sales orders

    10.09.2008 Hi friends, My Sales Orders have items  with billing plan and normal items i.e items without billing plan. When i put a billing block for items with billing plan then these items rightly dont appear in report vf04, but if a billing block i

  • Simple PRC file transfer between devices or via PC not so simple, sigh.

    Greeting, this is my first post so excuse me if I make some faux pas. I was unpleasantly surprised how difficult, almost imposible it is to take a [custom] PRC off one Palm device and put it on a second, even using a Windows PC as the intermediary. T

  • Iphone 5 taking screen shots by only pressing on/off button

    I know it's supposed to take screen shots if you hold down the home button and the on/off button together, but my phone is taking a screen shot every time I turn it off (i.e., without pressing the home button).  Anyone seen this issue?

  • Any sign of a general update patch for Cp5?

    So, Cp5 has been around for a while, and as you might expect there are a few bugs: The Cp4 import bug and the EXE playback bug have ad hoc patches on the Adobe blog The SCORM 1.2 quiz reporting bug has an unofficial 'ask the right person, don't tell

  • Photo uploaded

    I need help with this question, I uploaded a new photo in mail preferences, it worked great... when I check mail, in mail online its the new photo..but not on mail on the desktop? its the old photo. Any help is appreciated. Dolores Belser