Update batch for process order in change mode
Hi All ,
I need to update the batch number(which will be external batch number given by me ) in COR2 (process order change) transaction ,under the tab Goods receipt .
Is there any bapi which achieves this ?? pls reply
Thanks .
try use BAPI_RESERVATION_CHANGE
Similar Messages
-
Reservation of component Batch for Process order
Hi PP Guys,
I did the batch determination of a particular component batch in process order, but when I try to create another process order system proposing the available qty without considering the earlier reserved batches.
I want to view only the batches which are free from any reservations during batch determination in process order.
Example: If Batch "A" having qty 1000 kg in unrestricted stock.
I have created a process order and did the batch determination for the quantity of 900 kg, when I create another process order for the same material system should propose only the available component batch qty of 100 kg only, but system still proposing the un-restricted available qty of 1000 kg.
Please advise me the solution to map the scenaio.
Thanks in advance.
regards,
PurnaHi,
Check whether Reservation is included in your checking control(T.Code OPJJ).
If not then correct it by activating check box for Include reservations.
Regards,
Dhaval -
Read Master Data for Process order status change (REL to CRTD)
I am unable to read master data and thus change the status of process order from REL to CRTD. (COR2)
The reason it says, error in BOM reading, Transport Requirement (TR) already generated.
Even after deleting the TR (LB02), the issue still exists.
Is there another way of changing the status or some more steps are needed for the TR deletion?
Thnx!
Abhi.Order header Status-
REL Released
MSPT Material shortage
PRT Printed
PRC Pre-costed
BASC Batch assignment complete
BCRQ Order to be handled in batches
SETC Settlement rule create.
In the error log it gives-
Diagnosis
Transfer requirements have already been generated, so therefore the bill of material cannot be read.
System Response
The system does not execute the action.
Then I deleted the TR (LB02), but still I cannot reread the master data.
The MSPT was for only 2 materials out of 6 and there is no GMPS status.
There is prod supply area and control cycle used.
and the TR generated at order release. -
Create batch for process order
Hi,
I have a requirement to create batch for the process order while releasing/ creating it.
PLease let me know, which BAPi to be used.
Thanks & Regards,
Kalyan Venigalla.Hi All ,
Pls reply
Thanks . -
Issues during Component Batch Determination for Process Orders
Hi,
I am encountering a strange issue during component batch determination of process order.
1. During creation of process order, when I execute batch determination, systems does determination based on strategies we have set and when I click on Copy it gives an error
"Log cannot be saved: Object/subobject not specified"
Message no. BL201
*Diagnosis
Log save cancelled because at least one log contains no object or subobject.
Object and subobject are needed to classify application logs because there are several log types. Only a few logs are managed in main memory at runtime, so this classification is not needed.
If the logs are to be saved in the database, object/subobject must be specified for later retrieval.
Procedure for System Administration
Object/sub object can be passed when a log is created (function module BAL_LOG_CREATE) and changed with BAL_LOG_CHANGE.
The possible values for object and sub object must be configured in transaction SLG0.*
If I save the order with CRTD status and come back again in change mode and do determination, It works fine.
Again when the order is in REL status and do the determination, It gives the same error.
This happens only for a specific plant, In other plants batch determination works in all scenarios.
I checked for all plant related Config for batch determination and coudn't find any discrepancies.
Please advise how to resolve this issue. Thanks in advance for your help
Regards,
AheeshThere Is no direct solution for your requirement just try this work around.
While defining the batch determination search strategy for process order in COB1, there is one column Quantity proposal where you can attach the Routines (This is written in ABAB code ) make use of this, define New Routines with ABAB help to fulfill your requirement. Try this if found useful award full points.
Regards,
Ajay Nikte -
Table/Structure for process order's auto batch determined component.
Hi PP Gurus,
We're struggling to get the Structure/Table name where data pertaining to process order component which is batch managed and automatically batch determined goes. We know RESB is the table where it gets updated after saving Process order. But we want the structure/table name before saving the Released Process order. Can anybody please help to get it?
Thanks,
Abu ArbabAbuarab,
I think it will in structure CAUFVD. Following are the enchancements available as of ECC 6.0,
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order hea
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measu
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determin
PPCO0014 Select process orders for external relationships
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document link
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0020 Process order: Display/change order header data
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
Regards,
Prasobh -
GR Cost not updating as Target Cost for process orders
Dear SAPians,
We are facing an issue in Target Vs Actual cost reporting for process orders. We are creating a process order after cost estimate of that material and doing the confirmations for activity cost. After that, GR has been done for the finished goods of that process order. That GR entry is updating the Actuals values but not updating the Target cost. When I am checking the standard report KKBC_ORD, I am getting the following figures.
Cost Elemnt Text | Target Cost | Actual Cost | Target Vs Act
Inventory Chnge FG | 0 | 1,472,205.60- | 1,472,205.60-
Packing Matrl Cons. | 1,148,142.37 | 1,252,752.68 | 104,610.31
Raw Material Cons. | 60,463.91 | 50,688.29 | 224.38
Semi-Fin Matrl Cns. | 181,934.68 | 367,959.56 | 186,024.88
Labour Cost Activity | 39,735.36 | 39,862.80 | 127.44
Machine Cst Activty | 41,611.75 | 43,153.01 | 1,541.26
That 'Inventory Change FG' entry is showing the GR posting updating actuals and not target cost. This is causing huge difference in target vs actual cost that will affect the profit and loss figures ultimately.
What am I missing here? What should I do to update the GR amount in Target cost as well.
ShiraziDear,
Target Cost on Production Order or Process Order is shown only when Variance is Calculated.
So please calculate the Variance, system will show the Total Target Cost.
Br,Vivek -
Scheduled finish date for process orders not updating in BW
We are having problems with the scheduled finish date (GLTRS) for process orders. When the process order is already released, changes done in R/3 on the scheduled finish date will not result to a delta hence data in BW is not updated. Table AFKO, where data is coming from, is always updated with the changes though. 2LIS_04_P_MATNR is used in extracting the data.
Has anyone experienced the same problem? We are looking for possible ways on how to have a delta whenever there are changes on the process order even after it is already released.
Any help would be greatly appreciated...Hi Donna,
If I've understood your problem correctly, you can increase the load frequency as Sriee has pointed out.
If you want latest data frequently and if you are on BI 7.0 then you can look at Real Time Data Acquisition(RDA)
Regards,
Tom. -
FEFO logic in batch determination for process order release
Batch determination for a particular material in a process order was following FIFO logic . We needed to change it to FEFO hence we made the necessory changes in COB1 how ever the process order relase is still taking the batch whihs is not the first expiry batch
Kindly help in batch determination with FEFO for process order release.Rk
The blw explation for inventory side, i don't have idea for prod order side
If Batch Management is active for the materials then use following process;
First create characteristic in CT04 for Batch Creation Date, under "Addnl data", enter Table Name MCH1 or MCHA (As per Batch Class 022 or 023) and Field ERSDA and save it.
Assign this characteristics in CL02 in your Batch Class.
CU70 - Create a Sort Rule and specify the Characteristic of Batch Creation Date and activate "Ascending" indicator.
Now assign the Sort Rule in MBC1 and keep Selection criteria as "O" for the Strategy type.
Now do batch determination in MIGO. -
Hi,
Can any buddy tell me the Bapi used for Process order change
with following scenarios:
Quantity change
Resource change
Rescheduling
Control key change
RM Change
Recipe change
TECO
REVOKE
Material shortage check
Best Regards,
Sheetal.Hi,
BAPI_PROCORD_CREATE for process order create
BAPI_PROCORD_CHANGE - Change Process Order
BAPI_PROCORD_CLOSE - Close Process Order
BAPI_PROCORDCONF_CANCEL for Cancel Process Order
Confirmation.
BAPI_PROCORD_COMPLETE_TECH - Complete Technically
BAPI_PROCORD_RELEASE - Release Process order
BAPI_PROCORD_SET_DELETION_FLAG - Deletion Flag
BAPI_PROCORD_REVOKEUSERSTATUS - Cancel User Status
BAPI_PROCORD_SCHEDULE - Carry Out Scheduling
pls refer below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa
http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
Regards,
Sankaran -
Batch determination configuration for process order.
Hi,
Can anybody help me to configure batch determination for process order in step by step.
My requirement is
1. multiple selection of component in process order.
2. click on batch determination icon.
3. system will check batch, valuation type, stock. Assign batch,valuation type, storage location automatically in the process order confirmation(COR6N)-Goods movement tab.
Thanks,
JishuHi Jishu,
Please refer below documents whcih will help you on batchdetermination
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09b7216-65da-2b10-bdb5-870cf9916350?QuickLink=index&…
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0caed4a-40f9-2c10-349a-96ec617a8161?QuickLink=index&…
Regards,
R.Brahmankar -
Batch determination for process orders
Hi All,
My requirement is complete batch batch is proposed in process order batch determination even though the requirement is of less qty.
For example the required qty. for component XYZ is 20 units but the available batch is of 40 units. Now requirement is that no batch splitting should happen & complete batch of 40 units is determined.
This is required to do Material quantity calculation.
regards,
Mohit GoyalThere Is no direct solution for your requirement just try this work around.
While defining the batch determination search strategy for process order in COB1, there is one column Quantity proposal where you can attach the Routines (This is written in ABAB code ) make use of this, define New Routines with ABAB help to fulfill your requirement. Try this if found useful award full points.
Regards,
Ajay Nikte -
Batch Number field in IDoc for Process Orders (message type LOIPRO01)
Hello PP experts,
Just wanted to ask if anyone of you have worked with message type LOIPRO01 (IDoc for process orders)
There is a segment-field in this IDoc E1RESBL-CHARG which has description of "Batch Number"
We tried to assign a Bath Number for an Order (using t-code COR2 --> "Goods Recpt" tab under "Receipt" section), generated an IDoc for this order, but upon checking the E1RESBL-CHARG field of the IDoc it is not populated with the Batch Number.
The material in the process order is FERT, so technically we're trying to assign a Batch Number in one of the process orders for a Finished Goods material type, so not on the component level.
Can anyone here verify:
1. is the E1RESBL-CHARG field of IDoc LOIPRO01 intended for the Product Batch Number? If Yes, how do we populate that for in the IDoc? --> Do I need to have a Reservation/Dependent Requirement for the Product for the Batch Number to be populated in the IDoc?
2. If E1RESBL-CHARG can not be populated for a Product that has no Reservation/Dependent Requirements, Do I have any option of populating this field with just the Batch Number assigned to the Process Order of that product?Solved - LOIPRO01 IDoc does not pick up the Batch Number from AFPO table, instead from table RESB. We need batch from AFPO and just created a lookup using the Process Order Number as import param
-
Auto Batch selection during GI for Process order
Hi Gurus
My requirement is that the system should select available batches of raw materials automatically during goods movement for Process order using COR6 and Goods issue for order MB1A . Could any body plz let me know the procedure in detailDear,
You need to define the batch search procedure MBC1 with serach strategy as ME01 for your material plant and movement type assign selection condition and sort rule and save the condition record.
Please refer this thread for details,
BATCH SELECTION DURING ISSUE
Please come back if any problem.
Regards,
R.Brahmankar -
Using change pointers for Process orders
Hi Experts,
We have a requirement where we need to send idocs when a process order is changed. Since process order data is a transactional data, can we still use change pointers?
We tried using the message type LOIPRO and it is giving an error saying that this message type cannot be sent with change pointers.
Can anyone guide me with the process and steps to get this done?
Thanks.For change pointer, you would have to deligate the business object with t.code SWO1. To handle it, it would take too much time to explaint.
If you use the BAdI, and call function in this way : " CALL FUNCTION 'FUNCTION_NAME' IN BACKGROUND TASK AS SEPARATE UNIT EXPORTING ....." the function would executed only after commit (when you call the funtion, it holds in a queue for commit. In roll back, it get disapeared).
User method in_update from the BAdI.
Edited by: Lior Tabib on Oct 19, 2010 4:18 PM
Edited by: Lior Tabib on Oct 22, 2010 7:27 PM
Maybe you are looking for
-
All values from multiple select LOV
Hi. Ik have a customize screen for a chart where a can select days. That works. But i want the standard value to be 'all days', so the user does not have to click all seven days. When i have combobox i use in the where clause: "and (fieldname = :vari
-
Macbook screen blinks, goes to a blue screen, and then acts like it restarted.
And the weird thing is, it never actually restarts--my entire home screen looks as though it has. Goes through all of the normal just-turned-on commands. It's done this to me twice; once while I was putting a file into my other computer's drop box, a
-
Problem in mathematical Functions
Hi All, I am using a mathmatical function FRAC but getting error Field "FRAC" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. getting this error for any of the functions like CEIL, FLOOR etc. My Statement i
-
Hi, I am having RedHat 6.2 and I need to install Oracle9i on it, so can I do it?, if yes please send me the URLs where can I get glibc2.2.rpm and other required packages for linux. Best Regards Thanks
-
How to avoid authorization checks while debugging
Hi, Can anyone let me to know how to avoid authorization checks while debugging for a standard transaction? -B S B