Professional Documents
Culture Documents
2
After applying the SAP NOTE you have to update the Process Integration (PI) Enterprise Services
Repository (ESR) and Map the new fields added to BAPI structures.
RFC IMPORT
Import the following RFCs in Process Integration (PI) Enterprise Services Repository (ESR):
• BAPI_AR_WS_2485
• BAPI_AR_WS_DOMESTIC
For more information about how to import RFC in Process integration ERS, Pplease follow the instructions
available in the SAP Note 1535964 - How to import an IDoc/RFC into the PI ESR.
Request
/ns1:autorizarAjusteIVARequest/comprobanteCAERequest/periodoComprobantesAsociados=if
WithoutElse(and(not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHDESDE)),
not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHHASTA))),
const(value=), keepss=false)
/ns1:autorizarAjusteIVARequest/comprobanteCAERequest/periodoComprobantesAsociados/fecha
Desde=TransformDate(ifWithoutElse(not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHDESDE)),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHDESDE,
keepss=false), iform=yyyyMMdd, oform=yyyy-MM-dd,
3
calend=CalendarProperties{firstWeekDay=1, minDaysInFirstWeek=1, lenient=true})
/ns1:autorizarAjusteIVARequest/comprobanteCAERequest/periodoComprobantesAsociados/fecha
Hasta=TransformDate(ifWithoutElse(not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHHASTA)),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHHASTA,
keepss=false), iform=yyyyMMdd, oform=yyyy-MM-dd,
calend=CalendarProperties{firstWeekDay=1, minDaysInFirstWeek=1, lenient=true})
4
Response
N/A
Autorizar Comprobante
Request
/ns1:autorizarComprobanteRequest/comprobanteCAERequest/periodoComprobantesAsociados=i
fWithoutElse(and(not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHDESDE)),
not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHHASTA))),
const(value=), keepss=false)
5
/ns1:autorizarComprobanteRequest/comprobanteCAERequest/periodoComprobantesAsociados/fec
haDesde=TransformDate(ifWithoutElse(not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHDESDE)),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHDESDE,
keepss=false), iform=yyyyMMdd, oform=yyyy-MM-dd,
calend=CalendarProperties{firstWeekDay=1, minDaysInFirstWeek=1, lenient=true})
6
/ns1:autorizarComprobanteRequest/comprobanteCAERequest/periodoComprobantesAsociados/fec
haHasta=TransformDate(ifWithoutElse(not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHHASTA)),
/ns0:BAPI_AR_WS_DOMESTIC/T_J_1A_WS_DOMESTIC/item/PER_ASOC_FCHHASTA,
keepss=false), iform=yyyyMMdd, oform=yyyy-MM-dd,
calend=CalendarProperties{firstWeekDay=1, minDaysInFirstWeek=1, lenient=true})
Response
N/A
7
Autorizar Ajuste IVA XML Archive
Request
/ns0:autorizarAjusteIVARequest/comprobanteCAERequest/periodoComprobantesAsociados=/ns
0:autorizarAjusteIVARequest/comprobanteCAERequest/periodoComprobantesAsociados
/ns0:autorizarAjusteIVARequest/comprobanteCAERequest/periodoComprobantesAsociados/fecha
Desde=/ns0:autorizarAjusteIVARequest/comprobanteCAERequest/periodoComprobantesAsociado
s/fechaDesde
/ns0:autorizarAjusteIVARequest/comprobanteCAERequest/periodoComprobantesAsociados/fecha
Hasta=/ns0:autorizarAjusteIVARequest/comprobanteCAERequest/periodoComprobantesAsociado
s/fechaHasta
8
Response
N/A
Request
/ns0:autorizarComprobanteRequest/comprobanteCAERequest/periodoComprobantesAsociados=/
ns0:autorizarComprobanteRequest/comprobanteCAERequest/periodoComprobantesAsociados
/ns0:autorizarComprobanteRequest/comprobanteCAERequest/periodoComprobantesAsociados/fec
haDesde=/ns0:autorizarComprobanteRequest/comprobanteCAERequest/periodoComprobantesAso
9
ciados/fechaDesde
/ns0:autorizarComprobanteRequest/comprobanteCAERequest/periodoComprobantesAsociados/fec
haHasta=/ns0:autorizarComprobanteRequest/comprobanteCAERequest/periodoComprobantesAso
ciados/fechaHasta
Response
N/A
10
MAPPING UPDATE - WSFE
FECAE Solicitar
Request
/ns1:FECAESolicitar/ns1:FeCAEReq/ns1:FeDetReq/ns1:FECAEDetRequest/ns1:PeriodoAsoc=if
WithoutElse(and(not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_2485/W_REQ/CAEDET/item/PER_ASOC_FCHDESDE)),
not(stringEquals(const(value=),
/ns0:BAPI_AR_WS_2485/W_REQ/CAEDET/item/PER_ASOC_FCHHASTA))), const(value=),
keepss=false)
Response
N/A
11
FECAE Solicitar XML Archive
Request
/ns0:FECAESolicitar/ns0:FeCAEReq/ns0:FeDetReq/ns0:FECAEDetRequest/ns0:PeriodoAsoc=/ns
0:FECAESolicitar/ns0:FeCAEReq/ns0:FeDetReq/ns0:FECAEDetRequest/ns0:PeriodoAsoc
/ns0:FECAESolicitar/ns0:FeCAEReq/ns0:FeDetReq/ns0:FECAEDetRequest/ns0:PeriodoAsoc/ns0:
FchDesde=/ns0:FECAESolicitar/ns0:FeCAEReq/ns0:FeDetReq/ns0:FECAEDetRequest/ns0:Period
oAsoc/ns0:FchDesde
12
/ns0:FECAESolicitar/ns0:FeCAEReq/ns0:FeDetReq/ns0:FECAEDetRequest/ns0:PeriodoAsoc/ns0:
FchHasta=/ns0:FECAESolicitar/ns0:FeCAEReq/ns0:FeDetReq/ns0:FECAEDetRequest/ns0:Period
oAsoc/ns0:FchHasta
Response
N/A
13
www.sap.com/contactsap
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary softwar e components of other software vendors.
National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable
for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality
mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliate d companies’ strategy and possible future developments, products, and/or platform directions and functionality are
all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation
to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from e xpectations. Readers are
cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the trademarks of their respective companies. See www.sap.com/copyright for additional trademark information and notices.