Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BADI: ME_PROCESS_PO_CUST~PROCESS_HEADER? it is urgent

Former Member
0 Kudos

Hi,

I implemented BADI ME_PROCESS_PO_CUST and write some lines in the method of process_header.

but i discover the field reswk is still no value. why.

Thanks.

Best regards.

DATA: re_data TYPE mepoheader.

  • get the header data

CALL METHOD im_header->get_data

RECEIVING

re_data = re_data.

re_data-reswk = 'L000'.

CALL METHOD im_header->set_data

EXPORTING

im_data = re_data.

5 REPLIES 5

Former Member
0 Kudos

hi all,

could anybody give me some advice.

it is urgent. thanks.

best regards.

Former Member
0 Kudos

Hi

First check whether this field is there or not in the table data of EKKO

If it is there then it should come into the code of your BADi header data re_data.

Also check after calling method whether other fields data is coming into re_data or not ? if other fields data is coming and only this particular field data is not coming then the problem with code(after it is there in EKKO)

if in EKKO itself it is not there it is not your mistake/code mistake.

Reward points for useful Answers

Regards

Anji

0 Kudos

Thank you very much.

I find the field can be inputed only when po type is STO.

Former Member
0 Kudos

hi, could anybody help me, thanks. i have no way. it is urgent.

best regards.

Former Member
0 Kudos

I don't use this BADI, I do it via BAPI