Deletion of Serial numbers/ Parallel sequences from production order
HI ,
I am trying to delete the Serial numbers from the production order programatically using the FM SERNR_DEL_FROM_PP. I dont get any error , but the serial number is not getting deleted from production order. If anyone have used this FM for deletion Please let me know what extra has to be done.
Similarly i have a requirement or deletion of parallel sequence from the production order. Any FM to do the same?
Code screenshot below
CALL FUNCTION 'SERNR_DEL_FROM_PP'
EXPORTING
material = i_matnr
j_vorgang = 'PMP2'
ppaufnr = i_paufnr
ppposnr = i_itemno
IMPORTING
anzsn = l_num_serno
ZEILEN_ID =
SERIAL_COMMIT =
TABLES
sernos = gt_sernos
EXCEPTIONS
serialnumber_errors = 1
serialnumber_warnings = 2
OTHERS = 3.
DATA ls_afpod_po TYPE afpod.
MOVE-CORRESPONDING gs_afpod_po TO ls_afpod_po.
*.....Update Number of serial numbers in parent order
ls_afpod_po-anzsn = l_num_serno.
update afpo
set anzsn = l_num_serno
where aufnr = i_paufnr and
posnr = i_itemno.
commit work AND WAIT.
Hello,
the function module SERNR_DEL_FROM_PP calls the function module SERNR_DEL_FROM_DOCUMENT within. There, the changes are only written into the memory.
See also the code below:
CALL FUNCTION 'STATUS_BUFFER_EXPORT_TO_MEMORY' "P99K058111
EXPORTING "P99K058111
I_MEMORY_ID = MEMID_STATUS. "P99K058111
The variable memid_status has the value 'SN_STATS'.
So if you want to update the data, you have to call the following function module:
CALL FUNCTION 'SERIAL_LISTE_POST_PP'
EXPORTING
MEMORY_ID_STATUS = 'SN_STATS'
Regards Simon
Similar Messages
-
Serial Numbers for Components in production Order
Hi All
I want to enter the serial numbers of the components in the production order. How can we do it.
I am able to enter the serial number of the FG in the production order, but want to enter for the Components as well.
Any direction will be greatly apprecialted.
TomHi,
You can assign componenets (with serial nos.) to FG ( also with serial nos.) with COIB after goods receipt.( Menu path --Logistics -> Plant maintenance -> Management of technical objects -> Installed base -> Create (special) -> With reference to production data.)
Example: Say FG sr. no. is 1
And components serial no. are- 1,5,10,20 and so on.
After assignment of components it can be viewed on right part of screen, You can have the assignment history--- ie for which assembly no. which components are assigned or vice versa. In production order i.e in descrete mfg. it can be directly done at the time of operation confirmation.
The following is the detail steps:
1. T code--COIB
2. Enter material code ( FG). You can select specific serial no. of FG --- by putting sr. no. in serial no. field.
3. Click on list tree- you will find FG with serial numbers.
4. Click on explode-- it will show the BOM ( in bottom left corner of screen)
5. Select the FG numbers for which you want to assign the componets
6. Clik on tranfer
7. Select the component
8. Also select the FG no. on right side screen.
9. Select the serial no. which you want to assign to an FG
10. Click on assign
11. You will find all the components will get assigned to FG with serial numbers.
12. Now on right side screen there is "save" button. ( It will ask you create/ change as built in foreground or background?
13. Select as foreground
14. Save
15. You will find a message at the borttom --- saved.
16. Now you will find tick mark ( in front of FG material) in right part of screen ( indication of assignment of components)
Thanks -
How to output serial number from production order in GLM ?
how to pull serial number from production order in wwi template for GLM ?
Hi,
Please have a look to this thread:
BAPI/RFC to get serial numbers for a production order
Hope it helps,
Kr,
m. -
Report based on Serial Number generated in the Production Order
Hi,
I wish to generate a Customized report, which shall include the total consumption based on Sales Order/Line Item/Serial Number/Production Order matching the Serial Number generated in the Production Order where in we can get the required data.
Need your help and suggestions in creating this report..
Thanks in advance..
Ashok Vardhan
Edited by: Ashok T Vardhan on Jan 19, 2012 11:38 AMHello Tman,
This is a slightly tricky question. The reason being, the report options like the report path etc, are set before you see the serial number prompt when you run your UUT. There might be other ways of getting around this, but a quick solution would be modifying the process model.
I modified the PreUUT callback to set the report options. I passed the reportOptions as a parameter to this sequence. In the PreUUT sequence, I set the following fields:
Parameters.ReportOptions.GeneratePath=False
Parameters.ReportOptions.ReportFilePath= "c:\\"+ Locals.SerialNumber +"\\report.xml"
I hope this would give you an idea.
SijinK -
BOM explosion from Production Order
Hi All,
I understand from SAP Help files that we can explode BOM from Production Order using Read PP Master Data. But it also says, that we cannot do this if items have already been issued out. So would like to know is there anyway out to ensure that the production order is reading the latest version of BOM.
The reason i want to know is because, at present the BOM keeps getting updated & so the work order has to reflect the new items. The BOM contains about 300 or more items, so manual changes is very tedious & error prone at the moment. Furthermore some components are outsourced. So i want to receive them back & post new materials for them. Hope my problem is clear & await inputs
VivekHi All,
Thanks for the inputs. I think for the situation am facing, the Order change management method, should be of help, as the BOM changes does not take place on scheduled dates, for me to fix the BOM explosion dates & assign them. As of now the BOM gets changed, depending the customer requirements, which is unpredictable.
Clarification required:
1. The profile which is created using OPL7 & assigned in OPL9 is unique, i.e. for any change numbers of BOM will always follow the profile entered in 'Overall Profile' in Work Scheduling view & i do not need to create new profiles for each new change number of BOM
2. Once i run the COCM with the new change number, in the production order - components view will i be able to see any error message for those items which no longer feature in the new version of BOM? & will the materials added in the new BOM automatically feature in that list or do i have to manually add these to the order & if so, how will i know which materials need to be added?
Hope the clarifications sought are clear, await inputs
Vivek -
Sequencing of Production Order
Hi,
The scenario is as follows:
There are 10 production order which are to be executed on a particular day. User will decide the sequence in which the orders have to be taken for production.
Now the client requirement is that the system should automatically schedule the time without overlapping.
For example, The start time of production order with sequence 2 should be a finish time of production order with sequence 1, The start time of production order with sequence 3 should be a finish time of production order with sequence 2 and so on.
Can any body tell me how to handle the above scenario and how to assign the sequence number in the production order ( is there any transaction where in sequence numbers are assigned to production orders).
Regards,
PrasadHi,
u can do the manual capcity levelling & rescheduling the production order at cm21,
u can assign the priority number for information purpose dor production order at header view of prod order (co02)
regarrds
pradeep -
Deleting the reservations for components of a production order without TECO
Dear Gurus,
I forgot to activate the backflush indicator in the beginning. I activated the backflush indicator in between. But for the confirmations already made I had to issue the material as unplanned consumption for the order. This is not clearing the reservations for the material.
How to delete the reservations for components of a production order without TECOing the production order? My order is not completed.
Thanks and Regards,
RaghuHi Kumar,
I have a production order for 1000 header (A) qty. My control key is PP03 (auto goods receipt from confirmation in CO11N).
For this order the component B qty is 1000 (BOM consumption is 1:1)
Without doing GI, the confirmation is done for 300 A qty. I realized that auto GI is not done for the 300 qty of component B as there was no backflush indicator.
Now the backflush indicator is activated in the production order for component B.
In the next confirmation for another 300 A qty, automatic GI is posted for 300 B qty because of backflush now.
Now my confirmed and GR qty for A in two rounds is 300 + 300 = 600.
GI of component B done is only 300 (through backflush).
Qty yet to confirm = 400.
So I did GI of 300 B qty through MB1A (which is an unplanned issue). This does not update the withdrawn qty in the production order. Also the reservations for component B for this 300 qty are not reduced in the system.
Now the reservations against the order for component B = 1000 - 300 = 700 (which is 300 more than the qty yet to confirm).
Now when I run MRP for another 2000 qty of A, the procurement proposals for B will be 2000 + 300(undeleted reservations) = 2300. Though the system is behaving properly, this 300 is additional and unwanted.
For this reason I need to delete these reservations before the MRP run. As order is still open, I cannot TECO the order. Nor can I clear all open reservations from CO11N.
Thanks and Regards, -
Open Multiple PDF files from Production order/Routing
Hi Everyone
We are in ECC 6.0 environment. We have a scenario where multiple documents were attached to single operation and also at multiple operations. But when I was trying to open these PDF documents, only the last file was getting opened and closing the previous file. How can I open multiple PDF files at one time from Production order or Routing?
Any help is appreciated.
Regards
PrasadHi Prasad,
from DMS standard I regret but such a functionality is not available. In the standard originals can be opened only one after another.
I think for realising this functionality an individual modificatoin is necessary.
Best regards,
Christoph -
Purchase Order from Production order
Hi,
This purchase order is created directly from production order.( My problem is the material number is no where shown on PO. but when I print it (print preview) i can see the material number along with the Production order number. I am writing a new report and need material no.
Interesting thing is, even when the Material no is missing. I can see the short txt for material as 'Galvanise'.
Pls help me in finding the material number.(item wise)
Thanks & Regards
HrishiHello
To optimize the workflows, you can change certain functions of the standard material master by using customer exits.
You can tailor the display of the material number to your requirements by using the SAP enhancement MGA00003. If, for example, a material has the number 123, you can use this enhancement to determine that the material number is to be displayed with a prefix such as MAT-. (The number 123 is still saved in the database.)
Control for the material number assignment
MGA00002
EXIT_SAPLMG02_001
(Internal number assignment)
EXIT_SAPLMG02_002
(External number assignment)
Control for the material number display
-{}-MGA00003
EXIT_SAPLOMCV_001
(Number conversion from display format to database format (input: start))
EXIT_SAPLOMCV_002
(Number conversion from display format to database format (input: end))
EXIT_SAPLOMCV_901
(Number conversion from display format to database format (input: start))
EXIT_SAPLOMCV_902
(Number conversion from display format to database format (input: end))
Regards -
Purchase order from production order !! (Missing material no)
Hi,
This purchase order is created directly from production order.( My problem is the material number is no where shown on PO. but when I print it (print preview) i can see the material number along with the Production order number. I am writing a new report and need material no.
Interesting thing is, even when the Material no is missing. I can see the short txt for material as 'Galvanise'.
Pls help me in finding the material number.(item wise)
Thanks & Regards
HrishiHi
1. Check table EKPO, if material number is stored against said PO,
2. Check ME23N, ME23N, ME22, ME23 screens are u able to see material no. in any of T-code.
If one of T-code not showing material number, it is sort of bug in system
Regards,
NNK
PS:Award points for useful ans -
Sequence of Production Order confirmation
Dear All,
I am new to SAP.
Can anyone tell us the exact sequence of Production order execution along with Transation codes.
Here I am giving the procedure what exactly I know about this issue....
1. CO01 - Production order creation & release
2. MIGO - Goods issue against reservation
3. CO11N - Operation wise order confirmation
4. COOIS - Confirmations report
5. MIGO - Goods receipt against order
Current Scenario:
I have created Order and without issuing goods against it, I've confirmed the order.
I would like to know that weather we can do confirmation without issuing goods.
And also I am requesting you to correct my procedure if I am wrong. If anybody can suugest me the exact procedure to follow in future.
Regards,
Haneesh RHi Haneesh
Adding some more detail in to the Production order execution flow:
1. CO01 / CO40 / CO41 - Production order creation & release
2. MIGO / MB1A - Goods issue against reservation
3. CO11N / CO15 - Operation wise / order wise confirmation
4. MIGO / MB31 - Goods Receipt against Production order
5. COOIS - Confirmations report / Order information system
Regarding the GI and GR: In standard SAP, GI, confirmation, GR activities can be done independently. It may be possible in some scenario where all the above can happen independently that is why SAP has kept it open.
You can restrict it accroding to your customer need using "User Exits". For example you can restrict the confirmation if goods issue is not done.
Thanks & Regards
Bala -
Serial number associated with a production order number
Hi All,
How i can find serial number associated with a production order number.
I want to input serial number and material number to fetch the production order number.
Thanks
Ritesh
Edited by: R S D on Jun 8, 2009 7:08 PM
Edited by: R S D on Jun 9, 2009 8:57 AMI am sure this is a solution..please try..
In SQVI transaction join the tables SER05 and OBJK... YOu will get the results...
Or
GO to SA38, enter program RIOBJK00... YOu will get hte results..
karthick -
How to get unloading point value from Production order?
Hi
Can u tell me how can i get the Unloading Point value from Production order where the
Warehouse no,
Movement Type AND
Requirement Type F is given
Kindly send me full select query (Table name-field name).
Moderator message: please search for available information and try solving things yourself before asking.
locked by: Thomas Zloch on Sep 24, 2010 9:15 AMTry these options.
Table: AFPO
Field: ABLAD.
Table: AUFM
Field: ABLAD. -
Import Serial numbers into MIGO from Excel
Hi there
We would like to be able to import serial numbers from a spreadsheet into MIGO.
We purchase from vendors and they ship directly to the customer and provide us with a spreadsheet of serial numbers. These then are manually imput into SAP by copying them six at a time. Is there a way we can import the serial numbers directly into MIGO?
Thank you
TiriHi
I am experiencing the same issue. I need to create up to 3000 serial numbers in MIGO at a time. In IQ04 I am able to create a numeric list. However our serial numbers are alpha numeric or numeric ending in a test figure. Copy and past only allows 28 entries. I do have the serial numbers in electronic format.
You are referring to upload functionality, but don't seem to find the "button" or function to upload from text or excel.
Anybody able to assist?
Regards -
Parallel Sequencing of Production between different resources
Hi all,
I want to consider the way to produce a product in parallel with other resources if available and cost efficient. ( Parallel sequencing of the production between resources)
I have setup groups for products. Also resources (machines)
every machine can do the same job (in different times)
According to setup optimization it may be useful to produce all in one resource but if I need to catch the requirement date, I have to parallelize the work.
Is there any way in SCM like (parallel sequencing in R/3) that takes us to a more feasible solution?Hi Mehmet,
In R/3, in the operation of routing, we can give "split" number . It can split one operation into several splits during scheduling or capacity leveling so that total execution time will be reduced accordingly.
But when you transfer such operation with split number, the activity duration will be automatically calculated by using machine time divided by split number.
However in PPDS, there is split function. I'm not sure if it is what you want.
http://help.sap.com/saphelp_scm50/helpdata/en/3d/7e653a0c52425fe10000000a114084/frameset.htm
Hope it can help.
Watson
Maybe you are looking for
-
Error creating document from using list using Document Template
Hi All, I am trying to create a document from sharepoint list and upload it to a document library using item added and item updated event receiver methods. I can create metadata from list update in document library but unable to open the document. Th
-
New icon on screen - yellow circle with white lines with a 1 next to it - what is it please?
Hi. New to hear so please bear with me.. i have had my blackberry for about a month and a new icon has appeared (next to where the message icon normally sits). It shows a '1' next to a yellow circle with white lines through it.. I have a feeling it i
-
"........iMac is not supported on the iPhone
I have an older iphone - 2 I think. When I try to connect the bluetooth I receive a message on the iphone, ".........iMac is not supported on the iPhone" Does anyone have a solution. Both the iphone and imac can find each other, the iphone just wil
-
My daughter forgot the passcode to get into her ipod, can someone help us?
My daughter forgot her pass code to get into her ipod can someone tell us what to do to get into it?
-
Music plays after hanging up phone call
Hi, I love my Xperia Z2 but for some reason if I have music paused, then I take a phone call, when I hang up the call, the music starts playing. I understand it should do this if the music is playing when the call comes in, but not if the music is pa