Partitioning items in the delivery
Hello all,
I've been testing condition type K007 in my sales orders. I've noted that I'm able to create the sales orders, deliveries and invoices with the correct discount. One thing is strange: I create the Nota Fiscal which is accepted ONLY IF I do not use the item partition in the delivery. If I do partition items, the Nota Fiscal created is not acceptable by Sefaz. SAP creates two different invoices: one with the correct
amount and another one with a discount (that is not the K007 discount).
I've tested the same scenario for K004 and K005 and this issue doesn't happen.
Anyone seen this before?
I appreciate any help. Thanks in advance.
Thanks a lot for your help, Ricardo.
I understand cond type is not a split criteria.
The problem seems to be when I partition delivery itens. My order has 1 item only. My invoice comes with 2 items. Thus, the value is not acceptable by Sefaz.
I'm attaching some images, see if it helps?
Thanks again.
In my second invoice, this number 8,89 é calculated. I can't find where it comes from.
Similar Messages
-
Each item in the delivery should have separate invoice
HI friends,
who to do separated invoice for each item of the delivery, even if the bill to party and billing dates are same.
thanks
nitchelHi,
Rather than block individual items manually each time an invoice is raised, a copy control routine can be written in which you can modify item level split criteria which is explained below in detail.
In VOFM transaction, go to 'Data Transfer' and choose 'Billing Documents'. You can see a list of routines which can be used in copy control configuration. Define a new routine in this list (501 for example).
Copy the piece of code from routine 001 (include FV60C001) to this new routine and add another field 'POSNR' to the structure ZUK. Copy delivery item number to ZUK-POSNR (ZUK-POSNR = LIPS-POSNR) before ZUK gets assigned to VBRK-ZUKRI.
Then assign this routine in the item level copy control of delivery to billing of the respective document types. This will ensure that as many invoices get generated as there are delivery items.
But before that, decide the scope for this invoice split, i.e. for what document types / organizational units, etc. this is required. These checks may be added as initial conditions in the routine before LIPS-POSNR is copied to ZUK.
Cheers,
KC
PS: I had earlier tried some other split criteria which worked fine. If this doesn't work as it is described above, you may have to do minor fine tuning but the idea of splitting invoices by tweaking ZUKRI will certainly work. -
Not display the line items in the delivery.
HI
Please let me know any one guess the solution below issue.
In the sales order 5 line items are there , But when i am doing delivery the 5 lines items are not displyed, Only 2 line items only displyed.
what could be the reasons ?
Thnaks,
THAMBIHi,
Please check all 5 things
1 Shipping Point
2. Ship-to Party
3. Route
4. Inco terms
5. Delivery Date
should be same if not delivery will get split if all 5 things are same then please check conform quantity for those item which is not appear in delivery
Because confirm quantity is not available means system will not allow to deliver that item so also check schedule line date it might be different for that 3 item that is not coming in delivery
And also check the user exist may be included in the sales order .
Whenever the sales order is creating the 2 line items only come for delivery.
Thanks
E.vasu -
Total weight of the packed item at the delivery
There is packing in delivery at our case and I have to have the total packed weight of the material. This means that the total weight of the material and the packing materail of the item. From which table I can have the total gross weight?
Hi,
Did you try with VEKP and VEPO?
Regards -
How to update the Customer field value of PO Item under the Delivery Address Tab?
Hi Friends,
i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
Thanks,
DineshThank you friends,
My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
Thanks,
Dinesh -
Regarding- Packing Line Item Not Displayed in the Delivery Document.
Hi,
I have 2 queries
1) Have created separate Material Type Packaging for my packing material and the item category group used is VERP, my Orginal Material is getting packed in the Delivery Document, however the packed item is not coming as a separate line item in the Delivery document, I have maintained the item category settings for the Delivery Packing Material and also the packing Material contains stock,
2) The Plant and Storage Location for my handling unit need to get defaulted autmatically in the delivery document what settings should I configure for the same.
Kind Regards
Atul KeshavHi,
Find the below threads, which is explained in context with returnable packaging, same will be useful for you.
[Re: returnable packaging]
[Returnable packaging process;
Regards,
Reazuddin MD -
How to configure the delivery item text is required text
Dear All,
I have issues about delivery item text. I would like to know how configure to delivery item text is required text (if not enter the text then cannot save delivery and show error message).
In configuration about delivery text in text control. I configure the delivery item text is (text is obligatory) but the delivery item is only show at incompletion log but not requried field.
In configuration about incompletion control for deliveries. No table and field is about delivery item text. I trial to enter PTEX(item texts) in field: Screen for creating missing data. The result can detect missing delivery item text but cannot specific delivery item text. If I enter other item text then the delivery can be saved. In additional, when I open screen delivery item text and not enter the delivery item text, the delivery can be saved. These are incorrect. I would like to check the delivery item text is required text.
Please suggest me how to solve this issue. Thank you very much.
Best Regards,
Lek Lexusthe
-
Add Item to a delivery without reference to a sales order
Hello everybody,
I'm trying to add an item to an existing delivery via VL02n without reference to a sales order but every time the following error message appears: "You cannot add this item to the delivery".
What settings do i need in order to that? (material type, delivery type, item category group,..etc..)
Could anyone help me?
Thank for your attention.
Regards,
A.Hi!
Its not feasible to add a new line item without reference, becuase in one of the user exits such a code would have been written to prevent adding line item without refernec.
This is done to ensure that a standard availabilty check, pricing and infostructure updates are done. Otherwise, after billing the report of Profitabilty will not come correct and will lead to more problems.
So my suggestion would be not to add the line item withour referencing to the sales order.
SAP provides the way of unreferincing through a seperate delivery type called LO. So if you want to create a delivery without refernce, you can use delivery type LO or some Z version of it.
Hope this helps,
Abhishek -
Licence issue in the delivery not in sales order
Dear SD Experts,
I am facing one differnt issue please check this if you have faced any time.
In sales order licence is redtermined perfectly with having any problems for Four line items
In the delivery also created 4 lines but if we check in the license log 2 new line items added and not triggerd ... in this case how we can sort out this issue, please tell me.
This screen shot from delivery document level from Export licence log
I assume while creating delivery document with packing for one material batches segrigated
And in delivery XYZ Material batches like below given .....Batch 123,456
so due to batch problem i am getting this issue.
I assume this.but batches are not expired here ....why this legal issue is raising hereDear Santosh Kumar
Please Find below error in we02 for IDOC
Item 90002 Cant copied due to legal control
Item 90001 Cant copied due to legal control
Message no VL400
Please any one could you help me
I have checked one link in this they have mentioned if export licence data problem is there not able to create delivery but in my case delivery done but IDOC issue is there.
Allready in copy control 101 Routine maintained.
Please check this screen shot -
New line item insertion in delivery via EDI - PI
hi,
the requirement is to insert a new line item in the delivery.
This new line item inserted should be done via an IDOC, which while entering the SAP will insert a new line item in the delivery.
The question if this line item insertion should be done through the inbound FM in SAP or via XI/PI.
How will this be done in PI??
Thanks a lotHai,
How you delivery creating or updation working in ECC??
like if you are using PI interface create/update delivery in ECC ,then you cae use PI only to insert new line item for material id.
else if you want do manually you can create in VA02/VA42 TRASACTIONs or using function module also we can do that.
option is yours.
if you dont have much idea then better to talk with ABAP/Functional guys they will easily do this without PI.
Regards,
Raj -
Gross weight and net weight of line item in a delivery
Hi what exactly the meaning of gross weight and netweight of delivery line item?
Where can i see these 2 fields in the transaction?How weight differs to the quantity for a particular delivery item?
Thanks in advane
MaheshHi,
<b>Gross Weight</b>
The system can use the <b>gross weight</b> at a later stage, depending on what kind of capacity check you run, to check storage bin capacity for warehouse management purposes.
The system calculates the gross weight of each item by multiplying the delivery quantity by the gross weight per unit that comes from the sales order. If there is no related sales order, the system uses the gross weight from the material master record. You can change the gross weight manually in the delivery document.
<b>Net weight</b>
The total net weight of all items in the delivery.
Use
The system calculates the net weight of each item by multiplying the delivery quantity by the net weight per unit that comes from the sales order. If there is no related sales order, the system uses the net weight from the material master record.
Please reward if helpful.
Thanks & Regards
Sadhu Kishore -
Add the new item through the Bapi 'bapi_outb_delivery_change'
I want to add the new item to the existing outbound delivery.How to add the new item in the bapi 'bapi_outb_delivery_change'. Please provide me the code for the bapi 'BAPI_OUTB_DELIVERY_CHANGE' to add the new item.
Hi Kyndal,
I have a requirment to add new items in a delivery which will refer to the higher items in the same delivery itself.
I am trying to use the BAPI BAPI_OUTB_DELIVERY_CHANGE for the purpose.
Could u pls give some clue on how to tried to do it?
I am constantly getting a error VL216.
Also I tried passing the reference document and item : same delivery number and the higher level item in the delivery
VBTYP_N = J -
The DLN1 table stores the item cost at delivery. Where is this value from? When i drill into the item on the delivery and review the production order that this product came from the cost booked at production is different than the cost booked at delivery. why the variance?
Secondly, there have been no inventory evaluations for the finished good between production and delivery.
Key question is where is the DLN1.Stockprice value pulled from?As requested:
7/20/2009 7/20/2009 SI 15011 2400 10 144.658 1,446.58
7/22/2009 7/22/2009 DN 28825 2400 -1 143.367 -143.37
7/28/2009 7/28/2009 DN 29043 2400 -1 143.367 -143.37
8/5/2009 8/5/2009 SI 15327 2400 10 144.268 1,442.68
8/11/2009 8/11/2009 RE 2776 2400 1 143.625 143.62
8/20/2009 8/20/2009 RE 2815 2400 1 143.624 143.62
8/26/2009 8/26/2009 DN 29907 2400 -1 143.624 -143.62
8/27/2009 8/27/2009 DN 29977 2400 -1 143.624 -143.62
8/31/2009 8/31/2009 DN 30116 2400 -1 143.625 -143.62
9/1/2009 9/1/2009 DN 30157 2400 -2 143.625 -287.25
9/10/2009 9/10/2009 DN 30453 2400 -2 143.625 -287.25
9/21/2009 9/21/2009 DN 30755 2400 -2 143.625 -287.25
9/21/2009 9/21/2009 DN 30797 2400 -1 143.625 -143.62
9/28/2009 9/28/2009 DN 31038 2400 -10 143.625 -1,436.25
10/2/2009 10/2/2009 DN 31246 2400 -1 143.625 -143.62
10/5/2009 10/5/2009 DN 31290 2400 -1 143.625 -143.63
Doesn't look like the deliveries (DN xxxx) uses the actual cost, not sure where the delivery is pulling its values. This is a problem. The product that shipped on DN 31290 (10/5/09) was built on 7/20/09.
Edited by: Rich b. on Nov 17, 2009 9:33 PM -
Creating an invoice from a delivery does not closes the delivery.
I am creating an invoice using DI. The invoice is based on an already existing delivery note.
The delivery is manually created from SBO. When I'm creating the invoice I transfer all items and expenses from the delivery to the invoice.
case 1. The delivery has no freight defined.
When the invoice is created the delivery is automatically closed
case 2. The delivery has some freight
When the invoice is created the delivery remains open even though the invoice contains everything in the delivery, including the freight.
'Copy to' from this delivery opens an invoice with no items - only the freight is filled.
Currently I explicitly close the delivery using the Close method.
Is this correct?
Is it normal for the base document to remain open if the target document imports everything?
Thanks,
SvilenHi Svilen,
My experience with getting a delivery note to automatically close when I create an invoice against it is that the base document information on each line item on the invoice must be set to point at the delivery note (base document). You are probably already doing this on your line items and that's why it closes when there is no freight. But freight items have "base" fields too, and they have to point back to the freight item on the delivery note. Are you setting the base doc info on the invoice freight lines?
The following code worked for me (although this example is for sales order to delivery, it is the same thing for deliveries to invoices):
Dim ix As Short
Do Until ix = vso.Expenses.Count
vso.Expenses.SetCurrentLine(ix)
If vso.Expenses.ExpenseCode = _FreightExpCode Then
If vso.Expenses.Status = bost_Open Then
vDN.Expenses.BaseDocEntry = SODocEntry 'added 1/5/7 jc
vDN.Expenses.BaseDocLine = vso.Expenses.LineNum
vDN.Expenses.BaseDocType = SAPbobsCOM.BoAPARDocumentTypes.bodt_Order
End If
Exit Do
End If
ix += 1
Loop
I'm looping through the target (order) document's freight records to find the matching one that I know is on it - you might be processing all - but then I load the sales order base docentry, base doc line# & base doc type to the delivery note freight line item.
When getting this done, my source documents close OK. In fact, I think they close even if the totals don't match on each record - just so long as every source doc record is pointed to by a target doc record.
HTH -
How to get the Delivery date in PO line Item in SAPScript
Hi Gurus,
I am working on PO Script (MEDRUCK). I copied the Standard to a Z form. ZMM_MEDRUCK, Now I need to print the the Header text at the end of MAIN window. I put Iem number along with the other line Item informmation like stanadrd PO Script MEDRUCK. I also want to show the delivey date with line Item, so Itried to use EKET-EINDT but it is returning the delivery date of last line item, means while printing the first line and other information it is showing the delivery date of the last line item, I tried with the PEKPO-EINDT it is also not working.
Can any body suggest me how i can get the delivery date for the respective line Item ?
Regards
Sonyactually your are picking up the correct data from Table EKET (EKET-EINDT) but your are printing that in item data loop for EKET might have already executed in your script and the header of that internal table consist the last entry of the table so for that. Fetch the delivery date explicite from the Table EKET when your in item level processing and print that.
For Example u can use this code.
To print you have write the this code in Script item level printing window "MAIN" window
Following perform is called to get the line item delivery date in PO
{/: PERFORM GET_DEL_DATE IN PROGRAM ZPerform_prog
/: USING &EKPO-EBELN&
/: USING &EKPO-EBELP&
/: CHANGING &DEL_DATE&
/: ENDPERFORM}
{* Dellivery date &DEL_DATE& }
write the below code in the Z program "ZPerform_prog"
{ FORM get_del_date TABLES in_par STRUCTURE itcsy
out_par STRUCTURE itcsy.
READ TABLE in_par WITH KEY 'EKPO-EBELN'.
CHECK sy-subrc = 0.
$_po_no = in_par-value.
READ TABLE in_par WITH KEY 'EKPO-EBELP'.
CHECK sy-subrc = 0.
$_po_line = in_par-value.
SELECT *
FROM eket UP TO 1 ROWS WHERE ebeln EQ $_po_no AND ebelp EQ $_po_line.
$_del_date = eket-eindt.
CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
EXPORTING
date_internal = eket-eindt
IMPORTING
date_external = $_del_date
EXCEPTIONS
date_internal_is_invalid = 1
OTHERS = 2.
READ TABLE out_par WITH KEY 'DEL_DATE'.
CHECK sy-subrc EQ 0.
out_par-value = $_del_date.
MODIFY out_par
INDEX sy-tabix.
CLEAR : $_po_no , $_po_line ,$_del_date.
ENDSELECT.
ENDFORM. "GET_DEL_DATE }
Maybe you are looking for
-
HT3529 my imessage isnt working, any ideas?
My imessage is not working, it wont activate. Any ideas?
-
Innput field with Select option on custom screen
Hi, I need to create an Input field with Select Option(No interval) button on Custom dialog screen . Is there any idea how can I create it on screen ? Thanks Sachin
-
Query corrupted - Very much urgent
Hi Bwers, My clinet using SAP GUI 6.4 and Support Pack is 14. Un expectedly I have accessed this system with other version SAP GUI 710 and patch level is 3. I have done two changes in the system: 1. I have opened one query and modified. 2. I have co
-
I installed Gnome on Arch64 and noticed when I attempted to take a screenshot which normally I did in Ubuntu, nothing happened. I did not install gnome-extra but simply gnome so I was wondering if anyone can tell me what I am missing to get the 'prin
-
After many hous of "rendering" the message appeared that "--could not be prepared for publishing because an error occurred error code= -34"