Skip to Content
0

Create Order /n/SAPAPO/CDPS0 UserExit EXIT_SAPLCDPSUSER_001

Apr 10, 2017 at 02:34 PM

60

avatar image

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.
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Tiago Furlanetto
Apr 10, 2017 at 05:06 PM
0

Hi Luis,

Could you please confirm whether FM /SAPAPO/OM_ORDER_CHANGE is called during order creation and, in positive case, whether ET_RC has no entries at the end of the FM? Do you see any entries in ET_CHANGED_IO_NODES at the end of the FM, and if yes, with which IO_TIME / IO_END_TIME?

This function is used to schedule the order in the liveCache - if it's successful and you saved and adopted the results at the DSPB, I would expect the order to be visible at the Product View.

Regards,
Tiago

Share
10 |10000 characters needed characters left characters exceeded