cancel
Showing results for 
Search instead for 
Did you mean: 

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

yarnagula_sudhir
Active Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

yarnagula_sudhir
Active Participant
0 Kudos

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.

Answers (0)