Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

IDOC Filtering

Former Member
0 Likes
817

Dear all

I use the userexit ZXSBDU01 to modify an outgoing idoc (MATMAS + COND_A).

Is it possible to say somehow in this user-exit, that the IDOC should not be sent?

Are there other user-exits to filter outgoing IDOCS? My problem is that I have to filter outgoing COND_A IDOCS dependent of the related material. So I have to make a complex logic, which will go out and which not. I think i can't do this with BD64.

Herbert

Dear all

I use the userexit ZXSBDU01 to modify an outgoing idoc (MATMAS + COND_A).

Is it possible to say somehow in this user-exit, that the IDOC should not be sent?

Are there other user-exits to filter outgoing IDOCS? My problem is that I have to filter outgoing COND_A IDOCS dependent of the related material. So I have to make a complex logic, which will go out and which not. I think i can't do this with BD64.

Herbert

4 REPLIES 4
Read only

Laxmana_Appana_
Active Contributor
0 Likes
700

Hi,

Alternatively you can do like this , depending on COND_A values , populate values into any Z- field with 'R' (Required) 'NR' (Not Required) values in the Idoc , if these idoc's are reaching EDI system or XI , then implement the logic depending on this field value.

if value is R then XI or EDI system will consider that Idoc , if it is 'NR' then XI or EDI system will not consider that Idoc .

Regards

Appana

Read only

0 Likes
700

Hi Appana

This does not work, because I'm using SAP to SAP RFC Connection.

Regards

Herbert

Read only

Former Member
0 Likes
700

Hi Herbert,

Did you look into the IDoc serialization part? I never used it though.

Using this you can have idoc dependencies. Here is link from SAP help.

<a href="http://help.sap.com/saphelp_47x200/helpdata/en/0b/2a66c9507d11d18ee90000e8366fc2/frameset.htm">http://help.sap.com/saphelp_47x200/helpdata/en/0b/2a66c9507d11d18ee90000e8366fc2/frameset.htm</a>

Hope this helps.

Sumant.

Read only

0 Likes
700

Hi Sumant

But when I understand correct, that means that my IDOC allways will be sent and generate an error on the destination system when the MATMAS not has arrived before...

that's not exactly how I wish to have it

Regards

Herbert