Processamento de Cancelamentos de Notas no SAP GRC

Bom dia,
Tivemos uma situação no nosso projeto em que foram realizadas alguns cancelamentos massivos onde o GRC sofreu com problemas de performance e algumas notas demoraram grande tempo para terem seu cancelamento homologado.
Depois de algumas análises, verificamos que uma fila de saída do PI estava lotada (mais de 900 mensagens) e as mensagens foram saindo lentamente até que o ambiente se normalizou (referente a uma interface de solicitação de cancelamento).
Diante deste cenário fiquei com algumas dúvidas:
- O processo de cancelamento é realizado em série (ou seja, a primeira nota a ter solicitado o cancelamento é a nota que será cancelada)?
- As notas estavam com status de processo 06 no monitor web. Isto significa que a solicitação já foi feita a SEFAZ e estamos aguardando a homologação do cancelamento?
- Caso eu possua uma configuração distinta de fechamento de lotes por CNPJ do emissor, isto influenciará na solicitação de cancelamento? Caso sim, ele fechará um lote para cada nota que estará na fila única de cancelamento?
Alguém poderia ajudar?
Abraços,
Alberto Almeida

Boas perguntas Alberto,
Depois de algumas análises, verificamos que uma fila de saída do PI estava lotada (mais de 900 mensagens) e as mensagens foram saindo lentamente até que o ambiente se normalizou (referente a uma interface de solicitação de cancelamento).
Sim, tudo no PI acontece em fila, porém é comum que na implementação os processos de assinatura de nota para envio, envio de lote e consulta de lote respectivamente SIGNN, BATCH e BATSR* sejam "tunados" para trabalhar com filas em paralelo podendo então atender ao quesito performance e terminar mais rápido usando do processamento paralelo, mas mesmo estes processos são regidos por filas FIFO (first in first out).
- O processo de cancelamento é realizado em série (ou seja, a primeira nota a ter solicitado o cancelamento é a nota que será cancelada)?
Se não tem paralelismo na interface SIGNC* e CANC* SIM, a primeira a chegar na fila do PI será a primeira a ser cancelada.
- As notas estavam com status de processo 06 no monitor web. Isto significa que a solicitação já foi feita a SEFAZ e estamos aguardando a homologação do cancelamento?
O 06 é do ponto de vista do aplicativo (ABAP entrogou para o PI), só garante que saiu do ABAP e ainda não voltou, o próximo status é o 05 status recebido. Para ter certeza se chegou na Sefaz, deve-se procurar na Sefaz ou então no PI.
{quote|- Caso eu possua uma configuração distinta de fechamento de lotes por CNPJ do emissor, isto influenciará na solicitação de cancelamento? Caso sim, ele fechará um lote para cada nota que estará na fila única de cancelamento?{quote}
Não influencia. A comunicação de cancelamento/inutilização é 1 pra 1 com a NF-e e não existe lote envolvido.
Isto também é um fator que gera baixa performance o GRC tem que fazer 900 assinaturas e 900 envio de cancelamento.
Resumindo: Pra você obter uma performance mais aceitável pode-se colocar um paralelismo pequeno tipo 3 filas para as interfaces de cancelamento (SIGNC* e CANCR*). Veja exemplo na SAP Note 1247831 de performance para assinatura.
Importante: Paralismo faz parte de tunning, tudo que prever com mais filas deve-se ter certeza que o sistema irá conseguir rodar tudo ao mesmo tempo, ou seja Work Process DIALOG (DIA) disponíveis.
Atenciosamente, Fernando Da Ró

Similar Messages

  • Nota fiscal send from R/3 to SAP GRC NFE

    Hello Everyone,
    We have send NFe from sap r/3 to sap grc nfe thru RFC . We cannot trace in GRC .
    What could be the possible error .
    please help.
    Honey

    Hi Honey,
    If configuration is correct on R/3 you can see the received data on tables /xnfe/nfehd (header), /xnfe/nfeit (item) and /xnfe/nfe_hist (history).
    A good approuch to you check what system is being called is put a break-point before R/3 call GRC on the end of function J_1B_NF_MAP_TO_XML or include LJ_1B_NFEF42.
    You can easily start debug on R/3 and follow inside GRC automatically when debugging, but the user of RFC need to be DIALOG and have debug rights. It's not possible do it with a service user.
    Check if the correct FM is being called /xnfe/nfe_create, for other messaging system the FM is J_1B_NFE_XML_OUT (if customizations is wrong you will check this error on ST22 on GRC).
    Kind regards, Fernando Da Ros

  • SPM in CUP in a SAP GRC AC 5.3 -- "Approver not found" & "Path not found"

    hello,
    I have a problem when I try to do a request.
    I have configured the SPM in the CUP in a SAP GRC AC 5.3
    I gives me an error about "Error creating request. Approver not found ". When I took out the Manager in the Stage it gave me this error in the request "Error creating request. Path not found".
    Best regards.
    Pablo Mortera.

    You can either type in the configuration, like the what option you selected for approver (CAD or role or...etc), or other way is to capture the change log which shows what was the configuration for that stage....
    (Configuration -< Change Log -> Search Change log)
    Cheers !!
    Zaheer

  • Not able to upload SAP GRC 5.2 rules

    Hi All,
    We are in the process of performing the Post Installation steps of SAP GRC CC 5.2
    While we are trying to import rule set the system is creating/scheduling a background job. In the log there is a warning regarding the URL  
    WARNING: Cannot get Application URL: null. PLEASE SET 'Background Daemon URL' IN CONFIGURATION TAB
    Pls guide us as to how to import standard SAP rulesets witout getting above warning message.
    Also I dont understand why the background job is triggered when i am still trying to import the rules.
    Regards,
    Kiran Kandepalli.

    Hi Kiran,
       This is a common issue in GRC AC 5.2. Please follow the pre-implementation guide thoroughly which will take care of this issue. Look at the last section in the guide. Here is the link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0079de64-f5f1-2910-3688-b16619da82fb
    If this does not help, please follow OSS note # 999785 and 1176262.
    Regards,
    Alpesh

  • Sap grc note require

    Hello all.,
    Can someone tell me how to view java table (on GRC server) to see all tcode and object are there. None our full sod roles not showing any conflictions. we have su24 action and permision level file uploaded but still no confliction.
    can please anyone know the sap note number where they define the procedure how to view java table on grc server.
    Thanks

    Hi Junaid,
    If you're looking for a list of tables and definitions for generating custom reports, check note 1369045.
    But i guess you just look for tables to see if are filled, check some threads like this:
    Most commonly used tables in SAP GRC & SAP HR
    I guess check the database tables could be OK as a first view, but it should not be the way to do the error analysis. The naming convention for the tables is clear.
    Cheers,
    Diego.
    Edited by: Diego I. Yaryura on Dec 15, 2011 4:37 AM

  • Processo de cancelamento de Nota Fiscal

    Pessoal , bom dia!
    Mais uma vez estou aqui solicitando um help.
    Estamos em produção e nos deparamos com uma situação inusitada de processo de negócio.
    Emitimos 2 notas fiscais de serviços e uma ORB indevidamente.
    As duas notas de serviço passaram para o GRC e foram enviadas para o SEFAZ por que faltava a configuração no ECC que proibe notas de serviços de serem enviadas ao GRC. Já corrigimos isso.
    A ORB foi enviada com caracteres especiais e consequentemente foi recusado o XML pelo SEFAZ.
    Nossos usuários solicitaram o cancelamento da Nota porém o GRC não atualizou o Status do ECC.
    Descobrimos que estava faltando autorização para o usuário que atualiza o ECC (pela RFC na SM59) e já corrigimos também.
    Porém antes de corrigirmos as autorizações o usuário cancelou a fatura (manualmente no ECC) da ORB e agora o JOB UPDATE_ERP_STATUS não está atualizando o ECC. Porém no GRC esta já está com o Status 102 e verde.
    Além disso, para as notas de serviço o JOB também não está atualizando o ECC, porém estas não tiveram suas faturas canceladas e já estão com o status 101 ou 102 e verde no GRC.
    Agradeço a ajuda desde Já..... Obrigado
    Suzano

    Bom dia Thiago,
    É possível que precise de notas no R/3 ou até desenvolvimento, não conheço bem o processo de negócio neste ponto.
    Você pode fazer o seguinte, pelo que você disse, os registros com 102 devem estar na tabela /xnfe/backstatus pois o job /xnfe/update_erp_status não está conseguindo processar com sucesso.
    Este ponto de retorno de cancelamento tem estes pontos de atenção:
    - idioma do usuário na SM59 do GRC deve estar manualmente setado para o que se loga no dialog do R/3 (ex.: PT)
    - direitos deste usuário no R/3 (pode varias conforme processo MM, SD, FI, IS....)
    - notas ausentes no R/3 (procure por notas c/ J_1BNFE_CANCEL no market place)
    - pré-requisitos de cancelamento (período fechado, sem saldo...)
    - standard sem suporte para o tipo de cancelamento
    Verifique no GRC na transação RSRFCTRC se tem alguma informação referente a execução da função J_1B_NFE_XML_IN_TAB
    Vá eliminando todas estas etapas e por fim, se nada mais funcionar, pegue os dados da /xnfe/backstatus e debug a função J_1B_NFE_XML_IN diretamente no R/3, o ponto de atenção deve estar no call transaction que ele irá executar para cancelar.
    Atenciosamente,
    Fernando Da Ró

  • SAP GRC NF-e 10.0: Erro na interface NFB2B_procNFe_IB (contendo CDATA)

    Olá a todos.
    Poderiam por gentileza me ajudar com a questão abaixo?
    Estou com o seguinte problema na interface NFB2B_procNFe_IB do SAP GRC NF-e 10.0 (Support Package 15):
    Recebemos uma série de XML's de montadoras de automóveis que contém informações adicionais nas tags <infAdProd> e <infCpl>, como por exemplo:
      <infAdProd>VLR. PIS R$ 6,81 VLR. COFINS R$ 31,44<![CDATA[<ID ITEM=005115/><PED=4500159772/> <UM=PC/>]]></infAdProd>
    Porém ao inserir essa mensagem na interface NFB2B_procNFe_IB, a interface interpreta da seguinte forma:
        <infAdProd>VLR. PIS R$ 6,81 VLR. COFINS R$ 31,44
          <![CDATA[
            <ID ITEM=005115/>
            <PED=4500159772/>
            <UM=PC/>]]>
            </infAdProd>
    Sendo assim, ocorre o erro abaixo:
    <nm:ExchangeFaultDataExt xmlns:nm="http://sap.com/xi/NFE/common" xmlns:prx="urn:sap.com:proxy:NED:/1SAI/TAS8DFA2846CCAA9B6570C6:702">
      <faultText>Erro durante a transformação: Fim de elemento '{http://www.portalfiscal.inf.br/nfe}infAdProd' esperado programa: /1SAI/SAS6F90159886715E7C4560 caminho: nfeProc(1)NFe(1)infNFe(1)det(4)infAdProd(3)ID(1)</faultText>
      </nm:ExchangeFaultDataExt>
    Sei que temos algumas opções como:
    1. Alterar o XML no mapping do PI; (Funcionaria com mensagens processadas através do PI, mas não conseguiria inserir um XML manualmente via SE80)
    2. Alterar o XML no ABAP ao executar a classe /XNFE/CL_006NFB2B_PROC_NFE_IB; (Fazer algum replace nesses caracteres "<" e ">" por "&lt;" "&gt;"
    Mas como fazer isso sem danificar a assinatura do XML que já está assinado e autorizado na SEFAZ?
    Existe alguma nota SAP para corrigir esse problema?
    Agradeço desde já a atenção.
    Rodrigo Costa.

    Felipe,
    também tive o mesmo problema do lado do NTB2B_procNFe_OB. Tentei de várias formas transformar o XML para ficar aderente ao cliente, porém o PI sempre alterava o XML (possivelmente devido ao encoding).
    Vi muitos posts sobre o tema, mas ainda quando era o GRC NF-e 1.0, com a assinatura no Java. Para o GRC 10.0 não funciona, pois quando o xml chega no PI, o mesmo já está assinado, portanto não se pode alterar nada.
    A solução foi para nesses casos específicos enviar o xml através do ECC mesmo.
    Mas para o NFB2B_procNFe_IB ainda sem solução.
    Abs.
    Rodrigo.

  • SAP GRC NFE não processa NFE's com itens que possuam diferentes alíquotas de IPI.

    SAP GRC NFE não processa NFE's com itens que possuam diferentes alíquotas de IPI.
    Alguém sabe se esse problema já foi resolvido ou conhece um contorno para essa situação ?
    Desde a implantação em junho de 2013 não conseguimos processar notas que possuem itens com diferentes aliquotas de IPI.

    Bom dia Fernando (que bom te encontrar aqui também :-)!
    Então, o Denny da SAP Alemanha me retornou dizendo que temos que instalar o XI Content SLL-NFE 10.0 e criar novamente os cenários da NF-e.
    Eu estou entrando em contato com o nosso Basis que fica em Lima para ver se é possível que ele instale este componente, para que eu crie novamente os cenários da NF-e (extensão _900).
    Após a recriação dos cenários, será que eu consigo reenviar as NF-e de teste novamente ou terei que estornar os documentos e fazer os processos novamente?
    Obrigado pela ajuda!
    Att.
    Daniel

  • SAP SP necessária para suportar os componentes para o SAP GRC NFE 1.0 no XI

    oi,
    Como estamos atualizando as nossas caixas de XI de SAP XI SAP PI 3.0 para 7,11, verificando o SLD notamos que Nota Fiscal componente de software está disponível. Assim, a pergunta é o que é que os Service Packs do sistema fonte precisa ter, a fim de fornecer todos os componentes necessários para a NF-e?
    temos dois sistemas de fonte da qual enviamos os dados para XI, você pode sugerir o que é o pacote de serviços adequados para apoiar SAP GRC NFE 1.0 no XI
    1> 6,0 SAP ECC, SP, 14
    EHP 2, Nível 2
    PI_Basis = 2005_1_700, Level 14
    ST = PI 2008_1_700 Nível 2
    2> 6,0 SAP ECC, EHP 4
    Muito obrigado

    Ola, vi o seu e-mail mas resolvi responder por aqui!
    Na realidade, se voce for realmente trabalhar com o GRC, dependendo da secretaria da fazenda que voce ira trabalhar aconselhor que voce aplique o sp15 no grc, consule SAP Note 1487119, nessa nota haverao todos os procedimentos necessarios.
    Como haviamos falado anteriormente por e-mail, seria necessario, caso vc realmente queira trabalhar com o GRC a aplicacao de algumas notas tecnicas no proprio GRC.
    1477834     XML Layout Version 2.00: Missing parameters in NF-e BAdI
    1487119     SAPK-10015INSLLNFE: Support Package 15 for SLL-NFE
    1496216     Rejection of NFe because of wrong data type of date fields
    1499921     Problem with validation after implementing SP15
    1498700     Problem on signing NF-e
    1497767     Fill field qTrib for new layout version 2.0
    1500046     Upgrade validation rule for field ID for version 2.0
    1500742     Adjust validation for field NADICAO and NSEQADIC layout 2.00
    1501545     Problems in trying to see a XML in the IE
    1502612     Select the NFe Status Check Service for Incoming B2B message
    1502217     Extend validation rules for <DI>/<adi>, layout 2.00
    Sem mais, precisando me mais ajuda avise

  • SAP GRC NFE

    Hello,
    eu estou trabalhando no electronica fiscal de Nota. Nós temos seguintes sistemas: --
    SAP R/3 -
    SAP GRC NFE--JAVA (assinaturas digitais)-SAP NETWEAVER PI/XI -
    As AUTORIDADES (PARA A AUTORIZAÇÃO)
    como eu verificam a conexão entre estes sistemas. Como eu sei uma comunicação existe entre
    SAP GRC NFE--JAVA (assinaturas digitais)-SAP NETWEAVER PI/XI -
    A conexão das AUTORIDADES (PARA A AUTORIZAÇÃO)
    foi feita já com sucesso entre SAP R/3 E SAP GRC NFE através do RFC.
    Por favor ajuda.
    Agradecimentos adiantado,
    Honey

    Bom dia Honey,
    Além da comunicação entre os sistemas, você deve customizar as Sefaz-es e também os CNPJs na SPRO do GRC.
    Acompanhe as telas aqui:
    SAP GRC NFE 1.0 - New Solution Introduction & Implemention Best Practices
    Você pode testar o serviço assinador (java) diretamente pelo web service:
    Web Service Navigator
    Leonardo deu uma boa dica para testar o customizing dos serviços e comunicação com o sistema externo (Sefaz).
    Atenciosamente, Fernando Da Ró

  • List of Issues/ problems in SAP GRC AC 5.3 Implementation

    Hello,
    Can anyone provide me with the list of most commonly occurring problems related to
    1- SAP GRC Suite Installation
    2- RAR Module implementation
    3- CUP Module implementation
    4- ERM Module implementation
    5- SPM Module implementation
    6- SAP PC 2.5 implementation
    7- SAP RT Module implementation
    8- SAP GRC Suite Upgradation.
    Thanks in advance!!!

    Hi Abdul,
    As such there are no issues in implemeting the AC modules.
    Just make sure that you undeploy previously installed SP before deploying the new Support packages.
    1. You have to upload the initial file (xml files) again in CUP and ERM. These files should be corresponding to latest support pack.
    2. upload the CC 53_Messages.txt file in RAR with every upgrade.
    Also restart the server after deploying any following the above steps.
    For RT you can follow the note 1225960, 1060673 and make sure to restart the server after configuring the SAP Adapter.
    Regards,
    shweta

  • SAP GRC 10 - PSS Access from SAP ECC System

    I have configured Password Self Service in GRC System and is working perfectly fine for all password resets if access provided to NWBC from  GRC System.
    We have requirement to provide end users to reset password using SAP ECC System only. I have tried to access NWBC using SAP ECC System but is giving me error that Menu not configured or roles not assigned.
    Currently Maintain Data Sources is configured as below
    User Search Data Sources , User Detail Data Sources  & User Authentication Data Sources set to ECC Connector and End User Vertification Set to yes.We are not using LDAP / Active Directory for the User Search Database and instead ECC Only
    Can anyone provide the roles to be assigned in SAP ECC System to access NWBC - Password Reset .

    Hi Anil,
    In support to Colleen's comments, It seems that you have not configured the USER on the End User Services.  You need to make sure that the guest user (not available in GRC) is configured in each of the 10 services in SICF for the end user Login Pages to work.
    Here are the 10 required services to be activated:
    1.)GRAC_OIF_MY_PROFILE_EU
    2.)GRAC_GAF_NAME_CHANGE_SERV_EU
    3.)GRAC_POWL_REQUEST_STATUS_EU
    4.)GRAC_GAF_PWD_SELFSERVICE_EU
    5.)GRAC_OIF_USER_REGISTER_EU
    6.)GRAC_GAF_ACCREQ_WITH_REQREF_EU
    7.)GRAC_OIF_REQUEST_SUBMISSION_EU
    8.)GRAC_GAF_ACCREQ_WITH_TEMPL_EU
    9.)GRAC_GAF_ACCREQ_WITH_USEREF_EU
    10.)GRAC_UIBB_END_USER_LOGIN
    You can refer note#http://service.sap.com/sap/support/notes/1628387
    If the user is not present in GRC system then, they have to go with end-user-logon page to reset their passwords where you can always define the user authentication configurations.
    Regards,
    Ameet
    Message was edited by: Ameet kumar

  • SAP GRC 10.0 Risk Management - Forecasting Horizon Scoring Analysis Mode

    Hi everyone,
    In SAP GRC 10.0 Risk Management Support Package 7, we need to assess a corporate risk by performing an automatic analysis aggregation based on a scoring analysis profile.
    The problem is that corporate risks must be created based on a forecasting horizon.
    So, can we create forecasting horizons with scoring analysis mode? How? Must be enabled through customizing or applying a SAP note?
    Best Regards,
    Chema Traveso

    Hi,
    I think this is still user-specific, as it was in 5.X. I have checked the new GRC authorisation object parameters delivered within the roles and also tried to see if a Admin user was able to see all the variants created by the different users, but so far I have not found a solution.
    It may be worthwhile to raise this in "IdeaPlace", hoping it gets enough votes and SAP's attention for implementing in a future Support Pack delivery.

  • Option Activate Applications in Client not found in GRC 10.0

    Hi Experts,
    Have installed SAP GRC NW Plug-in and I was not getting options to activate access Controls. 
    I am only getting options for Access Controls are Maintain Plug-in Exits Settings and Maintain Plug-in Configuration Settings.
    As per the installation document I should get the following options :
    Governance, Risk and Compliance > General Settings node
                                                                                    1.Activate Applications in Client
                                                                                    2. Maintain Languages Supported
                                                                                    3. Setup Transport Connection
    Can you please let me know if I am doing anything wrong on installation.
    Thanks
    Mani

    Hi Mani,
    Please have a look at the pre and post installation guides available here:
    SAP Access Control 10.0 [original link is broken]
    Regards,
    Luis

  • SAP GRC 10.0 - Risk Analysis - Define global variant

    Hi Experts,
    We are implementing SAP GRC 10.0 and we have a question about variant management in Access Risk Analysis.
    When we saved a variant, it seems that this variant is user specific.
    Is it to possible to define this variant as default for all users?
    Thanks.
    Best regards,
    Nicolas RICHARD

    Hi,
    I think this is still user-specific, as it was in 5.X. I have checked the new GRC authorisation object parameters delivered within the roles and also tried to see if a Admin user was able to see all the variants created by the different users, but so far I have not found a solution.
    It may be worthwhile to raise this in "IdeaPlace", hoping it gets enough votes and SAP's attention for implementing in a future Support Pack delivery.

