cancel
Showing results for 
Search instead for 
Did you mean: 

Serialization by Object Type of IDOCS Out of XI

Former Member
0 Kudos

Hi,

I have the following scenario:

File>XI>SAP DEBMAS IDOC(s)

If an IDOC errors out (bad data sent in, customer locked etc.) it is going to create a work item on the receiving SAP system that will be reprocessed by a business user.

The situation I want to prevent is this:

IDOC 1 -

Updates customer 100.

Changes the street to 222 Main St.

This IDOC errors out because customer 100 is locked. A work item gets created for reprocessing.

IDOC 2 sent in before the work item is reprocessed -

Updates customer 100. Customer is no longer locked.

Changes the street to 222 Main St South.

Now the work item is reprocessed and the customer is updated to 222 Main St when it should be 222 Main St South.

I think I can use serialization to prevent the second IDOC from being processed before the 1st IDOC is successfully processed. However, I would like to allow an IDOC for customer 300 to be processed even if an IDOC for customer 100 is in error.

Can I use Serialization By Object Type to accomplish this?(http://help.sap.com/saphelp_erp2004/helpdata/en/0b/2a66c9507d11d18ee90000e8366fc2/frameset.htm)

Help.sap shows me how to set up the Serialization on the receiving SAP system. However it states that the serialziation has to be set up on both systems. Does this mean that I just do that same config on the XI system? How does XI support the Serialization By Ojbects concept?

Thanks,

Jeff

Accepted Solutions (1)

Accepted Solutions (1)

STALANKI
Active Contributor
0 Kudos

/people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter

use it.

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you both for your replies.

Sravya, I did see the weblog for serialization of XI using the IDODC adaptor. However, doesn't it describe how to set up serialization by message type? I wan't to do this by object type so that other IDOCS for different customers are not affected. Correct me if I am wrong about this.

Renjith, my sending system is not an SAP system, I cannot do the serialization configuration in that system. That is why I was wondering how XI supports the functionality of Object Type Serialization.

Thanks,

Jeff

Former Member
0 Kudos

HI Jeff,

My thoughts below....

XI has to do the Job that would have been done by an SAP sending system...

For instance, based on an object key some serialization numbers needs to be created & attached to the IDOC control record.

I donot have access to a system right now...but one should be able to do this in many ways...

One way i would do is like this...Enable serialization (say for customer master from the SAP system which i have access to)...Trigger some IDOCs making changes to different master records..see how the numbering is done by the SAP System and how it is attached to the IDOC(This is just to do a similar process as sap would do)....

Once i see how SAP does it while sending the IDOCs, i will genearate a number on XI abap stack using a number range object & attach it to the IDOC as though it was done by the sending system...

My 2 Cents...

Thanks,

Renjith.

Former Member
0 Kudos

Hi Jeff,

The activities you mentioned needs to be done on both the Sending and receiving systems.

Because when the sending system generates the IDOC, it also generates a serialization key and it would be present in the IDOC control record.

The receiving system will check this entry and see if there are any unposted document which has a lower serialization key for the same instance object type configured and which has not been posted.

There need not be anything that needs to be done on the XI system, except that the serialization key needs to be passed on to the receiving system.

Thanks,

Renjith.