Skip to Content
0
Apr 10, 2017 at 02:34 PM

Create Order /n/SAPAPO/CDPS0 UserExit EXIT_SAPLCDPSUSER_001

223 Views Last edit Apr 10, 2017 at 02:34 PM 2 rev

Hello all,

i am new in APO and try to generate a order using function module.

At the moment i use the FM /SAPAPO/RRP_ORDER_CREATE_FINDS

This works correctly.

I even get an an orderid and an ordno back.

But wenn i look at tcode: /SAPAPO/RRP3 there was no order generated.

Am i on the right way? Or am i completely wrong?

thanks for any help.

Luis

  call function '/SAPAPO/RRP_ORDER_CREATE_FINDS'

    exporting

      iv_pegid           = lf_pegid

      iv_quantity        = 1000

      iv_scrap           = 0

      iv_rqmtti          = lf_start_time

      iv_startti         = lf_start_time

      iv_configuration   = lf_configuration

      iv_firmed          = 'X'

      iv_application     = 'B' "gc_rrp_dialog

      iv_no_source_popup = 'X'

*     iv_deschar_val     = lv_deschar_val

      is_source          = ls_source

*     iv_orderid         = iv_ordid

*     iv_ordno           = iv_ordnr

*     iv_order_creation_time = iv_order_creation_time

    importing

      ev_ordid           = lf_ordid

      ev_ordno           = lf_ordno

*     ev_user_canceled   = ev_cancelled

*     et_changed_io_nodes = lt_nodes

    exceptions

      error_message      = 1.