Quantcast
Channel: SCN: Message List - SAP Application Interface Framework
Viewing all 187 articles
Browse latest View live

Monitoring Proxy inbound asyncronus

$
0
0

Hi,

I have a proxy asyncronus inbound scenario in ECC with PI. I need to activate AIF monitoring (/AIF/ERR).

I configured interface in /AIF/CUST (Error Hangling).

When proxy was performed correctly I see the message in /AIF/ERR with detail about payload.

But if message is stopped on the inbound queue (SMQ2) I can't see it into the monitor.

It's possibile to monitor with /AIF/ERR this kind of error?

 

 

Thanks

George


Re: How to control sequence of mapping processing in AIF?

$
0
0

Hi Thomas!

 

Sorry, but have to revisit this thread and correct my reply. I thought it works, but found out, that was wrong.

 

I will later attach screenshots of my customizing and test results. Maybe you can check at your side the same?

 

P.S. Hope you will be able to realize manual sorting of mappings in the future. And (if you include this in your development plan) than it would be clever to provide such control not only for structure mapping (/AIF/T_INTREC), but also for field mapping level (/AIF/T_FMAP). In later case, maybe this can be also sorted out by using separate structure mapping numbers (SMAPNR). Still direct ability to set sort direction would come handy.

 

Best regards,

Petr Perstnev

Re: RFC Montioring via AIF

$
0
0

Hello Christoph,

 

Thanks for your feedback, at first.

 

>In your special test interface you do not need to fill iv__queue_ns and iv_queue_name.

I think I described my usecase not as precise as I should. I try what you said and commend iv_queue_ns      = lv_qns and iv_queue_name    = lv_qname out, AIF will get no entry. If i do so the entry can be seen in AIF.


The engine has already been set to XML, thanks for the hint.


I red the cookbook but couldn't find anything about RFC - monitoring. Maybe I missed something. Can you tell me which is about RFC and AIF, then I'll read it agian and try to find a solution!


Thanks in advance,

Best regards, 

Nikolaus

Re: RFC Montioring via AIF

$
0
0

Hi Nikolaus,

 

in the structure mapping part of /aif/cust you can assign the fixed values and data checks. There you can also assign an action which is basically a function module that has to adhere to a certain signature. You can use this action to call your rfc and maybe handle some kind of result by marking the call as failed in /aif/err.

This way you will have monitored each call to the rfc if it goes through your interface including the data passed and means to manage the call like restart it or change data and so on.

 

There is no dedicated RFC Monitoring step by step manual inside the cookbook but if you fully read it you should be able to create a solution that fits your needs in the way i just outlined.

 

Kind regards.

 

David Rittinghaus

Re: AIF Logs can't be displayed for ABAP Web service

$
0
0

Hello Dijesh,

 

I am trying to create this configuration also. Can you provide (do not need to include client names) a guide on how to configure the AIF for web services calls. We need to create execution logs.

 

thank you,

 

Nicolas

ALE/EDI IDoc.

$
0
0

Hi.

 

I am learning ALE / EDI. I wanted to ask if there is a way/ table/ report/program/ t-code to find out the corresponding outboud Idoc for an Inbound idoc, or vice-versa.

 

Thanks.

SAP

SAP to PI, retrieve data.. pass back to AIF

$
0
0

We have a scenario where we initiate a web service call from SAP (SE38 program)  to PI.  PI synchronously goes to an external site to retrieve data.

 

We will receive many records at once but I want to pass them individually to AIF.

 

My initial thought was to just run the program, get data from PI, loop through and pass each record to AIF via the method call  TRANSFER_TO_AIF

 

When I went to create my RAW structure, I wanted to simply Include the PI Proxy-generated structure so that I could just pass the individual records from PI right to AIF, but SAP doesn't allow this b/c it is a generated structure.

 

 

I'm now looking into passing the data to AIF from the PI Proxy Class itself as outlined in one of the tutorials... technically in PI, this is considered an outbound interface (but I'm really interested in the response data). But when I try create and configure the new AIF interface, the service only exists in the Proxy Outbound section.

 

If I fill in the class name in the Proxy Outbound field, the Raw Data Structure auto-populates for me. However, it is the wrong structure. it auto-populates the OUTBOUND structure. I don't want the outbound structure, I need the return structure.

 

Can I just specify it manually? Will that work?

Re: SAP to PI, retrieve data.. pass back to AIF

$
0
0

I tried this and it doesn't work.  it assumes that my proxy-generated structure is the SOURCE structure, not the destination structure as it really is in my case.


