Change Process Order BAPI FM?

Hi friends, can you help me with this issue?
I'm trying to change a process order (tx: cor2) but the bapi BAPI_PROCORD_CHANGE only allow me to change header data, i need to change components data (add, change, delete a material).  Any suggestions?...
Thank you very much.
Leonardo Pavia

Hi,
The BAPIs available with PO are:
BAPI_PROCORD_EXIST_CHECK
BAPI_PROCORD_CHECK_MAT_AVAIL
BAPI_PROCORD_CLOSE
BAPI_PROCORD_COMPLETE_TECH
BAPI_PROCORD_COSTING
BAPI_PROCORD_CREATE_CAP_REQ
BAPI_PROCORD_RELEASE
BAPI_PROCORD_REVOKEUSERSTATUS
BAPI_PROCORD_SCHEDULE
BAPI_PROCORD_SETUSERSTATUS
BAPI_PROCORD_SET_DELETION_FLAG
BAPI_PROCORD_SET_DEL_INDICATOR
BAPI_PROCORD_WM_MAT_STAGING
BAPI_PROCORD_CREATE
BAPI_PROCORD_CHANGE
BAPI_PROCORD_CREATE_FROM_REF
BAPI_PROCORD_CREATE_FROM_PLORD
BAPI_PROCORD_GET_LIST
BAPI_PROCORD_GET_DETAIL
Pls check if any of these work for your scenario.
Regards,
Renjith Michael.
Edited by: Renjith Michael on Jan 16, 2008 12:38 PM

