SAP Note 631009 - Duplicate orders with same external number

Composant : Scheduling Functions -

Solution : https://service.sap.com/sap/support/notes/631009 (Connexion à SAP Service Marketplace requise)

Mots Clés :
call function '/sapapo/dm_select_ordno_range'    exporting      iv_simid                = verid      it_ordno_range          = ord_ran[]    iv_ordno                =   importing     et_ordkey               = lt_ordkey     ev_subrc                = lv_subrc   exceptions     lc_connect_failed       = 1     lc_com_error            = 2, call function '/sapapo/dm_matid_get_material'         exporting              iv_matid = ls_supply-source-matid         importing              ev_matnr = lv_matnr         exceptions, call function '/sapapo/dm_locid_get_location'         exporting              iv_locid = ls_supply-source-locto         importing              ev_locno = lv_locno         exceptions, call function '/sapapo/rrp_lc_order_get_data'         exporting              iv_order      = ls_ordkey-ordid         importing              es_supply     = ls_supply         exceptions              error_message = 0, call function '/sapapo/dm_ordid_get_order'         exporting              iv_ordid  = ls_ordkey-ordid         importing              ev_text25 = lv_text         exceptions, verid type /sapapo/vrsioid obligatory, ls_supply  type /sapapo/rrp_order_str, collect duplicate orders  sort lt_ordkey, lt_ordkey  type /sapapo/om_ordkey_tab, lv_matnr   type /sapapo/matnr

Notes associées :

575958Composite SAP note: Avoiding data inconsistencies in APO
210564Copying a complete APO system