cancel
Showing results for 
Search instead for 
Did you mean: 

Serializing IDocs

Former Member
0 Kudos

Hi,

My scenario is IDoc to File. I want to serialize IDocs.

Where will I specify quality of service EOIO.

Thanks in advance,

Neena

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Neena,

Please see this blog for serialization of IDOC's

/people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi

Thanks,

Varghese Mathew

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

check the link below :

http://saptechnical.com/Tutorials/ALE/Serialization/page1.htm

regards,

Sharath

Former Member
0 Kudos

Hi,

When you are working with IDOC to File scenario, to push IDOCs from R/3 (sender) we need to do some configuration settings like Maintaing RFC destination (SM59), Creating Port (WE21) and Partner profiles (WE20). I hope you know this thing.

Generally QOS is available in Sender adapters only. Here, as there is no IDOC sender adapter, we can set the QOS EOIO (Exactly Once In Order) at parter profiles configured at R/3.

Go to WE20 --> create the partner profile --> double click on Message type of outbound parameters --> Check Queue processing in Outbound options.

This enables you to specify the EOIO at sender side to maintain serializing.

Regards

Bhanu.

Former Member
0 Kudos

Hi Neena,

I don't think you can use IDOC serialization..because

We serialize IDocs in the following cases:

· If you want the Integration Server to process the corresponding IDoc XML messages in the same sequence that it receives them from the IDoc adapter at the inbound channel.

· If you want the receiver to receive the IDocs in the same sequence that the IDoc adapter sends them at the Integration Server outbound channel.

But yours is IDOC to file..

Thanks,

Vijaya.

Former Member
0 Kudos

Check these links on IDOCS packaging on sender side and sending them at one go into the file..

IDOC packaging is explained clearly here..

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38...

Check this thread too..

This blog is on idoc bundling with out a BPM..

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Thanks,

Vijaya.

Reward if helps.

Former Member
0 Kudos

While confuguring file adapter...

It will ask you for the Quality of Service..

There you need to give EOIO..

Thanks,

Vijaya.

Former Member
0 Kudos

Hi,

In Receiver File CC, I am not able to see QoS.

Thanks in advance,

Neena

Former Member
0 Kudos

Hey,

I am sry for that..

The quality of service EOIO (Exactly Once In Order) must be specified in the message header

Prerequisites

· The quality of service EOIO (Exactly Once In Order) must be specified in the message header.

· The receiver system or the sender system must be based on SAP Web Application Server 6.40 or higher. If this is not the case, the quality of service is automatically changed to EO for compatibility reasons and the message is processed accordingly.

Procedure

If you want the Integration Server to process the IDoc XML messages created by the IDoc adapter in the same sequence that the IDocs are sent by your application, proceed as follows:

· Enter a queue name in your application. You can use 16 alphanumeric characters. The prefix SAP_ALE_ is then added.

The IDoc adapter checks the prefix and replaces it with the prefix of the corresponding Integration Server inbound queue (for example, XBQI0000).

If you want the receiver to receive the IDocs in the same sequence that they are sent by the Integration Server using the IDoc adapter, proceed as follows:

...

· In the communication channel, select the check box Queue processing for the receiver.

The IDoc adapter replaces the prefix of the outbound queue (XBQO) with the prefix SAP_ALE_.

You can display the individual messages in the qRFC monitor of the outbound queue. To do this, do one of the following:

¡ Use the queue ID in the list of displayed messages in the monitor for processed XML messages.

¡ Use the transaction ID in the list of displayed XML messages in the IDoc adapter.

¡ Call the transaction qRFC Monitor (Outbound Queue)(SMQ1).

To navigate directly to the display of messages in the IDoc adapter, double click the transaction ID of a message in the outbound queue.

To do this, you must have registered the display program IDX_SHOW_MESSAGE for the outbound queue in the qRFC administration (transaction SMQE) beforehand.

In both cases, the function module IDOC_INBOUND_IN_QUEUE is called, which enables EOIO processing of the messages. The processing sequence is determined by the sequence of the function module calls.

Unlike the other function modules (interface versions from the communication channel), with this function module you have to transfer segment types rather than segment names in the data records.

Serialization of Messages

Use

Serialization plays an important role in distributing interdependent objects, especially when master data is being distributed.

IDocs can be created, sent and posted in a specified order by distributing message types serially.

Errors can then be avoided when processing inbound IDocs.

Interdependent messages can be serially distributed in the following ways:

Serialization by Object Type

Serialization by Message Type

Serialization at IDoc Level

(not for IDocs from generated BAPI-ALE interfaces)

Serialization at IDoc Level

Use

Delays in transferring IDocs may result in an IDoc containing data belonging to a specific object arriving at its destination before an "older" IDoc that contains different data belonging to the same object. Applications can use the ALE Serialization API to specify the order IDocs of the same message type are processed in and to prevent old IDocs from being posted if processing is repeated.

SAP recommends that you regularly schedule program RBDSRCLR to clean up table BDSER (old time stamp).

Prerequisites

IDocs generated by BAPI interfaces cannot be serialized at IDoc level because the function module for inbound processing does not use the ALE Serialization API.

Features

ALE provides two function modules to serialize IDocs which the posting function module has to invoke:

· IDOC_SERIALIZATION_CHECK

checks the time stamps in the serialization field of the IDoc header.

· IDOC_SERIAL_POST

updates the serialization table.

Check the following link:

http://help.sap.com/saphelp_nw04s/helpdata/en/0b/2a66d6507d11d18ee90000e8366fc2/frameset.htm

http://help.sap.com/saphelp_nw04s/helpdata/en/78/2175a751ce11d189570000e829fbbd/frameset.htm

/people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi

Thanks,

Vijaya

former_member181962
Active Contributor
0 Kudos

Hi,

I think the serialization should be done in the backend itself:

http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a66c9507d11d18ee90000e8366fc2/frameset.htm

Regards,

Ravi