Similar Messages

  • COR2 (Change Process Order) Upload & Data Change Using BAPI OR RFC

    Dear Experts,
                       I want to change the Transaction cor2(Change Process Order) material 1st line quantity, after that i have to upload records from line 2. I have all the data in itab. Will you people please have a suggestion to change and Upload data at the same time in a single program using some BAPI or RFC.
    Which BAPI or RFC will be helpfull in this regards.
    Thanks,
    Sohail

    I have done it through BDC recording, change on first line, then upload using bdc from 2nd line.

  • How to use KAUF_AUFNR_CHANGE  to change Process order and Update a field

    Hello ,
    I am working on 4.6C system and I hve a requirement to change Process order and Update a field value passed from a ABAP Program. I am looking for suitable Function modules or Bapi ( available in 4.6c) .
    I have come across FM KAUF_AUFNR_CHANGE . Would appreciate any guidance on how to use the FM in my program and Update a field in the Process order.
    Many Thanks!

    All the importing parameters of this function module have a striaght structure of the transperent tables...
    i have checked the code and it has a modify statement based on the importing parameter..
    pick one record in databas and pass it to the importing parameters, with some values changed...
    i think that should work
    what values  to pass the import values of FM -KAUF_AUFNR_CHANGE.
    Edited by: ssm on Aug 4, 2011 7:19 PM

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • Changing process orders in ecc

    hi gurus,
                  my issue is, whenever i change the process order dates in ecc(the date is changed to date that is outside my planning horizon) they dont show in the APO and instead the  APO is overriding the changes to the original date.
    can u guys help in resolving this issue.
    thanks in advance
    regards
    maddy

    Hi Maddy.
    As APO is the leading system in scheduling, the dates defined in ECC might not be retained after the order is sent over to APO. You can take a look at note
    684356 Date transfer between R/3 and APO
    for details.

  • Not Seeing BAPI_PROCORDCONF_* (Process Order BAPIs)

    I have a client that wants to use various BAPIs of the type BAPI_PROCORDCONF to load update information for Process Orders.  However we can't see these BAPIs in either BAPI Explorer or in xMII.  The client has checked the permissions and he had been given SAP_ALL and still can't see these BAPIs.  It would appear that they do not have them installed or activated, maybe.
    We can see the corresponding functional areas within SAP.  We can also see all the Production Order related BAPIs (BAPI_PRODORDCONF_*).  I know that this is not that closely related to xMII, but I am not sure where else to post this message.  Any suggestions? 
    Thanks,
    Mike

    Mike,
    Before you go learning a whole new language, check out this doc I put together some time ago on RSAQ (transaction codes SQ01, SQ02, & SQ03), reporting via MII.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/390b889b-0e01-0010-e4af-c9a062b9b880|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/390b889b-0e01-0010-e4af-c9a062b9b880]
    Hope this helps.
    Sam

  • Change process order 'Created By' field

    Hi,
    I am creating process order by planned orders through transaction COR7.
    My requirement is to change 'Created By' field.  The transaction update the Created By field with login id.
    Is there any way to  change this field with userid other than login id.
    I have already checked all the user exits used in this transaction.
    Regards,
    Seema Naharia

    Hi,
    Is the document which you want to change the “Document Created By”  referred by others?
    Is the versioning or workflow turned on in the document library ?
    Are there some other  influences  if you delete the file and upload it again?
    If the answer is “No”, I suggest you to delete the file and add again in code.  Then you can change the “Author” column of the document
    as the method what Steve.Curran said.
    SPDocumentLibrary targetLib = (SPDocumentLibrary)web.Lists["your documents"];
    SPFile file = targetLib.RootFolder.Files["your file"];
    byte[] fileBins= file.OpenBinary();
    file.Delete();
    SPUser createBy=web.EnsureUser("your user account");
    DateTime created=new DateTime (2010,1,1);
    SPUser modifiedBy=web.EnsureUser("your user account");
    DateTime modified=new DateTime (2010,1,1);
    targetLib.RootFolder.Files.Add(file.Name, fileBins, createBy, modifiedBy, created, modified);
    Hope it’s helpful to you.
    I think I can.

  • Change process order range number

    I was requested to change the current process order range number.
    Could you give some information about this?
    Pros/Cons?
    Thanks,
    Gerardo

    The Process order number range is maintained in tcode : CO82.
    Typically you change number range for various reasons like
    1. External number range required
    2. New order type created & new number range required for Rework orders
    3. Tracking certain special orders with different no range for differenciation & easy visibilty
    4. Specail no range reqd due to limitation of External System that is interfaced with SAP
    5. Different no range required for collective orders, MTO, M to stock orders etc...
    These are some of the reasons I can recollect from my experience.
    This you may take as the PROS.
    As far as CONS : 
    1. Good communication with user group needed before number range change
    2. As with any configuration change, Regression testing needed by users/ business groups before configs move to Production
    this is my 2 cents...
    hope this helps. More questions? please come back
    thanks,
    Ram

  • How to change the manual condition type value in change sales order BAPI

    Hi All,
    My scenario here is, i want to either add/change the manual condition type value during change of SO.
    When i'm trying to pass the  order_conditions_in and  order_conditions_inx tables in  'BAPI_SALESORDER_CHANGE'.
    Condition type is coming at item level but the value is setting to zero. Pls. help if anyone has any idea how to handle this.

    Siva,
       I guess you posted in Wrong Thread. You need to post in WAS section.
       check for any BAPI's available in CRM.
    Nagesh Ganisetti.

  • BAPI for Process order change

    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

  • BAPI / FM to change Sales order item data

    Hi,
    I need a BAPI or FM to update the following fields of VBAP (Sales Document Item Data)
    KZWI2 - Subtotal 2 from pricing procedure for condition
    KZWI3 - Subtotal 3 from pricing procedure for condition
    KZWI4 - Subtotal 4 from pricing procedure for condition
    KZWI5 - Subtotal 5 from pricing procedure for condition
    I found FM: ISM_SALES_ITEM_CHANGE for this, but when I use it, it gives me dump for some data object 'XJKNBK'.
    Does any one have idea on how to use this FM or if any other FM is there please let me know?
    Thanks & Regards,
    Sunanda.

    hi Sunanda..
    I think you can try the Bapi 'BAPI_SALESORDER_CHANGE'. You can make use of its Tables Parameter CONDITIONS_IN and CONDITIONS_INX.
    example:
    How to change pricing Conditions in Sales order in change sales order bapi
    thanks,
    Padma

  • Problem in reversing the released Process order.

    Hi PP Gurus,
    When I'm trying to reverse the Process order release in change process order COR2 system is not allowing me as the menu option is Gray. When I released processed order Control recipe is generated and due to some problem in PI sheet I discarded in CO60 transaction code. So can anybody please tell me how to handle this situation? I mean is this can be resolved by configuration or enhancement?
    Thanks & Regards,
    Abu Arbab

    Hi Krishna,
    Thanks for reply.
    Now tell me what should be the approach we if we don't want to delete the Process order? Say PI sheet is created and sent to it's destination through Background job and later we found some error in PI sheet so and we've discarded that PI sheet. In case when I don't want to delete or Teco Process order, what will be the process in this case?
    Thanks & Regards,
    Abu Arbab

  • Delivered Quantity problem in Process Order

    Hi,
    I m facing a following situation:
    Current Situation:
    Process order # 10000
    Order Qty 100
    Del Qty 650
    Order finally delivered
    Using auto GR functionality
    Usage decision has been posted for that batch
    Delivery against sales has been made of that batch
    Requirement:
    Now, we realize 350 Pc's are produced against that process order number, we are in the situation to reverese all the entries but want to record the remaining qty in the process order
    Your guidance will highly be appreciated in this regard.

    Hi,
    Your query is not clear. After UD, you have made Outbound delivery also for the batch???
    Also there is wrong practice, first of all your order qty is 100 but you have posted GR of 650. As per standard SAP, it is not recommended practice. You should post it as 100 only & if you want to post more qty against same order you should change Process Order qty to 650.
    Further you have not specified why you want to reverse all activities? is this batch came back from customer i.e. customer complaint or any other reason? pls clarify.
    Regards,
    Tejas

  • Process Order Screen

    Dear Guruji
    i want to change process order screen in COR2.
    my requirement is that when the process order status is CNF.the feild will be become gray so no one can change coponanet qty
    thanks
    pankaj

    Hi Pankaj,
    Try to use "Status Profile" in your order type. There u can restrict the Business Transaction as per ur requirement. Like u can give a condition that if this status come then system should not allow change or any other activity.
    Try T.Code: BS02.
    Go to object types and give the conditions.
    Hope it solve ur problem.
    Thanks
    SISL

  • Process Order accepts Confirmation & GR from BAPI even after Confirmed

    No matter what i try the formatting and CRLF go for a toss in this text.
    Hi PPPI Gurus,
    I am a beginner in this area and request your help.
    We are implementing a project where the process order Confirmation in SAP ECC 5.0 in SAP PPPI module is done using xMII which call the BAPI_PROCORD_CREATE_TT     RFC.
    The customer wants to (certain times) do a final confirmation without actually completing the order e.g if the Order Qty is 100 then, they want to just manufacture 25 and then do a final confirmation, after which SAP GUI screen does not allow any Process order Confirmations against that process order.
    We are using the BAPI_PROCORDCONF_CREATE_TTRFC to do multiple PO Confirmations and GR for particular Process order. Below is a scenario
    Case 1:
    1. Order Qty =100  ( Unlimited Delivery is not checked and tolerance is Zero).
         Which means only 100 is accepted.
    2. 100 Quantities are produced and confirmed using the BAPI_PROCORDCONF_CREATE_TT (with Final confirmation value as 1 , which mean auto confirmation)
    3. Next when the BAPI confirms & GR's against the same order, the Complete qty is not visible in the COR3 status. And is visible only in the COGI transaction.
    That is expected behavior. and i am ok with that.
    Case 2: (The one with the problem)
    1.  Order Qty =100  ( Unlimited Delivery is not checked and tolerance is Zero).
         Which means only the 100 is accepted.
    2.  25 Quantities are produced and confirmed using BAPI_PROCORDCONF_CREATE_TT (with Final Confirmation value as X , which mean Final confirmation)
    3. The Confirmation and GR go through and the status of the process order now changed is CNF and the Deliverd qty is 25.
    At this point , if you logon to SAP GUI and try to make a process order confirmation you get an error messages which says the Process Order is already confirmed and no more confirmations or GR can be done against this Process order.
    4. But when you Again Run the BAPI_PROCORDCONF_CREATE_TT, it goes ahead and confirms and makes the GR for that Process order.
    The Expected Behavior should have been that this quantity is now in the COGI transaction.
    5. The Process order  allows any number of Further confirmations till the Ordered Qty and Delivered quantity are  same .
    so dear gurus I know i have written a very long doubt but would be very happy to get a response from you. I would ideally not like to enhance or change the BAPI and want to understand if I have missed some setting or parameter that I have to pass in the BAPI for the final confirmation so that once the Status of the Process order is CNF , no more Confirmations are allowed even from the BAPI.
    Thanks in Advance.
    Regards
    Suraj
    Edited by: surajprabhu on Aug 17, 2009 6:37 AM

    Hi,
    The standard SAP will allow the GR even after the Final Confirmation. The Final Confirmation is acting as a agent to change the status of the process order to CNF. thats all.
    If you want to restrict the GR then you have to do Enhancement with  use the USer Exits. Pleas try to use the User Exits PPC00009 or MBCF0001,MBCF0005
    thanks and regards
    murugesan

