SAP Cloud NF-e

February 26, 2019 | Author: koos_engelbrecht | Category: Representational State Transfer, Sap Se, Proxy Server, Soap, Json
Share Embed Donate


Short Description

SAP Brazil Electronic Invoicing...

Description

SAP SA P DCS NF-e NF-e a Cloud solut solution ion

CUSTOMER

Legal Disc Disc laimer 

The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission of SAP. This presentation is not subject to your license agreement or any othe ther service or subscription agree greem ment ent with ith SAP SAP. SAP has has no oblig bligat atio ion n to pursu ursue e any any cours ourse e of bus busine iness outl utlined ined in this this doc documen umentt or any any rel relate ated pres presen enta tati tion on,, or to deve develo lop p or rele releas ase e any any func functi tion onal alit ity y ment mentio ione ned d ther therei ein. n. This This docu docume ment nt,, or any any rela relate ted d pres presen enta tati tion on and SAP's AP's strat trate egy and and poss ssib ible le futu future re dev develo elopmen pments ts,, prod roducts ucts and and or platf latfo orm rmss dire direcctio tions and func functi tion onal aliity are all subject to change and may be changed by SAP at any time for any reason without notice. The information in this docu docume ment nt is not not a comm commit itme ment nt,, prom promis ise e or lega legall obli obliga gati tion on to deli delive verr any any mate materi rial al,, code code or func functi tion onal alit ityy. This This docu docume ment nt is prov provid ided ed with withou outt a warr warran anty ty of any any kind kind,, eith either er expr expres ess s or impl implie ied, d, incl includ udin ing g but but not not lim limited ited to, to, the the impl implie ied d warr warran anti ties es of  merc mercha hant ntab abililit ity y, fitn fitnes ess s for for a part partic icul ular ar purp purpos ose, e, or nonnon-in infr frin inge geme ment nt.. This This docu docume ment nt is for for info inform rmat atio iona nall purp purpos oses es and and may may not not be inco incorp rpor orat ated ed into into a cont contra ract ct.. SAP SAP assu assume mes s no resp respon onsi sibi bilility ty for for erro errors rs or omis omissi sion onss in this this docu docume ment nt,, exce except pt if such such dama damage ges s were were caus caused ed by SAP´ SAP´s s will willfu full misc miscon ondu duct ct or gros grosss negl neglig igen ence ce..  All forward-looking forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ  mate materi rial ally ly from from expe expect ctat atio ions ns.. Read Reader ers s are are caut cautio ione ned d not not to plac place e undu undue e reli relian ance ce on thes these e forw forwar ardd-lo look okin ing g stat statem emen ents ts,, whic which h spea speak k only only as of thei theirr date dates, s, and and they they shou should ld not not be reli relied ed upon upon in maki making ng purc purcha hasi sing ng deci decisi sion ons. s.

The solution

Cloud Clou d NF-e NF-e



Messaging system for NF-e and NFS-e (RJ) on cloud



Solution based on the concept SAP Localization Hub ( SLH ), unique central point for localization services services consumption



Solution is SaaS: ✓ Software as a Service ✓



Operation and maintenance is SAP’s responsibility

Solution runs on SAP Cloud Platform ( SCP) Legacy

Benefits Resour Resour ces Optimization • • •

Support packages updates / SAP Notes Focus on business scenario Support 24x7

Micro services architecture • • •

Shorter innovation cycles Support specific business needs Independent lifecycle

Commercial model •

Subscription

Infrastructure • • • •

Hardware costs Hardware maintenance costs Physical space Scalability

Process Flow

NF Data

NF-e NFS-e

REST JSON format

nfe-authorize nfse-authorize nfe-events

REST JSON format

SOAP

nfeadmin

ERP | S/4HANA

SOAP

nfestatusservice

SLH Cloud NF-e

Government Web Services

Process Flow

NF Data

NF-e NFS-e

ERP | S/4HANA

NF Data REST JSON format

REST JSON format REST JSON format

NF-e NFS-e