Maybe you are looking for

  • Sent My Laptop in for Repairs and got my Password Reset but don't know what it is

    So, I had to have my laptop sent in to a locale (well, about 100 miles away) repair shop, and they seemed to of reset my profile password, and I have no idea what it is. I've tried e-mailing them, but they aren't replying. Calling them would be point

  • In Exchange 2013 i cannot open mails with attachments greater than 19.6 MB in EWS or OWA

    Hello, i have in Exchange 2013 CU3 on Windows 2012 the following problem : When backup mails using EWS i get the message " EWS Error Code : ErrorMessageSizeExceeded." in mails with attachments greater than 20.137 KB ( 19.6 MB). Then I checked all the

  • Preview and Mail Crash when attempting to print to Konica Bizhub

    Greetings all. I've been having a re-occuring problem where Preview & Mail quit when I hold down command + P to print. However, If I go to File then Print, the application will not crash. Whatsmore, it crashes literally every other time. If I hold co

  • Using xgrid - shared file system possible?

    I have a question about running a sequence of unix commands with xgrid. I just started fiddling with xgrid and I am already able to run a sequence of renderings in parallel. This is cool and relatively easy. The software I use for rendering is called

  • Shared Reminders lists out of order.

    I use Reminders quite a bit via iOs and the browser based iCloud.  I thought it would be nice to share my Home list with my wife and my Work list with my boss.  Sharing went fine, but in both cases, the lists don't retain their order on their end.  W