Maybe you are looking for

  • RoboHelp 7 for Word versus RoboHelp 7 HTML

    RoboHelp 7 for Word versus RoboHelp 7 HTML Can someone explain very simply when and why you use one but not the other? I'm a little confused. We have RoboHelp 7 Server installed and I think using RoboHelp 7 is the way to go, and I know the server doe

  • HT204053 Need to fix my icloud email address

    Need to change my email address for my icloud.  It is sending the instructions for verifications to the wrong hotmail address, so it is going no where and I can not verify my account until I get the instructions.

  • Applying filter settings to multiple objects

    Is it possible like in Microsoft Word, Excel et al using the 'paint' icon to apply formatting settings to other objects? In Fireworks case, filter settings like drop shadow, angle etc.. ?

  • I can't get this script to produce output to the screen or a log file

    I can't get this script to produce output to the screen or a log file of the select statement results as they are executed. SET SERVEROUTPUT ON size 100000 DECLARE v_schema     Varchar2(50); v_statement      Varchar2(500); v_name varchar2(30); v_id v

  • Quick Q before posting feedback.

    Mostly find FCE no trouble at all, and I guess my issues are pretty minor in the scheme of things, but: I wish I had a spell checker (I can't spell to save my life - and have spilt beer on my keyboard so many times that my keys stick a little which d