Quantcast
Channel: SCN : Unanswered Discussions - SAP Application Interface Framework
Viewing all 65 articles
Browse latest View live

automatical reprocessing Outbound IDOCs

$
0
0

Hello,

 

we send IDOCs from our ECC to a http-Port. Sometimes the data transfer works fine. Sometimes we got the status "02".

Now we would reprocess this status with AIF. For reprocessing we would use report /AIF/PERS_RUN_EXEECUTE with variant.

But we got everythime the following message "NO RUN SELECTED WITH SELECTION CRITERIA" in foreground processing.

IF we schedule the report in background processing we got the massege "NO RUN SELECTED WITH /AIF/PERS_RUN_ EXEECUTE".

 

Do you have a detailed description for system settings?

 

thank you

Jens


Accessing MSGGUID in function modules

$
0
0

Hi all,

 

Is there an easy way to know the MSGGUID of the current message at runtime?

I want to query the index table with this MSGGUID from a check function module after the structure mapping (based on template /AIF/FILE_TEMPL_CHECK_MAPPING). This function modules (same for other templates), doesn't have import variables containing the MSGGUID.

 

Many thanks in advance!

 

Kind regards,

Brecht Bauwens

Multiple Alerts per Message

$
0
0

We've upgraded to AIF 3.0 SP1 last week (unfortunately SP2 came out just one day too late) and we're noticing that in some cases two alerts are created per message in error.

 

The first looks like this (containing the error messages WE raise):

Message with GUID 00000000199313280000000000000000 raised 2 message(s):

-----------------------------------------------------------------------

Ausnahme im Funktionsbaustein RP_RETROACTIVITY_GET: Änderung tiefstes Rückrechnungsdatum Zeit nicht mö.

Prozesslevel Ausführung fehlgeschlagen.

-----------------------------------------------------------------------

 

The second one like this (containing a general remark that errors occured, triggered by AIF):

Message with GUID 00000000199313280000000000000000 raised 1 message(s):

-----------------------------------------------------------------------

Fehler bei der Verarbeitung im AIF, siehe Transaktion /AIF/ERR

-----------------------------------------------------------------------

 

As you can see it referrs to the same GUID. Both alerts are triggered at exactly the same time.

 

Have you noticed something similar? I have debugged it once but it's not always reproduceable. Sometimes it triggeres two alerts, sometimes just one.

 

In addition to SP01 we have implemented the following notes related to AIF:

 

  • 0001844763 ALE: Integration of SAP Application Interface Framework
  • 0001856098 Performance otimization in the IDoc inbound queue (EDIQI)
  • 0002116591 Wrong value when AIF Analyzer is processed a second time
  • 0002123337 Short dump MESSAGE_TYPE_X when BAL_DB_SAVE is called
  • 0002135556 Inconsistent IDoc status
  • 0002138730 AIF Interface Monitor has negative 'In Process' number
  • 0002144871 Display response of a synchronous outbound service interface
  • 0002151669 AIF Runime: global variables are not correctly updated
  • 0002151693 BADI for message GUIDs in outbound proxy scenarios
  • 0002154138 Lock issue on value mapping transaction /AIF/VMAP
  • 0002159888 Error Handling Change Log does not display 'Old Value'
  • 0002161561 Error Handling: Edit IDoc payload does not work properly
  • 0002163088 Log message text missing in alerts
  • 0002166047 Customizing: Map IDoc Status to AIF Processing Status dumps
  • 0002172284 Correction report wrongly deleted application log
  • 0002172672 New interface fails to create application log sub object aut
  • 0002176628 Error Handling: Can't operate Data Message any more after ed
  • 0002177964 Error Handling: error "Data not found in table /AIF/T_FINF"

RFC Montioring via AIF

$
0
0

Hello AIF specialists,

 

I try to moitor and RFC Call from one system to another.

I followed the guide written by Michael.

 

 

On both system AIF and AIFX is installed.

I created a RFC Function Modul 'ZAIF_CALC' on the machine, lets call the system IDES_SINK. THe programm imports two ints and a char and exports and int. Depending on the char the type of calculation i chosen. If the char is not +,-,*,/ an exeption will be raised.

 

On the otherside, let call ist IDES_SENDER, i created a sm59 connection to IDES_SINK and a program where there fumo ZAIF_CALC is call within the destination 'IDES_SINK'. If i run the programm everything is working fine.

 

Then, as written in michael guide, i created the AIF_RFC with /AIF/RFC_FUNC_GEN which worked fine.


But now I'm not sure how to go on.

If i call /aif/ifmon i can see my new generated interface. But after i call the programm again and provoke the fumo on IDES_SINK to raise an error nothing is showen in the /aif/ifmon or /aif/err.


