Skip to Content
0

Exit or BADI for Inspection lot QA32 on SAVE button along with after QAMR Table update in DB

Apr 27 at 09:37 AM

32

avatar image

Hi all,

My requirement is to trigger a custom IDOC on Inspection lot SAVE. Whenever the characteristics status is been changed w.r.t Result Value.

Where I have found a BADI i.e. QE_SAVE. Which is working fine and I'm done with the development of an IDOC by calling a Z FM in update task inside the BADI.

But the issue is with the Table QAMR. This BADI will trigger *BEFORE* the QAMR Table update. So, I'm missing the fields of QAMR which are not yet saved into the DB.

Now, please let me know a place to write a code, it can be a Exit or a BADI, which should trigger at Inspection lot SAVE + After QAMR Table update.

Note: Please let me know actual working place as per my scenario, instead of throwing some random Exit or BADI names here.

Thank you.

With Regards,

Sudhir.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Yarnagula Sudhir Apr 27 at 11:57 AM
0

Hi all,

I found the solution. Its the same BADI: QE_SAVE. I'm getting the ITAB of Characteristics from the Memory ID: (SAPLQEEM)QAMKTAB[]. where I can found QAMR related fields too, which are not yet updated into the DB.

As I'm calling my Z FM in update task, its fine.

Thank you.

Share
10 |10000 characters needed characters left characters exceeded