on 02-19-2015 10:23 AM
Hello guys,
I am new in AIF and i am assigned into a small project to develop a new interface variant.
I understand what AIF is sure just havent done a new outbound interface variant.
What ı understood? Have ı understood right?
There is an interface for goods movements OI0003
and Need to create a new outbound interface variant.
What is an interface variant?
İ created a simple variant called ZOI0003
As ı debugged the code in AIF first the interface itself is executed then
later the interface variant is executed.
For that you need to leave a space for source and destination structure ,does that mean that its inheriting from the OI0003
Do you have any documentaion for how to create an outbound interface?
Any help appreciate it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Markus
Thanks my frıend
I have downloaded and have a read
I couldnt undertstand there is no much examples
If i could see some examples it will make sense
Like theres value mappings and field mappings and then actions.
Whats the diffrence between value mappings and field mappings?
Theres a reqiuremnt
I need to fetch data from a Z table
How would ı do that.?
You mean in general?
Let's say you have a raw structure with three fields (field1, field2, field3) and an SAP structure with only two fields (field4, field5) where field4 should be the concatination of field1 and field2 of the raw strucutre. This is the field mapping. In other words: Which fields are mapped how.
Value mappings are related to the content of the fields. Let's assume that possible values for field1 of the raw structure are "value1" and "value2". In the SAP structure you would like to map these values in order to be "value1" = "value3" and "value2" = "value4". That's the value mapping. The rules for value mappings can be quite complex. Full details can be found in the cookbook I've mentioned.
Does this answer your question?
Thanks Marcus
That makes sense more sure
thats a godo explanation
Can i ask you one more thing?
in here we have a Goods movements interface
Theres no interface variant specified but there is a namespace and interface defined as
OI003And this is linked with the event on a godos movement
So when there s a good movements created it will trigger this interface and AIF.
When theres an interface variant created the code works and triggers the variant
and its ok.
But
My question is when there is no interface variant specified then should not the code still be working using the default interface?
But when i test it it goes as empty XML to PI and the status is set to undefined
Hope i explained it well
please help me in this
thanks
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.