SAP NFe GRC XML 3.10 - Erro no envio do lote - Status 2

Pessoal, bom dia!
Configuramos os cenários para a versão do xml 3.10 da NFe porem ao criarmos a NFe (saída) o lote foi gerado porem ficou parado no status 2 (Enviado ao PI)  com o erro 38 (Web Service não acessivel) ao clicarmos na descrição do erro é exibida a seguinte mensagem:
"Service Status not identified: Job /XNFE/NFE_CHECK_SRV_STATUS is not running or customizing is mi"
O job /XNFE/NFE_CHECK_SRV_STATUS está agendado a cada 2 minutos para teste com o estado 29 (BA) e foi configurado na SPRO NF-e: definir consulta para status de serviço das autoridades (SEFAZ) conforme abaixo:
Foram agendados os seguintes jobs para a versão 3.10
/XNFE/EVENT_BATCH_SEND
/XNFE/GET_ACKNOWLEDGMENT
/XNFE/NFE_B2B_SEND
/XNFE/NFE_BATCH_CREATE
/XNFE/NFE_BATCH_REQUEST
/XNFE/NFE_CHECK_SRV_STATUS
/XNFE/NFE_CONTINUE_PROCESS
/XNFE/NFE_SKIP_SEND
/XNFE/PROCESS_REPORTS
/XNFE/UPDATE_ERP_STATUS
Alguem já passou por este problema no lote? Alguma dica para soluciona-lo?
Abraços,
Halsen Nagasawa

Alan,
Realmente o erro era na SEFAZ BA, o XML de envio e retorno do serviço NfeStatusServico difere das outras SEFAZ.
Para solucionar criei um ZSLL-NFE e inclui um javamapping no request e outro no response do operation mapping SRVSC_nfeStatusServicoNF2_TO_nfeStatusServicoNF2SoapIn para modificar as tags conforme o modelo de XML informado pelo pessoal de desenvolvimento da SEFAZ BA.
Abaixo o modelo informado pela SEFAZ BA.
O XML do cabeçalho para utilização dos WebServices da SEFAZ-BA na versão 3.00/3.10 é o seguinte:
<?xml version="1.0" encoding="UTF-8"?>
<nfeCabecMsg xmlns="http://www.portalfiscal.inf.br/nfe" versao="3.10">
  <versaoDados>3.10</versaoDados>
  <cUF>29</cUF>
</nfeCabecMsg>
E o XML da solicitação ao WebService de StatusServico na versão 3.00/3.10 é o seguinte:
<?xml version="1.0" encoding="UTF-8"?>
<consStatServ xmlns="http://www.portalfiscal.inf.br/nfe" versao="3.10">
  <tpAmb>2</tpAmb>
  <cUF>29</cUF>
  <xServ>STATUS</xServ>
</consStatServ>
Att.
Halsen Nagasawa