Do i have to call the new generated fumo from /AIF/RFC_FUNC_GEN?


Do you have any idea how to get this working?


Br,

Nikolaus


AIF jobs fails

$
0
0

Hello,

I have some jobs in SM37 with names like   /AIF/LOYAL_RT1_00000517*

Status is cancelled now, but when it was tried to be executed, duration was like   4.451 sec

Because of this problems, we had an issues with other jobs in system.

 

In job log I have messages like this:

Wait for lock of run 0000000000

Job cancelled after system exception ERROR_MESSAGE

Output device "" not known

AIF roadmap with S/4 HANA

$
0
0

Hi Experts,

 

What is the road map of AIF with S/4 HANA?

 

SAP has any plans to change with S/4 HANA?

 

 

Thanks,

Kiran.

Inbound AIF

$
0
0

Hi,

I am new to AIF.  In my current scenario I have a Z program in which I get a set of input data.  This data has to be processed and updated in our database.

But we dont want to do direct db update rather utilize the existing AIF component to do the same. 

 

Is there any way to do this inside ABAP program?  Any method/function modules/RFC?

AIF step by step inbound & outbound scenario

$
0
0

Hello,

 

I am new to AIF especially not from abap background. I am trying to create simple inbound & outbound scenario. A message will come from PI to proxy and simple proxy to File via AIF and further PI to create file.

 

If you can let me know the basic mandatory steps to cover in sequence would be helpful.

 

 

 

Thanks,

Jagannath


AIF ERROR

$
0
0


Hi ,

AIF showing some xml files as wrong due to incorrect mapping(mapped with a wrong chargecode which is not in SAP). Now the mapping has been corrected, will the xml files need to be regenerated to show it correctly in AIF and to post the documents in SAP?

AIF Logs can't be displayed for ABAP Web service

$
0
0

Hello All,

 

We have exposed asynchronous web service via ECC directly (SOAMANAGER). We have configured AIF for this scenario. AIF is working fine during runtime but when we try to access the message payload via /AIF/ERR - it gives following error.

 

Payload of message with GUID 989C6E5C2CC111CAA04408002B1BB4F1 could not be retrieved.

 

Web service was called from external consumer , not from SPROXY transaction. We have tried both Proxy & XML as persistence engine.

 

Thanks & Regards,

Dijesh Tanna

AIF Structure mapping: Control the processing order?

$
0
0

Hi AIF Community,

 

we identified following behavior in the AIF structure mapping processing:

 

The order in processing the structure mapping is the same as displayed in the structure mapping customizing. It is the alphabetic order of the source structures. In case you cannot control the naming of the source structures you cannot control the order of the structure mapping processing. In a field mapping you need to use a target value from another structure (e.g. company code in a header structure) that is processed afterwards we need to implement function modules extra for this field mapping. The simple existing AIF value mappings cannot be used in this case.

 

Does someone had also the same problems and used another better solution?

Is there any possibility to control the order of the structure mappings besides the naming of the source structures?

 

Best regards

Christoph

How to trigger a PO message when delivery indicator set

$
0
0

Currently trying to get a new PO message to be triggered when the delivery complete indicator is set.

I have checked and EKPO-ELIKZ is configured in "Field relevant to Printouts of Changes".

I noticed another message about this:  Delivery completion Indicator does not trigger output on PO

Can someone confirm there is no way to trigger a PO message when the delivery complete indicator is set automatically during goods issue?

How to View Partner Function list for Vendors

$
0
0

I know I can view an individual Vendor's Partner Function through XK03 > Partner Function > Vendor Catagorization, but this only does 1 vendor at a time. Does anyone know how to view a list of Vendors and their Function?

 

Thank you.

Accessing MSGGUID in function modules

$
0
0

Hi all,

 

Is there an easy way to know the MSGGUID of the current message at runtime?

I want to query the index table with this MSGGUID from a check function module after the structure mapping (based on template /AIF/FILE_TEMPL_CHECK_MAPPING). This function modules (same for other templates), doesn't have import variables containing the MSGGUID.

 

Many thanks in advance!

 

Kind regards,

Brecht Bauwens

Hyperlink to other mobile application from SMP

$
0
0

Hello Folks,

 

     We have two application which are developed in SMP and one in-house mobile web application . Now users are accessing two application from SMP and other from outside. So they need a hyperlink inside SMP to access the third application as well with the same credentials. SMP application are being authenticated through LDAP. So how can pass the same credentials to access the in-house mobile application from SMP ? So user no need to login again while clicking the hyperlink. Please advise . Thanks in advance for you valuable comments.

 

Thanks

Alok


Updating AIF Index Table

$
0
0

Hello!

 

