SAP ARIBA Integration Configuration - RDS
SAP ARIBA Integration Configuration - RDS
SAP ARIBA Integration Configuration - RDS
Framework Setting
1)
2)
3)
4)
A)
For more information about the SOA Manager, see SAP Help Portal at
http://help.sap.com/netweaver -> SAP NetWeaver Process Integration -> SAP NetWeaver
Process Integration 7.1 Including Enhancement Package 1 -> Application Help -> SAP Library
-> SAP NetWeaver Process Integration Library -> Developer's Guide -> Providing,
Discovering and Consuming Services -> Providing Web Services -> Providing Web Services in
ABAP Applications -> Working with the SOA Manager.
Requirements
You have configured the Web Services Runtime. For more information, see SAP Help Portal at
http://help.sap.com/netweaver -> SAP NetWeaver Process Integration -> SAP NetWeaver
Process Integration 7.1 Including Enhancement Package 1 -> Application Help -> SAP Library
-> SAP NetWeaver Process Integration Library -> Configuration -> Configuration of SAP
NetWeaver Systems -> Process Integration (PI) -> Wizard-Based Configuration -> Configuring
the Web Services Runtime.
B)
Maintain Certificate
Use
In this Customizing activity, you use the trust manager (transaction STRUST) to specify the
authentication certificate that enables your company to access Ariba Network using a Secure
Sockets Layer (SSL) protocol.
For more information about the trust manager, start transaction STRUST and choose Help ->
Application Help.
Requirements
You have received your authentication certificate from Ariba.
Activities
1. In the navigation structure, click SSL client SSL Client (Anonymous).
2. Under Certificate, click the icon Import Certificate to upload the certificate file (format
*.cer) that you have received from Ariba.
3. Click Add to Certificate List. The certificate appears in the Certificate List.
4. Save your data.
C)
D)
E)
5)
6)
You can use these activities to map the ISO codes used in your SAP Business Suite system to the
unit of measure codes used in cXML messages, and the other way round. This is relevant if the
codes used in cXML do not match the ISO codes.
7)
Notes on Implementation
Use
All Business Add-Ins (BAdIs) grouped under this structure node belong to the
enhancement spot ARBFND_INTEGRATION.
1)
2)
3)
3. You map the document type in SAP ERP to a document type on Ariba Network.
For more information, see Map Application and Output Type to cXML Message.
4. If you use scheduling agreement releases, you have to assign one of the following release
types to the output types that you use:
Forecast delivery schedule
JIT delivery schedule
4)
5)
2. Select a combination of the SAP ERP business object type and object node (header or
item). The columns for the corresponding cXML message type and element ID are then
automatically filled.
3. Select a combination of SAP ERP text object and text ID that you want to map to cXML.
4. If you want to map the text to a specific comment type on Ariba Network, enter the
corresponding comment type ID. If you do not enter a comment type ID, the text is
nevertheless included in the cXML message.
Example
Text Mapping for Inbound Messages
A shipping notification received from Ariba Network contains the comment type "Transport".
You can map this comment type to the text "ERP Transport Information" that you may have
defined for business objects of the object type "Inbound Delivery".
6)
7)
8)
A)
3. Activate quick enablement. By doing this, you create an Ariba Network account on behalf
of the supplier. The system transfers the supplier's company information from the SAP ERP
system to Ariba Network as part of the cXML message. On the basis of this information, the
account is created.
B)
C)
2. For the Vendor that you want to enable to receive an additional message type, specify the
vendor ID from SAP ERP.
3. Specify the cXML Message Type you want to enable.
4. Enter the Company Code for which you want to enable the additional message type for the
vendor specified under 2.
Note:
While you must specify a vendor, you can leave the Company Code column empty. In this case,
the message type is enabled for all company codes.
D)
ARBERP_BUS2017_EXTRACT_RCPT
For messages about status updates in SAP ERP of invoices created on Ariba Network,
schedule the following report:
ARBERP_BUS2081_EXTRACT_STS_UPD (with invoice origin Received from
Ariba Network)
For messages transferring MM CC invoices, schedule the following reports:
ARBERP_BUS2081_EXTRACT_CCINVC
ARBERP_BUS2081_EXTRACT_STS_UPD (with invoice origin Created by Buyer
in SAP ERP System)
For messages transferring FI CC invoices, schedule the following reports:
ARBERP_BKPF_EXTRACT_CCINVC
ARBERP_BKPF_EXTRACT_STS_UPD
For messages transferring accounting documents (relevant for discount management on
Ariba Network), schedule the following report:
ARBERP_BKPF_EXTRACT_PAYP
For messages transferring payment run information (relevant for payment remittances on
Ariba Network), schedule the following report:
ARBERP_FIOPAYAVIS_EXTRACT_PAYR
For more information about the processes themselves and about the cXML messages, see the
release note.
Activities
The following steps are required for all above mentioned reports:
1. Save a variant containing the selection parameters that you require.
2. Schedule this variant as a job.
E)
F)
The invoice document is created as containing unclarified errors. It is saved with the
values proposed by the system and the values contained in the cXML invoice. You
have to manually process the parked invoice document later.
7. Define whether the material numbers and units of measure in the cXML invoice are
compared to those in the purchase order items. Note that the invoice cannot be posted if there
are variances.
8. Define whether the system additionally checks the invoice document for negative
variances, in other words, checks for variances in favor of the invoice recipient.
G)
H)
When defining the external confirmation category for manufacturing execution visibility, ensure
that the category you use is different from the confirmation category assigned to the internal
confirmation category Order Acknowledgement.
A)
B)
a)
b)
In this Customizing activity, you can map Ariba order types to SAP ERP Sales and Distribution
(SD) order types for a customer.
When an error occurs during the creation of a sales order from the cXML, it applies a block
which is specified in the "Applicable Delivery Block" column.
Requirements
You have maintained customers in SD master data as well as SAP order types and delivery
blocks in the SD configuration in your SAP ERP system.
Example
Cust Cust. PO Type Ariba Sales Doc. Sales Doc.Ty. App. Del. Del. Block
. Name Network Ty. Descr. Block Desc.
1 Cust1 Regular TA 1
c)
C)
D)
E)
a)
b)
Bill-to Party Customer Name Country Tax Code Tax Category in cXML
6 Cust 1 DE V1 VAT
Bill-to Party Customer Name Country Tax Code Tax Category in cXML
Cust 1 DE V1 VAT
10)
You can implement additional filter criteria to decide whether a message should be sent to Ariba
Network. The filters influence the selection of documents sent by report
ARBERP_BKPF_EXTRACT_PAYP in the mode Accounting Documents Posted Since Last
Report Run.
Method SELECT_BKPF_PAYP_OUT:
You can implement additional filter criteria to decide whether a message should be sent to Ariba
Network. The filters influence the selection of documents sent by report
ARBERP_BKPF_EXTRACT_PAYP in the reconciliation modes.
Method MAP_BKPF_TO_PAYP_USE_NET_DAYS:
You can specify that payment should be effected on or after the due date without considering
discount from payment terms.
Method MAP_BKPF_TO_PAYP_OUT:
You can enrich or (partially) overwrite the cXML message after the standard mapping has been
performed.
Send Payment Document from Payment Run to Ariba Network with cXML PaymentRemittanceRequest
Message
Method INSERT_PAYR_TRIGGER_RFFO:
You can implement additional filter criteria to decide whether a message should be sent to Ariba
Network. The filters influence the selection of documents sent by report
ARBERP_FIOPAYAVIS_EXTRACT_PAYR in the mode Payment Documents Posted Since
Last Report Run.
Method SELECT_FIOPAYAVIS_TO_PAYR_OUT:
You can implement additional filter criteria to decide whether a message should be sent to Ariba
Network. The filters influence the selection of documents sent by report
ARBERP_FIOPAYAVIS_EXTRACT_PAYR in the reconciliation modes.
Method MAP_FIOPAYAVIS_TO_PAYR_OUT:
You can enrich or (partially) overwrite the cXML message after the standard mapping has been
performed.
Send Reset and Reversed Payment Document to Ariba Network with cXML
PaymentRemittanceStatusUpdateRequest Message
Method INSERT_PAYS_TRIGGER_5010:
You can implement additional filter criteria to decide whether a message should be sent to Ariba
Network. The filters influence the selection of documents sent by report
ARBERP_FIOPAYAVIS_EXTRACT_PAYR in the mode Payment Documents Posted Since
Last Report Run.
Method SELECT_BKPF_TO_PAYS_OUT:
You can implement additional filter criteria to decide whether a message should be sent to Ariba
Network. The filters influence the selection of documents sent by report
ARBERP_FIOPAYAVIS_EXTRACT_PAYR in the reconciliation modes.
Method MAP_BKPF_TO_PAYS_OUT:
You can enrich or (partially) overwrite the cXML message after the standard mapping has been
performed.
Standard settings
For more information about the standard settings (filters, single or multiple uses), see the
Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).
Example
You can find an example implementation in the BAdI Builder on the Enhancement Spot Element
Definitions tab in the Implementation Example Classes section.
CL_EX_ARBERP_BADI_OUTBOUND_MAP
This is an example implementation for outbound purchase orders. It enriches the resulting
Ariba cXML message with information about purchasing groups and purchasing group texts
on header level, and with information about product types, product type texts, and customer
part numbers on item level.
See also
For information about implementing BAdIs as part of the enhancement framework, see SAP
Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform.
Choose a release and then Application Help --> Function-Oriented View --> Application Server -
-> Application Server ABAP --> Application Development on AS ABAP --> ABAP Customer
Development --> Enhancement Framework.
3. Ariba cXML messages contain field types that are not considered in the standard mapping,
for example, if cXML messages have been enhanced with extrinsic elements. In this case,
you can use the BAdI to include additional fields into the mapping.
4. You want to map one or more cXML elements to ABAP fields different from those
assigned in the standard mapping. In this case, you can modify the standard mapping.
5. You want to perform additional functions, for example, an own attachment handling, after
the application interface processing. At this point in time, the business object is created, but
not yet persisted.
Note:
You must not trigger "Commit Work" within this BAdI.
6. For invoices, you want to change the standard company code determination, or the
standard tax code determination, or you want to define how multiple tax codes on header
level are to be assigned to the items.
For use cases 1 and 2, the method DEFINE_CUST_SPEC_PROCESSING is available. It is
called for all incoming cXML messages.
You can analyze the incoming messages. You can implement a logic that decides, based on the
results of the analysis, whether a message should undergo the standard mapping and processing
logic or not. Set the parameter cv_proceed_with_appl_proc for messages that should undergo the
standard mapping and processing logic.
If you want to define your own mapping, but you want to apply the standard processing logic to
call the application interface, you can use the parameter cv_skip_stmap_and_call_appl_if.
For use cases 3 and 4, the BAdI includes one method per document type. These methods are
called before the application interface is called (pre-methods), but after the standard mapping has
been performed:
MAP_SHIP_TO_BUS2015_IN_PRE
MAP_CONF_TO_BUS2012_IN_PRE
MAP_INVC_TO_BUS2081_IN_PRE
MAP_PAYP_TO_BKPF_IN_PRE
MAP_PAYR_TO_AVIK_IN_PRE
For use case 5, the BAdI contains one post-method per document type. Post methods are called
after the business object has been created. The following post-methods are available:
MAP_SHIP_TO_BUS2015_IN_POST
MAP_CONF_TO_BUS2012_IN_POST
MAP_INVC_TO_BUS2081_IN_POST
MAP_PAYP_TO_BKPF_IN_POST
MAP_PAYR_TO_AVIK_IN_POST
Three methods are available for the use cases described under 6. They are called during the
standard mapping and can be used specifically for invoices:
INVC_COMPANYCODE_DETERMINATION
INVC_TAXCODE_DETERMINATION
INVC_ITM_TAXCODE_DETERMINATION
You can use this method for inbound invoice messages where more than one tax code is
assigned on header level. The method is called for each item that is mapped to the SAP ERP
interface structures and determines the correct tax code to be used for the item. You can use
this method only if no tax jurisdiction is active.
INVC_INV_PARTY_DETERMINATION
You can use this method for inbound invoice messages to define a deviating invoicing party.
Standard settings
For more information about the standard settings (filters, single or multiple uses), see the
Enhancement Spot Element Definitions tab in the BAdI Builder (transaction SE18).
See also
For information about implementing BAdIs as part of the enhancement framework, see SAP
Library for SAP NetWeaver Platform on SAP Help Portal at http://help.sap.com/nw_platform.
Choose a release and then Application Help --> Function-Oriented View --> Application Server
--> Application Server ABAP --> Application Development on AS ABAP --> ABAP Customer
Development --> Enhancement Framework.