NF-e creation with business data such as values, taxes, issuer master data, etc. It can be generated via SD process or via writer. It is highly recommended to use BAdI J_1BNF_ADD_DATA

The communication between ERP and Cloud NF-e is done via HTTP Client through REST communication, communication, using JSON file which is similar to XML file

 After document document approval approval by government, the authorization protocol is returned via REST communication, also using JSON format and updated in ERP. The NFe/NFS-e is now considered a valid legal document.

Process Flow

nfe-authorize nfse-authorize nfe-events

nfeadmin

Digital signature from XML file through digital certificate stored in the service nfe-admin

SOAP

XML file creation containing all business data required by government layout SOAP

nfeadmin

nfestatusservice

 Automatic batch batch formation formation with flexible configuration. configuration. The batch usage is a government demand.

SOAP

SLH Cloud NF-e

Communication Communication between Cloud NF-e and Government WS is done via SOAP

Interface Paradigm Change •

There is no monitor in Cloud NF-e



In SaaS concept, the operation to check the authorization process is SAP’s

responsibility •

The unique monitor to be used is the J1BNFE from ERP, ERP, precursor transaction



Currently there is a Fiori version from monitor J1BNFE which is available since version S/4HANA OP 1610 as “Monitor NF -e’:

Monito Moni torr NF-e (J1BNFE) (J1BNFE)



Fiori standard



Reinvented using Design Thinking process



Interviews and feedbacks from customers



Usability

Monito Moni torr NF-e (J1BNFE) (J1BNFE)

Cloud Clou d NF-e NF-e  – Release 1.0 1.0 Nov Nov ember/17 ember /17

NF-e Outbound •  Authorization • Cancellation • CC-e • Skipping • XML Download • Document Status Query • Service Status Query • SVC • B2B • XML Storage

NFSNFS-e e Outboun d Rio de Janeiro •  Authorization • Cancellation • Substitution • XML Download • Document Status Query • Service Status Query • XML Storage

Subject to change

Roadmap Cloud NF-e Inbound  Aut om ati on

S/4HANA Cloud 1805 NF-e

Maio

Q2/2018

Fase 2

Q3/2018

Q4/2018

Q1/2019

Fase 1

Cloud NF-e Inbound  Aut om ati on

Q2/2019

Q3/2019

Q4/2019

Fase 3

Cloud NF-e Inbound  Aut om ati on

Future Complete Scop Scop e

NF-e Outboun Outboun d • Authorization • Cancellation • CC-e • Skipping • XML Download • Document status query • Service status query • Cloud DANFE

NFS-e RJ RJ Outboun d • Authorization • Cancellation • Substitution • XML Download • Cloud NFS-e PDF • Document status query • Service status query • Batch configuration

CT-e • Skipping • Cancellation • CC-e • Skipping • XML Download • Document status query • Service status query • Cloud DACTE

• SVC and EPEC

• SVC e EPEC

• B2B

• B2B

• XML Storage

• XML Storage

• Batch configuration

• Batch configuration

• Data Validation

MDF-e • Authorization • Cancellation • XML Download • Document status query • Service status query • Cloud DAMDFE

Inbound Automation NF-e • Normal Purchasing • Subcontracting • Consignment • STO • Returnable Package • Future Delivery

• XML Storage • Batch configuration

CT-e • Purchasing of outbound freight • Purchasing of inbound freight NFS-e • DIEN • Service Entry Sheet Manifestação Manife stação do Destinatário

Implementation

Pre-requisites Pre-requisites S/4HANA (NF-e and NFS-e*) •

SAP BASIS 7.52

Pre-requisit es ERP (only (only NF-e) NF-e) • • •

Version Version ECC 6.05 6.05 SAP BASIS 700 Kernel Release 720

Bot h versio ns S/4HANA S/4HANA and and ERP: SAP Notes: 2384243,, 2439769 • TLS: 2384243 1648418,, 1841815 1841815,, 1850410 • JSON: 1648418 • HTTP connection: 2020611 Object/classes Object/classes must exist: • CL_FDT_JSON • CL_HTTP_CLIENT • CL_SXML_STRING_WRITER • CL_ABAP_CONV_IN_CE *NFS-e available only in S/4HANA 1709 FPS1

