Cash Flow Webservice PDF
Cash Flow Webservice PDF
CashFlowRequestContent
Parameters
You can find the request information of cash flows.
Parameter Description Cardinality Necessity
CompanyCode Company Code 1 Mandatory
AmountInTransactionCurrency Amount In Transaction Currency 1 Mandatory
It also contains currency
code as a sub node, which is
also mandatory.
AmountInCompanyCodeCurrency Amount In Company Code 0..1 Optional
Currency It also contains currency
code as a sub node.
TransactionDate Transaction Date 1 Mandatory
BankCountry Bank Country 0..1 Optional
BankKey Bank Key 0..1 Optional
BankAccount Bank Account 0..1 Optional
IBAN International Bank Account 0..1 Optional
Number
GLAccount G/L Account Number 0..1 Optional
OriginSystem Origin System 1 Mandatory
OriginDocument Business Document in Origin 0..1 Optional
System
OriginTransaction Transaction in Origin System 0..1 Optional
OriginCashFlow Cash Flow in Origin System 0..1 Optional
OriginTransactionQualifier Transaction Qualifier in Origin 0..1 Optional
System
CertaintyLevel Certainty Level 1 Mandatory
Customer Customer 0..1 Optional
Supplier Supplier 0..1 Optional
BusinessPartner Business Partner 0..1 Optional
Material Material 0..1 Optional
BusinessArea Business Area 0..1 Optional
ProfitCenter Profit Center 0..1 Optional
WBSElementInternalID WBS Element 0..1 Optional
CostCenter Cost Center 0..1 Optional
PartnerCompany Partner Company 0..1 Optional
LiquidityItem Liquidity Item 0..1 Optional
Segment Segment 0..1 Optional
PlanningLevel Planning Level 0..1 Optional
CashPlanningGroup Planning Group 0..1 Optional
SourceCompanyCode Company Code of the source 0..1 Optional
document in scenarios such as
payment-on-behalf
GenericKey Key field for serialization in SAP 0..1 Optional
Application Interface Framework
Note
To display more information about the service node, select the operation. This works best in Mozilla Firefox
or Google Chrome.
Concept
The logical port is based on the WSDL document generated for a binding. The WSDL document
describes how to access the binding, and includes the URLs for all the bindings defined for a
service.
Prerequisites
You can create a logical port based on a WSDL document or manually.
To use the WSDL based configuration the binding WSDL has to be used, not the design time WSDL.
The binding WSDL can only be generated after a binding was created for the provider in
transaction SOAMANAGER.
Depending on the way you choose to create a logical port, you need the following information:
Procedure
From the main screen of SOA Manager, go to the Service Administration tab.
Select Web Service Configuration.
In the Search by menu, choose Consumer Proxy.
In the Search Pattern field, specify a consumer proxy or a search string.
Here, we will use CO_SRT_TEST_PROVIDER.
Select the row with the consumer proxy and choose Apply Selection.
Design-time information about the consumer proxy is displayed.
Go to the Configurations tab.
An overview of logical ports is displayed if any have been created.
For URL for WSDL Access, you need the URL for the binding generated for the Web service provider.
11. Choose Apply Settings.
A dialog box displays overview of bindings that could be used for this logical port.
12. Select the appropriate binding for your logical port.
13. Choose Apply Settings.
The logical port is now created in memory.
14. If an authentication method is used, go to the Consumer Security tab and specify a user and a
password.
The user must have runtime access and application authorization.
15. Save.
The new logical port with the default settings is created and displayed in the overview.
16. Optionally, you can check whether the logical port can access the binding by selecting the
consumer proxy and choose Ping Web Service.
Result
You now have created a logical port which can be used in your application to send a SOAP message
to the respective Web Service Provider.
Example Application Code Snippet
To invoke a Web Service you could use the following code snippet as an example:
data lr_consumer_proxy type ref to co_my_consumer_proxy.
" instantiate consumer proxy
CREATE OBJECT lr_consumer_proxy
EXPORTING
logical_port_name = 'MY_LOGICAL_PORT_NAME'.
" invoke WebService operation
lr_consumer_proxy->my_webservice_operation( ... ).
Quick Testing
It's also possible to test the Consumer Proxy without creating a program, using transaction SE80.
Follow these steps to trigger a test-call:
1. Go to transaction SE80 and display the Consumer Proxy object (Edit Object > Enhanced Options >
Enterprise Services > Client Proxy).
2. Click on the Test (F8) button.
3. On the selection screen specify the Logical Port and select the Method.
4. Click on Execute (F8).
5. With the XML Editor (Ctrl+F2) you can edit the input values of the request XML.
6. To trigger the call, click on Execute (F8).
ALE settings
Distribution model created in the requesting system
Receiving system can be any logical system but the partner profile shall be created with the correct port
and the message type
The distribution model shall be created with the cash management request Idoc CMREQU