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

Problems with idoc ORDERS05

maria_merino
Active Participant
0 Likes
1,151

Hi experts,

I created a new Z segment for idoc ORDERS05 and it works fine. This idoc is generated whenever a PO is created or modified. But if the PO has locked or deleted items, there is no segment for this items in the IDOC. Should I modify any code or something in SPRO??

Thanks in advance,

Maria

8 REPLIES 8
Read only

former_member404244
Active Contributor
0 Likes
1,056

Hi,



there is no segment for this items in the IDOC.

what does this mean.

Regards,

Nagaraj

Read only

0 Likes
1,056

Hi,

If I have 3 positions in the PO and one of them is locked or deleted (ekpo-loekz = 'S' or 'L'), in the IDOC it only appears 2 positions, the one that has loekz = S or L doesn't have any segment.

Maria

Debugging I have seen that SAP doesn't use items with LOEKZ <> '' so it's impossible to get those segments. I'll create them manually.

Edited by: poketina on Feb 3, 2011 11:59 AM

Read only

0 Likes
1,056

Hi again...

I'm trying to make a copy of the standr FM IDOC_OUTPUT_ORDERS because I think it may be easier to add the segments I need. I have also created in tx. WE41a new operation code ZME10 with my new fm. An in tx. WE20 I have assigned ZME10.

The problem is when I run ME9F i get this error:

An exception occurred. This exception is dealt with in more detail below

. The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FUNC',

was neither

caught nor passed along using a RAISING clause, in the procedure

"NEW_DYN_PERFORM" "(FORM)"

.

Since the caller of the procedure could not have expected this exception

to occur, the running program was terminated.

The reason for the exception is:

The program "RSNASTED" contains the CALL FUNCTION statement.

The name of the function module to be called is "ZIDOC_OUTPUT_ORDERS".

but "ZIDOC_OUTPUT_ORDERS" cannot be found in its function group.

Any idea ??

thanks in advance !

Read only

0 Likes
1,056

Hi,

Please activate the function group.

Regards,

Nagaraj

Read only

0 Likes
1,056

I created a new function group ZIDOC_OUTPUT_ORDERS and it's activated...

Read only

0 Likes
1,056

Hi, I can't solve this dump, My mew function ZIDOC_OUTPUT_ORDERS is activated and the function group ZIDOC_OUTPUT_ORDERS is also activated. I don't know where is the problem..

Any idea ??

Thanks in advance !!

Read only

0 Likes
1,056

i've seen these diffrences:

EVCODE EVENTT ROUTID MESTYP EDIVRS EVENTN EVENXX INVERS DESCRP

ME10 ME_ORDERS IDOC_OUTPUT_ORDERS ORDERS 1 ME_ORDERS ME_ORDERS 1 Ausgabe Bestellungen

ZME10 ZIDOC_OUTPUT_ORDERS 1 1 Ausgabe Bestellungen

How can I modify table TEDE1 ??

Thanks !!

Read only

maria_merino
Active Participant
0 Likes
1,056

.