cancel
Showing results for 
Search instead for 
Did you mean: 

While saving an order, KEDR can't get data from some tables

former_member690280
Discoverer
0 Kudos
220

While saving the order (VA01), KEDR cannot get data from some tables because the order saving process has not finished.

Therefore I cannot fill the CO-PA data in KEDR, while create an order(VA01). SD->CO-PA

It works in process VA02.(Because the tables was already filled)

//User Exit - KEDR: I take empty values, while create an order.

Do you have any Idea, how can use KEDR TCODE after saving an Order

*&---------------------------------------------------------------------*

*& Include ZXKKEU11

*&---------------------------------------------------------------------*

TABLES: VBPA.

........

CASE i_operating_concern.

WHEN '9900'.

e_exit_is_active = 'X'.

ce0_9900 = i_copa_item.

CASE i_step_id.

WHEN '0001' .

SELECT LAND1 INTO lv_land1 FROM VBPA where VBELN = ce0_z1000-KAUFN AND PARVW = 'WE'.

if sy-subrc EQ 0.
ce0_z1000-LAND1 = lv_land1.
ENDIF.
ENDSELECT.

......

Accepted Solutions (0)

Answers (0)