Sorting of order items on invoice
How can we make sorting on order items in invoice when we are clubbing together many sd-orders in one invoice?
In the document flow, the sd-orders are sorted in a correct matter - but when we look at the invoice the materials is not sorted in the same way.
Take a look at the link [sorting|http://img212.imageshack.us/img212/2433/sortingdocumentflowvsinit8.jpg]
I would expect the order items from sd-document 37403, then 37404 etc. to be sorted in the invoice in the same way as document flow - hence order items from 37403 first, then order items from 37404 etc.
Is this possible and if so how?
I haven't received any answers or feedback to this question.....does it mean it is not possible to sort this on the SD-side?
Similar Messages
-
Rejected sales order item after partial invoice
Dear All,
We have a partially invoiced (and paid) sales order. Now the customer (and we) wants to cancel a sales order item. So we set reason for rejection at item level. In VA05 it still displays the SOI as open and status is being processed. How to proceed, it should not be displayed as open when it is rejected in VA05.
Can I change the billing plan so that the invoice does not mind the items I want to reject should I ste a billing block? Delivery Block?
Best regards,
Michaël
Edited by: spimic on Oct 5, 2010 6:21 PMHi,
Take the help of ABAP'er, and explain him that as soon as sales order is invoiced(partially), set the rejection reason to sales order.
And also define the rejection reason and assign these rejection reasons to billing types.
Regards
Ashutosh -
Document contains some order item more than once - invoice verification
Hi,
we have one cross company stock transfer process in which when a billing is created in SD side, an IDOC will be triggered automatically and create an invoice verification at the MM side.
The problem is some of our billing of this process having an IDOC application error that said.
Document contains same order item more than once
Message no. M8321
Diagnosis
Under the following circumstances, you can settle an order item in an invoice received via EDI more than once:
- Goods-receipt-based Invoice Verification has been defined for the order item.
- The IDoc contains the delivery note numbers of the goods receipts.
System Response
If this is not the case, the system cancels posting of the IDoc.
Question:
1 - The funny thing is IDOC showing 51 IDOC error code message on status record of INVOIC. But the invoice verfication get created in PO history.
2 - I think this error is because we need to make the PO as GR-based Inverifcation. We have flagged it in Vendor master, and Info record, but this indicator is not flag automatically in the PO (and we cannot manually change the PO as this indicator is grey-out). How?
3 - how to solve this error?
ThanksOnce PO history is created, you cannot change the "GR-based-IV" flag. Two options are there before you.
1. Cancel all the GRs & Invoices posted in the STO then system will allow you to update the GR-based-IV flag. After updating this flag repost the GRs and invoices.
2. Create a new STO, now since you have updated the vendor maser & info-record, this flag will automatically get updated during the STO creation itself.
First option is tedious and should be selected only if you can go option 2 is not at all feasible -
"All items from purchase order cannot be invoiced"
Hello,<br />
<br />
I'm on a SRM 7.0 SP 5 system (ext-classic scenario). Here i try to create an invoice with reference to a Purchase Order, but none of my Purchase Orders can be used for reference. I get the following warning message 'All items from purchase order cannot be invoiced'.<br />
<br />
- Created via POWL (create with reference -> invoice/credit memo) i always get the warning message 'All items from purchase order cannot be invoiced'. And no items are converted / can be used for invoicing. Additionally when i use the search option 'find purchase order' within the create invoice transaction i can not find any purchase order to use, it shows 'There is no search result' while there are plenty purchase orders marked with 'invoice expected'.<br />
<br />
I am able to create invoices without reference.<br />
<br />
I tried vendors set up only for 'invoice expected' and 'GR', 'invoice expected' / 'GR' / 'GR-based-IV' and 'invoice expected' only none of them works, indicators set on vendor master are correctly used on the created purchase order. Outputting PO doesn't make any difference neither.<br />
<p />
I have not set up the following (do i need to?):<br />
- Deactivated the 'CRME' transaction type, no Credit Memo transaction type has been configured/is active.<br />
- I have not defined the 'INV' transaction type as a follow-on document for my ECPO transaction type within the define transaction type transaction.<br />
- Tollerances<br />
<br />
<b>edit</b> -> i've already searched thorougly for SAP notes but no note seems to cover this particular problem.<br />
<br />
Help is very much appreciatedSolved! Added SYS attribute for back-end system in organisational scheme.
-
Change End date of billing plan/invoice plan in sales order item(fpla-erdat
Hi Experts,
Could you please help to me regarding this issue.
I need to change End date of billing plan/invoice plan in sales order item of "billing plan" Tab.( FPLA-ERDAT) for all line items. It is not a one sales order,more than 1000 sales orders.
How can i change those end date of billing plan for all line litems and all sales orders ( i have input file with sales orders, items, dates.)
Thanks
jayaHi ramki,
I tried with using MASS T.code ( bus2032 Object type).
There are no field related to Billing plan end date?.if case i done wrong ,tell me what are steps while using MASS T.code.
now what i can do. or explain
Thanks
jaya -
Change End date of billing plan/invoice plan in sales order item
Hi Experts,
Tell me what are tables to be updated,when i changed end date of billing plan/invoice plan ( "billing plan" Tab in sales order item).?
Thanks
jayavbrk and vbrp
-
Can Reminders in ML sort/order items per dates?
Can Reminders in ML sort/order items per dates? It was possible when it was part of Calendar in its previous incarnation. Doing it manually is a drag (no pun intended). Seeing uncompleted reminders as well as what is imminent, without sifting through the whole list would be very useful.
ops
i mean
about the 1 screenshot
can i have the list
caeram data exit
iptc core
camera raw
file properties
second screeshot
can i have the filter list
aperture value
exosure time
file type
keywords
and so on
thanks -
How to create item wise invoice with reference to sales order.
Hi ,
Please let me know how to create item wise invoice with reference to sales order.
Ex : Sales order has 2 line items .
When creating invoice system should create two invoices for each line items.
I have tried with copy control but I am not able to do it.
Please advise.
RegardsHi,
Please let us know your exact requirement. Whether you want it to be fixed like only one line item to be billed every time ot it to be based on selection you do every time.
As per my understanding it should not be fixed and in that case it should like as follows,
In VF01 you will select Del. document/S.O. number and click on selection list and will take you to next screen as mention below,
and select desire line item to be billed and click on copy and will take you to billing screen.
Regards,
Ajit K Singh -
EDI Invoicing - Document contains same order item more than once
Hi,
While trying to post an inventory invoice with EDI, we are receiving the following error message: Document contains same order item more than once.
On the PO and the inter-company invoice, the same material come more then 1 time. Can you please tell me what I could do to fix that issue? Ideally we would like to do not modify the PO or Intercompany invoice so that the same material can come more than once.
Thanks
MartinHello,
maybe you've resolved this problem in the meantime.
I have encountered the exact same problem and will try solving this by setting the flag on field "GR-Bsd IV" in the purchase order at item level under the invoice tab.
Can you verify this?
Thanks,
Amber Morphis -
Adding binlocation items from sales order to sales invoice through DI API
Hi
I want to add items from sales order to sales invoice.
when i am allocated bin locations for the item sales invoice is not adding
is there any way to update BIN Location Alocation-Issue qty through DI API
please help me....
regard,
LakkshmiKantthHi Lakshmi,
check this http://scn.sap.com/message/14740146#14740146
REgards
edy -
Reg. DB Table for SD Order item which is billing relevant
Dear Experts,
My requirement is that for each WBS Element, i need the SD Order item which is relevant for billing to enable the report to check whether final billing was done. If final billing was done for all line items the report will select the latest billing date at least three months ago. What is the Database Table i need to look into? Kindly help me in this regard.
Thanks,
Ramesh ManoharanWhat data you are looking for the database tables??
Guess,
you will get WBS element from VBAP table, Key in WBS element in this table & you will get all SD orders with Item Category (PSTYV).
with this Item Category, Goto Table:TVAP to check whether item is relevant for billing or not
sort all the SD orders with TVAP_FKREL ne "blank" ,
Now check the status of SD orders @ item level from Table:VBUP ( if billing is done SD order status will get updated as"Complete") , To find out the Billing no, Use doc flow table:VBFA with subseq doc cat:M ( applicable invoice doc cat's) & SD order as selection criteria. -
Message M8 321 Document contains same order item more than once
Hi,
i process incoming invoices by means of bapi_incominginvoice_create/park
The source data is a file.
The problem arises when i process the file containing the same order item several times
in different invoices.
when the code does:
PERFORM importing_data_check TABLES itemdata
accountingdata
taxdata
withtaxdata
vendoritemsplitdata
glaccountdata
materialdata
USING headerdata
addressdata
c_rbstat_posted
CHANGING return[]
f_subrc.
precisely in:
*----- Prefetch PO items ---------------------------------------------*
LOOP AT t_itemdata INTO s_itemdata.
*----- Check double PO/Item ------------------------------------------*
f_loop_doublecheck = f_loop_doublecheck + 1.
LOOP AT t_itemdata FROM f_loop_doublecheck
WHERE po_number = s_itemdata-po_number
AND po_item = s_itemdata-po_item
AND REF_DOC_YEAR = s_itemdata-REF_DOC_YEAR
AND REF_DOC = s_itemdata-REF_DOC
AND REF_DOC_IT = s_itemdata-REF_DOC_IT
AND SHEET_NO = s_itemdata-SHEET_NO
AND SHEET_ITEM = s_itemdata-SHEET_ITEM
AND COND_TYPE = s_itemdata-COND_TYPE
AND COND_ST_NO = s_itemdata-COND_ST_NO
AND COND_COUNT = s_itemdata-COND_COUNT
AND FREIGHT_VEN = s_itemdata-FREIGHT_VEN
AND VALUATION_TYPE = s_itemdata-VALUATION_TYPE.
e_subrc = 8.
PERFORM bapireturn_fill USING 'M8'
'E'
'321'
s_itemdata-po_number
s_itemdata-po_item
space
space
CHANGING te_return.
EXIT.
ENDLOOP.
IF e_subrc = 8.
EXIT.
ENDIF.
i get this message M8 321.
Can i process several invoices containning the same order item in the same execution of the file?
if so, how?
warning: i´ve already read this solution
(belonging to Ram Manohar Tiwari, here http://www.rmtiwari.com )
* The following coding is to solve the problem
* mentioned in OSS Note 518338.
* Same PO item within several invoice items.
SORT I_ITEM BY PO_NUMBER PO_ITEM.
LOOP AT I_ITEM.
ON CHANGE OF I_ITEM-PO_NUMBER OR I_ITEM-PO_ITEM.
W_COUNTER = 1.
LOOP AT I_ITEM WHERE PO_NUMBER = I_ITEM-PO_NUMBER
AND PO_ITEM = I_ITEM-PO_ITEM.
IF W_COUNTER EQ 1.
I_ACCOUNTINGDATA-SERIAL_NO = '01'.
I_ACCOUNTINGDATA-XUNPL = ' '.
ELSE.
I_ACCOUNTINGDATA-SERIAL_NO = ' '.
I_ACCOUNTINGDATA-XUNPL = 'X'.
ENDIF.
MODIFY I_ACCOUNTINGDATA
TRANSPORTING SERIAL_NO XUNPL
WHERE INVOICE_DOC_ITEM = I_ITEM-INVOICE_DOC_ITEM.
W_COUNTER = W_COUNTER + 1.
ENDLOOP.
* To solve the repetition of PO item in subsequent invoices.
ELSEIF SY-TABIX EQ 1.
W_COUNTER = 1.
LOOP AT I_ITEM WHERE PO_NUMBER = I_ITEM-PO_NUMBER
AND PO_ITEM = I_ITEM-PO_ITEM.
IF W_COUNTER EQ 1.
I_ACCOUNTINGDATA-SERIAL_NO = '01'.
I_ACCOUNTINGDATA-XUNPL = ' '.
ELSE.
I_ACCOUNTINGDATA-SERIAL_NO = ' '.
I_ACCOUNTINGDATA-XUNPL = 'X'.
ENDIF.
MODIFY I_ACCOUNTINGDATA
TRANSPORTING SERIAL_NO XUNPL
WHERE INVOICE_DOC_ITEM = I_ITEM-INVOICE_DOC_ITEM.
W_COUNTER = W_COUNTER + 1.
ENDLOOP.
ENDON.
ENDLOOP.
* Changes over for OSS Note 518338.
in this OSS Note 518338 it says:
Solution
Fill the tables as described in the documentation for the BAPI. If you want
to post unplanned account assignments for the invoice, fill field
'Unplanned account assignment from invoice verification' (XUNPL) in table
ACCOUNTINGDATA instead of field 'Serial number of account assignment'
(SERIAL_NO).
The question is that i do not have unplanned account assignment.
Any hint or suggestion would be greatly appreciated
Best regards.Hi!
In your BAPI programs, you can not fill 2 or more invoice's items
with same reference data into the BAPI interface table ITEMDATA.
In your input data for BAPI with multi acc.assignment you should fill
only one entry in ITEMDATA for given PO and more entries in
ACCOUNTINGDATA, each for a different SERIAL_NO.
When you use multiple account assignment in BAPI_INCOMINGINVOICE_CREATE
then you have to fill the SERIAL_NO manually in the interface of bapi.
Serial_No should contain 01,02 so on depending upon number of account
assingnments the PO item has it. You can see the PO in transaction ME23N
and then fill SERIAL_NO in the BAPI.
Otherwise it can cause others problems in GR/IR account in the FI DOC
and PO history, as well as in the further invoice processes reference to
the PO/item (ex. MR8M, MR11, or create another new MM-invoice DOCs).
For more information on this please review the following attached notes:
972627 BAPI: Message M8 321 is displayed for no reason
512282 BAPIs: Service-based invoice verification.
Please check also the following information:
After applying the note 661864 the standard system doesn't support
several invoice items reference to same PO/item and GR/item in the
BAPI process anymore. Mainly this note was developed to avoid short
dump. Now the message M8321 is issued.
As you create MM-invoice using on-line transactions (ex MIRO), automatic
processes (ERS, EDI) or BAPI as well, system will create or accept
the invoice item in this way:
Each item for a different reference data (EBELN,EBELP,LFGJA,LFBNR,LFPOS
for normal PO, as well as PACKNO and INTROW for service PO):
EBELN: PO's No.
EBELP: PO's item No.
LFGJA: original GR's year,
LFBNR: original GR's No.
LFPOS: original GR's item No.
If the PO is with indicator 'GR based-IV'='X', the reference data (LFGJA
LFBNR and LFPOS) must not be space. It means, you can't create an
invoice reference to the PO before posting of the corresponding GR DOC,
and one invoice item must be reference only to one GR DOC/item.
Otherwise if the PO is with 'GR based-IV' = ' ', the reference data
(LFGJA,LFBNR and LFPOS) are always space, you can create an invoice
reference to the PO before the GR DOC or without GR DOC, or one invoice
item can be reference to more GR DOC/items.
And the concept is valid for the PO with 'GR based-IV' or without it.
Best regards
Erika -
Sales order item report based on results analysis key and status
Hi,
I am trying to find a a report to generate list of sales order items with following selection
-invoicing status -invoiced/not invoices (other status)
-result analysis key assigned to this item (VBAP-ABGRS)
-system status /released/teco
Basically i am CO consultant and not so familiar with the SD statuses. I tried VA05 and V.26 but all required selections are not available in these reports.
If no standard report is available in ERP, i would like to have it in BI. Can some help me with table fields for statuses.
Thanks in advance.
Regards
RaghuHi Raghu
Go to SE16 and give VBUK table and execute it there you can select the following feilds and then check wheather they are meeting your requirements or not.If they are meeting your requirements then create a new Z report by copying standard VA05 key feilds. and include the other feilds which you need.So you take your ABAP team help
Billing status FKSTK
Posting Status BUCHK
Overall status GBSTK
Document category VBTYP
Regards
Srinath -
Table for open Purchase order and pending invoices for vendors
Hi,
Are there any table to know open Purchase orders and pending invoices for vendors.
Quick response will be appreciated.
Thanks & Regardshi,
Purchase Order:
S011:(PURCH: Purch. Group Statistics)
Statistics (SSOUR)
Version (VRSIO)
Month (SPMON)
Day (SPTAG)
Week (SPWOC)
Posting Period (SPBUP)
Purchasing Org (EKORG)
Purchasing Group (EKGRP)
Vendor No (LIFNR)
S012: (PURCHIS: Purchasing Statistics)
Statistics (SSOUR)
Version (VRSIO)
Month (SPMON)
Day (SPTAG)
Week (SPWOC)
Posting Period (SPBUP)
Purchasing Org (EKORG)
Purchasing Group (EKGRP)
Material No (MATNR)
Plant (WERKS)
Info Record Category (ESOKZ)
Material Group (MATKL)
Info Record (INFNR)
Country (LAND1)
EINE: (Purchasing Info Record: Purchasing
Organization Data)
Info Record (INFNR)
Purchasing Org (EKORG)
Info Record Type (ESOKZ)
Plant (WEKS)
EKET: (Delivery Schedules)
Purchasing Doc (EBELN)
Item (EBELP)
Delivery Schedule (ETENR)
EKPO: (Purchasing Document Item)
Purchasing Doc (EBELN)
Item (EBELP)
EKKN: (Account Assignment in Purchasing
Document)
Purchasing Doc (EBELN)
Item (EBELP)
Account Assignment (ZEKKN)
EKKO: (Purchasing Document Header)
Purchasing Doc (EBELN)
EORD: (Purchasing Source List)
Material No (MATNR)
Plant (WERKS)
Source List No (ZEORD)
thx,
Ganpat -
In MR11 - u201CNo (suitable) purchase order/item found u201C.
Hi Friends,
We are having issue with MR11 in 4.6 B. While doing MR11 for a PO where Delivery costs have not been balanced, we are getting message u201CNo (suitable) purchase order/item found u201C.
In the research, we found that in 4.6 B, MR11 is using program SAPMM08K, where as in ECC 6.00, it is using program SAPRCKM_MR11.
Initial fetch from PO history table :
4.6 B -> In 4.6 B we are using EKBI view (Join via EKKO / EKPO / EKBE for MR11) to fetch the PO history table. (It is not considering EKBZ table for delivery cost records)
Program is checking the Quantity of EKBI, if there is no difference in quantity then it is coming out of loop and showing message
No (suitable) purchase order/item found
Message no. M8 401
3CAUSE&
No purchase order exists which corresponds to your entry for a quantity
difference posting.
ECC 6 -> In ECC 6.00 we are using view V_CKMLGRIR (DB View: Selection for MR11 Clearing GR/IR Clearing Account Table u2013 EKKO, EKPO and EKBE)
Here also program is checking the Quantity in the View, if there is no difference in quantity then it is going for another fetch (which is missing in 4.6 B).
In the another fetch, it is checking View V_CKMLGRIR_FR (DB View: Selection for MR11 Clearing Freight Clearing Accnt Table u2013 EKKO, EKPO and EKBZ)
I've searched sap notes but couldn't find much help. I've tried different search criteria but no luck. Could anyone able to help me?
Thanks,
Ramesh SHI
MR11 will show only the blocked invoices due to quantity/price difference.
First of all please check your invoice (MIRO of your required PO) that it is blocked for invoice verification or not .(Please note block for payment is not relevant for MR11).
Further please check if you have mainatined any tolerance in GRN (MIGO) for under or over delivery , so it is not escaping the PO due to under/over tolerance limit.
Cheers
Mukta
Maybe you are looking for
-
How do I delete all my info from 3G
Before I sell it? If I do a restore wont it load the info back on? Thanks
-
How to stop ringing alert (fire alarm ringing) after start-up!
I have had an unexpected ringing alert (fire alarm) ring) occur right after the computer starts up with all the applications showing on the screen...and sometimes I will come home and find that it had been ringing all day. I have checked as many plac
-
Projecting Video from iPad via TV
Hi, I purchased an Apple adapter that allows me to connect my iPad to my HDMI televison. When I connect it, I can see the iPad screen and all the icons for my Apps. When I launch my TruTV app, I can see the app banner, but when I go to view the
-
CodePage mismatch when creating Informatica Service
I am installing INformatica in Windows, connecting to an Oracle DB in a Linux environment. I can create (and enable) the repository service if and only if I choose Western ISO8859 as Database properties. When creating the PC Integration service I am
-
Mass upload in Jump targets(urgent )
Hi Experts, In creating Jump targets in RSBBS..let me know the option to have a mass upload multiple selection in jumping from one query to another. I mean that when we go to another query(receiver) from the result area of the first(sender) how would