Hi Bruno,
what kind of interface do you have? Is it e.g. a proxy, IDoc, XML interface? Is it inbound or outbound? synchronous or asynchronous?
Best regards,
Verena
Hi Bruno,
what kind of interface do you have? Is it e.g. a proxy, IDoc, XML interface? Is it inbound or outbound? synchronous or asynchronous?
Best regards,
Verena
Hi Bruno,
in addition to Verena's question. Have you changed your raw data structure between sending the message checking your message (e.g. structure to table type)?
Kind regards
Christoph
Hello Verena,
I'm using proxy scenario, We have here both types of integration (synchronous and assynchronous) and both is not working, all interface's payload is not been showed.
Hello Christoph,
Yes We've done some changes in structure but this changes were applied to the AIF map structures.
Thanks by response.
Hi Bruno,
Especially for asynch. inbound proxies AIF is usually not persisting the data but is displaying the payload stored in the local integration engine. Did you check if you can see a payload in the standard XI monitor (transaction SIX_MONITOR)?
For an asynchronous inbound interface the persistence engine and the application engine need to be set to proxy. And you should call /AIF/CL_ENABLER_PROXY=>PROCESS_MESSAGE. Pass the input parameter and the name of the exception class.
Best regards,
Verena
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.
Maybe someone got an Idea?
Thanks a lot and best Regards,
Paul
Hi Verena, some of the messages I can see on the SXI_MONITOR, but as you have mentioned, We are not calling the method process_message, instead of it, we call the function /AIF/FILE_XI_PROCESS directly on the proxy class, is this correct?
OBS: All interfaces are inbound in our scenario.
I have seem some examples using FM /AIF/SEND_WITH_PROXY but as I've seem it's only for outbound interfaces is it correct?
In this thread (Developing AIF Inbound Synchronous Proxy interface ) the guy has mentioned about /AIF/IF_PERSISTENCY_ENGINE~UPDATE of /AIF/CL_PERSIST_ENGINE_XML class, is it applied only for sync scenarios or I need to call this method in asyn scenario too?
Thanks by information Verena.
Hi,
did you call '/AIF/UTIL_ADD_MSG' inside the action ? Which message type did you chose ?
Depending on the Trace Level Details certain message types are not shown in /aif/err
It can be found in /aif/cust -> error handling -> define global features -> tracelevel -> rightclick details
Did you set the action function module parameter named success to 'N' ?
if there are no messages with type E the interface thinks that it ran successfully and setting the parameter to 'N' makes it fail regardless.
Kind Regards
David
After some hours debugging, I found the problem,my index table based on /AIF/STD_IDX_TBL template, is not filling the field PID, so the selection of table SXMSPMAST2 is giving me sy-subrc = 4 . Do you have some idea where should I fix it? I did not find any use of this table on SE11.
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
The problem was detected due the archiving mode of ECC on the tables SXMSPMAST and etc..so we change the switch configuration in table SXMSDCONF by program RSXMB_CUSTOMIZE_SWITCH, in some point of code in AIF, the program checks the configuration of this table and make some selects on table SXMSPVERS or SXMSPVERS2 depending of switch config...for an better undertanding, debug RSXMB_CUSTOMIZE_SWITCH program.
Thank you all.
Hi All,
Can we able to send the success messages same as error messages .
Regards
Srihari
Hi,
did you already try to assign a recipient for message type success in /aif/cust-> system configuration-> assign recipients-> namespace and recipient name -> new entry ?
Kind Regards
David Rittinghaus
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?
Hi,
this sounds doable and should work like you expect it. However i see a couple of downsides.
For once you will have two separate entries in /Aif/err for each messsage which could be dificult to connect during support issues. Furthermore you would have 2 points of failure so you allways would have to check both parts to make sure a message went through ok.
Have you taken a look at interface variants ? I could imagine a scenario where you create an interface for all "base" structure mappings and so on and a variant for each of your outbound interface demands in which you can handle the specifics.
Given a proper keyfield configuration you should then be able to have just one interface in /aif/err that presents messages grouped by the topic
Kind Regards
David Rittinghaus
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.
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
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
auth object /AIF/PROC is missing values.
Hi Kiran,
Since you are come from PI, you must know the inbound proxy class also the outbound proxy class.
When you defining a inbound interface, input the inbound proxy class and method, the RAW structure is automatically show up, which is come form the parameter of method. And vice versa for outbound interface.
For a IDOC interface, you could run /AIF/IDOC_GEN_IF_AND_STR report, to convert IDoc basic type to raw structure.
The other contents, already in cookbook.
Regards,
Archer