Re: SAP to PI, retrieve data.. pass back to AIF

$
0
0

I'm getting a little desperate on this.

 

I don't want to manually create a raw structure based on the proxy-generated object and map the incoming PI data to it, then re-map it to the SAP internal data structure in AIF - that defeats the whole purpose of AIF.

 

Here's a simplified workflow of what I'm trying to accomplish.

AIF workflow.jpg

 

My Response structure is pretty complex. Since SAP does not allow us to Include proxy-generated structures in a new DDIC object, I can't include it in the RAW structure I'm defining.

 

This should be a very simple scenario.

 

I see that if the PI interface was an INBOUND interface, AIF would automatically bring in the response structure during Interface creation, but we need to pass parameters to the REQUEST so we have to define it as an outbound interface in PI

AIF Checks - Function Proposal

$
0
0

Hello AIF enthusiasts!

 

During AIF implementation we use AIF Checks quite often. Settings available in AIF allow to customize pretty sophisticated checks, in order to raise error messages in /AIF/ERR or and/or skip unneeded data rows, that should not be processed. E.g. we can use check as shown below to test if PLANT field in incoming data message contains values, which are applicable to our interface, or this record should be ignored.

AIF_CHECK.png

Check like this is Successful if record exists in table and fails if it is not there.

 

But we often face opposite requirement. We are maintaining table with forbidden values. Idea is: if value is found in table, than check should fail. And if value is not found, check should be treated as successful.

 

My proposal is to add Boolean Flag to this customizing which will "reverse" check result: success of the logic of the check will be interpreted as fail, and fail as success.

 

P.S. Of course the above requirement can be covered with a little bit of code, but the idea is to implement it in codeless manner (as AIF allows many things to do).

 

Regards,

Petr

How is RFC handled in AIF framework?

$
0
0

Hi All,

 

Below is my requirement. Please suggest on how to handle this.

 

I have 2 systems A and B.

 

There is a standard FM in system A which calls a standard RFC from system B after some lines of code.

The requirement is to put some checks before RFC call. If the checks pass, then RFC code should be executed else the code should be skipped and the rest of code in the FM should only be executed. This should be handled in AIF framework.

 

 

Best Regards,

Shanmukh Srinivas

Re: How is RFC handled in AIF framework?

Step by step interface creation on Application Integration Framework

$
0
0

Hi,

I am new to SAP AIF and need a guide how to have a hands on to this new framework. Please provide me some reference.

 

Thanks!

Re: Step by step interface creation on Application Integration Framework

Calling External webservice(SOAP) via AIF

$
0
0

Hello AIF Experts,

 

I am new to AIF and need to setup a scenario to call an external web service (hosted by non SAP System) from a SAP System with AIF activated on it.

Any help or pointers to a document/blogs suggesting how to implement this will be of great help.

 

I hope we can do it by bypassing the PO? i.e. AIF can handle web service calls on its own?

 

Thanks in Advance!

 

Kind Regards,

Abhijeet.


Re: Calling External webservice(SOAP) via AIF

$
0
0

Hi Abhijeet,

 

you can have a look at following document: http://scn.sap.com/docs/DOC-45728

 

To call the service as a web service a logical port is needed. Please have a look at note 2010197.

 

Best regards,

Verena

Re: Calling External webservice(SOAP) via AIF

$
0
0

Thanks Verena for your response!

I will check the note.

Re: How is RFC handled in AIF framework?

$
0
0

Hi Christoph,

 

Yes, I did. My understanding is that only Monitoring is possible through AIF(correct me if I am Wrong).

 

Can we create an interface, assign checks and map values (as with IDOCS) before the RFC code is triggered?

 

 

Best Regards,

Shanmukh Srinivas

Access Data from SAP MDG to SAP GTS through AIF

$
0
0

Hi All,

 

we are trying to access products information from SAP MDG system to SAP GTS through AIF.

What are the relevant methods for accessing the above info using Web Services.

 

Thanks in advance.

 

Best Regards,

Shanmukh Srinivas

Error AIF Monitor, Cannot see xml content

$
0
0

Hi gurus,

 

We're having a problem with SAP AIF, when we access /AIF/IFMON  transation, click on any interface and then click on the structure data, the error message log attached is shown, the code message error is  class message = /AIF/ENGINE_PROXY  msgnr = 004. the text message is "

Data message F235097392DA11E5B9050000014D3FEA could not be found; editing content is not possible".

Please any suggestion, will be very apreciated.

Viewing all 187 articles
Browse latest View live


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