GR-Accounting document Enhancement
All SAP experts,
Can we do any enhancement in the accounting documents created after GR posting?
We need posting to particular GL during Intercompany replenishment. Like Vendor is supplying plant XYZ and site ABC (where Goods receipts is carried out) then Post to GL LMNOP. when we lookinto accounting doc, it shld post to GL (LMNOP).
Thanks in advance !
Rahul.
hi,
No, its not possible externally....For proper posting check the assignment for the Auto Account dertermination for the G/L accounts....
Then cancel this doc and create new one....
> Pls check the settings here:
> You can Configure automatic account determination with following T.Code's :
> 1.OMSK: valuation Class with Account catagory reference,
> 2.OMWM: Active Valuation Grouping Code,
> 3.OMWN: Active Movement type with G/L account,
> 4.OMWD: Active Valuation Area,
> 5.OMWB: Active Chart of account,Valuation Grouping Code,Account Grouping Code,Valuation Class and G/L acocounts
Hope it helps...
Regards
Priyanka.P
Similar Messages
-
Enhancement for MB1C/MB1A before creation of an Accounting Document
Hello everyone,
Actually I want to get the material document number(MBLNR) before the creation of an accounting document when using the transaction MB1C or MB1A.
I will have to use the value 'MBLNR' to update a field during the creation of an accounting document(the field SGTXT should be updated with the MBLNR).
I have already tested the following BADI's which provide me the value of the material document number:
- MB_DOCUMENT_BADI (BAdIs During Creation of a Material Document)
- MB_DOCUMENT_BADI_SAP (BADI for Creation and Changing of a Material Document)
and I am using the BaDi 'AC_DOCUMENT' to update the required field with the material document number(MBLNR).
The problem is that the BADI's 'MB_DOCUMENT_BADI ' and 'MB_DOCUMENT_BADI SAP' are call after the creation of the accouting document(after the BADI 'ACDOCUMENT') meaning that I can't used these BADI's as the value MBLNR is not available before.
My idea was to export the value to memory ID before the creation of accounting document and import the value in memory ID in the BADI's 'AC_DOCUMENT' to update the field SGTXT.
I am currently looking for other enhancements or BADI's which can help me to solve this issue.
After much research on the internet, I did not succeed in finding a suitable hint which can help me.
I would be grateful if someone could guide me(even a small hint will help me a lot as am I am new in the world of BADI's) on how to find a suitable way to get the document number(MBLNR) before the creation of an accounting document(before calling the BADI 'AC_DOCUMENT').
Thanks a lot in advance for you help.
Kind Regards,
BryanHi
I had a look through the program and found an enhancement spot ES_SAPMM07M available through out. Sadly i am not able to create a material document in my system some master data issue but there are various enhancement points in this enahcmenet and you need to debug on save and find the right enhancement point to export the value.
Put a break point in the following includes which have only one subroutine in them
MM07MFF9_F_SEGMENTE_BEWERTEN
MM07MFF9_F_SEGMENTE_ERSTELLEN---> In this accounting item are created. If stops here and in debugger change the value if it works then there are various enhancement spot for the same.
MM07MFF9_F_SEGMENTE_ERZEUGEN
MM07MFF9_F_SEGMENTE_GENERIEREN
Hope it helps
Nabheet
Edited by: nabheetmadan09 on Feb 1, 2012 3:49 PM -
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 -
Additional Items via Enhancement on MB1A / MB1B / MB1C - Update of Accounting Documents
Hello all!
Please, I'm in need of help from community.
I am working on a Project For México. It's a doubt that has arisen from a functional request.
They want that we create a development that might check the materials inserted on MB1A / MB1B and MB1C transaction.
If these materials meet with the functional requirements, then new materials must be inserted at this same document, correcting it.
We already have searched for User-Exits, BADIs and Enhancement-Points, and our position at the moment is that we already achieved to input the material into the material document, but those new lines aren't been recognized on subsequent Accounting Documents, that are created after the material document and that can be viewed on MB03 transaction, into the material document.
Anyone has any clue if it's possible to modify Material Documents through Enhancements/BADIs/Exits, adding new lines of materials (XMSEG), and grant the subsequent creation of accounting documents?
Thanks in advance!
Some Points that we already tried, but without success:
EXITs : MB_CF001, MBCF0002 and MBCF0005
BADIS: MB_MIGO_ITEM_BADI, MB_MIGO_BADI, MB_CHECK_LINE_BADI, MB_DOCUMENT_BADI_SAP, MB_DOCUMENT_BADI
Enhancements in following programs: MM07MFJ1 and MM07MFB9_BUCHEN_NUMMERNVERGABEHello Srilakshmi,
Thank you for the response, but unfortunately the BADIs you've mentioned don't allow me to modify Material Data tables, such as MSEG and VM07M.
MB_DOC_BADI_INTERNAL is only for SAP use, and MB_DOCUMENT_UPDATE parameters are Importing only.
Regards.
Thiago -
Enhancement - Accounting Document from Billing Document - change line items
Hi Experts,
Our client has a requirement to display all line items(as shown in Billing document) along with the tax line in the Accounting document. I can explain it as below:
In VF01 transaction code: enter the delivery number.
Press enter to see the number of line items that will be populated in the Billing document.
Click on save.
Here in the Accounting Doc you'll find only 2 line items, one line item is the consolidation of WRBTR and quatity of all the line items in the Billing Document and the other line item is the tax.
We are required to replace the consolidated line item in the Account Doc with all the actual lines as populated in the Billing Document.
For this we tried various methods:
Searched for a BAPI - couldnt find any which will help in modifying the line items before creation of Account Doc
Checked UserExits - Found one SDVFX008 but it didnt have the table which is sent for population of Accounting doc hence there was no way we could modify any table to get the desired output.
Searched the VF01 Flow in Debugger to check when the Accounting Doc is updated, but it also didnt yield any fruits.
Kindly please guide on a way this can be accomplished. Appreciate the help from you all...Hi
I think that your requirement is related with summarization of items in the FI doc for the billing document. Please, see SAP Note 36353 - AC interface: Summarizing FI documents. See also Note 301077 - User exits for the interface to accounting.
I hope this helps you
Regards
Eduardo -
Accounting document posting enhancement
Dear All,
I am having requirement of exchange gain/loss should go only loss g/l account. since it is client level setting i cannot change this & it is required only for 1 of the group companies. other cos follow std process it gain/loss based on the transaction. Can anyone suggest is there any function module /exit which i can use & change the G/L account NO while posting accounting document automatically by system through hard coding of G/L at program level.
Early reply is helpfull .
Thanks
PramodHi Pramod,
note 127178 (and 126192) offers a solution with exit_sapliedi_001 to post to several G/Ls instead of only one.
regards Bernhard -
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 -
Changing the field content of 'wrbtr' in accounting document during Post Goods Issue in VL02N
Hi Experts,
I have requirement ,where I need to change the 'amount in document currency value (wrbtr)' in line item of a accounting document, which is created as part Post Goods issue through VL02N.
I have already check BADI's below as follows:-.
1) LE_SHP_GOODSMOVEMENT- No accounting document information flows in this BADI.
2) AC_DOCUMENT - Field 'WRBTR' is not available in substitutable fields list.
3) BTE-1050 - This BTE is not getting triggered while doing PGI.
Please suggest any other possibilities to make the change.
Thanks & Regards,
Suganth.Hi Kartik,
I have checked the enhancement you specified, but it didn't trigger during PGI. Can u please let me know is there any other possibilities to make the change.
Thanks
Suganth. -
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 -
Accounting document not cleared when billing document is cancelled.
Hi,
In ECC 6.0 when we cancel a billing document through vf11 in vfo3 we find the status as accounting document not cleared.
The general process is manually going to f-23 and clear customer line items of that invoice. After doing this the status become accounting documet is cleared.
My requirement is how to cancel the billing document without getting this message (accounting document not cleared) and not clearing the customer line items manually.
Can it be done through user exit/enhancement or by copying requirement vofm.
Please suggest.
Thanks
Edited by: sumesh on Jul 29, 2009 6:33 PMThey directly want the accounting document to
be cleared when billing document is cancelled.
Though you can achieve this with the help of ABAPer, why dont you consider having a Posting block for your billing type so that as and when the billing documents are generated, you can release it via VFX3 in bulk or VF02 for individual billing document release to FI.
In order to achieve this, go to VOFA, select your billing type and execute. There you can see a field "Posting block" where maintain a tick there and save. With this control, first of all, you can ensure that before releasing F2 billing documents to FI, it is not cancelled.
thanks
G. Lakshmipathi -
Automatic reversal of accounting document
Hi all,
I had a problem with automatic reversal of accounting document . In the Tcode FBS1 whenever a document is posted automatically it should be reversed using F.81. I tried using enhancement spot and Submitted that transaction F.81 and passed the values to it. But the problem is whever i am using the code in the enhancement spot. i am not even able to get the generated document in FB03. and in the report i am getting the message 'No list Generated'. can any one help me out how to reverse the document automatically.
Thanks & Regards
sreehari pclosed
-
Down payment cancellation leads to blank accounting document
Friends, my issue is such. A cancelled down payment request (S1) billing document is generated without error. If you look at the corresponding accounting document it is totally blank - no lines. The customer account still shows the original postings (no reversal is posted). However SD thinks it is cancelled and will not allow another vf11 of the original DP request.
I am unsure if an issue with SD or FI-CA.
This happens only very infrequently and I cannot reproduce the issue in test but it has been seen in production occassionally.
We have only found one note that looked relevant at all but it is not the solution to the issue.
Please advise if ever seen a blank accounting document related to a s1 SD doc for a down payment request.This happens only very infrequently
What does this mean? You can use S1 cancellation document for down payment cancellation without any issue on certain times and occasionally happening? If so, then check any user exit (Enhancements SDVFX002-3-4-6) is causing this in the SD-FI interface.
Regards, -
After cancelling the billing document accounting document not generated
hi,
we released the billing and accounting document generated but customer needed changes in the billing values so we cancel the billing document but accounting document not generated(reversal accounting not happen)....in document flow it shows in cancel document in blocking state ....we try to release in VF02 but it throws the error "Client 200 does not contain an active application area" . but the other sales order we test in qulaity server the scenorio is working fine...............for specific one sales order creating problem now.....
try to solve the issue ..
Thanks
Muthuraman.DDear all,
I have noticed this problem in my company system.
Problem descripion:
- you creates an invoice and the system doesn't post it for any reason
- then you create the cancel of the invoice, BEFORE forcing the posting of the invoice
--> user creates Cancel, Cancel is not posted as well.
--> from now it is impossible to post both invoices: if you try to post the Invoice after the cancel creation, the VF02 recongnise that a CANCEL exists and do not allow for the posting
--> standard VFX3 doesn't signal this kind of not posted documents situation.
Ok, The right procedure for thes user should be: create invoice, if not posted then try to understand why not posted, and not CANCEL it.
But in this case VFK3 was not able to detect the invoice was not posted: it was not in the list.
So the 2 ways must be:
1) one possibility could be undestand in VFX3 could be enhanced: I checked in OSS but I didn't find anything.
2) other possibility: add a further check in interface between SD and FI in order to check if original invoice is not posted to FI and in this case block the cancel creation, as instead standard SAP does.
Could you please give me an idea on how it would be better proceed?
Thank You very much.
Raffaella -
Add line to GL, Accounting document VL01
Hi experts,
I have a bit challenging requirement where we need 2 more lines in the Accounting document based on the payment type.
This can not be configured by functional guys as the Tax code for these two LIs is not needed and in one document they can have only one tax code or none.
So, once the billing document is ready from SD module, I somehow need to hook-in and create 2 more LIs. USER_EXITS is the ans. here is the one I found for this point:
SDVFX002 User exit for A/R line in transfer to accounting.
Can not use: SDVFX004 User exit G/L line in transfer to accounting as this allows only one structure manipulation not the whole table. SDVFX008 User exit: Processing of transfer structures SD-FI, provides data before billing document data is gathered, hence I don't know how adding lines to the 'xaccit' table here will help or what data exactly will help.
Please provide your valuable input if you have been through such/similar requirement.
Thanks n regards
AJdon't remember exactly how we resolved it...
enhancement spot and added lines to the internal tables...
thanks for your time guys -
Map information from Sales Order to Accounting document
I have a requirement where I need to map the information from the customer material number(VBAP-KDMAT) in the Sales Order to the BSEG-SGTXT field of the accounting document generated for the subsequent billing document billing document created for the sales order. This is an order related billing process.
Any help would be appreciated.
Thanks,
ALAM.Transaction Code - VA01 Create Sales Order
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
No of Exits: 15
Reward points if find useful..........
Regards,
Minal
Maybe you are looking for
-
It started with difficulties to catch wifi connections around and the wifi connection in my place..... then the switch on to Wifi just blocked - once i've tried the solution with hairdryer and it worked for a few days, according to some suggestions
-
Question about Ram upgrade on a Satellite A110 machine
Hi, I wonder if i can replace my 512 MB PC 4200Mhz SO-DIMM DDRII with a 2 GB PC 5300Mhz SO-DIMM DRRII i to my A110 Satellite? thanks in advande. /Mattias
-
Hello, I was wondering if it's possible have a matrix which shows total credits by month and have drill-down groupings to display the invoice numbers for each credit. Then, once the drill-down is expanded for a particular month, be able to click on
-
ILLUSTRATOR CS5 AND INDESIGN CS5
Well... I've been looking the new CS5 programs. It's time to change. Now, Illustrator artboards (pages) can be rearranged and named. You can paste a objet in multiple artboards and they preserve their relative location in the artboards too (imagine t
-
Manually save and upload a video to Youtube
Hello, I'm wanting to know the proper settings (as far as frame size etc...) for MANUALLY saving a video file that I plan on uploading to YouTube later? So I'm looking for the proper settings at the beginning when I start my project and then when I'm