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,
Ricardo
hello,
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
Similar Messages
-
Line item id in Account document segment
Hai gurus,
I need a clarification on line item id.
It is used in Accounting document segment.
You can find it in table BSEG and field is BUZID.
Actually it has
A " Asset
B " Warehouse stock order
C " Warehouse stock order assigned
K " Vendor
F " Delivery costs
and others.......
(its quite similar to account type)
From where this value is picked.
Kindly help....
Regards,
VimalBased on the posting key ,
system will find whether the particular line item is which acount type ;
ex;
40& 50-S- -gl account
chandra -
Link between SD invoice item and corresponding accounting document item
Hi,
I have a problem regarding the link between the items of an SD invoice ( or
credit note ) and those of the corresponding accounting document. There's a
custom report which extracts information about each credit/debit note
produced within a certain period. This program has recently failed due to a
particular case: a credit note was generated starting by two note requests;
in other terms, cardinality: 1:N exists between the credit note and the
request document. Currently, the program generates duplicated records in
this case, because of the following schema:
-> main loop on VBAK data ( request document header data )
-> inner loop on BSEG data ( accounting document items );
our current access criteria in reading tb_bseg is only:
... where tb_bseg-belnr = tb_vbrk-vbeln.
Providing that tb_vbrk-vbeln doesn't differ and that both tb_vbak and tb_bseg
contain two records ( the two requests the first and the two accounting
document items the second ), the program fails as follows:
° first request -> two lines
° second request -> two lines.
Is there any way to link each invoice item with the corresponding credit
note item?
Thanks in advance to all of you.
Adrian.Hi,
I have a problem regarding the link between the items of an SD invoice ( or
credit note ) and those of the corresponding accounting document. There's a
custom report which extracts information about each credit/debit note
produced within a certain period. This program has recently failed due to a
particular case: a credit note was generated starting by two note requests;
in other terms, cardinality: 1:N exists between the credit note and the
request document. Currently, the program generates duplicated records in
this case, because of the following schema:
-> main loop on VBAK data ( request document header data )
-> inner loop on BSEG data ( accounting document items );
our current access criteria in reading tb_bseg is only:
... where tb_bseg-belnr = tb_vbrk-vbeln.
Providing that tb_vbrk-vbeln doesn't differ and that both tb_vbak and tb_bseg
contain two records ( the two requests the first and the two accounting
document items the second ), the program fails as follows:
° first request -> two lines
° second request -> two lines.
Is there any way to link each invoice item with the corresponding credit
note item?
Thanks in advance to all of you.
Adrian. -
Cumulative line in accounting document
Hello Expert,
I have one accounting document for material reception with two items, in this document I get two lines related to each items with the same account. My question, is it possible to generate just one accounting line related to this general account getting the sum of the two lines?
best regardsHi Atif,
thanks for your reply,
I try to explain in my sample, if I have two debit lines in the same account (purchasing first material and second material) can I cumulate this two debit lines in the same line.
Regards; -
Interactive, dynamic forms -- "add item line" button
Hi there,
I try to come up with an interactive, dynamic form. Similar to the example "purchase order" found in the example folder of Adobe Designer.
When opening my document, there should be one item line. Then, with a click on a button "add a item-line", a second line in the same format comes up. With a Delete-button in front of each added line, the user can delete them.
How do I do that? The book I am currently reading explains all great things (how add sound to actions etc.) but this feature I do not find.
From the above mentioned example I understand I have to group items (header line; single item line).
But what is the actual command to replicate that item line ? I did not find any info about that.
I am trying for hours now,,,,,,,,
Thanks for your hints & happy Easter :-)
DCHi,
I am having a similar problem ... I have created a dynamic form and utilize the very same button function to create a new line from the target subform. Problem is that the button when clicked in view pdf does not create the new line as one would expect.
I have compared my form to the sample Purchase Order sample form ... everthing maps perfectly from my form logic to the sample with one exception. In my form when you click on the subform target and you look at the object tab: subform tab you can only select 'type' and 'flow direction' --- everything else is grayed out - in the sample these are 'live' selectable fields. Also on the binding tab for the subform object the 'repeat subform for each data item' is also grayed out.
What am I doing wrong?
Thanks,
Jeff Schnabel -
Identifying tax item wise in accounting document
Hi,
If an accounting Document is having two line items and tax is caluculated on a whole then how can we
identify how much tax is caluculated item wise
Thanks,
K.Kiran.Check these tables.
BSET
BSEC
BSEG. -
Zero Value Line Item in the accounting document
Hi Experts
When I create an accounting doc from Invoice, system adds a new accounting line with 0 value and posts as below
Itm PK Account Account short text G/L acct short text Tx Amount
50 50000000 Sales f/goods-Dome. Sales f/goods-Dome. 0.00
1 01 1000 Sale within state Acc.Reble 50.00
2 50 50000000 Sales f/goods-Dome. Sales f/goods-Dome. 50.00-
The blank line has the same posting key, account# as the last line in the accounting doc but with 0 value. I tried to check VKOA and OB40 settings and found nothing which could cause this.
We are using ECC6.0 and CIN. We are using only rounding routine, but other than that no routines are being used.
Can some one guide me on how to go about this?
Siva.Hi
Check with the help of your FI consultant of you have Summarization at line item level active for Billing Document for Table VBRK. The path is IMG>Financial Accounting >General Ledger Accounting>Periodic Processing>Integration>Sales & Distribution>VBRK Table.
Herein check the if there is any summarization of any field.
Regards
Sanil K Bhandari -
SD document line items Vs FICA accounting document line items
Hello All,
What is the interface we use in SAP, between the SD and FICA which will determine line items in FICA document with regard to SD line items.
SD : How we do configuration or mapping between sd sales order and billing document to determine billing document line items based on sales order line items ( for example : material group, profit center, cost center ?)
FICA: what interface / Configuration we use to determine how many line items should appear in the FICA document based on billing document line items.
Regards,
John.Integeration of SD to FICA is based on the img settings done under the node - SPRO - Financial accounting ( new ) - Contract accounts receivable and payable - integration - Sales and distribution .
Creation of FICA document based on SD is routed through the event 4000 and the details are detrived through event 4030 .
Would suggest you to go through events 4000 and 4030 .
Regards ,
Dewang -
User exit/badi to add items to a material document
Hi,
Is there any user exit/badi which can be used to add an item while creating a goods receipt document in MIGO. The requirement is that when user does a GR against a PO, the exit should check if there is a returnable packaging material for the material in the PO, and then include this packaging material in the GR. We found user exits/badis which allow changes to an existing item, but didnt find any which can be used to append an item.
Let us know if there is any way to do this.Do you have check the BADI : MB_MIGO_BADI ?
I have use it to modify the MIGO screen (add a new tab) create an input field and use this field to modify the material master data.
Maybe you could use for your work.
Fred -
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 -
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. -
Tracing the line item change in a accounting document
We have to send accounting document line items details which have been created or changed to non-SAP system.
I am looking for way to identify the line items which have been changed as I don't want to send the other line items of the accounting documents which are not changed.
Thanks.Shailendra,
You've hit the nail on the head - CDHDR and CDPOS are the central repository tables that contain all changes - wherever logged.
There's no other way.
P.S.: I'm assuming you know how to extract data from these tables - so am not going into it.
Remember to assign points if found useful.
Regards
Gulshan -
Addition of G/L items in Accounting Document during creationof Material Doc
Hi All
I am looking for User exit or BADI that allows me to add additional G/L line items (offsets) in Accounting Document during creation of Material Document. I wish to do this when I save Material document in MIGO, MB01 or MIRO.
Has anyone done this before? Is there any user exit, badi or function module to do this. Please share insight on this situation.
Thanks in advance
SunnyHi,
check out BADI MB_DOCUMENT_BADI this would trigger before and during update task while posting Material documents i think you can ful fill your requirement with this.
Regards,
Himanshu -
Link between Invoice document items and Accounting document items
Hello, Colleagues.
Can you help me, please. I don't solved next problem. I should associate Invoice document (Create with MIRO) items from tab "PO reference" with items from tab "G/L account" or with tax items Follow-on accounting document. Invoice document can contain items with amount equals 0 and this items don't add to the tab "G/L account" and to the items accounting document. So Invoice document can contain items with material code greate than one.
Or link between RSEG <-> BSEG or link between RSEG <-> RBCO.
Thank you.Hi ,
U can refer the VBRP - vbeln to BSEG-REBZG and get REBZZ (Invoice line item).
thanks
Shambhu -
How to fill Long Text in Accounting document in the item level.
Hi,
I need to fill Long Text field in item level of accounting document from the header texts from Billing header(say billing instructions)
I checked the user exit EXIT_SAPLV60B_008 but it didnt worked in my case. I have read the billing instructions in the Billing header using FM READ_TEXT but I am not able to save this text using FM SAVE_TEXT because for the field Long Text the parameter TDNAME is a concatenation of BUKRS(COmpany code) BELNR(Accounting doc. no.) GHAJR(fiscal year) BUZEI(line item) .
But I am not able to capture this accounting doc. number in the mentioned user exit instead I am getting Sales Invoice number and hence not able to give TDNAME parameter for FM save_text.Hi Amit,
In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
Just try to explore in your system how the other validations are maintained.
After you are done with all your code, you have to run the regeneration program RGUGBR00.
Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS & TRACE PROG. GENERATE CALLS .
Hope this make your doubt clear.
Regards
Abhii
Maybe you are looking for
-
Upgrade issues - new ipod with existing itunes
My previous 20GB ipod died and I have bought a 5th generation 30GB. When I try to install the new software using the disc provided in the box, I get the following dialogue box: "Another version of this product is already installed. Installation of th
-
Basic things needed to connect JDE One World XE B7333 SP17 to XI?
Hello.... Can anyone tell me the basic things needed to connect JDE One World XE B7333 SP17 to XI? Hve anyone done this scenario before? --Pramod.
-
Can two User Accounts share a playlist?
My wife and I have a shared iTunes Music folder (Macintosh HD/Users/Shared/iTunes Music) which serves both user accounts and both iPods. However, we have not figured out how to copy playlists. I don't want all of hers, and she doesn't want all of min
-
Connetion or SQL sentence error: DA0005
Hi All, My customer is using xi-r2 sp2. when opening a deki report getting the error Connetion or SQL sentence error: DA0005 Please help how to narrow down this issue,. Thanks, Shiva
-
Hi, I'm working with an APEX page template - 'One Level Tabs' in my application. I have copied and extended this template to meet the requirements specified by the client by adding a background image on the page.Also I have added 5 regions on the pag