02-08-2012 8:11 AM
When doing MIGO, material document gets generated in background. I would like to pass this material document num (mkpf-mblnr) to the assignment field of GR/IR line item of accounting document (BSEG-ZUONR)
02-08-2012 8:20 AM
Hi
Wellcome to SDN. Depending of MM mov, be careful with the settings for this field. Remember that for accounts related with GR/IR (see the comments in SAP Note 77161 - Summarization of FI postings w.ref.to purchase orders). You could have problems to do the clearing of GR/IR accounts.
But if you are sure, try with BTE 00001120. You can modify ZUONR in T_BSEGSUB. You can also use badi AC_DOCUMENT.
I hope this helps you
Regards
Eduardo
Edited by: E_Hinojosa on Feb 8, 2012 9:20 AM
02-09-2012 3:37 AM
Hi, Thanks for u r response. it is giving problem
My requirement : Transaction is : MIGO
Before posting of material document, update material document number in assignment field of GR/IR line item of accounting document (WE) at number commitment stage
Update MKPF-MBLNR (Material Document Number) in BSEG-ZUONR
.
but already i tried AC_DOCUMENT i got a problem .
What i did,
first use MB_DOCUMENT_BADI with method
mb_document_before_update.
here i tried to get the material document and export into memory
after use AC_DOCUMENT With method
change_after_check.
here Import the material document doc num and pass it to Assignment field in
but it is not working
when i debug first trigger the AC_DOCUMENT And then it goes to MB_DOCUMENT_BADI
Plese help me regarding this.
Edited by: vsreelakshmi on Feb 9, 2012 5:23 AM
Edited by: vsreelakshmi on Feb 9, 2012 5:29 AM
02-09-2012 6:02 AM
02-09-2012 7:04 AM
Hi, thanks for u r response.
i had a look on that , i didnt get the answer from that
02-09-2012 7:07 AM
The answer is not available there, but you have the suggestions available there. Your question will not get a direct answer as its related to a process so Its your responsibility to apply various suggestions and check it.
02-09-2012 8:30 AM