Project Project Timing

Implementation ERP Pre-requisites • • •

4 to 8 weeks depending on ERP version BASIS Consultant  ABAP Consultant

Testing • •

4 weeks NFE/SD Consultant

Configuration

Cloud Clou d NF-e NF-e  – Steps Steps to t o Install

Buy subscription license Cloud NF-e Export TLS Communicat Communication ion Certificate Import Customer Digital Certificate Install Cloud NF-e SAP Note specific in S/4HANA or ERP Configure OAuth2 (S/4HANA) or SM59 (ERP) Configure destination in view J_1BNFE_CUST4_ J_1BNFE_CUST4_1V 1V Configure NF-e quantity per batch Configure B2B

Buy Subscripti on Li cense Cloud Cloud NF-e NF-e 1. When accessing the Material Code in CRM, an SCP global account SCP is created. 2. Access Global Account created via SAP Cloud Cockpit 3. In the example below Global Account created called B2GLATAM 4. Create Subaccount

5. Access the Subaccount created

Buy Subscripti on Li cense Cloud Cloud NF-e NF-e 6. Enable o Cloud Foundry

7. Access the Global Account 8. Access Entitlements

Buy Subscripti on Li cense Cloud Cloud NF-e NF-e 9. Edit the Entitlements 10. Add an unity in NFE

10. Access the Subaccount created 11. Access Spaces 12. Add new Space

Buy Subscripti on Li cense Cloud Cloud NF-e NF-e 12. Access Space created

Buy Subscripti on Li cense Cloud Cloud NF-e NF-e 13. Access Service Markeplace 14. Access the NF-e tile

Buy Subscripti on Li cense Cloud Cloud NF-e NF-e

14. Access Instances

15. Create a new Instance

Buy Subscripti on Li cense Cloud Cloud NF-e NF-e 16. Access Service Keys

17. Create new Service Key

Export TLS Communication Certif Certif icate

Importar certificado Use the the link link in blue blue from from slide slide 26

Import TLS Communi Communi cation Certificate

Import Custom er Digital Certifi Certifi cate

Install Inst all Clou d NF-e NF-e SAP SAP Not Note e specifi speci fic c in S/4HANA S/4HANA or ERP SAP Notes ERP • https://launchpad.support.sap.com/#/notes/2608929 • https://launchpad.support.sap.com/#/notes/2609069 SAP Notes S/4HANA • https://launchpad.support.sap.com/#/notes/2614206 • https://launchpad.support.sap.com/#/notes/2614205 Correction SAP Notes • ECC: • https://launchpad.support.sap.com/#/notes/2625241 • https://launchpad.support.sap.com/#/notes/2625282 • S/4HANA • https://launchpad.support.sap.com/#/notes/2623822 • https://launchpad.support.sap.com/#/notes/2625240

Transaction OA2C_config (S/4HANA) •

Create profile profile with clientID and clientSecret clientSecret received in the subscription:

Transaction SM59 (ERP) Netwo Netwo rk / Authentic ation •

Netweaver Netweaver with CommonC CommonCrypt ryptoLib oLib version version 8.4.31 8.4.31



Check program RSBDCOS0 the output command: “sapgenpse tlsi tlsinf nfo o -c 150:PFS:HIGH::EC_P256:EC_HIGH” which must

contain: TLSv1.2 / ECDHE-RSA-AES128-GCM ECDHE-RSA-AES128-GCM-SHA256 -SHA256 •

In the transaction RZ10, profile Public: set the parameters according to SAP Note 510007

Transaction SM59 (ERP)  After finalizing the network network configuration, confirm the connection connection with the steps below: • • • • • • • • • • • • • • • • • • •

