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

SAP AFI for automatic posting processes

$
0
0

Deari Experts,

 

I've just read about SAP AFI and I have a question. At my company we have automatic posting proccesses from different systems to the SAP-FI. These postings came from different systems, some of them based on AS/400 platform. On the AS/400 a  'packer' program is running, which creates data sets due to specified rules from analytic data in csv format. These data sets are SAP compatible (which means they have aggregated in fields from SAP BKPF and BSEG tables) and are transported to SAP server for automatic processing. 

 

My question is about, if SAP AFI is a suitable tool for replaces the 'packer' program? We would transfer the analytic data from the other systems to SAP and we would like to process them for automatic posting through an SAP based tool. Is SAP AFI is a proper tool for this? Can it be connected to SAP-FI? Have anybody some relevant experiences about this topic or some similar cases?

 

Thanks in advance for your answers and best regards,

Antal


AIF for high volumes of transactions?

$
0
0

We're currently using AIF in several inbound processes where we are taking anywhere from 1 to 100 records per run and sending them through AIF several times per day and everything is working well.

 

However, we are considering using AIF for a very important, high volume process - let's say 15,000 transactions per day.

 

Does anyone have experience using AIF for high volume processes who can comment?

 

thanks.

AIF in central finance scenario, missing fields

$
0
0

We are implementing central finance and using AIF for error handling. While implementing OSS note 2202650 for handling errors of replication of FI postings, we are getting the following error while activating the BC set

Message Number: SV166

Diagnosis

The input values must be in the table /AIF/T_NS. The value(s) "100/FINCFAC_DOC    1    011 " are not in the table.

System Response

The entry is not copied.

Procedure

Create an entry in /AIF/T_NS. You can then copy the entry.

 

Has anyone come across this error. What is the relevance of table /AIF/T_NS? Can this table be manually maintained?

 

Thanks & Regards

Pooja saxena

Do you have suggestions for naming conventions within AIF?

$
0
0

Hi Folks!

 

Being new to AIF I'm currently in the information gathering phase for myself and colleagues as we are starting to think about implementing interfaces with the help of this toolbox. I already found and read (or at least skimmed!) through various of your discussions as well as the very helpful blog posts from Verena, Michal and Andrey.

 

One of the first things we want to do - before we really get started for real - is to come up with some feasible naming conventions for the various customizable bits and pieces like

  • Namespace
  • Interface Name
  • SAP Data Structure (if applicable?)

 

We also have some general questions:

  • Does it make sense to prepare for one namespace per SAP-module or is it better to have just one and do the separation on the Interface name "level"?
  • Is it preferred - even though SAP doesn't seem to enforce this - to start our own names with a "Z"?

 

Searching SCN for "naming convention aif" didn't find anything related and while scrolling through the discussion forum I also didn't see any titles which might go into this direction. In order for us to not re-invent the wheel - or to start off in the wrong direction - I'm hoping to get some helpful pointers from you.

 

Thanks much for any feedback you have!

 

Cheers from Germany

Baerbel

AIF Check on Check Table for non mandatory fields

$
0
0

Hi AIF Community,


I need to implement following Check:


I have a simple 1:1 mapping and need to check the raw data value (STRING type) against a check table. But the target field is an optional field. That means in addition to the check table content an empty field is also allowed. If the value is not in the check table the check will fail. The simple Check set up is as follows:

 

I didn’t found a possibility to set up the Check only by customizing so that empty fields are also allowed.

 

Does someone know if there is any other option beside developing a function module for each field?


Kind regards

Christoph

AIF Inbound Text File interface

$
0
0

Hi There,

 

I'm new to AIF and I'm struggling to find documentation about configuring/developing in AIF. My requirement is to bring our current file based interfaces into AIF for monitoring, restarting, mapping, etc.  Would anyone be able to give me a pointer to a guide that shows the necessary steps involved in setting up an inbound text file interface in AIF.

 

Thanks in advance,

Craig.

Inbound RFC call monitoring in AIF

$
0
0

