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

RFC Montioring via AIF

$
0
0

Hello,

 

I'm trying to make use of AIF to monitor simple RFCs. I want to extend this to use all the advantages of AIF.

 

A function module was created on a remote machine, which can be successful called and fill an import parameter in my ABAP code.

I created a AIF Interface and a data structure, which is use as an export parameter for /aif/cl_enabler_xml=>transfer_to_aif.

Before I invoke the /aif/cl_enabler_xml=>transfer_to_aif, i fill the structure in my ABAP code.

 

With /AIF/IFMON i am able to observe when the program is called and can see the data which was passed.

 

Now I’m searching for a way to call the rest of the framework, before I call the remote function (May change one of my variable to a fixed value or do some data checks). Is it possible to do that with AIF or do I have to code it by myself?

 

Br,

Nikolaus


Integration b/w IBM B2B Sterling Integrator and SAP AIF(SAP TM) without SAP PI as a Middleware?

$
0
0

Hello Gurus,

 

 

Our current SAP - B2B situation is as follow:

CurrentLandscape.jpg

One of our customer wanted to have only 1 integration platform, 1 transformation instead both SAP PI and Sterling Integrator.

Mostly they are preferring to get rid out of SAP PI and also they wanted to implement SAP AIF(Application Interface Framework) in their landscape.

 

Please suggest us the best approaches for the current proposal.

 

They would like to perform SAP Inb & Outb integration as follow:

ProposedLandscape.jpg

 

And also suggest me whether usage of SAP AIF is possible or not without SAP PI.

 

As far as I know we can expose RFC/BAPI's as WSDL then provide to the Sterlking team as they can post the msgs over SOAP, not sure whether it'll work/how it will work with SAP AIF(without SAP PI).

 

Kindly suggest please...

 

 

As ever,

NageswaraRao

collecting IDOC group in AIF for outbound proxy

$
0
0

Hello AIF Guru's,

 

I'm working with the AIF the first time and did actually buy the E-bite on AIF serialisation but need some directions on this topic. The situation is as this: we have a serialisation group : GRP_DEBMAS_ADR which contains Idoc DEBMAS, ADRMAS, ADR2MAS and ADR3MAS. by using this group a change on the address data also creates an corresponding DEBMAS Idoc etc.

 

Now we would like to send out the customer data based on the address data of the customer contact person, so mutiple ard2mas or adr3mas idocs need to be combined with the DEBMAS and ADRMAS of the customer and  give one line in the output structure of the proxy where using.

 

In the AIF we use the monitoring and error handling functions and we have some mapping rules to fill the proxy fields according to some business rules.

 

I did see that it's possible to use the external_index in inbound interface and was wondering if this works the other way around as well.

 

My question is : is it possible to configure the AIF to handle this and if so what should be the approach ?

 

Thanks for any direction given.

 

Regards,

Jasper

Synchronous Outbound Value Mapping Replication

$
0
0

Hi,

 

I am doing Value Mapping replication from SAP ECC to SAP PO using Standard Outbound Proxy "ValueMappingReplicationOutSynchronous" and logging it in AIF.

 

