cancel
Showing results for 
Search instead for 
Did you mean: 

Scenario File to RFC (BAPI): BAPI not executed successful

Former Member
0 Kudos

Hi Dear Friends!

At execution of asynchronous Scenario File to RFC (BAPI BAPI_ACC_DOCUMENT_POST)

I have the following error in RWB Communication Channel (RFC receiver):

- Error: 2007-07-25 11:08:25 EEST: Message processed for interface BAPI_ACC_DOCUMENT_POST:
com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message
to remote system:com.sap.aii.af.rfc.core.client.RfcClientBapiException: 
BAPI not executed successful

Simultaniously <b>Test Configuration</b> was executed successfully. And mapping is good.

But I don't any message in <b>target system</b> in <b>sxmb_moni</b> (formed by BAPI).

In <b>XI system</b> I see in <b>sxmb_moni</b>:

<Trace level="1" type="T">--start sender interface action determination</Trace> 
  <Trace level="1" type="T">select interface mi_sender*</Trace> 
  <Trace level="1" type="T">select interface namespace urn:file:to:bapi</Trace> 
  <Trace level="1" type="T">no interface found</Trace> 
  <Trace level="1" type="T">--start receiver interface action determination</Trace> 
  <Trace level="1" type="T">Loop 0000000001</Trace> 
  <Trace level="1" type="T">select interface *</Trace> 
  <Trace level="1" type="T">select interface namespace</Trace> 
  <Trace level="1" type="T">no interface found</Trace> 
  <Trace level="1" type="T">--no sender or receiver interface definition found</Trace> 

Please help me understand my error.

With the best regards,

Natalia Maslova

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Natalia,

The payload is not appeard in target system sxmb_moni (formed by BAPI) means probably worng configurations in Receiver communication channel.Can you ckeck it out once all pameters like,connection type,application server name , client , User Login credentials..etc.

Executing normal scenario or thru BPM?.

BestRegards,

Rajkumar.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Natalia,

Can you check Target Systems Service number in SMICM->Services.

Prefix Path: /sap/xi/engine/?type=entry

Service Number: 8001

If SN incorrect may get this type of problems.

-Raj

Former Member
0 Kudos

Hi, Raj!

Target Systems Service number in SMICM->Services is 8013.

And XI Integration Server Service number is 8001.

But I created RFC DX7_001 for access of Target System to IS.

I'm confused.

I'll try to change into 8013 (previuosly it was 8001).

Natalia

Former Member
0 Kudos

Natalia,

The HTTP destinations play no role in this scenario. All that matters is the parameters you have mentioned in the RFC receiver communication channel. It does not matter if you maintain a logical system or not.

Check logs from Logviewer or Visual Admin. That might give a little more info.

Regards,

Jai Shankar

Former Member
0 Kudos

Hi, Jai!

I detected in RWB in Message Monitoring the following:

in <b>Audit Log</b>


2007-07-26 11:45:30	Success	RFC adapter received a synchronous message. Attempting to send sRFC for BAPI_ACC_DOCUMENT_POST
2007-07-26 11:45:30	Error	BAPI response was a table of type BAPIRET2 with 2 rows

in <b>Message Data</b>:

Status Waiting

Error Category XI_J2EE_ADAPTER_RFC

Error Code RECEIVER_GENERAL_ERROR

Sender Service bs_file_s

Receiver Service DE2_200

Interface urn:sap-com:document:sap:rfc:functions

BAPI_ACC_DOCUMENT_POST

Quality of Service Exactly Once

Direction INBOUND

Message Type Recv

Profile XI

Connection RFC_http://sap.com/xi/XI/System

Transport HTTP

End Point http://srv24:50100/MessagingSystem/receive/AFW/XI

Authorization PasswordCredential(PIISUSER):password=********

Sequential Number 0

Number of Retries 3

Failed 1

Retries 300000

Why is my message synchronous?

How can I look at table of type BAPIRET2?

What I have to correct?

Thanks.

Natalia

Former Member
0 Kudos

Did you enable BAPI comit handling in RFC cc?

Regards,

Jai Shankar

Former Member
0 Kudos

Hi,

First juz check you Receiver Determinatin and Interface determination steps again.

Is BPM is used ?

<b>Cheers,

*RAJ*

Former Member
0 Kudos

Hi! Thanks for response!

I checked Receiver Determinatin and Interface determination twice - it seems that everything all right.

But may be something wrong in connection settings between systems. I don't know - how to monitor it.

BPM I don't use.

Natalia

agasthuri_doss
Active Contributor
0 Kudos

Hi,

1) Check the RFC destination is right.

2) The R/3 is up ?

Regards

Agasthuri Doss

Former Member
0 Kudos

Hi Natalia,

1.)Check your TS in which the LS is assigned properly or not...

we can check this in ID ....Double click on BS goto menu and click on ADAPTER SPECIFIC IDENTIFIERS...

2.) Check your configuration once again in XI & R/3...

vasanth.

Former Member
0 Kudos

Hi, Dear Friends! Thanks for support!

My settings of

Connection between systems:

DX7 01 (client 001) - XI Integration Server and DE2 13 (client 200) - target system.

Phisically both systems are in one server: 10.20.30.24 (srv24)

Business system DE2_200 has Communication Channel: cc_bapi_r, its settings (in Integration Builder Configuration):

Adapter Type: RFC

Receiver

Transport Protocol: RFC

Message Protocol: RFC (RFC XML)

Adapter Engine: Integration Server

RFC Client Parameter:

RFC Server Type: SAP System

Application Server: 10.20.30.24

System Number: 13

Authentication Mode: Use Logon Data for SAP System

Logon User: n_maslova

Logon Password: *******=*******

Logon Language: EN

Logon Client: 200

Maximum Connections: 1

x Advanced Mode

x Send 'Confirm Transaction'

x Commit Handling for Single BAPI Calls

x BAPI Advances Mode

Successful RETURN-TYPE Values: 0

As I understand these settings are the settings of RFC-destination for target system DE2 13 (200) from XI (DX7 01 001).

In SLD, Business system DE2_200 is defined as:

Integration:

Role: Application System

Related Integration Server: DX7_001

Technical System: DE2 on srv24

Client: 200 of DE2

Logical System Name: DE1CLNT200

In target system DE2 13 (200) with the help of transaction sm59 I created

RFC-destination DX7_001 of type H:

Technical setting parameters:

Target Host: 10.20.30.24

Prefix Path: /sap/xi/engine/?type=entry

Service Number: 8001

Registration and Safe:

SSL: Non active.

SSL: client certificate: DFAULT SSL-client

Enter to system:

Language: EN

Client: 001

User: PIAPPLUSER

Status PW: saved

Password: ********

After that in this system DE2 13 (200) with the help of transaction sxmb_adm I set in Integration Engine -> Configuration -> Configurate Integration Engine

(Change Global Configuration Data):

Role of Business System: Application System

Related Integr. Server: dest://DX7_001

Best regards,

Natalia

Former Member
0 Kudos

Hi, Vasanth!

Please explain item 1)

I double click on Business System in Integration Directory (Configuration), but I don't have menu with ADAPTER SPECIFIC IDENTIFIERS...

I think I do something wrong. Logical System I can see in SLD for clients of Technical System.

I'm confused.

With the best regards,

Natalia