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

How to stop sending IDOC

Former Member
0 Likes
2,783

Hi,

We are sending an outbound IDOC of type ORDERS from ME23N using message controls.

Now we have a situation wherein we need to stop sending the IDOC if a condition is satisfied.(EKET-WEMNG NE 0).

Please let me know how this can be achieved.

Thanks in advance,

Kamalakar.

Hi Kamalakar,

You need to check this in the userexit whether the data is having in the segment or not.

If its there then try to create the IDOC or else exit from the process without creation of IDOC . Try to findout the suitable exit from SMOD.

Hope this helps you.

Regards,

Anki Reddy

4 REPLIES 4
Read only

Former Member
0 Likes
1,592

Search(In SCN) Exit for Idoc type ORDERS.And place a small piece of code inside.

Read only

Former Member
0 Likes
1,592

Hi,

please find the user exits for me23n

AMPL0001 User subscreen for additional data on AMPL1

LMEDR001 Enhancements to print program

LMELA002 Adopt batch no. from shipping notification when posting

LMELA010 Inbound shipping notification: Transfer item data from

LMEQR001 User exit for source determination

LMEXF001 Conditions in Purchasing Documents Without Invoice Rece

LWSUS001 Customer-Specific Source Determination in Retail

M06B0001 Role determination for purchase requisition release

M06B0002 Changes to comm. structure for purchase requisition rel

M06B0003 Number range and document number

M06B0004 Number range and document number

M06B0005 Changes to comm. structure for overall release of requi

M06E0004 Changes to communication structure for release purch. d

M06E0005 Role determination for release of purchasing documents

ME590001 Grouping of requsitions for PO split in ME59

MEETA001 Define schedule line type (backlog, immed. req., previe

MEFLD004 Determine earliest delivery date f. check w. GR (only P

MELAB001 Gen. forecast delivery schedules: Transfer schedule imp

MEQUERY1 Enhancement to Document Overview ME21N/ME51N

MEVME001 WE default quantity calc. and over/ underdelivery toler

MM06E001 User exits for EDI inbound and outbound purchasing docu

MM06E003 Number range and document number

MM06E004 Control import data screens in purchase order

MM06E005 Customer fields in purchasing document

MM06E007 Change document for requisitions upon conversion into P

MM06E008 Monitoring of contr. target value in case of release or

MM06E009 Relevant texts for "Texts exist" indicator

MM06E010 Field selection for vendor address

MM06E011 Activate PReq Block

MMAL0001 ALE source list distribution: Outbound processing

MMAL0002 ALE source list distribution: Inbound processing

MMAL0003 ALE purcasing info record distribution: Outbound proces

MMAL0004 ALE purchasing info record distribution: Inbound proces

MMDA0001 Default delivery addresses

MMFAB001 User exit for generation of release order

MRFLB001

Thanks,

Asit Purbey.

Read only

Former Member
0 Likes
1,592

Hi Kamalakar,

You need to check this in the userexit whether the data is having in the segment or not.

If its there then try to create the IDOC or else exit from the process without creation of IDOC . Try to findout the suitable exit from SMOD.

Hope this helps you.

Regards,

Anki Reddy

Read only

0 Likes
1,592

Hi Ankit,

We have a userexit where we are manipulating data existing in standard segments and populating Z segments.

Can you tell me how exactly to stop the idoc. ie. do we have to delete EDIDD entries??

Thanks,

Kamalakar