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: 

Check Customer screen in me23N

Former Member
0 Kudos

Hi,

I have create a customer screen (Me23N Item -SAPLXM06 - 0111 ) with 1 field obligatory : EKPO-ZZPS_POSID.

The value is save in the table EKPO. But if i'm not going (clik in the customer screen) in the customer screen, he don't verify the field and save the data without take the customer field. how can i do, for he verify the customer screen and if the field is empty, they are an error message in the check box ? ( when we check a popup open and all the error are listed - i don't know how update this popup with my customer field ).

Thank you for your help and your reply.

Spawnrad

1 ACCEPTED SOLUTION

former_member15255
Active Participant
0 Kudos

Hello,

In this case u will have to implement

BADI : ME_PROCESS_PO

Goto the Method

Method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM

The Above Badi & Method should solve ur problem for further clarification plz reply

regards

Suresh Nair

5 REPLIES 5

former_member15255
Active Participant
0 Kudos

Hello,

In this case u will have to implement

BADI : ME_PROCESS_PO

Goto the Method

Method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM

The Above Badi & Method should solve ur problem for further clarification plz reply

regards

Suresh Nair

Former Member
0 Kudos

Thanks Suresh for your help.

In this method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM can i update the popup with error message in me23N ?

how can i import ekpo data to verify that EKPO-ZZPS_POSID is not empty.

Thanks.

Former Member
0 Kudos

I have implemented the badi and the method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM

I have import the data using this code :


data: w_data type mepoitem.

call method im_item->get_data
receiving re_data = w_data.

If w_data-ZZPS_POSID = ''.
********************
*********************
********************
endif.

call method im_item->set_data
exporting im_data = w_data.

How can i update the error message please? they are a popup in the me23N when we check who appear and display all the warning and error message.

thanks for your help.

Former Member
0 Kudos

I have found :

If w_data-ZZPS_POSID = ''.

MESSAGE ID 'MSG' TYPE 'E' NUMBER '000' WITH 'OTP'.

endif.

and that work.

and that display :

S:MSG:000 OTP

how can i hide S:MSG:000 ? it's possible?

Former Member
0 Kudos

It's solve

MESSAGE w007(zmap) WITH DISPLAY LIKE 'W'.