Extensionin parameter in the Production Order Confirmation BAPI
Hi All,
I am looking for a Production Order Confirmation BAPI which has the Extensionin parameter to append values for custom fields in table AFRU.
But i could not find one with the Extensionin parameter.
Please let me know if there is any option or any other Production Order Confirmation BAPI which can meet this requirement.
Thanks in Advance.
Jaffer Ali.S
First off, thanks for these posts. Worked for me, too.
Let me just add a little more clarification:
1) First you call BAPI_PRODORDCONF_GET_HDR_PROP
2) Then you must update the field ENTRY_QNT from the internal table you pass in to "goodsmovements" because function BAPI_PRODORDCONF_GET_HDR_PROP wipes that field out and you will miss the posting without this filled
3) Then you call BAPI_PRODORDCONF_CREATE_HDR with the same internal table you got back from the first function inclusive of you putting back ENTRY_QNT.
4) Commit work and wait.
So, in summary, the first fm is needed and the first fm changes some fields in the "goodsmovements" internal table that you really need to get the posting to work in the second fm.
And one more thing, the exact function that an earlier posted referenced to find out that both of the functions in this note were called together is: PP_CATT_CONFBAPI_HDR.
Message was edited by:
Kenneth Goldstein
Similar Messages
-
Clear reservation at the production order confirmation
Hi All,
In the confirmation of the production order, does clear reversation - clear all the reservations of the BOM Components ?
What could be possible reason for non clearance of the reversation of the BOM components, when the header material is confirmed ?
is there any pre-requiste ?
Regards,
PSSHi!,
When you tick "clear open reservation" check box at the time of confirmation, system deletes the reservation and that reservation does not interfere in the planning process but still it allows you to issue the material against that reservation number on MB1A. As per SAP this is how the system is designed. Even you can issue more then the reserved quantity by changing the quantity manually (System will only flash a warning in such a case). If you want the system to prohibit the issue more then the originally reserved quantity, you can convert that warning message to error.
I hope this will help in solving the issue.
Regards,
Uday -
Production Order Confirmation BAPI
I am using BAPI_PRODORDCONF_GET_HDR_PROP to get the proposed values passing the order number. and then creating the confirmation using BAPI_PRODORDCONF_CREATE_HDR.
The problem arises when I change the qty proposed. 2 good movement documents are getting created, one for the main material and the other for its components. How can this be avoided?Hi !!
And if you don' change anything there is only one ?? I think that ther always are two documents created - one for movement 101 one for all 261 mov3ement.
BR, Jacek -
Production order confirmation with BAPI
Dear PP friends,
I want to create a program to confirm production orders in mass at header level like CO15. To do it I am trying to use BAPI_PRODORDCONF_CREATE_HDR and it works fine for planned backflush.
However, I am not able to change data of goods movement (quantity, warehouse and batch). Is it possible?
What is the function of GOODSMOVEMENTS table?
I studied the following thread but I could not solve it.
Production Order Confirmation BAPI
Does anyone have suggestions?
Thanks in advance.
MarcosHi Caetano,
Thanks for your reply.
I tested BAPI_PRODORDCONF_GET_HDR_PROP and it proposes goods movements according with open quantity of the production order. In this case, would I have to adjust all movements with actual quantity?
Is possible to propose goods movements according with confirmed quantity?
Regards,
Marcos -
Production order confirmation detail problem
Hi,
how can i get the production order confirmation detail by sending confirmation mumber alone?
in BAPI_PRODORDCONF_GETDETAIL, it need confirmation counter. but if i know confirmation number alone, how can i get the details? which BAPI shall i use to get the confirmation details by sending confirmation number alone?
regards
senthilDear Senthil,
I saw you already solved this thread.
call function 'BAPI_PRODORDCONF_GETDETAIL'
exporting
confirmation = conf_detail_2-conf_no
confirmationcounter = conf_detail_2-conf_cnt
importing
RETURN = i_return2
conf_detail = conf_detail_3 .
In this FM there has no any tables.
How can I get the details?
Could you please advice me?
Thanks in advance.
Bishnu
18/10/2011 -
URGENT: Prob with Production Order Confirmation
Hi Gurus,
I have a problem with Production Order Confirmation.
When I am confirming a Prod Order and if the components present are more than '999', then error is being thrown and Material Document Number is not being created.
I want to split the records into 500 slots and pass them at a time for the creation of the Production Order so that it doesnt throw me an error while creating a Material Document No.
While saving the Production Order confirmation order, it should split the records into 500 slots each and then create Material Document No for each slot.
Can anyone please help me out in this regard, how to solve this.
Thanks & Regards,
Harish KallaHi Harish,
This problem is addressed in OSS Note : 36353
The Symptom reads like this
==========================================================================
When you post documents using the AC interface (from SD, MM or other applications), items appear in the FI document which are identical in all or in almost all fields.
This can also cause error message F5 727 ("Maximum number of items in FI reached"). The system issues this error if more than 999 items occur in an FI document.
===========================================================================
This Note is an elaborate one..
Hence, go through this and ask your FI Consultant to help you in this regard.
All the best..
Regards,
Siva -
Production order confirmation in co11.
In co11 , I want to post balance qty while doing the production order confirmation. actually total qty issue is 10 but confirmed qty is 5 , here balance qty 5 shud be posted automatically while save the confirmation.
solved . developed the custom pgm.
-
Is possible to create a TO automatically after production order confirmation?
Hi all
I have just a question in order to know if we can configurate a procedure to a Production Order, so my question
is possible to create a TO automatically after production order confirmation in a standard enviroment?
Thanks in advance for all your commentsHi Gurus,
Thank you for your help in this case.
Process:
The customer create a production order in CO01 and then they confirm the order in CO15, after confirmation TR is created ( we can see this in LB10 ) and negative stock is created ( we can see this in LS24 ).
Requirement:
They are asking to create the TO automatically after the production order confirmation. Negative stock is afecting the process.
Workaround:
They are creating the TO in background in LB10. ( negative is fixed )
Question:
Can we create the TO automatically after confirmation in standard configuration?
if no , how can we confirm this TO .using a JOB option?
TR created after confirmation
TR header
LS24 negative units.
Regards!!
Ronald -
Price difference on cancellation of production order confirmation
Hi,
We are having a material which is maintained at price control "S". We have created a production order for the material. In due course of business, we did confirmation for say 100 pcs of the material. However, immediatly on confirmation, we realized that we do not need to do the confirmation & hence we did the cancellation of the production order confirmation using CO13.
On doing the production order confirmation cancellation, we observed that the system has posted some amount to "price difference account"
We also observed that once in a while this kind of entries do get posted.
It is requested to please let us know in why system is behaving this way?
We have checked SAP Note no 216080 "Price difference when reversing GI for S-Priced material" & SAP Note no 215980 'Price difference during GR for the production order". However we are not convinced that these could be the reason for the price difference.
Thanking you in anticipation
Regards
Santosh Kumar AgarwalHi,
Yes, you are correct in the understanding that the system creates quants in 914 when the production order confirmation is cancelled. But, it does not generate any TR or TO in the background to post the stock back into the original storage type.
Can we not use the put away strategies so that the system determines where to place the material? My query is that despite all the configurations for automatic TO creation and confirmation for movement type 262, it does not generate a TO (or TR) in the background when a production order confirmation is cancelled using CO13.
However, if I manually post a material using MB1A for 261 movement type and reverse it using 262, it generates a TO and confirms it as per the setting in configuration.
The same thing does not work when we run it through PP (CO11N and then CO13).
Any suggestions on how to approach this and where to check for missing configurations?
Thanks and Regards,
Gaurishankar -
Production order confirmation problems
My production facility has been having problems for years centered around the production order confirmation process. My colleagues and I are considering submitting an OSS note to SAP, but figured that we should present our problems in these forums before making that next step.
Here are some individual issues which I believe may be related. All of these issues occur off and on at random. They will typically occur when more users are working in the SAP system or when SAP is running slow.
- When an order is confirmed and a label is printed, sometimes the quantity on the label will be incorrect. Sometimes no label will print out at all. When the order is unconfirmed and then reconfirmed again, a label prints out with the correct quantity.
- When a confirmation is unconfirmed, the unconfirmation will not backflush the associated materials correctly. Sometimes this error will appear in CO1P for us to re-confirm, but not always.
- Sometimes confirmations will only backflush certain materials and not ALL the components within the production order. When the confirmation is unconfirmed and then reconfirmed again, the confirmation will backflush all materials correctly.
These problems occur at random intervals and never present the user with an error. Close to 100% of the time all the confirmation issues will be corrected by simply u201Cre-doingu201D the confirmation as we did the first time (no changes in the process). Only the second time around there will not be any issues. This leads me to believe there is some internal issue with SAP, perhaps involving which tables CO11N pulls from when a confirmation is made.
Any and all help is appreciated. We currently run the AFS version of SAP. This is my last stop before submitting an OSS note.Hi,
I have not worked on AFS, so consider the below as a pointer which might help:
When you post confirmations & notice that the components are not being backflushed, check in COGI it could be that there are some incorrect goods movement. You will be required to clear these entries from COGI.
I suspect that you notice these because, the confirmations are being posted even before the stock for the same has been received & hence the issue with labels as well.
Do a check on the above, if it resolves the issue, then i would suggest re-design the process to ensure you do not have COGI or COFC entries.
Also do a search in OSS for AFS specific notes on confirmation.
Hope it helps.
Regards,
Vivek -
Cancellation of Production Order confirmation (CO13) not generating TR/TO
Hi,
We are facing a typical issue in the PP-WM interface. When we create an order and confirm it (partial confirmation), the Goods movement happens (261 mvt type) as desired and the TO is created and confirmed in the background.
But, when we try to reverse the movement type (cancelling the production order confirmation using CO13) then there are no TRs or TOs generated in the background (for movement type 262).
When I manually try to post a material document for 262 movement type, it creates a TO in the background (as per the configurations that I maintained) but this does not happen when movement type 262 is called using PP interface.
The movement type configurations are all done for Automatic TR and TO generations - this works with normal IM process (when we manually post using MB1A transaction) but not with the return Goods movement happening with PP.....here, the material comes back to the interim storage type 914. We then need to create a TO manually and confirm it to take the stock back in to the original storage type and bin.
We want that when a process order confirmation is cancelled then the materials should be posted back in to the original storage type and bin (from where the material was issued against the order).
For Info: COGI shows no errors during the 262 movements, also, material document is generated for 262 movement type but no TR/TO generated.
Is there any configuration that we have missed?
Thanks and Regards,
ShankarHi,
Yes, you are correct in the understanding that the system creates quants in 914 when the production order confirmation is cancelled. But, it does not generate any TR or TO in the background to post the stock back into the original storage type.
Can we not use the put away strategies so that the system determines where to place the material? My query is that despite all the configurations for automatic TO creation and confirmation for movement type 262, it does not generate a TO (or TR) in the background when a production order confirmation is cancelled using CO13.
However, if I manually post a material using MB1A for 261 movement type and reverse it using 262, it generates a TO and confirms it as per the setting in configuration.
The same thing does not work when we run it through PP (CO11N and then CO13).
Any suggestions on how to approach this and where to check for missing configurations?
Thanks and Regards,
Gaurishankar -
User Exit For Production Order Confirmation Using CO15 or COGI
Hi all,
I need user exit for the production order confirmation so that i can set
AFPO-ELIKZ and AUFM-ELIKZ (delivery completedu2019 status flag) to Blank......
Thankshi,
check these exits.
CONFPP01 PP order conf.: Determine customer specific default values
CONFPP02 PP order conf.: Customer specific input checks 1
CONFPP03 PP order conf.: Cust. specific check after op. selection
CONFPP04 PP order conf.: Customer specific input checks 2
CONFPP05 PP order conf.: Customer specific enhancements when saving
CONFPP06 PP Order Confirmations: Actual Data Transfer
CONFPP07 Single Screen Entry: Inclusion of User-Defined Subscreens
CONFPS01 PS confirmation: Determine customer specific default values
CONFPS02 PS confirmation: Customer specific input checks 1
CONFPS03 PS confirmation: Customer specific check after op. selection
CONFPS04 PS confirmation: Customer specific input checks 2
CONFPS05 PS confirmation: Customer specific enhancements when saving
CONF0001 Enhancements in order confirmation
CONFPI01 Process order conf.: Calculate cust.specific default values
CONFPI02 Process order confirmation: Customer spec. input checks 1
CONFPI03 Process order conf.: Cust. spec. check after op. selection
CONFPI04 Process order conf.: Customer specific input checks 2
CONFPI05 Process order conf.: Cust. spec. enhancements when saving
CONFPI06 Process order confirmation: Actual data transfer
CONFPM01 PM/SM order conf.: Determine cust. specific default values
CONFPM02 PM/SM order confirmation: Customer specific input checks 1
CONFPM03 PM/SM order conf.: Cust. spec. check after op. selection
CONFPM04 PM/SM order conf.: Customer specific input check 2
CONFPM05 PM/SM order conf.: Cust. specific enhancements when saving
use the exit which contains both structures AFPO,AUFM. -
Reg: "Production order confirmation details" table name..
Hi,
what is the table name for the production order confirmation details..
Regards,
Pavan.Hi
It is the
<b>AFRU</b> table
<b>Reward points for useful Answers</b>
Regards
Anji -
BAPI to confirm the production order
Hi friends,
Can anybody tell me whats the BAPI to confirm the production order? If BAPI is not available how to create a BAPI for that?
Please help me out.
Thanks & Regards
Sireesha.Here are the list of BAPI's pertaining to confirmations
BAPI_PRODORDCONF_CREATE_ACT Enter Activity Confirmation
BAPI_PRODORDCONF_CREATE_HDR Enter Order Confirmations
BAPI_PRODORDCONF_CREATE_TE Enter Time Event Confirmation
BAPI_PRODORDCONF_CREATE_TT Enter Time Ticket Confirmation
BAPI_PRODORDCONF_EXIST_CHK Existence Check for Confirming Production Order
BAPI_PRODORDCONF_GETDETAIL Detailed Data for Production Order Confirmation
BAPI_PRODORDCONF_GETLIST Confirmations List
Regards,
Ravi
note - Please mark all the helpful answers -
BAPI/FM to confirm the Production Order
Hi Friends,
I have created the Production Order using the 'BAPI_PRODORD_CREATE'.
I also have to confirm the production order.
please provide if any BAPI/FM is available for confirming production order?
Regards,
xavier.PHi ,
Try these
BAPI_PROCORDCONF_CREATE_HDR
BAPI_PRODORDCONF_CREATE_HDR
Edited by: Selva M on Oct 22, 2009 4:37 PM
Maybe you are looking for
-
How to upgrade the 60GB Hard Drive on the G5 iMac (17")
Hi, I am running out of space on my iMac's 60GB drive and would like to upgrade it. I saw references to the type of drives (IDE vs. SATA). Anyone know what my options are for this type of upgrade? Thx, jjw
-
AMD Catalyst 11.1a Hotfix performance issues
Hey guys, has anyone noticed any performance drops in games, I had been replaying the original Crysis and had been getting around 40-42fps on max settings and after this update I'm now getting 23-25fps. I also noticed that my gpu temp isn't getting n
-
How to install X11 1.1.3 when all you have is 1.0?
Help! I just upgraded OS X 10.3.9 to 10.4.11, and almost everything seems to be fine except that can't seem to get the newest version of X11. I installed v. 1.0 that comes with the install DVD, and then I tried to get 1.1.3 (so I could download the l
-
Repair Status: Could not duplicate issue??
Step 2 Service January 11, 2013: Could not duplicate issue Step 3 Return January 11, 2013: Original product shipped I read online that someone called apple(similar service) and they were sending a replacement but his
-
LR CC 2015 will not open after installing
I installed the new application via my CC application manager and can not get LR CC 2015 open at all. Any insights? It is showing that it is installed and up to date