Hi All,

 

I am very new to SAP AIF. I am working on an inbound RFC scenario.

 

PI will send the data to SAP through RFC call and RFC will update a custom table. I am testing it through two SAP systems only. I have created an RFC in System A and calling it from System B and updating a Z table in System A. Now I have to connect the inbound RFC to AIF so that AIF can monitor this interface.

 

RFCcall from SystA.JPG

This way I am calling RFC FM from the other system(System B). I have to monitor the RFC call through AIF in the System A (Called System).

 

What code should I write in the RFC FM '/SIE/LOT_INF' in system A so that it can be monitored through AIF. This RFC FM is a simple FM updating a custom table. In the real scenario; system A will be PI system and System B will be ECC system. Monitoring will be done in ECC system only.

Capture.JPG

 

Do I need to write the code inside the RFC FM or I have to do any customizing. Please note that there is no structure involved in this RFC ; only internal table is passed. So what structure should I use in customizing.

How can I transfer this RFC interface to AIF.

 

I know a method

 

CALL METHOD /aif/cl_enabler_xml=>transfer_to_aif

     EXPORTING

       is_any_structure = ls_calc_sap.


But in this we pass a structure (e.g. ls_calc_sap ). But in my case there is only one internal table to be passed to SAP ECC system which will update the data in custom table.

 

Capture2JPG.JPG

Please let me know if you did not understand anything. I need to complete this urgently.

 

Thanks in Advance

Pankaj Sharma

"Manual Restart" status - why?

$
0
0

     Hi experts, when I receive some messages in AIF, they are in "Manual Restart" status (yellow) and I have no idea - why ? After some time messages are getting to error status.

aif_manualrestart.jpg


Manual Restart Status in Inbound RFC call monitoring in AIF

$
0
0

Hi All,

 

I am working on a scenario where PI will call and RFC from ECC and update the data in ECC. On ECC side; I have created an RFC Function module In that function mmodule I am trying to do the processing through AIF by calling a method Capture.JPG

This is the code I have written in the RFC FM and in the AIF configuration I have assigned an action FM which will do the processing. The problem is; Action FM is not getting triggered and in AIF/ERR transaction; messages are stuck in manual restart status.

 

Capture.JPG

 

Please  help me on this. Also Kindly let me know what are the customization steps required for this. Maybe I have missed something in customization.

 

Regards,

Pankaj Sharma.

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

Setup synchronous outbound interface in AIF

$
0
0

Hi all,

 

Can anybody tell me how to setup an synchronous outbound interface via AIF?

I'm able to call PI successfully, but how can I capture the response message in AIF?

I didn't find any documentation about this functionality in AIF?

 

Thanks in advance.

 

Kind regards,

Brecht Bauwens

RFC integration with SAP AIF

$
0
0

Hi Experts,

 

I am taking data from informatica to SAP through RFC and i want to know after creating RFC,how can i use it in SAP application integration

framework or what are the steps required to start SAP AIF in case of RFC.

Problem access of already mapped fields

$
0
0

Hello,

 

I have the following Problem:

 

I get an Inbound IDOC for DELIVRY with the following part-Structure

E1EDL20  including the field VBELN

-- E1EDL24 (1 -> N) including field MATNR

-- E1EDL37 (1 -> N) including field EXIDV

---- E1EDL44 (1 -> N) including fields MATNR and VEMNG

 

The field in E1EDL20-VBELN contains the Customer-Order-Number. So to get to our Delivery I have to get the correct Customer Order and find out the actual valid delivery via document flow.

 

So this field (our delivery) is mapped to the SAP-Structure let's say S_HUBAS-VBELN.

 

In the next Segment E1EDL24 I would like to check, whether our actual delivery contains the material which is mentioned in the Segment. Therefore I Need the Delivery-Number which I already mapped in S_HUBAS-VBELN.

 

So I tried to have the delivery-number as Input-Field for the mapping by presetting it with '@' . So it is @S_HUBAS-VBELN. But I only get an empty value. For fields I map within the same Segment the presetting works, but not for fields which were mapped in a different segment.

 

