cancel
Showing results for 
Search instead for 
Did you mean: 

How to switch off ALEAUD

p_vanos
Active Participant
0 Kudos

Hi,

I am working in XI 3.0 and suffering from a load of ALEAUD idocs which are formed in the SAP sending system. The scenario I use is:

SAP46C --> XI --> Third party (XML file NFS)

I do not want to have the IDOC's but they seem to be created by the IDOC adapter! Please advise?

Kind regards,

Paul

Accepted Solutions (0)

Answers (2)

Answers (2)

p_vanos
Active Participant
0 Kudos

Here is a little simple ABAP which may help you update the table before stacklevel 9!

Kind regards,

Paul

&----


*& Report ZFILL_IDXNOALE

*&

&----


*&

*&

&----


REPORT zfill_idxnoale.

************************************************************************

  • Author : Paul van Os Capgemini NL

  • Date : 03-01-2005

  • Reason : Before stacklevel 10 there is no normal way to populate

  • table IDXNOALE which enables you to deactivate acknow-

  • ledgement IDOC's

  • Input parameters are PORT (IDX1) IDOC type and Message

  • type, this program will update table IDXNOALE!

************************************************************************

DATA: gs_idxnoale TYPE idxnoale,

gt_idxnoale TYPE TABLE OF idxnoale,

gs_idxporsm59 TYPE idxporsm59,

gs_idxsload TYPE idxsload.

PARAMETERS: pa_port TYPE idxporsm59-port OBLIGATORY,

pa_mest TYPE idxnoale-mestyp OBLIGATORY,

pa_idoct TYPE idxsload-idoctyp OBLIGATORY.

START-OF-SELECTION.

CLEAR gt_idxnoale.

SELECT *

INTO gs_idxporsm59

FROM idxporsm59

WHERE port EQ pa_port.

SELECT *

INTO gs_idxsload

FROM idxsload

WHERE port EQ gs_idxporsm59-port

AND idoctyp EQ pa_idoct.

CLEAR gs_idxnoale.

gs_idxnoale-port = gs_idxporsm59-port.

gs_idxnoale-client = gs_idxporsm59-client.

gs_idxnoale-mestyp = pa_mest.

COLLECT gs_idxnoale INTO gt_idxnoale.

ENDSELECT.

ENDSELECT.

END-OF-SELECTION.

LOOP AT gt_idxnoale INTO gs_idxnoale.

MODIFY idxnoale FROM gs_idxnoale.

IF sy-subrc EQ 0.

COMMIT WORK.

WRITE: / 'Update went ok'.

ELSE.

ROLLBACK WORK.

WRITE: / 'Update did NOT went ok'.

ENDIF.

WRITE: gs_idxnoale.

ENDLOOP.

p_vanos
Active Participant
0 Kudos

I have found it already:

Please look at note 777175, which explains the use of table IDXNOALE, a table which has to be maintained to get rid of the acknowledgement IDOC's

Have fun using this!