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: 

Problem saving customer data via BadI ME_GUI_PO_CUST

Former Member
0 Kudos
262

Dear developers,

I have a severe problem with using BadI ME_GUI_PO_CUST.

My intention is not to fill customer-appended fields in EKKO/EKPO

but to maintain PO related data in customer tables.

My BadI implementation works fine for transaction ME23N and ME21N

but whenever I want to save the PO in ME22N and only change one of my additional customer fields, a message says "No changes made."

In BadI ME_PROCESS_PO_CUST method FIELDSELECTION_HEADER the field status is set to '.' (input fields).

In BadI ME_GUI_PO_CUST method TRANSPORT_FROM_DYNP the exporting parameter re_changed is set to 'X'.

Is it possible that the transaction does not get it that changes were made because I do not change any of the original data via ...->set_data( ) in method TRANSPORT_TO_MODEL?

That would be a really nasty problem.

Please respond!

Kind regards,

Petra Peeters

1 REPLY 1

Former Member
0 Kudos
45

Hallo y'all!

I found the solution of my problem by myself.

If somebody is interested:

The model interfaces (if_purchase_order_mm and if_purchase_order_item_mm) do have a method SET_CHANGED you can use to indicate that the object has changed without making actual changes to it.

Kind regards,

Petra