New RFC Connection for NF-e cloud. Execute transaction SM59; Choose “Create” pushbutton; Enter “NFEACCESSTOKEN” in RFC Destination; Enter “NF-e cloud connection” in Description 1; Select Connection Type Type “G” HTTP Connection to External Serv and press press enter; enter; Select “Technical Settings” tab;

Enter the URL in Target Host: https://nfeconnectiontest.authentication.us10.hana.ondemand.com Enter “/oauth/token?grant_type=client_credentials ” in Path Prefix; If you are under a Proxy, Proxy, enter HTTP Proxy Options; Select “Logon & Security” tab; Select “Basic Authentication” radio button in Logon with User option;

Enter the User: sb-nct-app!b337|nfe-app!b36 sb-nct-app!b337|nfe-app!b36 Enter the Password: aEbdtDqe2DaPlVouluwwnyf4eN0= aEbdtDqe2DaPlVouluwwnyf4eN0= Select “Do Not Send Logon Ticket” radio button in SSL option; Select “Active” radio button in SSL option. Enter “DEFAULT SSL Client (Standard)” in SSL Certificate.

Save the changes. Test connection.

Configure Destinations View J_1BNFE_C J_1BNFE_CUST4_ UST4_1V 1V • View

Configure Destinations • View J_1BNFE_CUST4_1V

• • • • •

Model: 55 for NF-e and 00 for NFS-e NF Type: optional NF-e Service Type: HOST NF-e Service Link: subscription link OAuth2 Profile: mandatory in case of S/4HANA

Use the link in red from slide 26

Config ure Number of NF-e NF-e per Batch

Configure B2B  An email with the NF-e XML will be sent to the email informed in customer customer master data. The email must have the content “MAILNFE” in column Notes. Cloud NFE will send automatically for this mail

address

-

Jobs Jobs to be scheduled: scheduled: •

J_BNFECALLRFC



J_1BNFE_CF_EVENT_STATUS_UPDATE



J_1BNFE_CF_GAP_STATUS_UPDATE



J_1BNFE_CF_STATUS_UPDATE

SLA  – Service rvi ce Leve Levell Agre Agr eement ment

Cloud Clou d NF-e NF-e  – SLA SL A •

The system SLA is 99,5% considering the downtime windows:

Cloud Clou d NF-e NF-e  – SLA SL A Maintenance Maintenance Window s for SAP Cloud Services

SAP can use the following maintenance windows for Scheduled Downtimes as listed below. Time zones referto the location of the data center where the SAP Cloud Service is hosted. SAP will provide Customer reasonable notice without without undue delay of any major upgrades upgrades or emergency maintenance maintenance to the SAP Cloud Services

https://www.sap.com/docs/download/agreements/product-use-and-support-terms https://www.sap.com/docs/ download/agreements/product-use-and-support-terms/cls/en/servic /cls/en/service-levele-levelagreement-for-sap-cloud-services-english-v1-2018a.pdf 

Import mpo rta ant Links Li nks

Important Links https://help.sap.com/viewer/p/SLH_NFe https://blogs.sap.com/2017/10/03/whats-new-cloud-nf-e/ htt ps://blogs.sap.com/2017/10/03/whats-new-cloud-nf-e/ https://blogs.sap.com/2017/10/16/c https://blogs.s ap.com/2017/10/16/cloud-nf-e-servicos-dispo loud-nf-e-servicos-disponiveis-parte-i/ niveis-parte-i/ https://blogs.sap.com/2017/10/26/c https://blogs.s ap.com/2017/10/26/cloud-nf-e-servicos-dispo loud-nf-e-servicos-disponiveis-parte-ii/ niveis-parte-ii/ SAP Cloud NF-e in 15’ https://youtu.be/jvyUk8j5vSs SAP Cloud NF-e Configuration in 16’ https://youtu.be/SJWFJQt1KR8

Tha hank nk yo you. u. Contact information: Cláudia Cláudia Wada

NF-e Product Product Manager  Manager  [email protected] Ulisses Anderle

Developmen Developmentt Manager  Manager  [email protected]

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF