‎2011 Jan 31 8:51 AM
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
‎2011 Jan 31 9:03 AM
Hi,
there is no segment for this items in the IDOC.
what does this mean.
Regards,
Nagaraj
‎2011 Jan 31 9:12 AM
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
‎2011 Feb 10 12:10 PM
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 !
‎2011 Feb 10 12:21 PM
‎2011 Feb 10 12:23 PM
I created a new function group ZIDOC_OUTPUT_ORDERS and it's activated...
‎2011 Mar 14 8:54 AM
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 !!
‎2011 Mar 14 9:04 AM
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 !!
‎2011 Feb 10 12:13 PM