Application Development 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: 

Decide to send an IDOC in Material creation

Former Member
0 Kudos

Hello SAP Gurus,

I would like to know, whether, Does we have any functionality in SAP like

We have requirement as whilecreating a material in SAP, Program should check whether IDOC should trigger or not based on Material condition.

For Ex: If material type is A then IDOC should send else not . Where to define this checks and how to triggered IDOC as we r not using Output Type.

Could you plz help me in this.

Thanks in Advance for your help

We have requirement as whilecreating a material in SAP, Program should check whether IDOC should trigger or not based on Material condition.

For Ex: If material type is A then IDOC should send else not . Where to define this checks and how to triggered IDOC as we r not using Output Type.

4 REPLIES 4

GauthamV
Active Contributor
0 Kudos

hi,

yes,you can use filtering technique in idocs to do this.

you can define your own filter for material type for distribution model in BD64.

Former Member
0 Kudos

Hi ,

In the Distribution model ,create a filter based on material condition or type as per ur requirement .

Which will automatically check that if Material type is A then send or material type B don't send .

in transaction BD64 there is filter option .

Former Member
0 Kudos

Hi Bhushan,

You can trigger an IDOC based on the condition you have mentioned in a user exit or a BADI implementation during MM01 creation.

Check the following reference on the BADI's and User Exits which could be used in MM01.

If you need more info, please do let me know,

Sojan

0 Kudos

But, when we r using change Pointer in MM01, then still BD64 transaction is used.

I mean, BD64 transaction is used when u define Prtner Profile and there u make the setting . but when user will create a Material, based on change pointer, IDOc will generate, I am really sory if i am wrong.

Requesting you to give me step by. step solution.

How i will achieve the functionaliy as Need to check the Material Condition when creating an material. If condition true, then create and send an IDOc else not.

Plz help me,