My problem is that the interface fails in AIF (transaction" /N/AIF/ERR) with error message "Interface not found for class CO_SVMR_VALUE_MAPPING_REP_SYNC" if I create interface only for request message.

 

To avoid this error, I configured 2 interfaces using the same proxy class. One for request message and the other for response message.

 

My question is that, is there any way I can run achieve this using only 1 interface? I do not want to 2 interfaces.

 

Regards,

Mateen

How to control sequence of mapping processing in AIF?

$
0
0

Hello AIF fans!

 

I'm facing an issue with AIF for which can't find any applicable customizing solution.

Need to process a rather complex interface mapping, consisting of three main structures and multiple substructures/tables inside. Smth like this:

 

Vehicle Interface

- System Information

-- ...

- Vehicle Information

-- ...

-- ...

- Order Document

-- ...

-- ...

 

In my mapping I have to determine some fields in Order Document mapping depending on the values, previously determined in Vehicle Information mapping and stored in some target structure fields. But the problem is (if I understand it correctly) that AIF processes mappings in alphabetical order of _source structures_, so mapping for Order Documents structure runs _before_ mapping for Vehicle Information (cause O is before V). So at the time of Order Document is being processed values are not determined in Vehicle Information.

 

Have no idea how to solve this issue if not doing everything in FM (which than makes use of AIF much less handy). It there any solution?

 

From my POV it would be nice to have additional sequence field in /AIF/T_INTREC table (where source structures are maintained) as non-key field  but having priority over RECTYPE for sorting. It can be defaulted to 0 when not needed (in this case AIF will work as it does now), but if maintained, it can provide ability to alter processing sequence.

 

Regards,

Petr

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

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?


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!

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.

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

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

AIF Error Monitor - don't display log messages

$
0
0

Hello,

I'm new to SAP AIF and byed the new Ebook: "Serializing Interfaces in SAP AIF" which is pretty good by the way!

 

I build the first Szenario, where i should build an serialized Interface with internal Time Stamp and send 2 test XML Messages to test it. The first one with an nonexistent Customer ID, the second one with an existing.

 

On the Screenshot, you can see that all 3 Messages, was send sucessfully, also the log monitor is empty... but i don't know why.

The Same Problem in Scenario 2 and 3.

I work with SAP AIF 3.0 and SP3.

 

 

2015-12-07 16_44_51-Fehlerbehandlung - 23.11.2015 - 07.12.2015 ( 200 ).png

 

Maybe someone got an Idea?

Thanks a lot and best Regards,

Paul

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.

Send success messages to an email group

$
0
0

Hi All,

 

I have a requirement as after successful creation of property object . I have to send the success and error messages to an email group . I need to send the success and failure messages to target system and to an email group ( via standard AIF emailing ).These should be triggered once per inbound message (regardless of the number of transactions / objects with in the message ). I want to know whether it is feasible or not . If yes how can we able to achieve this . Please let me know .

 

 

Thanks

Srihari


Theoretical question - Multiple outbound interfaces using mostly the same data...

$
0
0

I'd appreciate your thoughts on this theoretical situation.

 

I've seen/heard this work a long time ago using ECC -> PI where PI determined the file format and appropriate contents.. but I'm considering ECC + AIF -> PI(for transfer only)

 

 

Let's say we are in an HR landscape where we have multiple outbound interfaces (medical, legal, dental, vision, banking, savings, etc...) and each use 80% the exact same data as the other HR interfaces.

 

To reduce the number of interface programs that we have to maintain and to reduce duplication of code, what I'd like to do is have 1 interface driver program that selects all the appropriate data (or as much as feasible) that spans all of those interfaces and pass that to AIF in the RAW data structure. Heck we could have a sub-structure for each Infotype.

 

I would then have an ACTION with 1 STEP for every outbound interface.

 

Within each of those STEPs, I'd call a new AIF interface that is specific to the counterparty.

 

By doing it this way, each counterparty has their own specific SAP data structure and validations available for mapping to in AIF. The only STEP necessary for this new ACTION would be to fill out any missing information that was not provided by the driver program and then pass to PI for data transfer.

 

Does that sound like the right approach?

Issue with Tab order in UDO

$
0
0

Experts help to solve this problem

I have create a table  "ABC" and I register the udo its show code(1),name(2),add(3),cancle(4) that's ok

but when I tab out from name(2) its set focus on add(3) and its looping between add(3) and canle(4).that ok.

 

But when I create new table "XYZ" and I register uod , and when I tab out form name(2) its set focus on code(1), and its looping between(1) and (2) its behavior is different in both the udo

please let me know the standard way of udo tab order.

AIF Asynchronous Response

$
0
0

Need advice on handling Inbound Asynchronous with Response service.

 

Firstly, is this a valid pattern to use with AIF ? If yes, what is the best way of achieving this ?

 

This requirement is based on the scenario where an external system will re-send messages that have failed. No error correction would be allowed in SAP AIF.

 

Thanks

Shalendra

how to create SAP and Raw structures in SAP system

$
0
0

Hi Experts,

 

I am from PI back ground, and new to AIF.

 

I have gone through to AIF cookbook, but still I need some more clarity of how to create the below.

 

1. SAP and RAW structures

2. Value Mapping

3. Actions

4. Checks

 

I have gone through SDN, did not find a right blog. Could you help we to walk through the aforementioned with an example.

 

Thank you

kp

Getting Short Dumps for only 1 user - related to BAL logs

$
0
0

Just yesterday afternoon, 1 user began receiving short dumps in the FM BAL_INTERNAL_LOCK_ON_SAVE

 

This is happening on each message she's trying to process. I can process the exact same message and it works for me.

 

sd1.jpg

 

Termination occurred in the ABAP program "SAPLSBAL_DB_INTERNAL" - in  "BAL_INTERNAL_LOCK_ON_SAVE".

 

The main program was "ZCSS_SCH_CREATE_DOCS ".

 

 

In the source code you have the termination point in line 65 of the (Include) program "LSBAL_DB_INTERNALU07".

 

sd2.jpg

 

In my main program, ZCSS_SCH_CREATE_DOCS, I just load up the AIF messaging structure and Call TRANSFER_TO_AIF method.

 

Any idea what's going on?

Viewing all 82 articles
Browse latest View live


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