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
AJ
don't remember exactly how we resolved it...
enhancement spot and added lines to the internal tables...
thanks for your time guys
Similar Messages
-
How to add line items to Accounting Document posted through MIRO ?
I need to perform Additional posting when Posting through MIRO transaction..i tried with INVOICE_UPDATE BADI but this was not useful...Please let me know if there is any way to add additional posting to Accounting Document created through MIRO.
If any user exit , BADI ot BTE present?Hi,
Check the BTE's:
00001020 POST DOCUMENT: Prior to final checks SAMPLE_INTERFACE_00001020
00001025 POST DOCUMENT: Final checks completed SAMPLE_INTERFACE_00001025
00001030 POST DOCUMENT: Posting of standard data SAMPLE_INTERFACE_00001030
00001050 POST DOCUMENT: Accounting interface SAMPLE_INTERFACE_00001050
Thanks & Regards,
Harish -
How to add Line items to Accounting Doc
Hi All,
I want to capture the amount of inventory to a separate GL accounts while doing GR.
Accounting Document should look like this:-
Inventory a/c 1000 BSX
GR/IR a/c 1000- WRX
1New line a/c 1000
2New line a/c 1000-
How can we achieve this.
Thanks.U can make use of purchase account and purchase offset account . In obyc assign the account to purchase account EIN and puchase offset account EKG.
-
Multiple line item in billing but only one line item in accounting document
Hi Everyone,
I am having one scenario in which sales order has more than one line item. Only one billing document is create for all line items in Sales Order but billing document contains as many items as sales order has. In accounting document of billing i find only one customer line which has total amount of all line items in billing as debited. My requirement is Accounting document also should have as many line of customer-debit as in billing items i.e sales order. For example :
(1) Sales order has 2 line items.
(2) Billing document is only ONE and has 2 line items
(3) currently accounting document has only ONE line of Customet - Debit ( Total amount of both items)
My requirement is
Accounting document should have 2 line item of customer - Debit
Customer - Debit (amount of first line item)
Customer - Debit (amount of Second line item)
Sales - Credit
How can it be done ?
Regards,
ManishHi,
This is the SAP expected behaviour
As far as the values correspond to same account key and same GL account as per account determination, then ti will be posted as a single line item in FI document.
If you want the customer specific items to be posted in two GL accounts , then you have to do the account determination that way.
For example, you should have a condition table in FICO as follows.
Sales org/ Account key / Customer
For this condition table, the entries shoudl be as follows.
5110/ERS/Customer A GL ACCOUNT IS 5000100
5110/ERS/Customer B GL ACCOUNT IS 5000200
In this case, there will be 2 entries for the invoice instead of just one line entry. -
RWIN to automatically add line items in FI document
Hi all!
I wish to know if is possible to automatically add line items in a FI document via RWIN and how.
My final goal is the following:
A user try to create an FI document with FB01 transaction.
He/She insert the appropriate line items manually.
He/She press the "Simulation" button
In simulation screen there are user's line items, PLUS some more that are necessary in some circumstances.
Is it possible to achieve this scenario?Hi Marinos,
i think it's possible via table <b>TRWPR</b> and an
appropriate function module but it's hold for a modification by SAP.
other possible solutions:
- user exit ?
- interface ( e.g. Intranet-appl. / excel)
and posting via RFBIBL00 / BAPI
regards Andreas -
To add new Line Items in Accounting Document using BTE
Hi,
We have a requirement to add new GL line items while doing PGI through VL02N. The requirement is as below. Please confirm, if we can use BTE 1120 for this and if yes, how to use it to add new line items.
Orig line items:
Item PK Acct No USD
001 99 12200 565.00
002 81 40000 565.00
New DESIRED line items:
Item PK Acct No USD
001 99 12200 565.00
002 81 40000 565.00
003 91 40000 565.00
004 81 40001 565.00
Regards
SaiHi,
I need to add new line items previously to save the FI document too.
Could you explain how we can use BTE 1120 to change or add new lines, please?
I have done a test but it don't work:
(Function open_fi_perform_00001120_p)
L_BSEG[] = T_BSEG[].
Call to the function that handle the BTE, with L_BSEG[] parameter.
T_BSEG[] = L_BSEG[]. "Note 996552
Then our new values in T_BSEG table are replace for the original table, and our changes are be deleted.
Thanks in advance,
Susana -
How To Add Line Items to Workflow Document Template
Hi Gurus,
ive made a Workflow which has few containers referencing VBKPF, VBSEGS, and constructed two methods which one of them gets the table VBKPF data into MyStructure and the second the data into MyStructure2.
Inside of the workflow i made two container operations and assigned those two methods to VBKPF and VBSEGS containers.
The Problem is that VBSEGS is a (multi) line item table and it doesnt show me the data inside of the document template.
What could be the solution for this scenario
Thanks, Points for RewardHi,
i checked the swo1 methods and it looks good. I didnt change the binding that ive implemented, and some values are getting showed, but still they do not correspond to the BO element (concerning Acct.Doc.Nr)
My binding is:
Display Document Task:
#######Workflow -> Step Display Parked Doc
**************BO FIPP -> &_WI_OBJECT_ID&
#######Workflow <- Step Display Parked Doc
**************Empty
Document Template:
#######Workflow -> Step Create Doc From Template
**************&_WORKITEM& -> &FLOWITEM&
**************DC8BA2ADFCEA4EF18D2F00145EDCE7A4 -> &TEMPLATE&
#######Workflow <- Step Create Doc From Template
**************&WF_DOCUMENT_0001& <- &_WI_OBJECT_ID&
**************&_WF_INITIATOR& <- &_WI_ACTUAL_AGENT&
As ive explained earlier i have a Container VBSEGS with abap table vbsegs, which is filled using method ReturnMe2 with MyStruct2 structure.
Regards
Laurynas Prikockis -
Merge revenue acc lines in invoice accounting document
Dears,
i have ZPR0 as basic price and ZD01 (%) as customer discount in my pricing procedure. i have entered a sales order with following info:
Qty=1
ZPR0=1000
ZDI01=10%
when i create invoice following accounting doc is created:
account amount
customer 900
Reven. -1000
Disc 100
i need to merge Reven. and Disc. accounts.
so i assigned sames account key (ERL) to both ZPR0 and ZD01, following accounting is created:
account amount
customer 900
Reven. -1000
Reven 100
but i need accounting to be created as following:
account amount
customer 900
Reven. -900
is there any solution?Hi
You can do it with summarizing FI documents. Please see SAP Note 36353 - AC interface: Summarizing FI documents.
I hope this helps you
Regards
Eduardo -
Add item lines to Accounting document
Hi all,
When i run MI07, i need a badi or user exit that allows me to add some lines to the accounting document, i have implemented the BADI AC_DOCUMENT, but this apparently just let to change the lines not to add new lines, and i need to add two new lines to the accounting document. Any ideias?
Best regards,
Ricardohello,
Thease are the badi's are availble for this transaction MI07
MB_DOCUMENT_UPDATE BADI when updating material document: MSEG and MKPF
MB_DOC_BADI_INTERNAL BAdIs During Creation of a Material Document (SAP Internal)
MB_ME_CSGMT_BADI_SAP BAdI: Consignment Processing - Stock Transfer
MB_MIGO_BADI BAdI in MIGO for External Detail Subscreens
MB_MIGO_ITEM_BADI BAdI in MIGO for Changing Item Data
MB_PHYSINV_INTERNAL Connection: Core Inventory and Retail AddOn
MB_QUAN_CHECK_BADI BAdI: Item Data at Time of Quantity Check
MB_RESERVATION_BADI MB21/MB22: Check and Complete Dialog Data
MB_RESERVATION_SCR Screen BAdI for Retrofit DFPS
MB_RESERVATION_UPCHD BAdI for Creation and Changing of Manual Reservations
MB_RES_BAPI_CHANGE BAdI: Execution of Changes to Reservation Fields
MB_RES_BAPI_CREATE1 BAdI: Adoption of Customer's Own Fields as Reserv. Fields
MB_RES_BAPI_DETAIL1 BAdI: Display of Customer's Own Fields in Reservations
MB_STOR_LOC_BADI_GTS BADI to Check and Change Storage Location (GTS Fct. Only)
MB_DOCUMENT_BADI_SAP BADI for Creation and Changing of a Material Document
ARC_MM_EBAN_CHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_PRECHECK BAdI: Enhancement of Archivability Check (MM_EBAN)
ARC_MM_EBAN_WRITE BAdI: Enhancement of Scope of Archiving (MM_EBAN)
ARC_MM_EINA_CHECK BAdI: Enhancement of Archivability Check (MM_EINA)
ARC_MM_EINA_WRITE BAdI: Enhancement of Scope of Archiving (MM_EINA)
ARC_MM_INVBEL_CHECK BAdI: Enhancement of Archivability Check (MM_INVBEL)
ARC_MM_INVBEL_WRITE BAdI: Enhancement of Scope of Archiving (MM_INVBEL)
ARC_MM_MATBEL_CHECK Prüfung ADD-ON-spezifischer Kriterien für MM_MATBEL
ARC_MM_MATBEL_WRITE Check Add-On-Specific Data for MM_MATBEL
MB_CHECK_LINE_BADI BAdI: Check Line Before Copying to the Blocking Tables
MB_CIN_LMBMBU04 posting of gr
MB_CIN_MM07MFB7 BAdI for India Version exit in include MM07MFB7
MB_CIN_MM07MFB7_QTY Proposal of quantity from Excise invoice in GR
MB_DOCUMENT_BADI BAdIs During Creation of a Material Document
U can check the badi and use for your requirement
Thanks and regards
Durga.K -
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 -
Relation between Invoice Line items and Accounting Line item
Dear All,
My requirement is to print all the invoice documents and it's tax values like cenvat, Ecess, BED and VAT.
I have to fetch these tax details from BSEG table .
I' am getting Invoice number ( RBKP-BELNR ) from BKPF-AWTKEY .
Can any one please tell me how to relate the Invoice line items and Accounting document line items..
Any BAPI or FM is there to retrieve these data.
Please do needful in this regard.Hi,
from table bseg - field Koart
K = Vendor
D = Customer
S = G/L account here tax lines identify with buzid = T
or take table bset for taxes
Andreas -
Pricing error (Message no. VF073) Accounting Document not generated
Dear All,
User has entered delivery quantity as 0.00 in one of the line item (007) without material description in vl01n and saved. Invoice number has also been generated. Because of Pricing error for the line item( 007) Accounting Document is not getting generated.
My issue is without cancellation of invoice/configuration changes, can i delete the line item (007) or is there any alternative solution to create accounting document.
Note: line item( 007) does not have details only quantity is mention 0.00 in VL01n.
Experts please help me how to solve this issue.hi
please check the account assignment group for material, go to vf02 and check line item , , click on menu bar environment -account assignment analysis-revenue accounts , here you will check you base condition type data , once click on condition type , system which data is missing , now you can enter , -
Line item wise account determination
Hi,
Suppose i have an invoice of Rs 1000 amount where 2 line items exist(1st line item value 600 & 2nd line item amount is 400) .In this case when release it for accounts the accounting entry is:--
Customer a/c debit 1000
To Revenue account 600
To Revenue account 400
But we want it should goes like this
Customer a/c 600
To Revenue a/c 600
Customer A/C 400
To Revenue a/c 400
Means customer account should be debited as many time as many line items are there with respect to line items amount.
Please suggest.
Regards,
SatyaHi Satya,
The standard accounting for an SD billing document has only one customer line and that is fine!
Customer a/c debit 1000 => There can be only one
To Revenue account 600
To Revenue account 400
Just to check if your requirement can be done:
SAP provides a customer exit to change the customer line ACCIT.
EXIT_SAPLV60B_002: You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
This exit is used to modify the customer line, not to generate other ones, so it will not solve your problem.
My recommendation: Instead of doing anything that might break SAP standard functionality, please check the requirement as IMHO it does not make sense.
If you really want several customer lines, then generate several SD invoices, each one with it's own customer line as the first FI document item.
Define an invoice split routine and ... problem solved.
Best of all: Do nothing as standard functionality is correct for 99,99 % of customers!
Hope it helps,
Franck Lumpe
Freelance SAP Consultant -
Hi All,
We have recently upgraded to EHp5, and we have noticed one difference in display of line items in accounting document. System breaks the billing line item to two separate lines in the a/c document. Forexample if the line item in billing document has two condition types assigned to same a/c key and GL a/c, it shows them in a/c document as two lines though the total is equal. Condition type 1 has value 80 and condtion type 2 has value 20, it used to show one line in a/c document 100, but now for the new billing documents with same process it shows in two line 80 and 20 in a/c document. Not sure its due to EHp 5 upgrade or there is some other reason for this. Help needed.
Thanks in advanceThanks for your reply, could you please let me know how we can find out about the function module has been enhanced also not sure what exact steps to follow. Thanks
-
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
Maybe you are looking for
-
I have tried to download the online app to my laptop but when I try to install it after downloading it I get a message that I need a disc to download the app. Any reasons this would happen? I have never had this problem in the past. I lost the playba
-
Issue with Image Capture with Lion
I have a Lion. My camera is a Nikon D700 I have Lightroom 3 and Lightroom 4 Recently downloaded Lightroom 4.1 connected my memory card reader to upload photos . Lightroom 3 opens and not Lightroom 4 to import the photos. Checked Image capture app
-
Information Broadcasting - Distribution Type Generate Alert
Hi, 1.) I am trying to use Broadcast by Exception by using Distribution Type Generate Alerts but when i am calling BEx Broadcaster i found that it only showing distribution type Broadcast Email in information broadcasting Tab but i want Distributio
-
Is there a way to get a report of available disk space for a host? We do not autoextend our tablespaces, so whenever we need to add more space , we have to shell into the OS (Unix) and run a "df -k" to see what mount points have space available. Is i
-
Restoring all Paid Apps from my iTunes Account online
I want to know how can I view and restore all my in-app and paid purchases for my ipod and iphone using my devices itunes account or itunes account online. When I tried to reset my device and restore my backup most of my apps restored were the origin