Problem in process order creation.
Dear Sir/ Madam
i am facing a problem while process order creation.
the problem is:
Error when calculating cost for order ATFEDEC11 "see log Log is deleted when saving
Do you still want to save?"
Hi,
The log for production order preliminiary costing is not saved. Therefore, once the order is saved, there is no log available anymore (this is by the way a question of PP; none of the logs is saved).
Hope that helps...
Regards,
Declan
Similar Messages
-
Problem during Process Order creation
Hi,
I have problem while creating Process Order.
I have maintained all the basic data required to create the process order.
When I Release the order, I am able to create the control recipe also, but PI sheet is not generated along with it. System gives the message "No PI maintained in customising for CRD for which control recipe is to be generated "
If I maintain the same, then system is unable to create the control recipe.
What may be the problem here? What i can do to rectify this situation?
PavanHi Pavan,
1. Maintain PI in SPRO of process management
2. Assign this PI to one of phse in master recipe
3. Plz check wheather ur created Control receipe destination or not.
4. if not then maitain the same in Spro.
5.Check the ordre type dependent parameter i.e COR4 from SPRO
see the Control recipe gerated in REL phse else maintai the asme in production scheduling profile.
if possible plz send the sctren shot fir the same to
[email protected]
Regards
Siddhesh -
BAPI - Problem in Sales order creation
Hi Friends,
I have problem in Sales order creation using BAPI ,I am getting a messsage - Error in creating document ,I have sent the code along with this mail ,can you help it out.
Code:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text FOR FIELD p_auart.
PARAMETERS: p_auart TYPE auart OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Sales organization
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text1 FOR FIELD p_vkorg.
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Distribution channel
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text2 FOR FIELD p_vtweg.
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Division.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text3 FOR FIELD p_spart.
PARAMETERS: p_spart TYPE spart OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SKIP 1.
Sold-to
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text4 FOR FIELD p_sold.
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Ship-to
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text5 FOR FIELD p_ship.
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SKIP 1.
Material
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text6 FOR FIELD p_matnr.
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Quantity.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text7 FOR FIELD p_menge.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Plant
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text9 FOR FIELD p_plant.
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Data declarations.
DATA: v_vbeln LIKE vbak-vbeln.
DATA: header LIKE bapisdhead1.
DATA: headerx LIKE bapisdhead1x.
DATA: item LIKE bapisditem OCCURS 0 WITH HEADER LINE.
DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
DATA: lt_schedules_in TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
Initialization.
INITIALIZATION.
v_text = 'Order type'.
v_text1 = 'Sales Org'.
v_text2 = 'Distribution channel'.
v_text3 = 'Division'.
v_text4 = 'Sold-to'.
v_text5 = 'Ship-to'.
v_text6 = 'Material'.
v_text7 = 'Quantity'.
v_text9 = 'Plant'.
Start-of-selection.
START-OF-SELECTION.
Header data
Sales document type
header-doc_type = p_auart.
headerx-doc_type = 'X'.
Sales organization
header-sales_org = p_vkorg.
headerx-sales_org = 'X'.
Distribution channel
header-distr_chan = p_vtweg.
headerx-distr_chan = 'X'.
Division
header-division = p_spart.
headerx-division = 'X'.
headerx-updateflag = 'I'.
Partner data
Sold to
partner-partn_role = 'AG'.
partner-partn_numb = p_sold.
APPEND partner.
Ship to
partner-partn_role = 'WE'.
partner-partn_numb = p_ship.
APPEND partner.
ITEM DATA
itemx-updateflag = 'I'.
Line item number.
item-itm_number = '000010'.
itemx-itm_number = 'X'.
Material
item-material = p_matnr.
itemx-material = 'X'.
Plant
item-plant = p_plant.
itemx-plant = 'X'.
Quantity
item-target_qty = p_menge.
itemx-target_qty = 'X'.
APPEND item.
APPEND itemx.
Fill schedule lines
lt_schedules_in-itm_number = '000010'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000010'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Call the BAPI to create the sales order.
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
sales_header_in = header
sales_header_inx = headerx
IMPORTING
salesdocument_ex = v_vbeln
TABLES
return = return
sales_items_in = item
sales_items_inx = itemx
sales_schedules_in = lt_schedules_in
sales_schedules_inx = lt_schedules_inx
sales_partners = partner.
Check the return table.
LOOP AT return WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error in creating document'.
ELSE.
Commit the work.
COMMIT WORK AND WAIT.
WRITE: / 'Document ', v_vbeln, ' created'.
ENDIF.
Regards,
Dineshwhat messages u are gettting in RETURN ? Please check the RETURN tables data.
[code]CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
sales_header_in = header
sales_header_inx = headerx
IMPORTING
salesdocument_ex = v_vbeln
TABLES
return = return
sales_items_in = item
sales_items_inx = itemx
sales_schedules_in = lt_schedules_in
sales_schedules_inx = lt_schedules_inx
sales_partners = partner.
Regards
Prabhu -
I have Problem in Process Order ,
Dear , I have Problem in Process Order ,
See we have Numbe of process order , that status is REL CRCR DLV PRC CSER BCRQ BRRQ GMPS*
Now i want to Mass TECO all order , but i can not TECO because status should be CRFI ,
So
1) how can i change staus all order at once to CRFi?
2) Can i do the TECO in staus CRCR ?
3) Any other solution
REGARD
SAPHi,
It is NOT possible to do the process order TECO with the status CRCR , this has to be changed to CRFI
you can change the status to CRFI from CRCR in the following way
1) go to CO54 -T-code
enter the plant & Date range
enter the process message category PI_CRST ( sap std) or relevent category defined for you plant
select the to be sent option
2) here you will get list of process messages related to control recipes, click on the SEND (ctrlshiftF12)
process message will be processed & Control recipe status will be cahnged to CRFI for CRCR
Thanks,
Rajaniaknth -
REGARDING PROCESS ORDER CREATION
Hi All,
While creating the process order for material, system showing the message that "Manual process order cannot be created for this product". But if we try with another user id, i could able to create the order for the same material.
Plz suggest the solution to get rid of this error.
Thanks
Arvind SHi,
The message "Manual process order cannot be created for this product" clearly indicates that the user is not authorized for Manual process order creation by COR1 transaction for this material and may be this material is planned through MRP or SOP etc. and in critical or certain situations manual process order creation is allowed to another user/user id for the same material ( type of materials/material code).
Some time organizations put such restrictions through enhancements. You can search the exact reason or logic of restriction by the help of ABAP consultant.
Regads,
Narresh -
External Number gneration for process order creation
Hi,
I need to generate external number range for process order creation and at the time of goods receipt.
How can I do this in the include ZXVBZU02.
Regards
SAiYou might want to try search first:
http://www.google.com/search?hl=en&source=hp&q=externalnumberrangeforprocessordersite%3Asap.com -
TCODE for Process order creation against Sales order
Hi gurus,
Pls tell me what is the TCODE for Process order creation against Sales order
Eg. CO07 is for production order from sales ordeTypically, in MTO scenario after the sales order is created you run MRP which will create planned order and then you convert that into production order using MD04.
Or if you have SD settings correctly directly from the release of Sales Order it will create planned order or production order.
please check and revert back. -
Process order creation problem
I am creating a process order . while creating the process order system is throwing error as Auto batch numbering not set up for material type XXXX in plant xxxx . System is not allowing to create process order.
How to resolve the issue.Check in CORW and switch off batch creation to isolate the problem if needed. Also see whether you have any batch managed compoents for which you have set master data for automatic batch determination.
There is no setting for material types and plant for batch. May be the error message is not correct. What is the message number? -
Problem with process order resource selection condition
I face a problem while trying to release process order as i am getting an error as "Resource XXXX assigned to operation 20 does not meet resource selection condition".What may be the reason for this.how to check and rectify...
Please help.hi,
I think you have been using a work center in place of resouce.
Actually
Resource catagory = 0008 is assign to Application C (Recipe) & only use in Recipe Creation.
Work Center catagory = 0005 is assign to Application N & R( Routine & Refernce operation set) & only use in Routine Creation.
Parminder -
Error in Process Order Creation
Hi Experts,
I am facing a problem while creating a process Order in COR1
I have got an error reading Master Data which is
No task list for select.ID 04 for auto. task list selection found
Please Help me out.
Thanking You In advance.Dear Ashish,
1.Check if a master recipe exists for the material in C203 and if exists means check the usage and status of the master recipe.
that is value for status as 4 - Released General and usage - 1 - production .
2.If no master recipe exists means then create one using T.Code C201.
3.Then check the impact in COR1.
Regards
Mangalraj.S -
Missing stock during Process Order creation
Hello Masters.
I'm facing a new problem here in my client.
Thats the situation:
We are trying to generate a subcontracting process order to delivery a semi finished material to a supplier in order to be packed. We already have a contract with this ssupplier, its been saved as a supplier, we already did this operation with him more than once.
The question is that during the process to create the process order, system is giving us a message that there is no enough stock off semi finished material to be send to the supplier. (it comes a message that is missing a small quantity to fiill the right amout we want to send to the 3rd party - something around 1,5% of the total amount)
But if we go to MMBE we can see the same amount of stock we want to delivery to the supplier in free utilization.
Besides we are using here WM we didn't see any difference that could give us the error.
In QM inspection batch all the amount were released (321 movement) no sample quantity was taking/retained.
The most insteresting part is the we did the same operation for the next batch of the same semi-finished material. I mean for the batch produced yesterday (monday may 9th) we already sent to the 3rd party for packing but for the batch from last friday, we are facing the issue.
In this case we have the same kind of process order, same 3rd party, same materials, same process a so on.
Please could you give me an idea where should I look for a solution.
Thanks in advance.
HarlenHello Vivek thanks for your anwer.
However, Ive talked to a QM consultant and presented the issue for him. He told me to use a SAP program QEVAC20 ( notes 48815 and 717622 ) to check possible inconsistences between QM and IM stock.
So We will try to use this report to check if there is an issue. Have you used this program before? Do you think it should help us?
Due to the process to create the process order, there is no issue, no issue with batch number or inspection lot. The error message comes when we try to select the batch number of semi finished material in COR1 tcode.
The message complains theat is missing a small quantity of the batch.
Tks,
Harlen -
Automatic Reservation at the time of process order creation
Hi Experts,
As you are aware, when we create a process order and save, system automatically generates the reservation and the reservation will be for movement type 261. My requirement is like this. When system creates reservation, system should consider for which order type the process order is created and create a reservation for other movement type also.
For eg. Iam having order type ZRRW. When system creates reservation at the time of order creation, system should check the order type and reservation should be created for a movement type Z11 instead of 261 in the normal case.
Is there any user exit for the same. Please let me know.
Else how can I post the goods issue with a movement type other than 261. MIGO is not accepting other movement types.
Anticipating your reply
Regards
PrathibHi Ayethebing,
Thanks for the reply. we created the new movement types inorder to use the SAP standard reports and get the different types of goods movements based on the different processes.
We can do the goods issue using the custom movement type through MB1A. But I was trying to use in MIGO and this is where system wont allow this.
In MIGO, system will do the goods issue based on reservation only. The reservation is created at the time of order creation and it uses movement type 261 irrespective of the order type.
I was trying to find out whether any option is there to use custom movement type to create reservation so that system would propose this movement type in MIGO for goods issue against process order.
This is an interesting case but unfortunately dont have any option of user exit or Badi. Only one user exit related to reservation is to change the str loc and back flush indicator.
@Sabine: Thanks for your reply. But the BADI that you provided wont serve the purpose.
Thanks
Prathib -
At the time of Process order creation Batch determination
Dear All,
When i am creating process order at the time system not allowing me to execute batch determaination after release only it is allowing me to do.
My requirement is At the time of order creation i want assign batches ( Execute Batch Detrmination)for the material.
how to do this one, kindly hel me
Regards,
s.sakthivelHi sakthivel
Go to OPKP (Production scheduling profile) txn code and select in Batch management tab Automatic Batch creation at order creation (1) and check this profile is assigned to material in work scheduling view
Regards -
Problem in Process Order - Urgent
hi i have a problem in COR2.
After creating the process order i TECO Technically complete the same,
and when i save the process order the system just hangs.
When i debugged the code i found that issue is inside the functional module CO_ZV_ORDER_POST - Create/change end routine order.
It does not do the commit work properly. this is in PRD so please help me to resolve this
I checked for other system and the process order gets saved.
What should i do
please helpPlease check the OSS note - 1041204 - Controlling COMMIT WORK in production order BAPIs
Hope this helps you. -
Problem creating process order with ref of sale order
Dear all,
Kindly give solution for this scenerio..............................
I am creating Process Order with ref of sale order manually in cor1. In the COR1 screen copy from field i gave my ref sale order, so that particualr order and batch is assigned to that order only.
My problem was suppose if sale order is created for 10 tonns, but my batch size and resource capacity is 2 tonns only. so first time i change my batch quantity 2 tonns instead of 10 tonns and created my order and confirmed.
if i go to second time the same process i am doing creating process order with ref of same sale order but it comes again 10 tonns instead of 8 tonns. why it comes like this already i confirmed 2 tonns in this sale order?
my requirement is if any process order is created with ref of any sale order and again if i am creating any process order with ref of same sale order left quantity only system should show.
for this what i have to do kindly help to this
regards,
s.sakthivelDear KK,
Pls check whether ZKIN, ZKQT, ZKOR have all the properties similar to IN, QT, OR respectively. If they are different, please ensure that you know the reason why they are different. This check has to be done at tcode VOV8
Some fields like sales document category, Transaction group, screen seq group, Doc pricing procedure need to be similar to the parent document unless you know why you have changed them.
Once this check is done, check the copy controls in VTAA. Before that try creating these documents separately without reference. This shoudl work fine only after which you need to check copy control. If this is not working fine, then there is some problem with the document type settings in VOV8. Testing this is possible only if Reference mandatory field is left empty. Make sure that is properly configured.
Once this is done, check copy controls in VTAA. You can just copy the copycontrol between IN and QT and QT and OR and create for ZKIN to ZKQT and ZKQT to ZKOR.
Once this is done, check whether your item category settings are properly done , also the schedule line settings. The tcodes are VOV7, VOV6, VOV4, VOV5 etc.
Now check whether your material master and customer master are consistent with the item category settings(Item category group).
Now create the transaction. It shoudl work fine.
Reward if this helps.
Maybe you are looking for
-
Error when deploying a simple Entity bean (EJB3) on Glassfich or Sun AS
Hi, After some problems when deploying complex EJB3 Entity bean on GlassFich with a MySQL connector, I have made a simple entity. (test with Glassfish and Sun AS with same result) With netbean 5.5 => New EJB Module File->New->Persistence Unit (and us
-
System restore and missing itunes
I did a complete system restore of windows XP on my computer and I thought that my itunes would be saved by apple similar to how my emails are saved by yahoo....but when I re-downloaded the itunes software, all of my itunes that I had purchased were
-
0ANALYZER Web Template - increase number of Rows displayed
Hello All, Is there a context menu command / popup value that will allow an end-user to increase the *default* number of Rows displayed at a time (25) when we are using the 0ANALYZER Web template? We have about 100 characteristics anyway, so settin
-
I recently ran some scripts in the Onyx utility application. After restarting, I noticed that a number of random files started appearing in all of my folders and subfolders on my hard drive. For example, In all folders I can see at least two files: .
-
Import/export table stats in 11i
Hi, Experts: A table stats is old in the prod instance and i want to import the stats from a test instance (the same table). I appreciate you if you can tell me the steps. Thanks and regards