Bought New SAP Press book (E-bite series): Serializing Interfaces in SAP AIF. It's really nice. After running through it I started experimenting with our own interfaces (inbound, PI proxy).

First decided to move several types of messages to new index table. Created new index table by copying /AIF/STD_IDX_TBL and extending it with several new key fields. Also made customizing settings to target interface to new index table.

And immediately faced an issue. Now my old messages are in old index table (which is "not known" to interface anymore), so /AIF/ERR is not displaying them. I can't reprocess them or even see, what was in them on arrival.

While the major part of the fields in all AIF message index tables are the same it was not a big deal to copy index data between tables. But after that new key fields still remain empty. Luckily, for messages that are restarted in /AIF/ERR, system automatically refills key fields and solve issue. But for already processed messages (which are not allowed to be restarted) new key fields still remain empty and they are "placed" in Undefined folder.

 

So my questions are:

  • Is there any standard tool in Application Interface Framework, which can help with moving messages from old index table to new one?
  • If not, what will be the correct FMs, Classes/Methods to determine key fields for messages if all I have as an input is record in index table?

 

Thanks in advance!


Regards,
Petr

iPad B1 Mobile Security Certificate issue

$
0
0

iPad and iPhone configuration setting:

http://scn.sap.com/community/business-one-integration-technology/blog/2012/09/26/ipad-and-iphone-configuration-setting

 

Note 2019275:

https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303230313932373526

 

This posting will refer to the locations above for information.

 

I have configured the Integration services according to the requirements. I have also, manually, generated the security certificate. After copying the certificate to my mobile devices, I updated SAP with the device ID. I tested with two devices...

 

1) Android phone(s)

2) iPad

 

In all circumstances, in all testing... The Android devices work without issue. The iPad devices do not work.

 

On all devices I can open a browser and navigate to https://<servername-or-IP>:8443 and log into the Integration Framework without issue.

 

All of these tests are on 9.1 pl06.

 

Has anyone else experienced issues with connecting an iPad using B1Mobile?... Has anyone been able to resolve this?

 

The message I receive on the iPad is as follows;

 

Security Error

The certificate for this server was not issued by a trusted certificate authority.

The connection to the server is disabled.

Contact your IT administrator for more details.

 

Thanks,

 

~ terry o.

Multiple Alerts per Message

$
0
0

We've upgraded to AIF 3.0 SP1 last week (unfortunately SP2 came out just one day too late) and we're noticing that in some cases two alerts are created per message in error.

 

The first looks like this (containing the error messages WE raise):

Message with GUID 00000000199313280000000000000000 raised 2 message(s):

-----------------------------------------------------------------------

Ausnahme im Funktionsbaustein RP_RETROACTIVITY_GET: Änderung tiefstes Rückrechnungsdatum Zeit nicht mö.

Prozesslevel Ausführung fehlgeschlagen.

-----------------------------------------------------------------------

 

The second one like this (containing a general remark that errors occured, triggered by AIF):

Message with GUID 00000000199313280000000000000000 raised 1 message(s):

-----------------------------------------------------------------------

Fehler bei der Verarbeitung im AIF, siehe Transaktion /AIF/ERR

-----------------------------------------------------------------------

 

As you can see it referrs to the same GUID. Both alerts are triggered at exactly the same time.

 

Have you noticed something similar? I have debugged it once but it's not always reproduceable. Sometimes it triggeres two alerts, sometimes just one.

 

In addition to SP01 we have implemented the following notes related to AIF:

 

  • 0001844763 ALE: Integration of SAP Application Interface Framework
  • 0001856098 Performance otimization in the IDoc inbound queue (EDIQI)
  • 0002116591 Wrong value when AIF Analyzer is processed a second time
  • 0002123337 Short dump MESSAGE_TYPE_X when BAL_DB_SAVE is called
  • 0002135556 Inconsistent IDoc status
  • 0002138730 AIF Interface Monitor has negative 'In Process' number
  • 0002144871 Display response of a synchronous outbound service interface
  • 0002151669 AIF Runime: global variables are not correctly updated
  • 0002151693 BADI for message GUIDs in outbound proxy scenarios
  • 0002154138 Lock issue on value mapping transaction /AIF/VMAP
  • 0002159888 Error Handling Change Log does not display 'Old Value'
  • 0002161561 Error Handling: Edit IDoc payload does not work properly
  • 0002163088 Log message text missing in alerts
  • 0002166047 Customizing: Map IDoc Status to AIF Processing Status dumps
  • 0002172284 Correction report wrongly deleted application log
  • 0002172672 New interface fails to create application log sub object aut
  • 0002176628 Error Handling: Can't operate Data Message any more after ed
  • 0002177964 Error Handling: error "Data not found in table /AIF/T_FINF"

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

Viewing all 65 articles
Browse latest View live


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