Similar Messages

  • Erro no envio de Lote com NF-e em Contingência (FS) para o Paraná

    Experts, bom dia.
    Devido à entrada em contingência em modo SCAN na data de ontem pelo Estado do Paraná, emitimos algumas NF-e's em Contingência, porém optamos por não emitir em SCAN, mas sim em Formulário de Segurança (FS).
    Com isso, as notas que foram emitidas no momento da "queda" do SEFAZ PR ficaram "travadas" com engrenagem na J1BNFE. Comutamos estas Notas para poder emitir novas notas em Contingência. Assim que o SEFAZ PR voltou, resolvemos tirar a Contingência no ECC e enviar as NF-e's emitidas em FS.
    Estas Notas (FS) foram enviadas corretamente ao GRC, que montou um Lote e tentou enviar ao SEFAZ PR pelo cenário BATCH. Porém ocorreu erro neste Lote (36-Erro de Sistema PI). Verifiquei na MONI e somente ocorre erro no Acknowledgement do BATCH:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">NEGATIVE_ACKNOWLEDGEMENT</SAP:Code>
      <SAP:P1></SAP:P1>
      <SAP:P2></SAP:P2>
      <SAP:P3></SAP:P3>
      <SAP:P4></SAP:P4>
      <SAP:AdditionalText></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace=""></SAP:ApplicationFaultMessage>
      <SAP:Stack>Negative acknowledgment triggered by a process</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Já tentei reenviar este Lote de FS diversas vezes e volta a ocorrer erro de ACK. As Notas emitidas em modo NORMAL para o PR estão sendo aprovadas normalmente.
    Alguém já passou por esta situação? Ou tem idéia do que pode estar ocorrendo?
    Desde já agradeço.
    Pedro Baroni

    Pessoal, o erro acima ocorreu devido ao SEFAZ do PARANÁ ter respondido o Servico de entrega de Lote (BATCH) sem o campo obrigatório DHRecbto:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <nfeRecepcaoLoteResponse2 xmlns="http://sap.com/xi/NFE/006">
    - <nfeRecepcaoLote2Result>
    - <retEnviNFe xmlns="http://www.portalfiscal.inf.br/nfe" versao="2.00">
      <tpAmb>1</tpAmb>
      <verAplic>PR-v2_4_5</verAplic>
      <cStat>225</cStat>
      <xMotivo>Falha no Schema XML do lote de NFe. org.xml.sax.SAXParseException: cvc-pattern-valid: Value 'RSIDU77' is not facet-valid with respect to pattern '[A-Z]{3}[0-9]{4}' for type '#AnonType_placaTVeiculo'.</xMotivo>
      <cUF>41</cUF>
      </retEnviNFe>
      </nfeRecepcaoLote2Result>
      </nfeRecepcaoLoteResponse2>
    Devido a isto a mensagem de erro não foi gravada no Lote e não apareceu no Monitor do GRC.
    Fernando / Henrique, neste caso é necessário entrar em contato com o SEFAZ PR ou pode haver algum tratamento no SAP?
    Abs.

  • Novo contato para o produto SAP NFE

    Caros,
    estou colocando esta informação aqui pois ainda existem muitas mensagens e e-mails direcionados/nomeados a mim, com dúvidas sobre escopo e prazos de liberação de funcionalidades do produto SAP GRC NFE.
    Como é de conhecimento de alguns, desde 1o de Julho eu saí da área de Localização para perseguir novos desafios na SAP (clichezão, rs) e portanto deixei de ser Product Manager para o NFE. Ainda estou ajudando o pessoal temporariamente num caráter de phase out, mas já não estou mais me envolvendo diretamente em novos tópicos. Meu último "grande" projeto foi a liberação do Layout 2.00.
    Contudo, como construímos ao longo dos últimos 3 anos um excelente canal de comunicação (sem trocadilhos ) aqui no fórum, conseguindo trazer de forma mais ágil informações da SAP para a comunidade e vice-versa também, eu não queria deixar isso se perder. Por isso, estou anunciando aqui que a partir de agora, o The specified item was not found. é o novo product manager responsável pelo produto SAP NFE. Ele é partir de agora o ponto de contato para informações sobre prazos, funcionalidades etc., incluindo a próxima versão SAP NFE 10.0 que fará a automação de NFes de entrada. O Bruno tem 5+ anos de experiência na SAP, era responsável no suporte por assuntos de localização, incluindo NF-e e SPED, e com certeza vai ajudar bastante o time. Boa sorte ao Bruno nas novas tarefas!
    O The specified item was not found. continua como responsável pelo suporte do produto.
    Eu continuarei ainda participando aqui do fórum, sempre que possível, colaborando e compartilhando os conhecimentos adquiridos ao longo desse tempo. Apenas não serei mais a pessoa que poderá falar oficialmente de prazos, escopo de novas funcionalidades etc. Mas no que for possível, continuarei ajudando.
    Abraços,
    Henrique.

    Bom dia Henrique,
    Não sei por onde começo mas tenho vários Parabéns para você.
    Começando pelo esforço em criar a mensageria para nota fiscal eletrônica da SAP um produto reconhecido pela qualidade, escalabilidade e coerência em seus códigos, comportamentos desde os tempos de Projeto Piloto, passando pelo Acelerador e finalmente o SAP GRC NFE e todos os SP's, ENCATES e SEFAZES no meio do caminho.
    Também pelo seu esforço pessoal aqui no SCN, dedicando várias horas livres a criar e dar VIDA a este espaço para nós da comunidade de profissionais em SAP no Brasil nos encontramos e trocarmos idéias seja sobre erros, dúvidas, medos de projeto, problemas comuns entre Sefazes..rsss
    E claro pelas excelentes discussões que tivemos, aprendi muito contigo.
    Sucesso na nova empreitada, e sempre possível dê uma passadinha por aqui.
    Muito Obrigado por tudo.
    Atenciosamente, Fernando Da Ró

  • OSB and SAP integration using XML web services

    Hi Team,
    We are designing solution for asynchronous and synchronous scenarios integration between OSB and SAP using web services.
    Can you please provide some pointers which tells about how OSB and SAP integration works.
    For an example:
    If we are designing the above scenario between SAP PI and SAP ECC, we know the below communication protocols are avilable:
    1.Proxy
    2.RFC
    3.IDOCs
    And also we know how adapters will get connect.
    Now ODB wants to connect to SAP to send and receive data. Please help me with information like:
    1. Is Proxy, RFC or IDOCs are applicable for OSB as well?
    2. How webservice scenarios can be implemented?
    Thanks in Advance.
    regards,
    Vicky

    Hi,
    >>>and what are the Forms ? for SAP Business Connector Related Postings ??
    try WM (webmethods forums) or here since this is the only middleware related forum on SDN
    >>> I have a requirement to integrate sap to non-sap with Business Connector !!
    excellent
    >>>We need to Generate the SAP Data In xml Format ? and the Non-sap System can Understand Only XML Formated data.
    fairly easy
    >>>>Is there any way Business Connector Box can Pull the XML file from R/3 Application Server and store the file in the Business Connector Server. from that How do we Sent XML file to Non-sap. How do we Integrate ??
    business connector has both IDOC and RFC adapters so it can
    receive data from SAP (IDOC, RFC), send data to SAP (IDOC, RFC)
    and pull data from SAP (RFC only)
    >>>>what transaction code will trigger this event ? I mean is ther any SAP Transaction Code to Integrate Business Connector?
    either transaction from SAP (for sending IDOCs for example) or you can schedule (via BC scheduler)
    an RFC call to SAP that will fetch the data and put it in an XML file
    good luck,
    Regards,
    Michal Krawczyk

  • SAP Business Connector XML File processing

    Hi All,
    we're using SAP Business Connector to process XML Files (from NON-SAP system).
    XML-Files are mapped to IDOCs and sent to our sap-system in order to create purchase orders.
    Let's say we have 3 Purchase Orders (XML) in our SAP BC input directory,
    the first purchase order has a header text (customer field), the following 2 dont. After processing the xml-files all 3 Idocs have the same header text of the first purchase order.
    How can i change this behaviour?
    Regards
    REA

    Hello Ramy,
    You have to check this logic of t BC. if you want to check the Idocs then goto WE02 in SAP.
    if you are using message type PORDCR1 then check segment E1BPMEPOTEXTHEADER or PORDCR thne check segment E1BPEKPOTX
    Regards
    Naresh

  • Convert SQL server database into SAP readable (encrypted) XML for SAP tool?

    Could anyone kindly let me know what is the procedure to convert SQL server database into SAP readable (encrypted) XML for SAP Authoring tool???

    So If I understood it correctly there an existing propriertory question bank with SQL server. You are looking at an option to migrate all the tests and questions from the existing system to the LSO system. Right ?
    I am still not clear on the xml conversion. Have you guys found a solution which could be achieved through a xml file ?
    am not aware of a way through which you could import only a xml file and create tests/questions. If you have a sample xml file then forward me so that I could do some testing on my end.As per my knowledge you could do one of the following. I
    1. Create the tests and questions manually in Authoring Environment. It will be a time consuming task. Based on the number of questions you have you might have to assemble a team of content developers to acheive this.
    2. Alternatively, you could create a Adobe Flash based assessment. The Flash component would be the front-end and will read from a xml file to display the questions and to drive the funcationality. This would be a easier and less time consuming than creating the assessments manually in authoring environment. However, you might miss out some of the functionality available in the Test Author of Authoring Environment unless you have all the functionality replicated inside Flash. This would require one time effort in creating the Flash template and the xml file structure. Once that is created you could create multiple assessments by just replacing the xml file. If you select this approach then you would have to ensure the data from SQL is converted in the desired xml format required by your Flash component.
    Please let me know if you require any further guidance or clarification regarding this.
    Regards,
    Ravi Sekhar

  • Part-time OR online Phd sap security GRC

    Please help
    I am from India and intrested in part-time online Phd (sap security GRC) i have recently done my M.phil and MCA (both part-time) and working in IT industry for 10 years and for SAP security for over 5+ years.PleaseGuide me , I have done all my studies through distance education as I belong to poor financial background but I am studing as I have very strong desire for education.
    Thanks in advance

    Hello
    I know that Central Michigan University has an online MBA with SAP emphasis:
    http://www.cel.cmich.edu/onlinemba/SAP/
    And they recently introduced two online Doctoral programs in Health Administration and Education (teaching), but not IT or business.
    Also look at the list of universities in India that are members.  Go to our Program Overview at University Alliances Overview
    And you will find a link on the right to "University Alliances around the World".  I know that Symbiosis offers some distance learning programs, but maybe not in SAP yet.
    It could be worth taking time to contact them about your request.
    Good Luck
    Bob LoBue

  • SAP IdM / GRC 10 GRAC_REQUEST_STATUS_WS Table

    We are trying to find what tables in GRC provide the web services, like GRAC_REQUEST_STATUS_WS, their information.  We are seeing a situation where a GRC Access Request appears approved in GRC10 , but the status that gets read back into IDM (via the Polling Process) shows the status of FAILED.  So we want to be able to look at the table that has the status in it in GRC so we can verify what status was actually written to the status table and is then made available via the GRAC_REQUEST_STATUS_WS web service.  Again, we are using polling in IdM, so the status IdM is getting is actually fetched from GRC so we just need the name of the table to do some comparisons.
    If we have GRC do the provisioning instead of IDM, the status IdM receives (via the Polling Process) is OK.  Yet when IdM is to do the provisioning the status is always FAILED.  IF a resquest is disapproved in GRC, it comes back to IDM as FAILED (which is proper), but the approved requests are also coming back as FAILED.
    Has anyone seen this behavior before?

    Andrew,
    As you are looking for GRC tables, maybe you should post this to the GRC forum?  I would do it for you but I am not a moderator.  Maybe Christopher Leonard or Kristian Lehment can help?
    Matt

  • Erro no processamento do lote: Código 226.

    Prezados, boa tarde.
    Estou em ambiente de produção e está dando o seguinte erro no processamento do lote: "Rejeição: Código da UF do Emitente diverge da UF autorizadora" - Código 226.
    Aparentemente está tudo correto, verifiquei na SPRO do GRC e do ECC, certificado digital utilizado, analisei XML, dentre outros.
    Alguém poderia indicar ( + ou - ) o que poderia ser?
    Agradeço qualquer ajuda.
    Grande abraço.
    Hyalen.

    Bom dia Hyalen,
    Parece um erro de configuração no PI. Verifique se para onde você está realmente enviando para a URL Sefaz correta.
    Ex.: Seu processo é para emissão na Sefaz MG.
    Você tem os partners certinhos, porém nas regras disse que o CUF 31  = a igual ao partner "Sefaz RS"... Vai chegar no destino errado.
    Ou então.
    As regras estão corretas, os partners também, porém a URL que está no communication channel aponta aponta para outra Sefaz.
    Atenciosamente, Fernando Da Ró

  • SAP NFE 3.10 - Erro 598 - Rejeicao: NF-e emitida em ambiente de homologação com Razão Social...

    Olá, pessoal.
    Estamos fazendo a atualização da NF-e 2.00 para o leiaute 3.10, porém, estamos recebendo o seguinte retorno:
    598 - Rejeicao: NF-e emitida em ambiente de homologação com Razão Social diferente de 'NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO – SEM VALOR VISCAL'.
    Para a NF-e leiaute 2.00, temos a BADI (no GRC) /XNFE/006_SIGN_NFE_OUT na qual podemos implementar para atender a necessidade da modificação do nome do destinatário para o nome exigido pela SEFAZ, porém, para o leiaute 3.10, não encontramos BADI no GRC para fazer o tratamento.
    Alguem passou pelo mesmo caso? encontrou algum ponto onde deveremos modificar o nome do destinatário?
    Desde já, muito obrigado.
    Att.,
    Fábio Cirino

    Opção mais simples.
    Coloca essa regra na BADI CL_PRINT do ECC, no Método FILL_HEADER:
        FIELD-SYMBOLS: <fs_xmlh>    TYPE j1b_nf_xml_header.
        UNASSIGN <fs_xmlh>.
        ASSIGN (c_xmlh) TO <fs_xmlh>.
        IF <fs_xmlh> IS ASSIGNED.
          MOVE-CORRESPONDING <fs_xmlh> TO out_header.
    *** NF-e Block E - Tag: Destino - Nome
          IF in_xml_header-tpamb = '2'.
            <fs_xmlh>-e_xnome = 'NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL'.
          ENDIF.
        ENDIF.
    Abç.,
    Baroni

  • NFe GRC e PI 7.1 - Instalação

    Boa tarde.
    Necessito implementar uma solução de NF-e em um cliente SAP que tem o PI 7.1 instalado. A dúvida é se eu posso utilizar o PI 7.1 para configurações referentes a NF-e  e se existe alguma mudança no design / configuration.
    A segunda dúvida é se o GRC pode ser utilizado e instalado na mesma instância do PI 7.1. Se sim, quais as recomendações?
    Obrigado.

    Basilio,
    como o Carlos comentou, o componente ABAP SLL-NFE 1.0 nao é compativel com o SAP_BASIS 7.10.
    Vc precisa de fato de uma instancia c/ usage type AS ABAP na versao 7.00 para fazer a instalacao do SLL-NFE.
    Note que vc nao precisa necessariamente de uma nova instancia para isso, pode avaliar a possibilidade de usar algum outro stack ABAP 7.00 já existente no seu landscape (nesse caso, apenas se recomenda a criacao de um novo client nessa instancia especifico para o GRC).
    Já o componente SLL-NFE-JWS vc consegue fazer deploy no AS Java 7.10 do PI 7.1 sem problemas.
    Abs,
    Henrique.

  • SAP 4.7 XML data exchange using XSLT

    Hello All,
    Hopefully the right place to post such article but here goes any way.
    My project involves producing XML files and then reading them back into to SAP internal tables. I am ok with writing SAP data to external XML file but reading it back in is causing a lot of head scratching.
    I am able to double click the XML file and it launches Ok in Internet Explorer.
    I am also able to debug the xslt file from within SE80 and the correct output is displayed.
    However, where I am trying to read the contents of the xml file via the Call Transformation procedure call my output table is not getting populated but instead I am recieving an error message saying the following is not correct:
    xmlns:sapxsl="http://www.sap.com/sapxsl
    but the above line is placed automaticlly in the XSLT when you create a new one from within SE80.
    I am new to SAP ABAP development so not sure what's exactly wrong.
    Any help on this issue will be greatfully appreciated. Thanks in Advance,
    Wasif
    REPORT  z_hp_xml_test                                               .
    TYPE-POOLS: ixml.
    TABLES: tstc, tstct.
    TYPES: BEGIN OF ty_transactions,
          tcode LIKE tstc-tcode,
          ttext LIKE tstct-ttext,
          sprsl LIKE tstct-sprsl,
    END OF ty_transactions.
    DATA: itab_transactions TYPE STANDARD TABLE OF ty_transactions.
    TYPES: BEGIN OF t_xml_line,
            data(256) TYPE x,
          END OF t_xml_line.
    DATA: l_ixml            TYPE REF TO if_ixml,
          l_streamfactory   TYPE REF TO if_ixml_stream_factory,
          l_parser          TYPE REF TO if_ixml_parser,
          l_istream         TYPE REF TO if_ixml_istream,
          l_document        TYPE REF TO if_ixml_document,
          l_node            TYPE REF TO if_ixml_node,
          l_xmldata         TYPE string.
    DATA: l_elem            TYPE REF TO if_ixml_element,
          l_root_node       TYPE REF TO if_ixml_node,
          l_next_node       TYPE REF TO if_ixml_node,
          l_name            TYPE string,
          l_iterator        TYPE REF TO if_ixml_node_iterator.
    DATA: l_xml_table       TYPE TABLE OF t_xml_line,
          l_xml_line        TYPE t_xml_line,
          l_xml_table_size  TYPE i.
    DATA: l_filename        TYPE string.
    PARAMETERS: pa_file TYPE char1024 DEFAULT 'C:     emp     ransactions.xml'.
    Validation of XML file: Only DTD included in xml document is supported
    PARAMETERS: pa_val  TYPE char1 AS CHECKBOX.
    START-OF-SELECTION.
      Creating the main iXML factory
      l_ixml = cl_ixml=>create( ).
      Creating a stream factory
      l_streamfactory = l_ixml->create_stream_factory( ).
      PERFORM get_xml_table CHANGING l_xml_table_size l_xml_table.
      wrap the table containing the file into a stream
      l_istream = l_streamfactory->create_istream_itable( table =
    l_xml_table
                                                      size  =
    l_xml_table_size ).
      Creating a document
      l_document = l_ixml->create_document( ).
      Create a Parser
      l_parser = l_ixml->create_parser( stream_factory = l_streamfactory
                                        istream        = l_istream
                                        document       = l_document ).
      Validate a document
      IF pa_val EQ 'X'.
        l_parser->set_validating( mode = if_ixml_parser=>co_validate ).
      ENDIF.
    Parse the stream
    If any errors then disply else convert XML to table
      IF l_parser->parse( ) NE 0.
        IF l_parser->num_errors( ) NE 0.
          DATA: parseerror TYPE REF TO if_ixml_parse_error,
                str        TYPE string,
                i          TYPE i,
                count      TYPE i,
                index      TYPE i.
          count = l_parser->num_errors( ).
          WRITE: count, ' parse errors have occured:'.
          index = 0.
          WHILE index < count.
    parseerror = l_parser->get_error( index = index ).
    i = parseerror->get_line( ).
    WRITE: 'line: ', i.
    i = parseerror->get_column( ).
    WRITE: 'column: ', i.
    str = parseerror->get_reason( ).
    WRITE: str.
    index = index + 1.
    ENDWHILE.
    ENDIF.
    ELSE.
    TRY .
    CALL TRANSFORMATION (`Z_HP_TEST_XSLT`)
    SOURCE XML l_xml_table
    RESULT outtab = itab_transactions.
    DATA: xslt_err TYPE REF TO cx_xslt_exception .
    CATCH cx_xslt_exception INTO xslt_err.
    DATA: s TYPE string.
    s = xslt_err->get_text( ).
    WRITE: ': ', s.
    STOP.
    ENDTRY .
      Process the document
        IF l_parser->is_dom_generating( ) EQ 'X'.
          PERFORM process_dom USING l_document.
        ENDIF.
      ENDIF.
    *&      Form  get_xml_table
    FORM get_xml_table CHANGING l_xml_table_size TYPE i
                                l_xml_table      TYPE STANDARD TABLE.
      Local variable declaration
      DATA: l_len      TYPE i,
            l_len2     TYPE i,
            l_tab      TYPE tsfixml,
            l_content  TYPE string,
            l_str1     TYPE string,
            c_conv     TYPE REF TO cl_abap_conv_in_ce,
            l_itab     TYPE TABLE OF string.
      l_filename = pa_file.
      upload a file from the client's workstation
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename   = l_filename
          filetype   = 'BIN'
        IMPORTING
          filelength = l_xml_table_size
        CHANGING
          data_tab   = l_xml_table
        EXCEPTIONS
          OTHERS     = 19.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      Writing the XML document to the screen
      CLEAR l_str1.
      LOOP AT l_xml_table INTO l_xml_line.
        c_conv = cl_abap_conv_in_ce=>create( input = l_xml_line-data
    replacement = space  ).
        c_conv->read( IMPORTING data = l_content len = l_len ).
        CONCATENATE l_str1 l_content INTO l_str1.
      ENDLOOP.
      l_str1 = l_str1+0(l_xml_table_size).
      SPLIT l_str1 AT cl_abap_char_utilities=>cr_lf INTO TABLE l_itab.
      WRITE: /.
      WRITE: /' XML File'.
      WRITE: /.
      LOOP AT l_itab INTO l_str1.
        REPLACE ALL OCCURRENCES OF cl_abap_char_utilities=>horizontal_tab
    IN
          l_str1 WITH space.
        WRITE: / l_str1.
      ENDLOOP.
      WRITE: /.
    ENDFORM.                    "get_xml_table
    *&      Form  process_dom
    FORM process_dom USING document TYPE REF TO if_ixml_document.
      DATA: node      TYPE REF TO if_ixml_node,
            iterator  TYPE REF TO if_ixml_node_iterator,
            nodemap   TYPE REF TO if_ixml_named_node_map,
            attr      TYPE REF TO if_ixml_node,
            name      TYPE string,
            prefix    TYPE string,
            value     TYPE string,
            indent    TYPE i,
            count     TYPE i,
            index     TYPE i.
      node ?= document.
      CHECK NOT node IS INITIAL.
      ULINE.
      WRITE: /.
      WRITE: /' DOM-TREE'.
      WRITE: /.
      IF node IS INITIAL. EXIT. ENDIF.
      create a node iterator
      iterator  = node->create_iterator( ).
      get current node
      node = iterator->get_next( ).
      loop over all nodes
      WHILE NOT node IS INITIAL.
        indent = node->get_height( ) * 2.
        indent = indent + 20.
        CASE node->get_type( ).
          WHEN if_ixml_node=>co_node_element.
            element node
            name    = node->get_name( ).
            nodemap = node->get_attributes( ).
            WRITE: / 'ELEMENT  :'.
            WRITE: AT indent name COLOR COL_POSITIVE INVERSE.
            IF NOT nodemap IS INITIAL.
              attributes
              count = nodemap->get_length( ).
              DO count TIMES.
                index  = sy-index - 1.
                attr   = nodemap->get_item( index ).
                name   = attr->get_name( ).
                prefix = attr->get_namespace_prefix( ).
                value  = attr->get_value( ).
                WRITE: / 'ATTRIBUTE:'.
                WRITE: AT indent name  COLOR COL_HEADING INVERSE, '=',
                                 value COLOR COL_TOTAL   INVERSE.
              ENDDO.
            ENDIF.
          WHEN if_ixml_node=>co_node_text OR
               if_ixml_node=>co_node_cdata_section.
            text node
            value  = node->get_value( ).
            WRITE: / 'VALUE     :'.
            WRITE: AT indent value COLOR COL_GROUP INVERSE.
        ENDCASE.
        advance to next node
        node = iterator->get_next( ).
      ENDWHILE.
    ENDFORM.                    "process_dom
    Section 3: My XSLT file:
    <xsl:transform version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:sapxsl="http://www.sap.com/sapxsl"
    <xsl:strip-space elements="*"/>
    <xsl:template match="TransList">
         <xsl:apply-templates />
    </xsl:template>
             <xsl:template match="Tcode">
                  Tcode <xsl:apply-templates />
             </xsl:template>
             <xsl:template match="ttext">
                  ttext <xsl:apply-templates />
             </xsl:template>
             <xsl:template match="sprsl">
                  sprsl <xsl:apply-templates />
             </xsl:template>
    </xsl:transform>

    The exact error message I'm getting is :
    ABAP XML formatting error in XML node of type "element", name: "abap"

  • Webdynpro appln Url parameter "sap-wd-client= XML client "

    Hi all,
        I am a beginner in Webdynpro application development.
    I have a query on the usuage of Url parameter "sap-wd-client=XmlClient" in webdynpro application.
          When i set the Application parameter property of webdynpro iview in portal as "sap-wd-client=XmlClient", i am getting the content of webdynpro appln in XML format. What is the use of this XML format.
    Can we use this webdynpro appln in XML format in any other portal say Weblogic portal and produce an UI in that portal.
    Let me know the use of this XML format.
    Pls give me some exposure on this.
    Thanks & Regards,
    Siva

    Hi sivakumar,
    It is used for supplying data to another kind of client. You can download a trial version of it somewhere on SDN.
    Best regards,
    Thomas

  • Recruitment open for Upcoming Ramp-Ups: SAP BusinessObjects GRC 10.0 Suite

    Recruitment open for Upcoming Ramp-Ups:
    SAP BusinessObjects Access Control 10.0
    SAP BusinessObjects Risk Management 10.0
    SAP BusinessObjects Global Trade Services 10.0
    SAP BusinessObjects Process Control 10.0
    Key Data
       * Target Release to customer: 13th December 2010
       * Target Completion date Ramp-Up: 15th June 2011
       * Contact Persons: Petra Beenk (EMEA); Jennifer Ingle (North America); Fabiana Pacheco (Latin America); Allen Xiao (APA) Sawako Watanabe (Japan)
       * SAP Ramp-Up project responsible: Sabine Schoeler
    http://service.sap.com/rampup
    Cheers,
    Vit
    Edited by: Vit Vesely on Oct 23, 2010 9:32 PM

    Hi Simon,
    I appreciate your help.
    It noticed by me that in the GRC 10 front end system, the component GRCFND_A_V1000 was not installed!!!
    How this was missed I dont know. Inspite of this, other component GRCPINW_V1000_700 was installed.
    Now I have figured out and installed the correct component and I can now activate the BC sets
    Thanks for your rhelp again
    Regards,
    Faisal

  • Another SOAP Sender adapter "com.sap.aii.af.mp.module.ModuleException" erro

    I am working on a synchronous scenario SOAP <-> XI <-> RFC.
    This worked fine, when I run it without SOAP adapter, direct via XI Pipeline.
    Now I want to use the SOAP sender adapter, but get the error as described below this post.
    As this is a real new XI installation, some patches or updates might be required to make it work. Or some adapter modules ?
    Any suggestions on how to solve this problem will be rewarded.
    What worries me a bit is the line "  " in the error description.
    Extra info: I use SoapSonar as a test webservice client. The error is the message as received in te test client.
    <?xml version="1.0"?>
    <!-- see the documentation -->
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP:Body>
        <SOAP:Fault>
          <faultcode>SOAP:Server</faultcode>
          <faultstring>Server Error</faultstring>
          <detail>
            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
              <context>XIAdapter</context>
              <code>ModuleUnknownException</code>
              <text><![CDATA[
    com.sap.aii.af.mp.module.ModuleException: either no channelID specified or no channel found for the specified party, service, and channel name, MessageServlet(Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#9 $)
         at com.sap.aii.af.mp.soap.web.MessageServlet.doPost(MessageServlet.java:427)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
              ]]></text>
            </s:SystemError>
          </detail>
        </SOAP:Fault>
      </SOAP:Body>
    </SOAP:Envelope>

    Hi Chandravadhana,
    The colon should be there :
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    The inbound address for SOAP messages is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel
    Regards
    Suraj

Maybe you are looking for

  • The XPRA for converting the event linkage (RSWFEVTXPRA)

    Hi We have just completed a couple of upgrades from 46C to ERP2005 ECC6 and we have discovered a problem with the workflow in that some of the event linkages are lost during the upgarde. We have found the following SAP notes 1082490, 1019080 and have

  • MSA-Activity: Invalid Funtion of person responsible

    Hello, We are on CRM 4.0 and MSA 4.0/SP06 release. Problem Desc: 1) Created new activity in MSA (Activity-->Details tileset) and saved. 2) Person responsible tile will be defaulted to logged in employee with function as "Sales rep" 3) Now added one m

  • Process chains in NW2004s

    Hi, Can any one please send me some docs/links regarding the upgradations of process chains in NW2004s. Thank You. Vaishu

  • I sent a very long message on iMessage and now my message app won't open.

    It was really really long, I just kept pressing an emoji and copying and pasting. Whenever I open messages, it doesn't load. It's white and then closes by itself. I've tried to kill the app and restart my phone, it's been over an hour and I still can

  • Where does learn about FCPX internal processing?

    1) Does FCP X work with YUV like FCP or RGB like Media Composer? 2) If one imports 10- or 12-bit ProRes 422, are the data processed (FX) at : 8-bit or 10- or 12-bit or 16-bit or 32-bit (FP)? 3) Can one import RGB ProRes 4444 (really 4:4:4)? 4) If so,