on 07-11-2007 10:49 AM
Hi All,
I got the scenario where i need to generate two files ( 1 with header data and 1 with item data) for single idoc FIDCC1.
Is it possible to acheive this?
Please suggest me how to appraoch this scenario?
Thanks.
Regards
Seema.
Hi,
<b>Design Time</b>
<i>Interface Objects</i>
create 2 data types one for header and one for data
create 2 message types one for header and one for data
create 2 Interfaces (outbound) one for header and one for data
<i>Mapping Objects</i>
In message mapping, there are 3 tabs Design, Test and Messages...
Go to Messages and select source as your IDoc and in target
Messages select two message types.. (data and header)
Then design Interface mapping..
<b>Configuration Time</b>
Same as IDoc to single file...
but you need have two receiver agreement...
In interface determination go for extended option...
Hope this helps
Regards,
Ramesh P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramesh,
I also felt the same.
But in receiver agreement i can give
1 Sending BS
1 Receiving BS
1 Message Interface(outbound)..
1 commu channel.
If i want to create another receiver agreement for 2 comm. channel.
It is not taking because "Object already exists"
So even if i create 2 Comm. channels.i cannot create 2 RX agreements beacause of
1 Sending BS
1 Receiving BS
1 Message Interface(outbound)..
Please suggest me.
Regards
Seema.
Hi Reddy,
This is very much possible, having more than one receiver agreement with different interfaces.
<b>Receiver agreement...</b>
Sender_BSystem | Receiver_Bsystem | <Interface for your header> | Namespace
Sender_BSystem | Receiver_Bsystem | <Interface for your data> | Namespace
Regards,
Ramesh P
Hi,
>>>>><i>But here iam having only one Rx System and only one outbound Message interface. That's why it is not allowing me to create 2nd receiver agreement for 2nd commu channel.
And it is displaying as " Object already exists"</i>
Yes, exactly you are right.
In your case you have to create one interface for header and one interface for data and both outbound.
Regards,
Ramesh P
Thanks Rajesh,Ramesh and Preteek.
Im following the below steps.
File type : 2 DATA TYPES (Header, Item)
Msg Type: 2 Message Type (Header Msg, Item Msg)
Msg Interface: 2 Messgae interfaces (Category Inbound, Mode assynchronous).
Message Mapping:
You can do a multi mapping (1:N).
Else
Perform 2 message mapping
a) with IDOC TO Header Msg
b) Between IDOC to Item Msg.
Perform 2 Interface Mapping
IDOC-> HEADER INTERFACE
'IDOC -> ITEM INTERFACE.
ID:
Import Both the Business Systems
1) Define 2 Communication channel for File Business Systems. (one for Header, other one for Item).
2) Define 1 Receiver Determination
3) Define 2 Interface Determination
4) Define 2 receiver Agreements as we have 2 communication channel.
Hope it will works..
<b>
Rewarded the points.</b>
If i get get any doubts while developing .. i will disturb u guys again.
Thank You.
-Seema.
SOURCE IDOC TARGET 2 FILES NO BPM .
IR:
FOR FILE / LEGACY APPLICATION :
File type : 2 DATA TYPES (Header, Item)
Msg Type: 2 Message Type (Header Msg, Item Msg)
Msg Interface: 2 Messgae interfaces (Category Inbound, Mode assynchronous).
Message Mapping:
You can do a multi mapping (1:N).
Else
Perform 2 message mapping
a) with IDOC TO Header Msg
b) Between IDOC to Item Msg.
Perform 2 Interface Mapping
IDOC-> HEADER INTERFACE
'IDOC -> ITEM INTERFACE.
ID:
Import Both the Business Systems
1) Define 2 Communication channel for File Business Systems. (one for Header, other one for Item).
2) Define 1 Receiver Determination
3) Define 2 Interface Determination
4) Define 2 receiver Agreements as we have 2 communication channel.
Hope you got it.Any errors please post.
Cheers,
<b>*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<i>Is it possible to acheive this?</i>.
yes
<i>Please suggest me how to appraoch this scenario?</i>
Do the mapping of header of idoc to first file structure and mapping of the item details to other file structure. Then do the receiver dtermination
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it's possible in standard - you can create two receivers in receiver determination
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.