Update user staus on production order

Hi,
Can you please let me know if it is possible to update the user status on production order while saving.
I have tried with exit PPCO0007 but with no success.
   header_exp-astex = 'X'.
   header_exp-asttx = 'XDIS'.
I have checked exit PPCO0001,but this exit is trigerred after the log record has been saved and just before update.
So this does not serve the purpose.
Can some one advise here.
Many Thanks.
Regards,
Babul

Hi,
I see in your code, you won't fill AUFNR.
Try this because SAP check first if HEADER_IMP-AUNR = HEADER_EXP-AUFNR.
HEADER_EXP = HEADER_IMP.
header_exp-astex = 'X'.
header_exp-asttx = 'XDIS'.
Rgds

Similar Messages

  • Update Serial Numbers to Production Order

    Hi,
    Has anyone used any Function module for updating the Serial Numbers to the Production Order Header. I am using the FM - SERNR_ADD_TO_PP . The Serial Numbers needs to be assigned when doing Goods Issue in MIGO. At this point The FM is updating the Serial Numbers to Order but it is putting it in Status PMP1.
    Once the Status is PMP1 it prevents anymore Serial Number update to the same production order using the same Function module. This is preventing us from doing partial Goods Issue in MIGO.
    Is there any more Function Module that can be used to updating the Serial Nos in the Production Order.
    Regards,
    Arunava

    HI rasheed,
    Check this resolution on table control for BDC.
    https://wiki.sdn.sap.com/wiki/x/DQGqAw
    Note: Do not post the same question twice.
    Regards,
    Bhumika

  • User exit for Production Order status

    Hi all ,
    Pl tell me about the : user exit for Production Order status
    ( i want CLSD status after settlement of the Production order .)
    regards,

    Hi,
    for production order you have exits PPCO0001 - PPCO0023. In transaction SMOD you can see the documentation for all this exits. Actually I think exit PPCO0007 could be a possiblity for you. This exit is called by saving the order.
    But maybe it would be better for you to use a special status profile? A user status is set if settlement status is set.
    Also BADI WORKORDER_UPDATE could be interessting for you.
    Regards,
    Sabine

  • Bapi for update Master Data in Production order

    Dear All ,
        I am working in a car manufacturing company here production order is made month wise planning qty , but every day its Bom is get changed by Autocad/PLM interface and all changes are being recorded through ECN .
       I have to  generate daily reservation for assemblies for a perticular finish vehical ,so I need to update the Masterdata in production order no through the PLM( VB platform) interface .
      So please suggest me any BAPI so that I can update the master data regular basis in monthly production order  or if you have any better way to map this process into SAP please suggest .
    Thanks in advance .
    regards ,
    Pralay ..

    Not sure what master data in production order you want to change. Anyway if it is at header level, then evaluate BAPI - BAPI_PRODORD_CHANGE.
    Alternatively evaluate the usage of Order Change Management if it is feasible in your solution. Do a search in this forum you will find many threads on it, also read SAP help & do a test a test in your sandbox. If you face a specific issue then do revert

  • Update error while creating production order (TCODE CO01)

    Hello,
    We have created new plant into development server for testing. We have created production Order few days back at that time we have not faced any problem. But from last two days , when we create new production Order , system gives following error:
    ORA-00947: not enough values
    DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB
    SAPLCOVB" or "LCOVBF10"
    HEADER_POST"
    and
    Update was terminated
    System ID....   DEV
    Client.......   500
    User.....   HPLSU
    Transaction..   CO01
    Update key...   4B6E4F48C08D027FE1008000C0A802F3
    Generated....   08.02.2010, 10:35:48
    Completed....   08.02.2010, 10:35:49
    Error Info...   00 671: ABAP/4 processor: DBIF_RSQL_SQL_ERROR
    Our work is held up.
    Please also note that If we increase the QTY in the existing Order ( already created few days back) , System accept the same and Order is saved.
    We are looking for the solution for the above.
    Early reply will be highly appreciated.
    thanks
    harish

    Hi Rishi,
    You better check with your BASIS team.
    Check this link also
    Supervisor Error ADM0015
    Regards,
    Satyajit Kumar
    Edited by: Satyajit Kumar on Feb 8, 2010 7:47 AM

  • Updating lines in a production order

    Hi Experts,
    A customer of mine wants to have the ability to change items in production orders.
    So if a particular item is out of stock it can be replaced by another item in multiple production orders.
    I now made a add-on which can do this. Despite there is one condition that makes it impossible to update any line on the production order: This happens when the the first line of the production order has been issued for production. If this occurs it is not possible to update any other line on the production order.
    This is very rare, cause I can still update all lines (that have not been issued) in SAP so why can't I do it via DI API?
    I hope someone is familiar with this problem and can give me an advise how to solve this.
    Kind regards,
    Hendri Wessels

    Hi,
    The customer is using SAP 2007A PL49, but I also tested this issue in SAP 8.8 PL10 and it still occurs.
    Kind regards,
    Hendri Wessels

  • Update Long Text of Production Order

    Hi ABAP Gurus,
    We want to update some information in long text automatically while releasing production order.
    We try PPCO0007
    We found that we must update AUFK-LTEXT as 'E' then we can see long text via CO02, CO03.
    Without updating AUFK-LTEXT, even if the long text value saved in SXTL, but it can not be displayed via CO02, CO03.
    After saving the text using 'SAVE_TEXT' function module and commiting it we update the 'ltext' field in AUFK table.
    SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.
    wa_aufk-ltext = 'D'.
    MODIFY aufk FROM wa_aufk.
    However, it only works when we go to CO02 and press 'Save' button without changing anything.
    If we press 'release' button, AUFK-LTEXT will be overwritten by system. >_<
    What we expect system to do is that when we release production order, AUFK-LTEXT can be changed to 'E', so that we can display long text via CO02, CO03.
    Please help.
    Cheers,
    Qiang

    There is no standard SAP enhancement we can use for this purpose.
    We have developed another program to maintian the long text in production order.
    This call can be closed.
    Cheers,
    Qiang

  • User exits for production order

    Hello,
    Hope all had good weekend. I need some help and would appreciate if someone can guide me here.
    I have a requirement where I need to develop an enhancement point for production orders transaction CO02.
    The enhancement will check the user's authorization profile. Based on authorization profile, enhancement point will decide and direct 'CO02-Change production Order' OR 'ZCO02 - restricted production orders'.
    Here are few question I have related.
    1. What user exit I should use for this above requirement ? This should be triggered whenever CO02 is being called either from SAP easy access menu or from a different transaction.
    2. How can I check/read users authorization profile within this user exit/enhancement point ?
    3. Based on the profile, how do I direct to CO02 or ZCO02 ?
    Will highly appreciate if someone could please share their knowledge on this.
    Thanks,
    JMC

    Hi J,
    can u tell me whats there in ZCO02 - restricted production orders', have u seen SHD0 -->creating screen/transaction variants ?
    Disabling tabs in SHD0
    Regards
    Prabhu

  • User Exit at Production Order Release

    Hello Everyone
    Could anyone tell me if there is any particular User Exit at the Release of Production Order? I have seen the list but didnt find any appropriate one.
    Reward points Guaranteed
    Regards
    Chandra

    Hello,
    Another workaround could be to create a user status 'released' (REL) that is set at 'order release' and removed at ' reread master data' is done (just like the system status REL).
    Attach the ABAP code to the activation of the user exit.
    Other advantage is that you have another field to select in COOIS(PI). We have created user statusses in order to replicate all primary system statuses (CRTD, REL, TECO, CLSD) in order to facilitate reporting. Via this way we have a column with only one status for filtering, sorting summarizing...
    Regards,
    Philip

  • Update Itemcost from the Production order.

    Hi Experts,
    I have created a UDF(Amount) in the Production order rows, if iam entering the amount for the input item the Amount should get updated in the Itemcost of the Itemmaster data.. How to write the update statement? Is it possible to update the Average price of the item from the Production order using a UDF?
    Regards,
    Magesh.

    Magesh,
    The Item cost of an Item is managed and calculated by SAP based on the different transactions.  You should not be updating this Cost using SQL UPDATE statements.
    The times you generally change Item cost manually is when you are using Standard Cost and you want to set the Cost for the Item.  This is also possible only when there is no Quantities on Hand.
    Suda

  • User status for production order

    From which table i can get the USER STATUS for a  production order?

    Hi
    Use the TableS:
    JEST  - Pass OBJNR of the Production ORDER (AUFK, AFKO tables)
    or from
    TJ02
    TJ02T
    reard if useful
    regards,
    Anji

  • Storage location and Batch updation for components in Production Order.

    Hi Friends,
    After creating Production Order,need to update components with Storage Location(RESBD-LGORT) and Batch(RESBD-CHARG).
    Plese any one can help me by providing FM/BAPI for the same(Update Component level)
    Points will be rewarded.
    Thanks,
    Prb.

    Hi Prathap,
    Path - OCHA
    Condition type,access sequence, strategy type,
    Work on automatic batch determination. Assign standard search procedure to order type dependent parameter, check against manual entry.
    Make sort sequence for material by CU 70, tick ascending order, Then assign component in COB1, enter selection values and sort sequence. In finish product material master set automatic batch determination.
    System will copy the required material with batch & storage location, also check against manual entry.
    I think it will solve your problem.
    Regards,
    Suhas

  • User Exit : Co11n Production Order

    Hi All,
       I am having scenario in which user can do partial/full completeion of order.
    1. First i am creating Production orders through CO01.
    2. I am using trx CO11n for confirmation.
    3. I am using MB31 for relese of these orders.
    Now my requirement is that during Co11n only i want to call MB31 through exit and want to perform partial/full confirmation.
       Please suggest me any useful exit.
    With regards,
    Pravin

    Hello Pravin,
    There are couple of exits available in Co11n however u need to be careful while giving call to MB31 as both the transactions are very critical and any one failing can create problem. u will have to critically test the program once developed. One major issue which u are going to face is in case MB31 goes through and CO11n fails then what do u do with MB31 which is already commited. Think abt these issue and then take a decision.
    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

  • User Exit for Production Order confirmation with CO15

    Hi All,
    what User Exit I should use when validating batch when we do Production Order confirmation with CO15.
    Not when we create or release a Production Order.
    Will reward,
    mindaugas
    Edited by: Mindaugas Kazlauskas on Jan 30, 2008 5:03 PM

    Hi
    The Follwing Userexits available:
        Transaction Code - CO15                     Enter Production order Confirmation
    Enhancement/ Business Add-in            Description
    Enhancement
    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
    If it is helpful rewards points.
    Regards
    Pratp.M

  • 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......
    Thanks

    hi,
    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.

Maybe you are looking for

  • ExternalConnection Class an

    TransCanada PipeLines, Head Office - Ph: (403) 267-6100 Fax: (403) 267-8991 Subject: ExternalConnection Class and SMTP Hi, I am currently experimenting with using the ExternalConnection class to send Email out from Forte to an SMTP server. Has anyone

  • Images stored in BLOB, any good????

    We are planning on storing images in a Blob data type, any issues with using blobs? We will only be storing Tif images (<2 megs each). Anybody have good or bad experience using the Blob data type. How easy is it to manipulate the images once they are

  • Replacing optical drive ?

    is there any problems replacing optical drive [Superdrive] with a secondry HDD using a caddy

  • Should I worry?

    PB working fine. Suddenly there is a humming noise. Quiet but quite audible. Constant pitch, somewhat like a fluorescent ballast noise. I can think of only two things that might be doing it. A fan or the hard disk. Combo drive is empty. Is there a wa

  • Failover mode and JClient.

    Does Failover mode impace in a JClient app (both 2 and 3 tier) ? Tks Tullio