cancel
Showing results for 
Search instead for 
Did you mean: 

Finding CUOBJ value for a FM

andy_yeri
Contributor
0 Kudos

Experts,

For Sales Orders, I want to find their respective CUOBJ's in APO. How do I?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi!

try to use:

  CALL FUNCTION '/SAPAPO/RRP_LC_ORDER_GET_DATA'
    EXPORTING
      it_ordertab    = lt_order_tab[]
    IMPORTING
      et_outputs     = lt_order_outputs[]
      et_peg_inpnode = lt_peg_inpnode
      et_peg_outnode = lt_peg_outnode.

In table lt_peg_inpnode you can find CUOBJ.

To find ordid from R3 sales orders you can use

FUNCTION '/SAPAPO/MAP_DELNR_GET_ORDID'

Thank you!