FM/BAPI to update Production Order at Operation Level
Hi Friends,
Can any one help me in this issue.
My rek is, needs to update Production Order Sequence Number(AFVC-CY_SEQNRV) at operation level.
There are some Production Orders under one Project.User is updating theSequence Numberfor the first order in that group (TCode CO02),at the time of save remaining Orders in that group needs to be updated with the same Sequence Number.
Please provide me with FM/BAPI(operation level not at header level)
Points Rewarded,
Thanks in advance,
PRBode.
Prathap,
Have you tried using the Bapi : BAPI_PP_TIMETICKET
This would confirm at operation level..
Hope it is useful.
Regards
Ram
Similar Messages
-
BAPI/FM for Confirmation of Production order at operation level
Hi ABAPers,
I am using the 'BAPI_PRODORDCONF_CREATE_ACT'for Confirmation of Production order at operation level.
I am able to pass the Production order number and Active Operation get the confirmation done.
But the Confirmed Qty is not being updating in AFKO table.
The 'BAPI_PRODORDCONF_CREATE_HDR' cannot be used for Confirmation of Production order at operation level as there is no Operation/Activity(Vornr) field in the input table. Hence using this bapi confirmation of Prod order can be only at Order level.
Can someone know any FM/BAPI which can be used for the Confirmation of Production order at operation level(not order level).
Thanks in Advance
Ramesh Babu CikkaHi Ramesh,
Please use FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'.
This will work as like as T/Code "CO11".
I hope this will help you.
Example :
CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
EXPORTING
POST_WRONG_ENTRIES = '0'
TESTRUN = ' '
IMPORTING
RETURN = ZRETURN
TABLES
TIMETICKETS = ZBAPI_PP_TIMETICKET
DETAIL_RETURN = ZBAPI_CORU_RETURN.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'W'.
Lanka -
Release of Production Order at operation level
Dear Experts,
Production order to be released at operation level automatically one by one, after confirmation of operation.
Let us suppose
Op 10 ...... 10 Confirmed
Op 20 ...... 10 Confirmed
then in the Op 30 ..... 4 Qunatity to be released automatically once Operation 20 is confirmaed.
Please give your valuble inputs
regards
Ram KumarDear Experts,
Production order to be released at operation level automatically one by one, after confirmation of operation.
Let us suppose
Op 10 ...... 10 Confirmed
Op 20 ...... 10 Confirmed
then in the Op 30 ..... 4 Quantity to be released automatically once Operation 20 is confirmed.
How to create trigger point for this?
Can anybody give clear idea, what all the fields I need to maintain ?
regards
Ram Kumar -
Release the order on operation level
Hi,
Currently we are releasing the complete production order. But Now we want to release the order operation by operation. How can we do that?
Regards
deepak sharmaHi Deepak,
I think that you have already realesed the order at header level and now you want to realese the production order at operation level. If this is correct,then follow step as below.
1.Goto CO02
2.Select Function,then Read PP master data.continue,enter & save. So status of order will be changed to created.
3. Now follow the step given by SAP PP consultant.
Hope this help you.
Regards,
Raja. -
BAPI for Open production orders
Hi All,
Any BAPI for open production orders?.... Using BAPI i want to upload open production orders informatiomations.... Please help
Thanks & Regards
SanthoshHi,
Please check the following BAPI,
Goto BAPI tcode, select hierarchical tab
Production orders,ProductionOrder ,ProdOrdConfirmation , RCVPRORDCF and check the BAPIs -
Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)
Hi,
I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?
Thanks a lot!!Hi,
*& Report ZTEST
REPORT ztest.
DATA : wa_header TYPE bapisdh1x,
i_item TYPE TABLE OF bapisditm WITH HEADER LINE,
i_itemx TYPE TABLE OF bapisditmx WITH HEADER LINE,
i_return TYPE TABLE OF bapiret2.
wa_header-updateflag = 'U'.
i_item-itm_number = '000010'.
i_item-target_qty = '4'.
APPEND i_item.
i_itemx-itm_number = '000010'.
i_itemx-updateflag = 'U'.
i_itemx-target_qty = 'X'.
APPEND i_itemx.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = '1234567890'
order_header_inx = wa_header
TABLES
return = i_return
order_item_in = i_item
order_item_inx = i_itemx
Hope this will help you.
Regards,
Anand. -
Problem in updating Production Order
Dear All,
When I try to update the Production Order I am getting the error message as "Invalid user OWOR.UserSign ".
Help me to resolve this problem.
Thanks,
Lingam.
Edited by: miplkutalingam on Feb 13, 2012 3:22 PMDear Lingam,
Welcome you post on the forum.
Something must be wrong in the document. The user who created the PO may be deleted somehow. B1 does not allow the deleting of the user but manual deletion may be occurred in your database.
Try: SELECT UserSign FROM OWOR T0 WHERE T0.DocNum = '[%0\]' to find out.
Thanks,
Gordon -
Bapi to read production order network
Hi all
I am searching a bapi to read entire network of a production order. I tried searching on forum but did not find anything.
Can anybody help me please?
regards
GabrieleHi Montoro,
You can use FM BAPI_PRODORD_COMPLETE_TECH to read production order network..
Thanks,
Ravi -
Business Object (BAPI/IDOC) for production Order
Hi All
I have requirement where data is coming from legacy system to R/3 via XI to generate a production order. I am not able to get right BAPI/ IDOC for inbound Production Order. Can anyone has done similar scenario. Can u suggest me BAPI or IDOC for same. I am using IS-Mills 4.7 version for R/3
Thanx in advance
Regards
VinodHI Vinod,
I think U can use IDOC <b>LOIPRO01</b> for Production Order...
Regards,
Sridhar Reddy -
Production Order Multiple Operations
Hi Gents / Ladies,
Here is the scenario.
Production order generated for Item A
Item A BOM:
Item B
Item C
Operation 1 (In house assembly) - Item Assignment
Item B
Item C
Operation 2 (Subcontractor Painting) - Item Assignment
- None
Currently we just generate Manual Outbound Deliveries and Manula PO's for this operation. How can I generate a delivery that references the production order. Can I use a Text Item for Painting and assign it to the operation?
I know that I can create another Item A - Painted and a new production order. I would like to capture all of this in one production order.
Please let me know if i didn't explain myself and how to make this happen.It looks more like PP realted question.
-
New operation for production order - change operation quantity not possible
Hello all,
we want to create a new operation for a production order.
So we go to CO02 and to the operation order overview screen.
But when we add a new operation, the system will not let us determine the operation quantity for the new operation, the system will just take the quantity from the operation before.
How can I determine the qty by myself?
Thanks
AnneYou can do another way also. You change your routing with new operation quantity and save it in CA02. NOw you go to CO02 and read master data in funtions, then the new operation quantity will definetly come in to the production order.
KrishnamurtyDSS -
FM/BAPI to update sales order item characteristic values
Hi experts,
I have an urgent requirement on changing the characteristic values of a sales order item (VA01/VA02). Is there any FM or BAPI to update the characteristc values?
Points will be awarded.
Regards,
LeoHi,
I need an FM/BAPI that can be run inside user exit USEREXIT_SAVE_DOCUMENT_PREPARE to update the item configuration. I tried the FM you have given me but it didn't work. If you have sample codes that can update the configuration values of the sales order item, it will help me a lot. Thanks!
Regards,
Leo -
Update Production Order Form if Sales Order Form has been updated
Hi Experts, how can you update the "Due Date" in the Production Order form if the "Delivery Date" in the Sales Order form has been updated? I am having problem catching the actual event if the Date was modified. I'm not sure if I'm coding this correctly, but this is what I have so far:
If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) And (pVal.Before_Action = True)) Then
strSQL = "SELECT DueDate FROM OWOR WHERE DueDate = '" & strDueDate & "'"
orecordset = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
orecordset.DoQuery(strSQL)
End If
Please share your examples.All, thank you for your help. I understand why it is not working now. I was able to accomplish what I was lookin for with the following code (for anyone who was having the same problem as me:
If pVal.FormTypeEx = "139" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE Then
If pVal.ItemUID = "12" And pVal.BeforeAction = False And pVal.ActionSuccess = True Then
oEditText = oForm.Items.Item("12").Specific
myNewDate = ConvertDateString(oEditText.Value, "test")
SODocEntry = oForm.Items.Item("8").Specific.Value
oPdo = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders) '
oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
oRecordSet.DoQuery("SELECT DocEntry from OWOR where OriginABS = '" & SODocEntry & "'")
If Not oRecordSet.EoF Then
oPdo.GetByKey(oRecordSet.Fields.Item(0).Value)
oPdo.DueDate = myNewDate
intResult = oPdo.Update
If intResult <> 0 Then
oCompany.GetLastError(errInt, errString)
oApplication.MessageBox("oApplication_ItemEvent: " & errString)
End If
oRecordSet.MoveNext()
End If
End If
End If -
BAPI-To create production orders with reference to sales order & item
Hi,
Can anyone tell me which is the best method to create open production orders?
Is there any BAPI available for creating production orders with reference to sales order & item.
I tried this BAPI "BAPI_PRODORD_CREATE".
I am getting pop up to enter serial number while executing the custom program.
Which table contains the serial number(effectivity parameters)?.I have custom screen fields on notification service!
i think a bdc is better. -
Production Orders without Operations
Hi All,
lately we are seeing production orders in APO without operations/resource. We see this happening once we make change to production orders in ECC. Has anyone seen this issue? we have implemented report as per OSS note 918648 to provide a list of all the inconsistent orders. As a manual work around, we re-select the SOS ( Re explosion) to fix this issue. But for orders that have already started we are unable to domake this change. Note that these orders are not corrected in Compare Refresh report or OM17.
Any similar experiences with resolution are appreciated.
Regards,
Sandeep MondkarHi Sandeep,
Suggest to check also whether
control key for the operation has been flagged for scheduling
Opeation time is not equal to nil
work center is active / transferred
With regards,
Mrinal
Maybe you are looking for
-
Create service under Windows for SUn application server 8.2
I am trying to create a service on a Windows Server 2003 with the sc utilities. I am following the doc's syntax C:\\windows\\system32\\sc.exe create myservice binPath= "C:\\Sun\\AppServer\\ lib\\appservService.exe \\"C:\\Sun\\AppServer\\bin\\asadmin.
-
IBooks Author versions eating disk space
Hello running iBooks Author Version 2.2 on Yosemite 10.10.3 It seems that the automatic saving does not save only the changes to the project, but the whole project every time. On a big project that consumes GBs of disk space. In earlier versions of i
-
Why has iCloud mail stopped showing messages in the "Sent" folder?
Recently I've noticed that any emails I send from iCloud email does not show in the "Sent" mail folder. This, in and of itself is not really a big deal, but I'm curious to know if everything i've sent is being stored somewhere and is accumulting taki
-
Is it okay to use your iPhone while its charging
Is it okay charging your phone while using it
-
Connected iPad mini to Nikon D300 using lightning to 30 pin adapter and 30 pin/USB from camera connection kit. iPad mini will not import raw (nef) files but will download jpgs. Any suggestions?