Skip to Content

Send deleted PO IDOCs via message control

I have a message control system with output determination working fine for PO creation and change.

I am using a custom message type - ZORDERS1 and a custom output type - ZNEU.

I have 2 lines for message control in the outbound partner profile.

Both have process code of ME10 and one of them has change (checkbox ticked ) and other spaced.

I have a user routine to check some conditions which will generate the output. But when I delete all the items of the PO, the automatic output determination works .But not the way I expect..It doesn't trigger the user routine and upon saving doesn't generate the idoc at all.

Is deletion of PO's and sending deleted PO's follow a different approach than changing a PO ?

Thanks in advance.

Shareen

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 23, 2008 at 09:24 PM

    Shareen,

    I used everything standard, except for the output type. For the IDocs I used 2 message types - ORDERS (ME10) and ORDCHG (ME11). Both were linked to my ZNEU output type. It worked just fine with changes, deletions, etc. (deletion is just a change on PO, by the way).

    The reason may be in your routine (where did you put it, by the way - in output requirements?). And what does the processing log say for the messages?

    Edited by: Jelena Perfiljeva on Jul 23, 2008 11:25 PM

    Add comment
    10|10000 characters needed characters exceeded

    • THis is what I feared too. I have to send all these IDOCs to a 3rd party system (EDI) called Swisslog (A WMS system) and that system doesn't understand if I just send changes..So I have to send the whole PO with all the line items. I had tried Me10 and Me11 ( with 'X' for change ) earlier under my message type (ZORDER1). But this wouldn't trigger the user routine too when there is any change. I am still perplexed why the user routine is not triggered . I am thinking of either coming up with my new process code and a FM that mimick both ME10 & Me11 or doing the coding to fill all the fields and additional items in the user exit for ME11. :-s

      I wish this was ALE where sending just the changes would work.But thats not the case.

      THanks again.

      Shareen

  • avatar image
    Former Member
    Mar 26, 2013 at 09:22 PM

    Hi,

    We are also doing same thing. Means using ME10 in ORDER and ME10 agian in ORDERCHG but with change check box ticket. As per the standard if all line items of PO ar deleted then IDOC doe snot get generated and standard error "No Items exist" occurs.

    Any way how to over come this.

    Why we are using ME10 twice as our requirment is to send latest version of the PO. Whcih cna be fulfilled in this way. If we use ME11 then only changed line item is sent out an throid party cannot handle the same.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 09, 2014 at 03:20 PM

    Hi,

    Have you found the solution to send IDOC on PO deletion?

    Please let me know how you did it.

    Thanks,

    Add comment
    10|10000 characters needed characters exceeded