Is there a way to get the already mapped value instead of always deriving the value again from my customer order?

 

Is the mapping in AIF not in the sequence Top-Segment to Bottom-Segment, because when I have a look in the Debugging I don't see a value in S_HUBAS-VBELN, when I'm mapping the E1EDL24-Segment?

 

best regards

Ignaz Erhart

Data encryption during interface

$
0
0

I am not sure i am posting in the right place. During interface from Ariba(or any system) to SAP, my client is asking is the all the data is encrypted ? as per the document, data is transferring in 256 RSA bit encryption and data is transferring through HTTPS. But i don't know the data is encrypted ? If the client required all the data to be encrypted what are the options ? Thanks, Narayan

Updated values in action function module not send to PI in AIF outbound interface

$
0
0

Hi Experts.

 

I am working on an outbound aif interface where I am updating plant value using action function module.

 

Actually we do not want to change plant value in mapping function module due to some valid reasons.

 

We are using /aif/ send_with_proxy to send the details.

 

Now the action function module executing successfully and we are able to update th changing parameter data with new plant value.

 

But when we checked in sxmb_moni , plant values are not getting updated to new one.

 

Could you please let me know the reason behind it and how to overcome this.

 

The code which has been written in FM is attached.

 

Thanks in advance..

 

Regards ,

Sijil


Dump with transaction /AIF/ERR

$
0
0

Hi,

 

When i try to use the transaction /AIF/ERR i always have an error :

2015-05-10 15_17_00-AIFERR.PNG

 

With /AIF/IFMON i also have this problem when i click on Warning/Error/Success/... icons

 

I probably missed a configuration step ?

 

Thanks,

Youri

How to decide technology in AIF Proxy or IDoc ?

$
0
0

Hi Expert,

 

I am using AIF in my priject. I would like to know what is the better option to use if we have Proxies and IDOC both ? Is there any guidline the how we can decide what is preffered IDoc or Proxy while using AIF  ?

 

Regards,

Manu

Message Content of WebService asynch not shown

$
0
0

Dear all,

 

we're just trying to set up the AIF monitoring (without field mapping) of an asynchronous WebService inbound.

The interface is entered in the interface settings. So we don't want to do a mapping, only the monitoring, there is no "SAP Data structure" entered.

The Application engine and Persistance engine are set to "Proxy".

In /AIF/ERR the message is shown but not the content of the message. The error message is:

The message payload is not available.   Message No. /AIF/ENGINE_WEBSERV001

Data content of data message 1 cannot be displayed    Message No. /AIF/ERROR_HANDLING181

 

We're working on SAPKB74009 with AIF  release 702 (AIF version 3.0).

 

Could you please give me some advice ?

 

Thanks a lot,

Volker

AIF Outbound Synchronous Interface

$
0
0

Dear Experts,

I need some help! we have a PI outbound synchronous interface connecting an external system. We want to add AIF in this scenario. We want to use full functionalities of AIF monitor and error handling, such as: Monitoring, Restarting the message after removing errors from message and Email Alerts.

Can anyone please suggest how can it be done and what changes are required from PI side.

 

I have read Notes which states that, in synchronous outbound proxy scenario, normally you define two AIF interfaces, one interface to process the request (outbound interface), and another interface to process the response (inbound interface). But how can I create them having only 1 outbound proxy class.

 

There isn't any material available which explains outbound synchronous scenarios. Help will be highly appreciated.

Thanks in advance.

 

Best regards,

Mubbashir

File Adapter - Read file completely

$
0
0

Dear community

 

We have a file interface where we want to read a file completely, instead line-by-line. This is due to performance reasons. The bapi we want to use in our action is able to use a table of data. This data is read from a file, manipulated and then passed to the bapi. So far, we read the data line-by-line from our file. Is it possible to read the file completely and then execute the action once for all read data?

 

Thank you in advance,

 

Kind regards

Thimo

Viewing all 82 articles
Browse latest View live


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