cancel
Showing results for 
Search instead for 
Did you mean: 

PO DOC check Badi Issue

Former Member
0 Kudos

Hi,

I am using BBP_DOC_CHECK BADI.

i am populating error if PO value exceeds 10000.

here is the code..

if flt_val = 'BUS2201' AND ( iv_save = 'X' OR iv_mode = 'T' ).

****

******

append et_messages.

endif.

Now my issue is, i am trying to create PO with value 20000 and click the Check Button. then i am getting the error message "PO value is 20000'.

now i went item data and change the one item value 30000. now i pressed again the check button.

Now i am getting two errors.

"PO Value is 20000'.

"PO value is 30000".

actually i should get only the second error. first error is not refreshing. PLease what will be the issue.

Appreciate your reply.

Best Regards,

Surya Sankar

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

i have raised this issue to SAP

Former Member
0 Kudos

Hi. Just refresh ET_MESSAGES at the start of the BADI.

Regards,

Dave.

Former Member
0 Kudos

Hi,

As the first error message is already appended to the message table, delete the previous error message from the error message table.

Hope this will resolve your issue.

Regards,

Sreedhar Vetcha