Skip to Content
0
Apr 01, 2014 at 06:06 AM

Problem with QM certification text in PR creation..

19 Views

when i am creating the Purchase Req.,QM certification text(maintaing in Ztable for each material) of the material should be populated under item detail.
for this i have implemented the BADI ME_PROCESS_REQ_CUST (post method).I have used the following FM for doing this.

ls_header-tdobject = 'EBAN'.
ls_header-tdname = l_tname.
ls_header-tdid = 'A92'.
ls_header-tdspras = sy-langu.


call function 'SAVE_TEXT'
exporting
header = ls_header
insert = ' '
savemode_direct = 'X'
importing
newheader = ls_newheader
tables
lines = lit_tlines
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.

the problem here is some times the Text is not populating for the same material in differnt PRs.
for example if i have created 3 PRs with same material(ex:12345).
in any one of those two PRs the text is populating and in one PR the text is missing.

this problem is only in some times, remaining time the text is POpulating for all the PRs.

Attachments

screen.JPG (28.2 kB)