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: 

Implementing BADI's ME_PROCESS_PO_CUST & ME_GUI_PO_CUST

Former Member
0 Kudos

Hi All,

I'm trying to implement BADI's ME_PROCESS_PO_CUST & ME_GUI_PO_CUST. I think I have everything in place. My new custom fields can read data from the database. However, if I change any of the data on custom fields, and then hit 'SAVE' (in ME22N), the pop-ups comes up 'No data changed', and abandones the saving process.

Is there a method that is responsible for recognizing changes to the custom fields? I debugged method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_MODEL and everything looks good. The " re_changed" indicator is set to 'X' as it's supposed to.

Please let me know if I'm missing something.

Thanks,

Roman D.

1 ACCEPTED SOLUTION

0 Kudos

Hi Roman

I've incountered the same problem

I mamaged to find out that the reason for

the message is base on the value in parameter:

vb_updkz in program saplmepo.

the parameter should hold a value 'X'

but is empty instead.

thats as far as I got

did you find a solution since the time you posted the note

Ronit.

10 REPLIES 10

0 Kudos

Hi Roman

I've incountered the same problem

I mamaged to find out that the reason for

the message is base on the value in parameter:

vb_updkz in program saplmepo.

the parameter should hold a value 'X'

but is empty instead.

thats as far as I got

did you find a solution since the time you posted the note

Ronit.

0 Kudos

Hi Roman

After some more digging I found out the right way to

solve our problem.

There is not need the use the vb_updkz field,

instead you need to do the following :

PROCESS BEFORE OUTPUT

MODULE STATUS_000# " delete line

MODULE EVENT_PBO " write instead

PROCESS AFTER INPUT

MOUDLE USER_COMMAND_000# "delete line

MODULE EVEN_PAI "write instead

which appears in your subscreen.

good luck

Ronit.

0 Kudos

Hi Ronit,

Thanks for your help!

Regards,

Roman

Former Member
0 Kudos

Hi,

I'm trying create Implementation for BADI 'ME_PROCESS_PO_CUST' and when I try activate this Implementation, I got error message 'Implementation Class ZCL_IM_EM_GUI_PO_CUST contains error....'

But when I try using syntax check, no error message, only for warning message.

my steps are:

1. Create Implementation

2. Give Definition

3. Fill Description

4. Activate

Could you help me.

Thanks.

Message was edited by: Andre Andre

Message was edited by: Andre Andre

Message was edited by: Andre Andre

0 Kudos

hi ,

May be alrady another implementation is there for that BADI 'ME_PROCESS_PO_CUST' .In attributes tab check Multiple use check box.

rajkumar abbu

0 Kudos

Hi,

Thanks for your info.

It's mean, I must make a new Implementation again ?

Because when I change Implementation Z....., I can't change multiple use.

Do you know, why If I deactivate Implementation, I can't change to activate again.

Any information from you very appreciated.

Thanks.

Andre.

0 Kudos

Hi Andre,

You can create a new implementation in SE19 for the same BAdI definition ie 'ME_PROCESS_PO_CUST'. That is the fundamental advantage of BAdIs over the User Exits.

Good Luck,

Suresh Datti

0 Kudos

Hi,

I still can't activate my implementation. I have created many times for this BADI.

It's different with my experience in BADI, just for this BADI, I can't activate.

Thanks.

Andre.

0 Kudos

Hi,

did you try to do it via SPRO (material managment -> purchasing -> ...)? I also had this problem, got the message 'No implementation ..' or so.

Cheers,

Stefan.

0 Kudos

Hello,

We have the same problem - given that you experienced this a couple of years back, I am hoping you'll respond with a solution.

Thanks,

Padma