Check material cost when post goods issue
Hi,
When i click the post goods issue in VL02N, I would like to check if the cost of mateial is equal to zero. If it is zero, I would like to stop the transaction with a error message.
But in the user exit, I cannot find which field provide the material cost. Can any one help me?
Many Thanks
Jean
Dear Jean,
Good morning and greetings,
In the movement type config make the accounting as mandatory and would surely meet your requirement. Maintain that in the transaction code OMJJ for the Accounting Control to Movement Type as + which is required entry. The system would throw an error if no accounting entry is generated.
Hope this meets your requirement
Please reward points if found useful.
Thanking you
With kindest regards
Ramesh Padmanabhan
Similar Messages
-
Change Moving Average Price when Post Goods issue posted from VL02N
Hi all,
Please help me to find USER EXIT / BADI or Enhancement to change Price - MSEG-DMBTR
when Post Goods Issue posted from transaction VL02N.
Thanks in advance,
Mila.Hi,
Check these Enhancemnts...
Exit Name Description
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
Badi Name Description
DELIVERY_ADDR_SAP Determine Time-Dependent Delivery Address in Delivery
DELIVERY_PUBLISH Returns BAdI Implementation: Automatic GR Posting T 2
DELIVERY_PUBLISH Updating of Delivery in Purchase Order
DELIVERY_PUBLISH AIP: Delivery Confirmation for Sales Order
Regards
Raghu -
Error message KI248 on delivery document when posting goods issue
Hi,
On the delivery document, when posting goods issue I get the following message:
"Account 60700000 requires an assignment to a CO object
Message no. KI248
Diagnosis
All given account assignment objects (order, project) are defined as statistical.
System Response
Statistical orders or projects are ignored when FI and CO are reconciled. You must enter a cost center, order, project, or cost object to which the costs are posted for CO postings.
Procedure
Enter a cost center, an order, a project, or a cost object that is not statistical. The posting row affected is 000 and the account is 60700000."
On the sales order I have a statistical order.
CO-PA is active, cost element 607 is included in PA transfer structure.
I also tried with cost center allocation in OKB9.
60700000 is defined as a cost element (category 1).
Any suggestion could be helpfull.
Thanks,
LaviniaHi,
Thank for your answer.
I tested with element cost category 12, it's working, but not the way I need: I don't have any value on the cost center.
When I don't have statistical order in sales order, the sistem it's working exactly how I need: the costs are posted on cost center and the VPRS condition is transfered to CO-PA on profitability segment.
Anyway, I finaly make it work with a cost center substitution.
Lavinia -
Update termination error when posting goods issue
Helllo
I have a strange problem I can not figure out. We have serial numbers like 12345/345. When trying to post goods issue I get an update termination error for invalid character. This only happens if the quantity is more than 1 each. A quantity of 1 each works fine and receives no update termination when post goods issue...only recieve termination error if the post goods issue is for a qty of 2 each.
I searched the SAP site found OSS note 40355...applied the note. The note also mentions the chaging print paramters to include "/ _" this is all done.
I tried doing a ABAP Debug in SE38 (for the delivery note print program) and setting the breaking point, but when I go to run the transaction after the setting break point...when I hit post goods issue...SE38 does not return back to its screen. So not sure if I am running the correct program there...or if this works for the update terminations?
So strange I do not get this for a qty of one each only when it is greater than that. I am stumped need help....
Any advice wiould be GREATLY appreciated....Looks like there is an error in the delivery (or material movement ?) print program. Easiest would be to disable these outputs for test purposes. When no dump then the error is somewhere in the print program an could be analysed by triggering the print separately with ABAP RSNAST00.
regards Jack -
Error when posting goods issue
hi gurus,
can anyone please help me with this error when posting goods issue to a free issue sales order " line item text is mandatory for vendor invoices".
thanks in advanceDear Ysabella
It seems the item texts is not maintained in the order which is made as mandatory.
Go to sale order VA02, select that line item and click on "GotoItemTexts". There maintain the relevant text and retry.
thanks
G. Lakshmipathi -
Generate DELVRY Idoc when Post goods issue is done in SAP
I need to generate an Idoc when post goods issue is done in SAP (outbound to SAP) .I understood that I can do this using the message control .The message type DESADV with the process code DELV will support this.
But I didnt understand how to trigger the Idoc.In the current scenario our Company is doing the post goods issue in SAP for the in three different ways.
1.Manually doing the post goods issue through the transaction VL02N
2. an Inbound Interface (using Idoc) which will do Post goods Issue in SAP
3.Another Interface using BAPI, which will, do post goods issue in SAP
I have to run my outbound interface when the post goods issue is done by all the above three ways. Can any one help me out in this?You have to configure the output first .
You can use output type LAVA ( avaialble in Std SAP ) .
( Tcode is NACE , Select Application V2 -> Outputtypes ).
( Create condition records suitable to generate an output)
Next is ALE.
Setup a distribution Model ( for DESADV ) and all other setup for ALE i.e. Distribute Dist. Model / Generate Partner Profile .
In the Partner profile in WE20 select your partner system. Double CLick on Outbound Message DESADV ( this wd be there after you generate partner profile , if not add it here in outbound ) . On this screen goto tab MESSAGE CONTROL .
Application - V2
Message Type - LAVA
Process Code - DELV.
Now you are ready to go. The moment a PGI is done in any form an output LAVA would be proposed and processed using process code DELV.
Cheers. -
COPA document not generated when Post Goods Issue is reversed.
Hello Friends,
WE uses Stock Transport Order in two steps for transfering Stock from one plant to another. We have defined a Condition type FRB1 to capture the Freight cost involved in the stock transfer.
When the Post goods issue is done for the Stock Transport Order. following Accounting documents are generated.
Accounting
Profit Center
COPA
Spec. Purpose Ledger
Controlling Document
Material Ledger document.
But When the Post goods issue is reversed through transaction code VL09 all the above documents are generated except for COPA document. Though in controlling document it shows the object type hit is REO i.e profitability Analysis
For further information we have mapped cost element (600150) with Value field in PA transfer structure (Direct assignment from FI and MM. Movement type used for PGI are 641 & 642.
Thank youDear Colleagues
I thank all those who put in thier time and efforts for possible solution for my problem. But I could resolve this issue with help from SAP.
Basically in costing based COPA the system does not post the cost of goods sold to COPA during goods issue but it is done at the time of posting the invoice since the system wants to see the revenues and the COGS values together.
Since the system posts the COGS into COPA at the time of invoice posting, you will appreciate that if this is also done during goods
issue then you will have duplicate entries in your COPA (i.e. the COGS will be doubled).
If in transaction VL01N/VL02N a costing-based line item would be posted, the costs would be double in CO-PA (the billing and goods issue). For this reason, no costing based line items will be created in the standard R/3 system for transaction VL01N/VL02N.
If for some reason you still wish to post the COGS to COPA during goods issue you have to do the same thro a modification of the system.In your case you have applied note 214381 for the same. Please note here that movement type '641' is used as an example. For other movement types you will need to code accordingly.
as per note 337488 point 2. the changes of note 214381 were not required in our case. Therefore we reverted these changes in LKEIIF01 and added the relevant coding for movement type 642 in function COPA_DOCUMENT_CHECK as per note 337488 point 2.
Looking forward for your continued support
Regards
Umesh Gothankar -
Update was terminated when Post Goods Issue
Hi all,
When I post goods issue, I receive a message "Update was terminated".
Then, I use SM13 to check update requests, I see an error
900 USERNAME 20.11.2007 10:47:27 VL02N
double click on that line I see error at module
8 MB_POST_DOCUMENT V1 Error
more details:
Row 13 in report LMBMBU04
00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
Finally, Error occurr at line:
INSERT mkpf FROM TABLE zmkpf.
Can anyone help me to solve this problem?
Thanks.Hi Nam,
This probelm is becuase you are trying to enter a record for which primary key already exists in the table.
The insertion you are doing with a set of values which already exist and sap is getting this error that the "Duplicate record during insertion". try to check your insertion values and through se16 check if they already exist in the table mkpf.
To rectify the data or else change the table and add one more unique to the primary key.
Abhishek Purwar
http://abhishek.purwar.googlepages.com -
Exit or substitution GL account when posting goods issue
Hi out there,
does anyone know how to change BSEG-HKONT via a subsitution ? It seems to be blocked for that purpose. Although if I unblock it in table GB01 this does not work.
If there is no possibility does anyone know a customer exit to change the account determination for GBB VBR when posting a goods issue ? It is needed for special postings and I want to program it either in a substituiton or exit.
Thanks a lot for your help.
SebastianDear Sebastian,
It is possiable to change G/L through subsitution. But you will have to take help from abaper who will write code for the subsitution.
Any subsitution which is realted to G/L can be written though the following path
Financial Accounting (New)->>Financial Accounting Global Settings (New)->>Tools->>Validation/Substitution->>Substitution in Accounting Documents
after that enter new line and double clik to write ABAP code based on your requirement.
Hope you got the way.
Rupesh -
Account Determination Error When Posting Goods Issue Against Sales Order
Hello SAP Experts,
We are currently experiencing a problem during goods issueance against sales order (VL02N). The system terminates the issueance and gives error:
"Account XXXXXX requires an assignment to a CO object".
We have tried maintaining the GL account in OKB9 and assign a default profit center there but i didn't work. The material master also contains the profit center. We were only able to post the transaction if we try to default the a cost center in FS00. However we dont want to assign a default cost center as cost centers differ by plant. We are wondering why it asks the cost center considering that it already contains the sales order assignment. We checked the field selection of the GL account, movement type and even the posting key and all showed that the cost center is not required. We are now in a dead end situation here. Please please help us.
Thanks in advance!Dear,
Message no. KI235?
GO TO T-CODE FS00 AND EDIT COST ELEMENT AND THEN YOU ASSIGN COST CENTER
Please check this link,
[Account Determination |"Account 'xxxxxx' requires an assignment to a CO object"]
Regards,
R.Brahmankar -
Create idoc DESADV when POST GOODS ISSUE
Hi everybody!!
I have a problem and I donu2019t know how to solve it, my question is the following:
What can I do to make an outbound idoc type DELVRY03, message:
DESADV doesnu2019t go off until the outbound delivery getu2019s post it, with the fact of creating it going off.
Thank for your comments.Hello There,
The functionnality you can use for your process is described in notes 340238 and 421276.
I am afraid that the process to create an inbound delivery via DELVRY-IDOC for a stock transfer is not possible as it´s not designed for this.
For the DELVRY-IDOC scenario for inbound deliverys the preceeding document has to be a SD document and not a MM document.
The DELVRY process is designed for purchase orders for your customer:
e.g. CUSTOMER SIDE YOUR SIDE
purchase order - > sales order
^
Y
inbound delivery < - outbound delivery
The outbound delivery does not fill the purchase order number in the IDOC as a check is looking for a SD document wich does not exist.
If you need the DELVRY process for stock transfer then you need a USER-EXIT or a modification in the outbound function module to fill the PO number and the purchase order item number in segment E1EDL41.
We only read out the PO number and the item number if the subsequent document on the vendor side was an sales order.
I hope this helps,
Elaine. -
OutBound IDOC for Delivery when Post goods issue is trigered
Hi All
Does any body have idea which IDOC contains data regarding delivery header and item details.
for header - sap delivery number , delivery date, ship mode, vessel name, container
for detail - product code, expiry dt, batch.
cheers
AJHi
List of IDOC's
http://www.informatik.fh-wiesbaden.de/~werntges/lv/edi/specs_EN/SAPdoc/IDoc_d.htm
regards
pavan -
How to allocate cost variances during goods issue in sales process?
Hi all,
In China GAAP, cost variances ( variance between standard cost and actual cost) should be capitalized to balance sheet at month-end.
Q1: Could I settle the cost variance to a B/S account instead of P/L account? What's SAP or your recommendation?
Q2: if we settle the cost variances to a B/S account, How could we allocate the production cost when post goods issue for sales order? i.e
Dr: COGS
Cr: cost of finished goods
Cr: production cost (B/S account, cost variances by proration of sold)
Please advice.Thanks in advance
Regards,
Alex LIU
Message was edited by:
Shuping LiuHi,
All variances between Standard & Actual cost should be settled to a P/L A/c as these are similar to Purchase Price variances on Raw Material purchases.
If you are valuing your Finished Goods @ Standard cost, then the difference between the Standard & the Actual cost should be debited or credited to a Price or Cost difference P/L A/c either at the time of doing the GR of the Production or at the time of posting the Goods Issue for Sales Order.
The balance in the Cost difference accounts needs to be finally posted to profitability segments in COPA.
Regards,
Assign points if useful. -
Updation of MCHB-CLABS value on Post Goods Issue through VL01n
When POsting Goods Issue I need to change MCHB-CLABS value.
My requirement:
When quantity left in the stock is less than (MCHB-CLABS) .005 I am adding the remaining quantity left to delivered quantity, but the stock (MCHB-CLABS) is not getting updated. It remains the same quantity less than .005.
Could you tell me any parameter in user exit which I need to modify?Hi,
VL01N has one BAdi called "DELIVERY_PUBLISH".
Why don't you use User exit for solving your problem?
Following are the user exits availble for the transaction:
V53W0001 User exits for creating picking waves
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53C0001 Rough workload calculation in time per item
V50S0001 User Exits for Delivery Processing
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50R0002 Collective processing for delivery creation
V50R0001 Collective processing for delivery creation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50PSTAT Delivery: Item Status Calculation
V02V0004 User Exit for Staging Area Determination (Item)
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0002 User exit for storage location determination
V02V0001 Sales area determination for stock transport order
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
Regards,
Dharitree -
Sales BOM - Delivery Quantity check during post goods issue
I am working on a problem in my company. We are running ECC6.0 ehp 4. We are using standard ERLA functionality with sales bom (5) for product kits. Delivery manager has requested that we investigate a system check during delivery post goods issue. THe problem is that when shipper processes delivery, if they have to backorder they update pick and delivery quanity on the TAE item. They should also update TAQ delivery quantity, so that backorder amount is correct. If they make data entry error, backorder quantity is incorrect. The delivery manager has tried a number of attempts to re-train and correct mistakes. He is now asking that SAP issue a hard error if TAQ and TAE delivery item quantities are not the same.
I have searched on SAP Notes, Forms, and Google and do not see solution. I know that at delviery item category there is a minimum qty check for the item category. I've not found a user exit or configuration point that checks quanities. Does anyone know of out of the box solution? Or where would I put in custom user exit?
Test Case
Create Standard Order
Enter Material with Sales BOM
ITEM A Qty 10
BOM explodes with Item categories
ITEM A TAQ parent
ITEM B TAE child
Create Delivery
Delivery has item categories TAQ and TAE
TAE is pickable, TAQ no pick
Process TAE
Pick quantity of 5 items
Change delivery quantity to 5 items
Forget to change TAQ delivery quantity
Pack 5 items
Post Goods Issue the delivery.
Is there are requirement/routine than can be run at time of PGI that checks TAQ delivery quantity is the same as TAE delivery quantity. If quanities are not the same, show hard error and message do not allow PGI to complete.
Thank you
Tony RomainI tried setting that field in the sale order this morning. By defaulting it to "C"; I was able to get warning message for TAE line. I was able to post goods with TAE and TAQ, being different quantities. I need the check to determine if TAE and TAQ delivery quantity are different. Using this fields seems to be line specific. Thanks for the suggestion. I now know what that field does to the delivery.
I rewarded points.
Thanks,
Tony
Maybe you are looking for
-
I installed Lion on my MacBook Pro and the Finder keeps quitting - how do i fix it?
I installed Lion on my MacBook Pro and the Finder keeps quitting - how do i fix it? Worse, i can't force quit the finder and get it to relaunch - the command won't work. Most of the Lion software also won't work - iTunes, Mail, iCal - and only some o
-
How to fill the records from a User Define Table to PO item Grid
Hi To all, I need to fill data from User Define table records into Purchase Order Item Grid. I created an UDF Filed in PO - Header Part - "PRS"(Filed Name) By using Formatted Search in itemcode column, i called a query, "Select itemcode, qty from (@u
-
Fieldpoint Hardware Drivers that are compatible with LV 8.5 and Windows Vista
I trying to develop in LabVIEW for some Fieldpoint hardware. I was going to download the hardware drivers from NI, but only see drivers that are compatible with Windows XP and LV 8.2 Or, am I just misinterpreting this? Also, are there any potential c
-
I can't install Mac OS X Snow Leopard on my Mac mini!
Hi, I have a Mac mini 2007, with OS X 10.5.8 I want to install Mac OS X Snow Leopard, but i can't. I erased the hard drive with the installation disc of leopard and then i tried boot snow leopard. After a few seconds it said: "You can't install on th
-
Launch webdynpro component from a assignment block
Hi, I am trying to launch a webdynpro component on click of a hyperlink from a assignment block. This works fine but, on click of hyper link i set a global attribute GV_url = 'X'. based on this, i call the webdynpro link in the .htm page of the view.