Skip to Content

BAPI_MATERIAL_MAINTAINDATA_RT give error MH075 after 2 article creation.

I am facing an issue . when i started to pass the article number which is lock state in table control .

Scenario 1 :when I am trying to pass single article it shows properly with log number.

Scenario 2 :when I am trying to pass 2 materials along with lock article which is having error case .

First one showing success correctly , but while 2nd one getting error without lognumber as

MH075 ,but It should show error as first scenaio.

I am clearing all the internal and work areas .

AT END OF matnr.


headdata = rec_header

IMPORTING return = rec_return

TABLES variantskeys = li_variant

plantdata = li_plantdata

plantdatax = li_plantdatax

taxclassifications = li_taxclass.


IF rec_return IS NOT INITIAL.

rec_log-matnr = rec_header-material.

rec_log-aldate = sy-datum.

rec_log-altime = sy-uzeit.

rec_log-aluser = sy-uname.

rec_log-lognumber = rec_return-message_v2.

IF rec_return-type = c_e.

rec_log-status = icon_red_light.

rec_log-remarks = text-015.

ELSEIF rec_return-type = c_s.

rec_log-status = icon_green_light.

rec_log-remarks = text-014.


rec_log-status = icon_yellow_light.

rec_log-remarks = text-015.


APPEND rec_log TO i_log.

CLEAR rec_log.


CLEAR : rec_header , rec_return.

REFRESH : li_variant,li_plantdata,li_plantdatax,li_taxclass.



EXPORTING wait = c_x.

pls help me to overcome this issue.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers