Enhancement for updating accounting document in MIGO
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)
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
Similar Messages
-
User Exit or Enhancement for Material accounting document in VL02N at PGI
Hi,
I have 2 requirement at the time of PGI of Delivery.
1) Currently there are 2 accounting document getting created for 2 countries. i want to restrict acc. document creation for one company code.
2) I want to change the GL account in the accounting document while creation.
Could you please help me in finding any user exit or enhancement or BAdi or BTE which can resolve th eissue?
Thanks,Hi,
GL account can be changed through the badi AC_DOCUMENT.
Use the the method CHANGE_INITIAL to change the GL account..
Regards
Aromal R -
Hi,
When we are seeing the accounting document in migo (display mode) or FB03, it shows the entries line item wise. If there are 100 items in a PO along with other po conditions where migo is done, then it is vary difficult to analyise.
Is any way to bring this into consolidated form rather than line item wise?
regardsHello Neeru,
I am not sure if this will help but you can utilize the FS10N and FBL3N to review the account line item in a more consolidated form. The assignment field on the layout can sometimes store the purchasing document number along with line item if you want to try to consolidate/group line items together. If your accounts are not set to open item managed (e.g. inventory), then these reports would not suffice. Then you are left with viewing the data within the FB03 but still have the option to pull in more fields on your layout for analysis. -
Manual creation of idoc for a Accounting document FIDCC1
Hi,
Some of the config for the change pointer was not moved to production and some accounting documents have been created which have not triggered the IDOC.
Is there a way to create the idoc for the accounting documents already created.
Regards,
Puneet.Once you have all your change pointers setup correctly (view bd52) then you should be good to go BUT to answer your question about the existing documents .. you would need to somehow "touch" those documents to trigger the creation of the IDOCs. You can modify something on then that also is attached to the change pointer say a date? 1/11/11 change to 1/12/11 but don't save that value .. change back to 1/11/11 then save.
Just my thoughts .. let me know how it goes.
Jay Esparza -
DMBE2(LC2 amount for a accounting document) in BW
Hello Friends,
The users have a requirement to display the LC2 amount for an accounting document along with LC1 and LC3 amounts. Now the problem I am facing is that the LC2amount is postive for both the actual debt and payments made against the debt amount. Now in the subtotal for a particular customer for that account is adding to the original debt value instead of subtracting as all the LC2 amount values are positive.
Now, the LC2 amount is mapped to DMBE2(LC2 amount for a accounting document) in SAP R3.It is stored in BSAD,BSIS and BSEG tables and its value is positive in those tables too.
I don't understand why LC2 is positive for both the debt and payment amounts. But LC1 and Lc3 have both positive and negative amounts.
Also, is this the standard SAP design or custom to a client.
How do I resolve this and provide the correct LC2 balance in the reports.
Regards,
TanyaHi Tanya,
Do you have a characteristic in the provider(Something like document type) which tell you whether the current record is debt or payment.
If you do have such a characterisic, then you can create a formula with an if condition -multiply LC2 by -1 if it is a debt.
Regards,
Sunmit. -
Function module to find the attachment list for an accounting document?
Is there a function module to find the attachment list for an accounting document? Or which table stores such references?
I know I can find this info from the transaction FB03, but is there a function module to find the attachments for an accounting document? So far I only found the attachments are stored in the table SOOD, and archived documents in table TOA03, but I can't find the table that stores the links between the accounting document and its attachments?
<b><REMOVED BY MODERATOR></b>
Thanks,
Ning
Message was edited by:
Alvaro Tejada GalindoHi,
i_object1-typeid = 'YARSATTA'. "<<< Give your Object id name
i_object1-catid = 'BO'.
i_object1-instid = i_yarsitem-docno. "<<<< Document Number
call method cl_gos_attachment_query=>count_for_object
exporting
is_object = i_object1
ip_arl = space
receiving
rt_stat = i_stat1.
read table i_stat1 into wa_stat1 index 1.
if sy-subrc eq c_0.
move wa_stat1-counter to v_attno1.
endif.
For link you need to check for table SRGBTBREL
and also please check class CL_GOS*
a® -
Document Summarization for External Accounting Documents - ECC 6.00
Hi All,
I would like to know about the Document Summarization for external accounting documents in controlling. please can anyone suggest when we have to use this in ECC 6.00.
Regards,
PranavHi,
Please see note 1070629 - FAQs: New General Ledger Migration
https://websmp204.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1070629&_NLANG=E
Extract :
77. How can I deactivate classic Profit Center Accounting (EC-PCA) after activating the new General Ledger?
Note 702854 explains how to deactivate classic Profit Center Accounting.
If you use document splitting for profit centers in ERP2004, delete the dummy profit center from the table TKA01 also. For this purpose, Note 702854 provides the program Z30PCA23. Use the program Z30PCA23 to delete the dummy profit center of classic Profit Center Accounting in the controlling area.
Hope this helps.
Cheers,
Gimmo -
Separate line item for taxes in accounting document of MIGO
All SAP Gurus,
As we can have separate line item for Freight amount (Freight amt credited) in accounting document for MIGO.
Similarly is it possible to have separate line item for tax amount which is inventoried.
Regards,Hi Rajan,
Freight is from pricing procedure whereas tax is from taxing procedure.
Tax cannot be shown in separate g/l in MIGO.
Reason:
If u wanna show tax as separate item then we need to debit tax a/c in migo as well as it has to go to inventory which is not possible(double accounting enrty on debit side).
I too tried to do the same by specifying 2 for posting indicator and selecting non deductible for the nonsetoff account key used in the taxing proceudre in OBCN but it is behaving like setoff tax.
U can also try doing the same and then check.
Reg
Raja -
Purchase Order item text not present in accounting documents after MIGO
Hello all,
in ECC 5.0 I create a PO using ME21N. Afterwards the GR is done with MIGO.
For the moment the PO item text is not transferred to the FI documents. The field BESEG-SGTXT is empty. Is there a possibility to copy the text during GR from the PO item to SGTXT?
In fact I am looking for a customizing path and not a User Exit.
Thanks and regards
ADHi,
You can fill the field header text on the 'Details' tab
(This is field INVFO-BKTXT) and this field will be copied into
the FI document fields BSEG-SGTXT for the vendor line and BKPF-BKTXT.
You can fill directly the field SGTXT for the account lines ( if you
post directly to an account) and for the purchase order lines."
Also please review attached notes.
453027 MIRO: Segment text for vendor line
366412 MIRO: Enhancement LMR1M004 item text
MIRO and the FI Enjoy transactions were designed seperately to meet the
needs of their respective components - FI and MM. As they were not
designed in conjunction, there are differences in their functionality.
Not all information in one component will be updated in the other.
Best Regards,
Arminda
Please also review attached note 42615 as this explains how settings
in transaction ob14/ob41 effect the field INVFO-SGTXT in Miro. -
Accounting document during MIGO or MIRO
hi
all an accounting document is generated ,when it is generated during MIRO or MIGO ?
can we able to view these in MB51 ?
Regards
Leo Thilak.MSHi,
While posting stock posting movement in MIGO - accounting document has generated .
You can view the material document in t.code MB51 - Material document for a material
MR51- Accounting document for a material
MBAL -Archieved material document
MBSM-Cancelled Material document
MB03- Material document list
MIRO- accounting document posting
All the stock update in your plant accounting document has generated except 101K, 541, etc
FB03 - There choose List option, you can view the accounting document for the MIRO posting by select document type RE-Invoice
Fiscal year, Material etc
Thanks,
Thiru
Edited by: thiru on Jan 18, 2011 11:33 AM -
0FI_GL_10 to be enhanced for the Accounting Doc Num and Order
Hi Gurus,
We have used 0FI_GL_10 datasource and now we need data for the below two fields:
1. Accounting Document Number (BSEG u2013 BELNR )
2. Order Number (BSEG u2013 AUFNR)
The above both fields are present in the datasource 0FI_GL_04.
Can 0FI_GL_10 be enhanced for the above two fields? or do we have any simple method of pulling these
Thanks in advance,
UpenderHi,
You can do it in 2 ways. Use both the datasources to fill same DSO. In that way, you would be able to update your required fields.
Alternatively, you can enhance the datasource with these 2 fields and write your code in CMOD to fill these fields. Please refer to the below article for enhancing the datasource.
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
Please note that the article talks about master data, therefore the enhancement EXIT_SAPLRSAP_002 is used. In your case, you need to code under EXIT_SAPLRSAP_001.
Edited by: Rahul K Rai on Sep 9, 2010 1:36 PM -
Population of XREF2-Reference Key 2 for a Accounting Document
Hi Gurus,
I have a requirement while posting an accounting document by clearing the Customer open item.
My requirement is Populating the BSEG-XREF2 with customer tolerance Group (KNB1-TOGRU) of the Customer.
I tried implementing the logic in the substitution rule but it is not working. At the time of the subsitution rule code, there is no value in the Field BSEG-KUNNR and i am not able to pull the Customer Tolerance Group.
Can you please tell me are there any user exist or enhancement points to Populate BSEG-XREF2 while posting an accounting Document.Hi Anand Sirgapuram ,
I don't know if you know what are BTE Business Transaction Events, but you can use them for this kind of needs, you can use the BTE: SAMPLE_PROCESS_00001120, you have to copy it and activate it using the SAP transaction FIBF.
Regards
Yassine NEJMY -
Sync of Material document and accounting document during MIGO
Hi Friends,
Can we synchronize the Document numbers between Material document (WE) for GR (101) and Accounting documents created for the MIGO transaction????
We have 50 is assigned to WE. But, we have a gap in numbers of Material document number and Accounting document numbers??? though the document type WE is common for both.
I have seen that "Buffer" is the culprit. But, not sure how to fix that.
Appreciate your help in this regard.
Dev.When the document type is same (WE) for both, how come the accounting doc has continuous numbers and Material doc has breaks ( from buffer)????
document type WE is same for GR for material document and accounting docu but number range are stored diffrentely.
OMBT is where u store the number range for material document
and this number range is assigned to group of materia doc we wf wo ww
OMBA is where u create diffrent number range for accounting document hear U assign WE to ur transaction code and in turn WE is assigned a number range what is created in OMBA, this number range is nothing to do with number range u have created in OMBT.
when ever u post the docunemt in system
SAp hav efixed the document type for GR that is WE
it goes in OMBA in the group of Material documents for goods receipts
check what is the year and number range assigned and current number so it assignes this number first
than it go to OMBA cheks what is the Tcode u are using and what is document type u have assigned to that tcode and it can be any WE or what ever u have assigned to that tcode
taking that doc type it goes and see what Number range is assigned say 50 and then checks company code and year for this 50 and get the number for accounting doc
so i think its is clear that material and account are 2 diffrent ranges
skiping of numbers might be due to buffer
also go throught following post it will be helpfull
GR NO SEQUENCE - MISMATCH
hope this helps -
Number range for Invoice & Accounting document to be same
Forum Members
The client requirement is to have same document number for both invoice & Accounting document.
Earlier for fiscial year 2006 it was same where as for fiscial year 2007 it is coming as different.
Can somebody help in providing the details & configuration details?
Regards,
VengatHi Vengat,
Go through this link and it may be helpful for you.
http://www.ficoexpertonline.com/archive/Volume_03_(2004)/Issue_05_(May)/V3I5A1.cfm?session=
Regards,
RitiG -
Number Range For the accounting document
Hai,
After creating the billing document, account determination error is coming.
Message says that number range 01 is not maintained for the accounting documentGo to OBA7, select the document type RV and execute. There ensure that the object 01 in the field number range assignment. Next go to FBN1, key in company code and ensure that the above object is maintained there.
thanks
G. Lakshmipathi
Maybe you are looking for
-
Same nr range in Invoice Verification (MIRO) and FI document
Dear all can you please help to solve this issue? We would like to have the same number range for invoice verification and for financial document, what we have to do? Regards Marco
-
Cannot edit wiki pages-- Exception message: Invalid field name
We have migrated from one Sharepoint 2010 environment to another Sharepoint 2010 environment and only wanted to preserve a few sites, mostly Enterprise Wiki Sites. We have imported 5 total Enterprise Wiki Sites, all of which point to particular Term
-
How to Configure Workflow with Standard TCODE
Hello Gurus, I am new in Workflow. I have to trigger the workflow on the transaction MM02 on changing Material Plant Status to 41. I have ZECN object. but I am not aware with how this object is trigger on change of Material Status. Please
-
Find iweb file in mountain lion - to backup ;o)
See this link here - http://www.youtube.com/watch?v=PybWug5YWuQ
-
Removing the "sort by: most recent" default option from my purchased items.
Is there a way to remove the "sort by: most recent" default option from my purchased items? It annoys me to see items that are not ordered alphabetically or by release date so I do not want there to be a record of this.