cancel
Showing results for 
Search instead for 
Did you mean: 

Need Solution for the below Requirement

Former Member
0 Kudos

Hello Experts,

     I would request you to kindly provide the solution for my requirement. Here are the below details.

Sender System: SAP ECC system.

Middle Ware System: PI system.

Target System: File.

Sender Structure: IDoc.

    Detail Description:

                   

                              ECC system triggers standard IDoc MATMAS04 to PI system. Each time that transaction BD21 is executed an IDoc will be created. Here the most important requirement is the order of the IDoc transmission must be ensured. The order of the time stamp of change of the material should be the order in which the IDocs are transferred. Independent from the numbering of the IDoc.

                 

    For Example:

          The material was created at 10:01, then changed once at 10:04 and then changed a second time at 10:07. The IDocs won’t necessarily be created in the same order of these changes. The information related to the creation of the material master at 10:01 is in IDoc 101, the info about the second change in IDoc 102 and the info about the third change is in IDoc 103. The transmission order of the IDocs should be IDoc 101, 103, 102, so that the creation and the changes are in the correct order.

Material MasterChange time (timestamp)IDoc-no (automatically created)Transmission order (IDoc-no)
471111.09.2015 10:01 h101101
471111.09.2015 10:07 h102103
471111.09.2015 10:04 h103102

Each IDoc will only contain a change for ONE Material, the change is defined by the change pointer i.e. if the same material was changed twice within 10 minutes 2 IDocs for this material will be created.

     We are using PO 7.4 single stack. Also we have tried EOIO option in Sender Communication channel from PI end. But in case of any failure in one IDoc the remaining IDocs will be effected. So other than EOIO could you please kindly help me if any thing needs to be done PI end.

     Else case please let me know whether the timestamp need to be care from ECC system. If so kindly provide me the code regarding the same.

Appreciate you help for the quick response.

Thanks alot in advance!!!!!

Best Regards,

Prashanth Bharadwaj.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello ,

May be you can collect idocs in ECC in waiting yellow status and then post them as per time to PI.

Some modification might be required from ABAP end.

Thanks.

Answers (2)

Answers (2)

former_member186851
Active Contributor
0 Kudos

Hello Prashanth,

You can try this as well,But i am not 100% whether it will work.

Place the idocs in a temporary folder(like bypass scenario) then process the file to the output(keep the poliing of the sender channel for 10 mins)

Former Member
0 Kudos

Hello All,

     Thanks alot for all for the helpful answers. We have resolved the issue by change pointer option in BD50 transaction. After the time stamp is being attached with change pointer we are setting the flags to YELLOW then sorting as per the timestamp and again we are enabling the flag followed by IDoc triggering.

This is done in ECC system.

Thanks again for the help.

Best Regards,

Prashanth Bharadwaj.

former_member186851
Active Contributor
0 Kudos

Hello Prashanth,

Nice to hear.

Please close the thread.

Former Member
0 Kudos

Thank you

arunneerolil
Contributor
0 Kudos

Prashanth,

EOIO is the only standard option.

Incase of any error the queue should be blocked to ensure the order.

You can design your mapping program in such a way to reduce the failures.

Arun