Skip to Content
0
Former Member
Mar 23, 2009 at 09:57 AM

Problem with Exit for Transaction ME51N (MEREQxxx, function group XM02)

53 Views

Hi together,

i have the following problem implementing logic for some customer fields in TA ME51N:

I do the following at PAI (exit ZXM02U03)

ls_mereq_item = im_req_item->get_data( ).

IF eban-zzanno_budget NE *eban-zzanno_budget.

ls_mereq_item-zzanno_budget = eban-zzanno_budget.

CALL METHOD im_req_item->set_data( ls_mereq_item ).

ex_changed = 'X'.

ENDIF.

But I do not get the current header data with get_data(). !!!

->When I save the whole data I always get the document type NB (default) in all the documents even if have chosen a different one.

Please help me with this issue!!!