RSEG (Document Item: Incoming Invoice)
Hi Friends !
Requirement is to pull the Incoming Invoice from the table RSEG. Could not find any standard extractor. Is there any standard extractor which I missed seeing? or do we need to create a generic datasource? Thanks.
With Regards
Rekha
use
Invoice verification Data source. 2lis_06_inv
http://help.sap.com/saphelp_nw70/helpdata/en/57/dad06449114814919000e27dfb255e/frameset.htm
Similar Messages
-
User-Exit to Modify Accounting Document of Incoming Invoice
Hello,
My requirement is to add two new Line Items (One Debit One Credit - with net value 0) in the Accounting Document of the Incoming Invoice.
Is there any User-Exit available for modification of the Accounting Document?
P.S. - The Incoming Invoice is being Posted using BAPI - BAPI_INCOMINGINVOICE_CREATE
Thanks & Regards,
AbhishekHi Abhishek,
Try this exits. You go through the flow and put a break point on the selected exits, and check it whether it triggering or not?
I too not aware of this invoice flow, so I am listing all the relevant exits. I think this may help you.
Enhancement
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Business Add-in
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification
Reward points if it helps you.
Cheers,
Swamy Kunche -
Accounting document during GR & Invoice
Hello SAP gurus
I want a report in which there should be purchase order no ,Accounting document which is created during GR & Invoice.
Please suggest me the T code if any or if i hav to write a query for that which tabled shuld i use?Dear Desai,
Tables in SAP MM for Purchasing Point of View
EKKO - Purchasing document header
EKPO - Purchasing Document: Item
EKET - Purchasing Document: Delivery Schedules
MDBS - Material View of Order Item/Schedule Line (good to find open PO's)
EKKN - Account assignment in purchasing document
EORD - Purchasing Source List
EIPA - Order price history record
EKAB - Release documentation
EKBE - Purchasing document history
EKBZ - Purchasing document history: delivery costs
MKPF - Material document: Header
MSEG - Material document: item
Invoice Verification
BSIM - Secondary index: documents for material
MYMFT - FIFO results table
MYML - LIFO material layer
MYMLM - LIFO material layer (monthly)
MYMP - LIFO period stocks, single material
MYMP1 - Receipt data LIFO/FIFO valuation
MYPL - LIFO pool layer
MYPLM - LIFO pool layer (monthly)
RBCO - Document item, incoming invoice account assignment
RBDIFFKO - Invoice Verification: conditions
RBDIFFME - Invoice Verification: quantity differences
RBDRSEG - Invoice Verification batch: invoice document items
RBKP - Document header: incoming invoice
RBKPB - Invoice document header (batch invoice verification)
RBTX - Taxes:incoming invoice
RBVD - Invoice document: summarization data
RBVDMAT - Invoice Verification: summarization data, material
this may help u !
Regards,
Pardeep Malik -
BAPI for attachment to incoming invoice
Hello,
I am creating documents for incoming invoices with an RFC that uses BAPI_INCOMINGINVOICE_CREATE. I also want to attach an external file to the document created. Is it possible to achieve this with a BAPI or an fm?
Thanks in advance,
AliHi,
I am giving a brief about the flow you should follow.
PERFORM file_upload USING p_file. (This is the perform in which you will upload your file with the business object of the document, document key, archiv type, the local path of attachment etc...)
PERFORM validate_file. ( This is to validate your entries from the file)
PERFORM bo_existence_check. (This is to check the the existence check of the business object and document key in the system)
LOOP AT gt_upload_file INTO gs_upload_file. (This is looping through the file for each entry i.e. each document)
PERFORM upload_attachment. ( This is to upload scanned attachment to optical archiv drive)
Use FM SCMS_AO_FILE_PUT_FE for uploading the file
PERFORM link_archiv. (This is to link the uploaded document in archiv drive with the document in SAP system)
USE FM ARCHIV_CONNECTIONTABLE_INSERT for linking the document and attachment.
ENDLOOP.
Let me know if you find it useful.
Thanks and Regards,
Kiran Mohan -
Incoming invoice post via INVOIC01 (IDOC_INPUT_INVOIC_MRM)
Dear all,
We are trying to post an incoming supplier invoice against a PO via IDOC INVOIC01 (IDOC_INPUT_INVOIC_MRM).
We were able to identify all technically required fields to post the invoice.
However, we have some difficulties:
1). How can we enrich the text field which is in the header of the MM invoice ? (transaction MIR4, tab Basic data, field "text")
2). In the FI document (BSEG/BKPF table; FI document that can be viewed through transaction FB03), there are fields like XREF1, XREF2 and XREF3, is there any possibility to have these fields filled through the IDOC?
Many thanks in advance!
Best regardsOption #1 is to use INVOIC01. The configuration for INVOIC01 is present in the standard system for MM invoices through ECC 6.0.
Option #2 is to add the ALE config to allow use of INVOIC02 with IDOC_INPUT_INVOIC_MRM. We have just done this ourselves because we want to use the same IDoc for both our FI and MM invoices, and it seems to be working OK thus far. The configuration to use INVOIC02 for MM invoices is not in the default system up through ECC 6.0.
To do option #2, call transaction WE57 - "IDoc: Assigment of Function Module to Logical Message and IDoc Type"
You will need authorizations to assign a package to this -- it is transportable config.
Function module: IDOC_INPUT_INVOIC_MRM
Function type: Function module
Basic type: INVOIC02
Message Type: INVOIC
Message Variant: MM
Object Type: BUS2081
Direction: Inbound
Description: Invoice/Billing Document
Name: Incoming Invoice
(This is a copy of the default config for INVOIC01, changing the IDoc type to INVOIC02.)
Save, assign to the appropriate package for transport. This configuration is cross-client, so do it once in your development client and it's active in all clients on that instance.
And that's it! Do everything else the same as you would with INVOIC01. (Just keep in mind that not all of the segments you use for FI invoices work exactly the same way in MM invoices -- some of the segment qualifiers are different despite trying to define the same business fields...)
--Dan King
SAP NetWeaver Integration Architect
Capgemini -
RBKP vs RSEG - incoming invoice w/o PO
Dear All,
Please give a hand in this issue:
I created an incoming invoice in MIRO with WBS reference (no PO was involved into this process). There was two lines in MIRO when I created the document in MIRO (WBS were the same for both lines).
1. Using the number of MIRO-invoice I can see a record in RBKP.
2. In RSEG I haven't found any record using this document number.
3. In RSEG I can find only record with PO reference.
My questions:
1. Where are stored my document lines? I thought the should be in RSEG but they aren't... How does this work?
2. How can I connect my MIRO document items (that were booked w/o PO reference) to accounting document items (BKPF, BSEG)?
Thanks in advance,
Csaba
Edited by: Csaba Szommer on Aug 26, 2008 5:31 PMHello
Link between RBCO and BSEG:
1. select single * from RBKP where BELNR = RBCO-BELNR and GJAHR = RBCO-GJAHR.
2. concatenate RBCO-BELNR RBCO-GJAHR into AWKEY1.
3. select single * from BKPF where BUKRS = RBKP-BUKRS and GJAHR = RBKP-GJAHR
and BLART = RBKP-BLART and BUDAT =RBKP-BUDAT and TCODE = RBKP-TCODE
and XBLNR = RBKP-XBLNR and AWKEY = AWKEY1.
4. select * from BSEG where BUKRS = BKPF-BUKRS and BELNR = BKPF-BELNR
and GJAHR = BKPF-GJAHR. -
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 -
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. -
DMS document attachment with Incoming Invoice
Hi All,
We are creating one DMS document and want to attach it to an Incoming Invoice (MIRO).
We are using the bapi BAPI_DOCUMENT_CREATE. What are the fields to pass in Objectlink.
Please help us to achieving it.
ThanksWe have created an Incoming Invoice already using 'BAPI_INCOMINGINVOICE_CREATE'. We are now creating a DMS document using 'BAPI_DOCUMENT_CREATE' and want it to be linked to the existing Invoice. For this we are trying to use the 'OBJECTLINKS' table.
The linked document should be visible in T-Code FBL1N. Can you please throw some light on how to do this?
Edited by: Himansu.P on Jun 14, 2011 3:06 PM -
We have two cubes one is sales document count cube (header data) and other one is sales transation cube (item level data) . Invoice net val is there in sales document count cube and profit center, principal and item category is ther in sales transation cube.
our requirement is ,total amount of all the items of invoice at document level to present along with principal, profit center & item category.
This has to be done in the document count cube and not the transaction cube.
note: multi provider is not solution. There any solution at query level?hi
If your using 2 ODS one for header and one for Item to 2 Cubes.....
Then just create a update rule between Item data ODS to Document CUbe mapping the new keyfigure ( Net value of total of all items in sales order )
If not tel me how the cubes and ODS are fed the data
Assign points if useful
Regards
N Ganesh -
Extractor for RSEG incoming invoice table
Does anyone know if there is a standard extractor that includes incoming invoices from table RSEG? Also is there documentation somewhere on all of the standard extractors?
Dorothy,
I'm looking for the same extractor. Have you found the answer in the meantime?
Thanks,
Sigal. -
Document date is in the future in incoming Invoice
Hi,
When I create incoming invoice with Tcod MIRO this problem create
{Check - document date is in the future)
What I do in this case please tell me
Regards
Sunil.hi,
cHECK THE DOCUMENT DATE IF IT IS IN THE FUTURE I,E FOR EG A MONTH AHEAD.
Probably the system just askds u if u have to post the doc in the future date.
This should be just a warning message and not the error message.
This should allow u to proceed with MIRO.
Please proceed and see,
Regards,
Hope thsi helps.
Prasanna
Award if helpful -
EDI incoming invoice error M8 755 Enter a tax code in item...
All,
Can anyone tell me where I should look to resolve this issue? I'm trying to post an EDI incoming invoice for a PO. The PO has an tax code on the line item being invoiced.
Thanks
SandraLet me get into a little more detail. We have EDI incoming invoices working properly in our production environment. It is unlikely our mapping or our customization is incorrect. It is possible that something has been changed with customization but I have already looked there and did not see anything of concern.
I'm doing testing in our test environment using WE19, and I'm getting this error message although the idoc I create is similar to examples in production and the PO is also similar to what is in production.
I was hoping that someone had experienced a similar issue and would be able to point me in a direction that I have not already looked.
Regards,
Sandra -
Item Level Approval in Incoming Invoice
Hi Gurus,
I am new to the concepts of workflow and really dont have good experince to take up this job. But still I want to give my best shot and see if I can do.
I am trying to accomplish item level approval for incoming invoice using business object FIPP. I have below mentioned questions in this regards,
1) Is it possible to achive item level approval for incoming(vendor) invoice using business object FIPP?
2) If <b>YES</b> , Please provide me with some hints on how to achieve it.
3) Is there any BADI available to enalbling this functionality?
Any kind of help in this regard is highly appreciated and rewarded.
Regards,
Sapna Madhuri
Message was edited by:
sapna madhuriYour solution design must of course depend on the functional requirements (specification). I can not (will not, I have a job to attend to even if I tend to spend too much time here on SDN sometimes) tell you everything that is involved in the workflow builder, nor what the graph should look like.
There is not one answer to these questions. You can probably find several (more than two) different technical solutions that meet the requirements. Not all will be equally elegant. Not all will be equally robust. Not all will be equally maintainable. Some will give a higher system load than others. And so on, and so on. <b><u>You</u></b> have to make the choices, not some fellow SDN-er far away from you and your customer.
<b>First question:</b> is approval of level 1 and 2 approvers performed independently for each item or depending on the previous level being completed (i.e. must all level 1 approvers approve before relevant items are sent to level 2 approvers)?
If they are handled independently, you can create a subworkflow and use dynamic parallel processing to instantiate it for all items. If there is dependence, you can perhaps use two dynamic parallel processing steps, first for level 1 approvers and then for level 2 approvers.
<b>Second question:</b> what happens if an approver rejects an item?
There is no easy way out, you have to spend time to find out what the best solution is. I'm not here to spoon-feed anyone any solutions, but I don't mind telling what my ideas are. OK, once in a while I will actually give someone a complete solution, like many others here, but that's mostly to very specific and limited questions. Your query is very broad and nearly unlimited in scope. -
Error in BAPI while creating incoming invoice
Hi Experts,
Im creating incoming invoice by using the BAPI, 'BAPI_INCOMINGINVOICE_CREATE'.
when im going to posting my invoice it is showing the error like 'EDI: Error in customizing for differential invoicing'.it is a urgent requirement and need to solve this ASAP.Pls help me out with this error
Im passing following parameters to BAPI:
wa_header-invoice_ind = 'X'.
wa_header-doc_date = sy-datum. "Enter the document date
wa_header-pstng_date = sy-datum . "Enter the posting date
* wa_header-ref_doc_no = '5000008590'.
wa_header-comp_code = '1000'.
*wa_header-gross_amount = '50.11'. "Enter the gross amount(aft. tax) for the invoice
*wa_header-calc_tax_ind = 'X'.
wa_header-currency = 'INR'.
wa_header-INV_TRAN = 'X'.
wa_header-SIMULATION = 'X'.
wa_item-invoice_doc_item = '000001'.
wa_item-po_number = '3700000557'. "Enter the PO number
wa_item-po_item = '00010'. "Enter the PO item number
* wa_item-ref_doc = '5000008590'. "Enter the GR number
* wa_item-ref_doc_year = '2014'. "Enter the GR fiscal year
* wa_item-ref_doc_it = '0001'. "Enter the GR item number
* wa_item-tax_code = 'V0'. "Enter the tax code applicable
wa_item-item_amount = '50.60'. "Enter the item amount
* wa_item-quantity = '2380'. "Enter the invoice quantity
* wa_item-po_unit = 'EA'. "Enter the UoM
APPEND wa_item TO it_item.
CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
EXPORTING
headerdata = wa_header
* * ADDRESSDATA =
IMPORTING
invoicedocnumber = g_invno
fiscalyear = g_fyear
TABLES
itemdata = it_item
* * ACCOUNTINGDATA =
* * GLACCOUNTDATA =
* * MATERIALDATA =
* * TAXDATA =
* * WITHTAXDATA =
* * VENDORITEMSPLITDATA =
return = it_ret
* * EXTENSIONIN =
IF g_invno IS NOT INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
* * IMPORTING
* * RETURN =Thanks every one for your valuable solutions.
Issue is Solved by unchecking the flag.
wa_header-INV_TRAN = 'X'.
Thanks & Regards,
Ramjee.
Maybe you are looking for
-
I am getting the following error message, " The URL is not valid and cannot be loaded" when I try to go to firefox home. I uninstalled add-ons , uninstalled Firefox and then installed a fresh version. Still have the problem. Thanks for the help
-
Condition type for fee - no change of moving price or balance sheet account
Hi, hope you can help me. We need a new condition type for a kind of fee which has to be paid to the vendor and used in the purchase order. This is a condition type which - has to be part of the invoice - has to be posted as a kind of accrual - must
-
I am a unix / solaris dba. My IT director wants to migrate to Windows based so they can hire more database operators familiar with windows. In my city there is a shortage of really good unix people. anyway , I was curious I think I am given more cont
-
The task failed with error: Invalid BPM Object context key, can any one hel
The application works fine on version 5.7. I am trying to migrate to 10.3 angetting the error when tried to execute task. This is coming up from opening a jsp page; don't know exact code/line number as the error message is in a popup window and doesn
-
Hi to all, I have Oracle 10g installed and I need to install many app in order to manage from my application email sending. From Dos XP window, I run: loadjava -user sys/xxxxx@xxxx -resolve -synonym activation.jar This is the error message: Error whi