Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3255

ABAP Proxy Client, No Message Created on PI

$
0
0


Hi,

I have a scenario ABAP Proxy from ECC6 (Ehp7) to SAP PI (Single stack 7.31 SP16) to File.

 

In ECC side I have configure as on Michal's PI tips:

Michal's PI tips: How do you activate ABAP Proxies with AEX  - simplified version

The SLDCHECK has been successfull, SPROXY displayed all ESR objects from PI.

 

On PI ESR I create:

- Data type for sender & receiver

- Message type for sender & receiver

- Service interface outbound asyn for MT sender

- Service interface inbound asyn for MT receiver

- Message mapping

- Operation mapping

 

On PI ID:

- Import ECC Business system from SLD

- Create Business component for File system

- Communication Channels for ECC system (Adapter type SOAP, HTTP, message protocol XI 3.0)

- Communication Channels for File system (FTP)

- Integrated Configuration for above

(I have tested the integrated configuration using SOAP tools and it works)

 

Next I create a Proxy Client class from SPROXY for the "Service interface inbound asyn".

And create a abap report to call the class method supplied the importing parameter data to be interfaced (sample program pasted below).

But when I execute the program, nothing happened on PI side.

I don't see any message created on PIMON, and also no logs on Netweaver.

 

Please advice is there any missed configuration?

Or how do I trace if the ECC system does trigger the correct HTTP/Proxy to PI system?

 

Point reward for any helpfull message.

Thank you.

 

 

Sample code I use to send data:

*&---------------------------------------------------------------------*
*& Report  ZPROXY_TO_CSV
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
report  ZPROXY_TO_CSV.

data: O_PRXY type ref to ZCO_SI_OA_PROXY_TO_CSV,
      LS_EMPLOYEE type ZDT_PROXY_TO_CSV_SENDER_EMPLOY,
      LT_EMPLOYEE type ZDT_PROXY_TO_CSV_SENDER_EM_TAB,
      LS_EMPLOYEE_MT type ZMT_PROXY_TO_CSV_SENDER.

try.
  create object O_PRXY.
endtry.

LS_EMPLOYEE-FIRST_NAME = 'first'.
LS_EMPLOYEE-LAST_NAME = 'last'.
LS_EMPLOYEE-AREA = 'area'.
append LS_EMPLOYEE to LT_EMPLOYEE.

try.
    LS_EMPLOYEE_MT-MT_PROXY_TO_CSV_SENDER-EMPLOYEE = LT_EMPLOYEE.

    call method O_PRXY->SI_OA_PROXY_TO_CSV
      exporting
        OUTPUT = LS_EMPLOYEE_MT.
    commit work.

  catch CX_AI_SYSTEM_FAULT .
    data FAULT type ref to CX_AI_SYSTEM_FAULT .
    create object FAULT.
    write :/ FAULT->ERRORTEXT.
endtry.


Viewing all articles
Browse latest Browse all 3255

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>