Production Order Co01 enhancement to link the Material Documents from Mater
Hi Friends,
I have a reqirement I need to link the Material documents in the Production order, for Header material & Component material based on some condition, can any one tell which Enhancements will work for this.....
Thanks,
Ravi
Hi Ravi,
If you want to change the header field values during saving of the production order, Function Exit EXIT_SAPLCOZV_001 can be implemented of enhancement PPCO0007.
Regards,
Surender Yadav
Similar Messages
-
Production order number range after taking the back up from production serv
Dear all,
My client did a back up activity yesterday from production server to disaster recovery server.
After completing this activity they shut down there production server to do the testing of this new server.
Production guy converted the planned order to production order and he got a number say 2000064732, but the current number in number range is 2000080139.
But same guy created order one day before in production server that time the order number in 2000080138.
After 2 hours the system (by that time he has create more than 50 orders) started assigning the number as per the current number. Ex: 2000080140,141,142u2026
As per my observation they have maintained buffer as 20. As per buffering logic system has to skip in forward direction not in reverse direction.
But in our case the system skipped in back word that nearly 16000.
So please help me to find out the reason why the system assigned those number and on what basis.
Thanks for your help
Regards
RameshSee SAP note 62077, your application server was shut down, the numbers that are left in the buffer (that is, that are not yet assigned) are lost. As a result, there are gaps in the number assignment.
-
How to open the pdf document from KM through Link to URL UI element
Hi All,
I have Link to URL UI element in webdynpro java layout - on click of the link we need to open the pdf document from KM respository.
KM Document location : irj/go/km/docs/documents/RHPortal//USA/A/Test/Employee_details.pdf.
Once this is transported to Test and Production portals , we need to retrieve the KM document from the respective portal location through the Link to URL UI element .
Thanks,
Portaluser100Hi,
If you set the link to your document in a Context attribute by using a relative path this should work just fine.
Example:
wdContext.currentContextElement().setUrl("/irj/go/km/docs/documents/RHPortal//USA/A/Test/Employee_details.pdf");
Bind that attribute to the reference property of the LinkToURL element.
Cheers,
Leo -
Production Order should not be confirmed if material is not issued
Dear All,
Our Client has a requirement,
While confirmation of order,system should check the material issue to production order,if material not issued confirmation should not allow.
Please give your valuable input to fulfill this requirement.
Thanks in advance,
Vijay MankarHi,
You can use this exit with reference to MB1A and MB31.
Please refer the Documentation for the Enhancement: MBCF0002
=======================================================
The user exit MBCF0002 includes a function module that is called up whe
you enter a goods movement for each item.
It enables you to fill in the item text in the material document item,
depending on the following data:
o MKPF (Material document header)
o MSEG (Material document item)
o VM07M (Additional data for material document item)
o DM07M (Additional data for material document item)
The item text is also stored in the accounting document.
Examples
Goods receipt for a purchase order assigned to an account: since the
purchase order number does not contain a material number, the material
Example of source text:
IF I_MSEG-MATNR IS INITIAL.
E_SGTXT = I_DM07M-MAKTX.
ENDIF.
If the material description is to be used as the item text for all goods
movements, the source text has the following line only:
E_SGTXT = I_DM07M-MAKTX.
==============================================================
You can refer the earlier post for some sample coding.
You need to build your own logic for this..
Hope this helps..
Regards,
Siva -
SAP Production order not closed, what are the negative effects
Hi there,
We are not closing the production orders. What would be the negative effects ? The orders are delivered, costed and Technically complete and all the teams are happy and no one is complaining. I also know we would need to close the production orders. But what is the effect of not closing the orders. Any thoughts ?
thanksHello
Similar qustions have been already asked in the past. Please read the threads below to understand exactly what happens when closing a production order:
closing production orders
completion of a production order
BR
Caetano -
CIN - Excise value posting for the material document
Hi,
We have assigned the routine 356(FV64A356) in the Pricing Procedure for Depot Sales where Service team issues components for the Service repair job through a Goods Issue(MIGO-261 Mvt Type) document.We are also able to create a excise invoice for the material document.
The flow is Service Order - Goods Issue - through resource related billing a DMR is generated for the labour as well as the Goods Issued(MIGO-261), from DMR a debit memo is raised to invoice the Customer.
The formula in the routing is, during the creation of Billing or Proforma document it picks up the excise value posted for the delivery if the excise has been posted,if the delivery is not found, then it continues with the excise value calculated in the sales order (DMR in this case)
Is there any way or any other routine "to check for the excise value posted for the delivery ,if the delivery is not found, then check for the material documents if any linked to DMR(through Service Order)".
Could anyone help in this regard.
Thanks,
Ramki.Hi,
While creating the excise challan using J1IF01 you can see a excise invoice selection tab, Select the J1IF01 line item & click on this tab, here you can select the excise invoice from which the base amount will be determined.
Thanks & Regards, -
Link between Material Document number & Accounting document number
Hi All,
For material document there is a corresponding accounting document number generated.However this is not the rule in all cases.
Where is the link between the two(Material Document & Accounting Document) ?
In other words i want to list those material documents only, for which accounting documents are generated.
Regards
Piyush KothariSTEP 1
SAP query way to extract your information.
Create an infoset SQ02 with a single table MKPF. (include key fields in the field group)
Step 2
From Extras
Create an additional field called zawkey (like bkpf-belnr) which will concatenate the MM document number MKPF-MBLNR and MKPF_MJAHR. The sequencing shall be number 1.
You may use this code below and paste also (this needs authorization as well)
data: zzawkey like bkpf-awkey.
clear: zawkey, zzawkey.
concatenate mkpf-mblnr mkpf-mjahr into zzawkey.
zawkey = zzawkey.
Add another field called ACCDOCNO (accounting documnet number) with sequencing number 2 with following code.
data: zaccdocno like bkpf-belnr..
clear: zaccdocno, accdocno.
select belnr from bkpf into zaccdocno where
bukrs = ccode and
GJAHR = MKPF-MJAHR and
awkey = zawkey.
endselect.
accdocno = zaccdocno.
Step 3
Include the additional fields into the field group.
Step 4
Click on the selection tab and create a parameter called ccode with a description Company Code and against
LIKE BKPF-BUKRS
Extras OBLIGATORY
Step 5
Click on the selection tab and create a seelction criteria pdate with a description Posting Date for the field MKPF-BUDAT
Extras OBLIGATORY
Step 6
Save, Generate and assign the infoset to a user group.
Step 6
Create a SQ01 query under the usergroup with all the fields in the infoset. and Execute. Enter a company code and one date of a working day where you expect material transactions.
The result will be all the material documents and their corresponding accounting documents, if available. If you want to see only those material document that do not have corrsponding accounting documnet, then while you are in the selection screen say accounting document number is not equal to blank. -
Reversing the material document
Dear Friends,
PO is created with account assignment category 'K' and subsequently GRN is done for the full quantity in March'2008.
Some quantity is physically returned to storage location but not entered in SAP.
Now they want to reverse that quantity in SAP.
As opening the MM posting period is not recommended, unable to cancel the material document.
So please suggest me a solution to reverse that quantity.
Points will be rewarded immediately to the helpful answers.
RajuHi Sivakumar,
I am trying to understand better:
the matl doc created in March 08, for X qty and GRd.
Now some qty is returned to sloc in June Right ...
In this case, I would suggest you to create a physical inventory document for that material , and perform a adjustment of stock using 701 or 702 as appropriate.
By doing this you need not touch the matl doc created in march 2008.
I am assuming that, the mateiral is good and usable, or else, its better to create a return order and send it back to vendor.
Please reward if useful.
Please let me know if you need any ohter information too.
Thx,
MJ -
How To Cancel the Material Document Created in VL09
Dear All,
I have a crictical issue,please guide me to solve this.
User has created the order and delivered on 31-03-2011,again he has reversed in VL09 on 07-04-2011.but the actual goods issue should happen only on 31-03-2011.Now when i try to deliver the same order on 31-03-2011 it's throwing error like defict of SL stock.I can't even cancel the material document that got created in VL09.I have to deliver only on 31-03-2011.
Kindy guide me to solve this.
Regards,
VenugopalIt is a mess! when the delivery is reversed, the user should have used correct reversal date. Now you can't cancel the material document. Consult MM specialist to add the quantity in the past period and off-set the same in the current period.
On a second thought, check with your accounting if you PGI in the current period as the reversal and new PGI happened in the current period, which off-sets the entry in accounting.If they are OK, then you need not bother about this.
Regards,
Edited by: Shiva Ram on Apr 7, 2011 11:56 AM -
Wrong exchange rates ...How to reverse the material document.
Hello,
I have an issue with Exchange rates . By mistake we have entered wrong exchange rates in OB08 and created purchase order and done the goods receipt with wrong exchange rates after that we have corrected the same in OB08 later when we have done invoice receipt it has taken the new exchange rate which is correct.
Now i want to reverse the invoice document & Material document . When i have reverse the invoice document it has taken the new exchange rate.
Whereas when i am doing reversal of material document it not taking wrong exchange rate it is taking the present exchange rate.
Please advice how i can reverse the material document exactly with same exchange rates as it done for GR or How i will settle this difference amount.
Thanks.
AshokWhen i have reverse the invoice document it has taken the new exchange rate.
Maintain exchange rate in purchase order,Tick mark fixed,Reverse/Cancel invoice document it will reverse with p.o ex. rate.
Please advice how i can reverse the material document exactly with same exchange rates as it done for GR
Maintain desired exchange rate in OB08 for GR Posting date,Cancel material document
Also check
SAP Note 518114 - FAQ: Goods movements in foreign currency
Edited by: Jeyakanthan A on May 3, 2010 4:52 PM -
User exit for MIGO after the material document is created?
hi guys ,
I have requirement like after the material document was creted in migo i need to call my new transcation. can any one please let me know how i have to solve this ?
Moderator Message: Unfortunately, this is not a training forum and we can teach all about Exits and Badi's. I suggest you take a classroom course..... or do some R&D first
Edited by: kishan P on Nov 30, 2010 11:57 AMHi
U need to create a FM with UPDATE MODULE attribute checked: so you fm can be run in UPDATE TASK
This fm has to have the same interface of the method of the BAID (or user-exit) or a parte of it, if you don't need to use all parameters of the interface.
All code to schedule the job has to be placed in this fm: you can use the fm JOB_OPEN and JOB_CLOSE in order to scheule a job programmatically.
Call this fm in the BADI, the call has to be in UPDATE TASK, in this way your porgram can start as soon as all updating processes are over
Max -
Add the vendor of the material document
In report ME80FN, in the Purchase order history viw, please add the vendor of the material document (can be different from the PO vendor if freight invoice)
ThanksHi Barb,
The approach to your design will depend on how many unique items you plan to search for and whether you want the subtotals to appear all at once or if you want to calculate them one at a time based on a search-for item that you determine as you use the document interactively.
Also very important is whether you will have only the animal name in a cell, or if the animal name will be a part of a larger block of text in the cell.
Any additional information that you can provide about the nature of your project and how you will use it will be helpful.
Regards,
Jerry -
User Exits / BADIs triggered during the Material document creation
Hi Experts,
Can anybody tell me the User Exits / BADIs /Possibilities that can be triggered during the Material Document Creation which can be used to update the Equipment Master User Statuses.
Thanks,
Sangeeta.Hey Sangeeta,
Try these User Exit's
MGA00001 Material Master (Industry): Checks and Enhancements
MGA00002 Material Master (Industry): Number Assignment
MGA00003 Material Master (Industry and Retail): Number Display
Using Enhancement MGA00001 (Function Exit : EXIT_SAPLMGMU_001 ) you can validate & Change your Material Document Number.
Badi's
BADI_EAN_SYSTEMATIC
BADI_GTIN_VARIANT
BADI_MAT_F_SPEC_SEL
BADI_MATERIAL_CHECK
BADI_MATERIAL_OD
BADI_MATERIAL_OD
BADI_MATERIAL_REF
BADI_MATNR_CHECK_PVS
BADI_MM_MATNR
BADI_MM_MATNR
CDT_CHECK_MATERIAL
MG_MASS_NEWSEG
MG_MASS_NEWSEG
WRF_DISCONT_FACT_E
Note: This is for transaction code MM01, MM02 & MM03.
Regards,
Saravanan M -
J1iex cancellation -Reverse the material document before cancelling the exc
Hi ,
I am facing problem in reversing J1iex excise invoice .
OUR CASE is like
We have a purchase order of 100 pcs , against which a delivery of 10 pcs was made by the vendor.
1) At the time of J1iex Capture , user has entered 100 pcs (by mistake) as excise invoice Qty.
2) MIGO with Mtype 103 and 105 were prepared for 10 pcs only
3) J1iex was also posted for 100 pcs
Since there was a mistake while entering excise invoice qty in J1iex ,therefore we decided to reverse the entire process.The step followed were ...
1) Reversed the Material document (using 106 movement type)
2) Re-Posted the same excise invoice thru J1iex to reverse the Part-11 enteries
and now when I am trying to cancel the J1iex - excise invoice , system is prompting me an error message
"Reverse the material document before cancelling the excise invoice"
I hope, I am following the correct process.
Since the material document is already reversed therefore wondering why system is prompting this ERROR message.
Need your help
Regards
Shreythx
-
Reverse the material document before cancelling the excise invoice.
Dear Experts,
While cancelling the exice invoice thru J1iex , system is giving me an error message "Reverse the material document before cancelling the excise invoice" .......I checked PO history where all the material documents are already cancelled with MIGO cancellation (movement 106 )
But in J1iex , if I select the cancel option and put this invoice number , it is showing me one document with status "IN PROCESS" and if I select that doc and try to save it. System prompted me the message "Reverse the material document before cancelling the excise invoice ,but if I am trying to post this document system is issuing me a message "All Part I entries have been canceled for excise invoice ...........xx.Exicse table J_1IGRXREF and J_1IPART1 alrady update with both documents.kindly any one suggest me positive.
MINIHello
follow the below steps
1. MIGO:Cancel the material document (movement type 102) & during cancellation update part1 only. This changes the excise invoice document status to In process
2. J1IEX:Post the excise invoice referring the material document (of movement type 102). Creates an accounting document to reverse the CENVAT postings. Creates a corresponding entry in Part II of the appropriate excise register
Thus the excise postings are reversed.
3.J1IEX: Cancel the excise invoice (Do this if your plant does not allow multiple goods receipts per excise invoice).Now the system will allow you to cancel the vendor excise invoice
above the procedure right. you will get this updation excise registers also
Laxman
Maybe you are looking for
-
Accounting document not generating for excise invoice-please help
Dear all , my issue is accounting document not generating for excise invoice we are creating accounting document in J1iin with refferance to billing document but the accounting docuemnt is not generating the accounting document for billing document i
-
Problem with HP 3600n Color Laserjet Printer and new HP Notebook Running 64 bit Win7
I have a new HP notebook (dv7t-6100) with Core-i7 Processor, running 64 bit Windows 7 with all of the latest updates. I also have a 27" iMac with Core-i7 Processor running 64 bit Windows 7 underneath Parallels 7. Parallels is a program that creates a
-
Idoc delvry03 - Create inbound delivery without ref. to purchase order?
Hello, we want to use LES with handling-unit management. For this we have to create inbound-deliverys without any reference to an purchase-order. Manually we can do this via TA MB1C with movement type 501 for a handling-unit storage location. In this
-
When iam settling the order through - KO88, iam with the below error. Error : You can not post to Asset in Company code XXXX fiscal year 2009 When I double clicked on the above error, the description is saying the below information. You cannot post t
-
Inserting HTML to Captivate elements
I have a project, an e-Learning piece that is created with HTML and Flash. Flash is used to create some of the learning confirmation modules (or mini-quizzes) that are scattered through the e-Learning piece. I heed to update these mini-quizzes, but T