Purhcase order item change user exit

Hello all,
        I want to change the field value of purchase order item. is there any exit for changing the field value.
Regards
Srinivas
Moderator message: please do your own research before asking.
Edited by: Thomas Zloch on Dec 21, 2010 3:54 PM

Hi
For this u need to implement the ehancement spot. To achive this u need to implement the ehancement spot in include
LMEPOF7X. And modify the required field in structure mepo.
Regards,
Raghavender.

Similar Messages

  • Reset order item's user status

    Hi,
    I would like to reset an order item's user status to original after user change the user status. What function module can I use? CRM_ORDER_MAINTAIN will give me recursive short dump. Tried CRM_STATUS_MAINTAIN_OW and CRM_ORDER_CHANGE_STATUS.
    Thks.

    Hello,
    Could you please explain a little bit more what is the requirement.
    Why do you allow a user to change the user status if you want to reset it afterwards?
    Regards,
    Frédéric

  • Sales Order Item Change Date and delta flag

    is there a field for Sales Order Item Change date in MC11VAOITM?
    Also is there a flag that tell if a record is a delta or not once it is extracted to BW?

    You may be aware, any changes to a document will be recorded in CDHDR (for header changes) and CDPOS (for item changes).  You can explore these two tables.
    thanks
    G. Lakshmipathi

  • EDI order change - user exit

    Hi group
      Quick question...while doing a PO change ( IDOC_INPUT_ORDCHG)....sales order line items are to be deleted....I know that this needs to be done in a user exit...i am trying to nail down to the right user exit......
    I found only one user exit ( customer function 002 ) dealing with BDCDATA...but the problem is this one is called multiple times in the program...and I want to run this code only once....have you guys encountered similar situation / have any clue....Plz let me know

    Hi,
    I did not get your question. What is the relationship between changing PO data and deleting sales order line item.
    I do not recommend changing sales order line in some userexit while processing PO idoc. Eventhough you find an userexit to do this, when sales order line item is deleted and commit happens in not only commits the sales order data but also other outstanding updates. This might cause database inconsistency.
    Please clarify your exact requirement.
    Regards,
    RS

  • Transfer order creation Any User-Exit for item ?

    Hi all,
    I’m working with transfer order. What I’d like is to apply to the TO item my own fields.
    Is there a possibility to overwrite some of the fields of the ‘LTAP’ segment at transfer order item creation, using any enhancement (User-exit, …) ?
    Transaction used to create TO is LT43.
    I’ve try to use MWMTO001( but it doesn’t work, only for specific data (z table)).
    I’ve also try MWMTO008 ( doesn’t work for that )
    Fields I want to overwrite are VLTYP(Source storage type), VLPLA(Source Storage Bin), VPTYP, VLQNR.
    Hope someone can help me…Please ?

    Hi Erwan,
    give MWMTO004(EXIT_SAPLL03A_005) a try. It's a different event/time in document creation, but looks good comparing your fields you want to change.
    It's of course not only 'overwriting' VLTYP, VLPLA, ... but implementation of own / additional removal strategy. Might be more complicated, but sounds better for whole process.
    Regards,
    Christian

  • Service Order - Badi or User exit

    Hello,
    I am looking for a badi or user exit to change certain fields (plant, item category) at line level. This badi or UE should be executed at line level (pref. when pressing ENTER on the line as in the CHECK_VBAP for sales order).
    Preferably, it would be nice if in this UE or badi, we would be able to add service order lines to the order.
    Can anyone help me ?
    Regards,

    Hi Rob,
    Welcome to SDN.
    Please check this link for sample code on how to find user exits and BADI for a given transaction code.
    Re: how to search for enhancement(user exit) or BADI?
    Hope this will help.
    Regards,
    Ferry Lianto

  • Schedule Line Category change-USER EXIT

    REQUIREMENT:
    When saving a SALES ORDER, Change the schedule line category on the SALES ORDER from CP(Standard Availability Check) to CS(Third Party Processing u2013Trigger Purchase Requisition)
    Initially when we create the SALES ORDER, we have Schedule line category CP to generate schedule lines based on stock availability
    SO Date- 09/14/2010
    Schedule line 0001--- 09/14/2010 --- Confirmed Qty (0) --- Sched Line Categ(CP)
    Schedule line 0002--- 09/16/2010 --- Confirmed Qty (1) --- Sched Line Categ(CP)
    Config Change: We have changed the Schedule line category- CS to turn off Purchase Order Scheduling (Indicator turned off--P.req.del.scheduling)so that when we change the schedule line category, no PO scheduling happens again
    Our requirement is that when saving the sales order, we want to change both the schedule lines item category-0001/0002 from CP to CS
    SO Date- 09/14/2010
    Schedule line 0001--- 09/14/2010 --- Confirmed Qty (0) --- Sched Line Categ(CS)
    Schedule line 0002--- 09/16/2010 --- Confirmed Qty (1) --- Sched Line Categ(CS)
    After saving the order, a Purchase Requisition is generated for the Schedule Line 0002..
    MY QUESTION:
    Is this possible using the BAPI_SALESORDER_CHANGE without changing the dates on the schedule lines or deleting any schedule line
    Thanks
    Kumar

    Hello Kumar,
    Please check the User exit and let us know whether your requirment is met or not.
    #USEREXIT_MOVE_FIELD_TO_VBEP
    Use this user exit to assign values to new fields at the level of the sales document schedule lines.
    The user exit is called up at the end of the FORM routine VBEP_FUELLEN.
    Regards,
    Sarthak

  • PM Notification - Item level user-exit

    Hello there!
    I'm trying to use QQMA0008 user-exit (User Subscreen for Additional Data on Notification Item) in order to add new fields to my notification item, but system is just trying to hinder my purposes... And it's at its best!
    I've already customized my client requirements regarding to Notification Header (via QQMA0001 user exit), but I'm facing several new handicaps with the Item enhacement, so let me explain the steps I've followed and, please, make me see reason if anything is wrong with my (unfinished) procedure.
    - <b>CMOD</b>: I've created a project and add the suitable components to it. Project is active and I'm sure there's nothing wrong with it (because there are some other enhancements in it, such as the "User Subscreen for Notification Header" I've talked you about, <b>QQMA0001</b>, which is actually working as it should)
    - <b>SE80 / SCREEN PAINTER</b>: I've developed a test screen which is, in fact, associated to the user exit I'm trying to get to work: <b>SAPLXQQM 0210</b>
    - <b>IMG</b>: <i>Cross-Application Components / Notification / Notification Creation / Notification Type / Define Screen Templates / Define Screen Areas and Tabs</i> ( ? )
    What am I suposed to do right now? I mean, if I select my Item tab (<b>10\TAB10</b>), all Screen Areas (sreen blocks) are "grey" (I mean, there's no possible input for these five fields). How can I make the system know it has to show my custom screen/subscreen in the Notification Item tab? It was pretty easy when I worked with the Header, I've just used the "Aditional Data" tab (<b>10\TAB02</b>) and selected the Customer Subscreen (One Screen/Not.Type), '<b>090</b>', in the first Screen Area (it was obviously in "white" mode, I mean, allowed input mode)...
    But I just don't know what to do with the Item parametrization! Can you please help me with this matter?
    On the other hand... What do I have to do with <b>TQSUB</b> table? I've included a new line in it in order to let the system know about my Header custom dynpro (<b>SAPLXQQM 0100</b>), but now it doesn't allow me to do the same thing (and I can swear you I don't know why)!
    System displays the following error message:
    Diagnosis
    Entries in table TQSUBT cannot be edited in connection with customizing object TQSUB S as table TQSUBT does not belong to customizing object TQSUB S, according to the object definition.
    System Response
    The function terminates.
    Procedure
    Check whether the entered objects and keys are correct.
    Then check in the Implementation Guide whether the object was created correctly.
    Correct the object definition or the entry for the Transport Organizer interface.
    Any ideas?
    Thanks in advance, any help will be (kindly) appreciated.
    Greetings from Switzerland!

    Hi
    For this u need to implement the ehancement spot. To achive this u need to implement the ehancement spot in include
    LMEPOF7X. And modify the required field in structure mepo.
    Regards,
    Raghavender.

  • Settlement Rules for PP Orders - Need a user exit?

    Hello,
        We have a PP Order Type (ZSVL) that requires a sales order to create. SAP then defaults in a settlement rule with 100% to the MAT. We want to default in or alter via user exit a settlement rule with 100% to a specific fixed cost center. We cannot get SAP to default it in. We have not found a user exit that will let us alter this settlement rule, either at PP Order save or during settlement. If we can't do this then the user is forced to manually change the rule for every order entered and we want to avoid this, if possible.
    Any suggestions?
    Ideas tried already:
    PP Order exits and BADIs do not include Settlement Rules in their interfaces.
    IWO0027 settlement exit is for internal orders and does not work on PP orders
    K_SETTLEMENT_1 has limited fields to change.
    [Picasa Photos of Settlement Rule|http://picasaweb.google.com/johnnorman/SAPSettlementRule?feat=email#]
    [Alternate Link to Picasa Photos|http://picasaweb.google.com/lh/sredir?uname=johnnorman&target=ALBUM&id=5371036612659624289&authkey=Gv1sRgCNio0I2O376a_gE&feat=email]
    This is SAP 4.7 patch level 19...  behind but upgrade to 6.0 is next year...
    Thank you for your help and any ideas in advance!

    Hi,
    PP Orders should always be settled to the Material and thats the standard SAP design. From the settlement rule it is clear that you have created a Cost Center called Production Variance and the settlement is pointed to that Cost Center.
    A better design / approach would be to settle the PP Orders to MAT. And Month-End Variance calculation will categorize the variances and push to CO-PA. Variances reports could help in gathering the information regarding the variance categories and the amount of variances. (If that is the only purpose why you are settling to CTR). Currently, since you are settling the variances to the CTR, how the Cost Center is getting cleared / zeroed?
    The existing approach can be re-visited and business requirements can be analyzed to see how that can be met through what SAP delivers.
    Thanks,

  • PO stock transport order -  item change - field Customer in tab shipping

    Dear all,
    because of an existing modification it is necessary that I have to update the field customer at shipping tab of an stock transport order item when item's storage location was changed within TAC ME22N or ME21N.
    Unfortunately SAP has not implemented this functionality within BAPIs or Userexits.
    Does anyone has an idea where we have to place this modification?
    Until the installation of the last support package, the modification changed the customer within include MM06EFPV_PTV_FUELLEN, form ptv_fuellen before calling function SD_TRANSFERDATA_DETERMINE and it worked.
    Best regards and thank you for your replay!
    Michael Schleis
    PS: We are using SAP R/3 Enterprise Release 4.7 and the following Support Package
    SAP_APPL     470     0029     SAPKH47029     Logistics and Accounting
    Edited by: Michael Schleis on Mar 5, 2008 5:35 PM

    Piotr,
    You can default the shipping point in your STO based on the combination of shipping conditon (maintained in customer master), loading group (maintained in material master) and the plant in SPRO->Logistics Execution->Shipping->Basic Shipping Functions->Shipping Point and Goods Receiving Point Determination->Assign Shipping Points.
    If you don't use any of the entries (for instance if you don't use the loading group), then just leave the entry blank in config.
    Hope this helps.
    H Narayan

  • Production Order BADI or User Exit

    Hi All,
    I have a requirement in CO01 i.e when the production order is created. Once the Production order is saved,
    in CO01 the production Order data should be updated in a custom table. All this should be done in CO01.I tried to use the enhancement PPCO0007. But no use. Useful answers wll be rewarded.Please help..
    Thanks & Regards,
    Manjula.S

    Hi Manjula,
             I have searched all the exits. Actually I am not aware of this creation of production order. So, Just I am sending you the link you verify this and do some trail and error.
             Actually the exit PPCO0007 what you have mentioned is correct. But, you go and search this link......
    Re: User exit while creating a production order
    Thanks,
    Swamy Kunche

  • Field data change-User exit in PA30 & PA40

    Hi All,
    I wants to execute an rfc with following data, whenever changes maid in following fields.
    P9005/ZFIELD,    PA0002/NACHN, PA0002/VORNA,  PA0002/CNAME,
    PA0000/STAT2,   PA0041/DAR01,  PA0041/DAR02,   PA0041/DAR04,
    PA0008/TRFGR,  PA0008/TRFST,  PA0001/WERKS, HRP9103/ZZORG, PA9008/WRKLO, PA0041/DAR01
    Please guide me which user exit i can use?
    Or any other idea by which i can send those changes to XI.
    Thanks in advance

    Ok I found user exit PBAS0001 will solve all except one.
    HRP9103/ZZORG field.(field of PP02)
    null

  • Batch change user exit

    Does any one know what user exit to use when a batch is changed MSC2N. Ideally I would like to write some code when the Usage Decision in the classification view is changed in MSC2N, but if thats not possible, I dont mind using a user exit for batch change. Thanks

    tRY USE BAPI_BATCH_CHANGE
    Or You can use.
    SAPLOMCV-LOMCVU01     EXIT_SAPLOMCV_001     MGA00003     Material Master (Industry and Retail): Number Display
    SAPLOMCV-LOMCVU01     EXIT_SAPLOMCV_002     MGA00003     Material Master (Industry and Retail): Number Display
    SAPLV01D-LV01DU02     EXIT_SAPLV01D_001     SAPLV01D     Determining the initial status of a batch
    SAPLV01Z-LV01ZU05     EXIT_SAPLV01Z_001     SAPLV01Z     CFCs for internal batch number assignment
    SAPLV01Z-LV01ZU05     EXIT_SAPLV01Z_002     SAPLV01Z     CFCs for internal batch number assignment
    SAPLV01Z-LV01ZU07     EXIT_SAPLV01Z_003     SAPLV1ZE     CFCs for external batch number assignment
    SAPLV01Z-LV01ZU07     EXIT_SAPLV01Z_004     SAPLV1ZE     CFCs for external batch number assignment
    SAPLV01Z-LV01ZU13     EXIT_SAPLV01Z_005     BATCHCHK     Function Module Exits for Check in Case of Batch Changes
    SAPLV01Z-LV01ZU14     EXIT_SAPLV01Z_006     BATCHCHK     Function Module Exits for Check in Case of Batch Changes
    SAPLV01Z-LV01ZU03     EXIT_SAPLV01Z_011     SAPLV1ZN     CFCs for batch valuation in VB_CREATE_BATCH
    SAPLV01Z-LV01ZU08     EXIT_SAPLV01Z_011     SAPLV1ZN     CFCs for batch valuation in VB_CREATE_BATCH
    SAPLV01Z-LV01ZU08     EXIT_SAPLV01Z_012     SAPLV1ZN     CFCs for batch valuation in VB_CREATE_BATCH
    SAPLV01Z-LV01ZU03     EXIT_SAPLV01Z_012     SAPLV1ZN     CFCs for batch valuation in VB_CREATE_BATCH
    SAPLV01Z-LV01ZU03     EXIT_SAPLV01Z_013     SAPLV1ZN     CFCs for batch valuation in VB_CREATE_BATCH
    SAPLV01Z-LV01ZU08     EXIT_SAPLV01Z_013     SAPLV1ZN     CFCs for batch valuation in VB_CREATE_BATCH
    SAPLVBMD-LVBMDU08     EXIT_SAPLVBMD_001     SAPLMHD1     Shelf life expiration date

  • Mark a user status in production order automatically through user exit.

    Hi all,
    I have a requirement....I have a user profile which has got 4 status one of them is MFAR.
    I need to check this status through an exit automatically so that it appears in the status line
    and does not allow for goods receipt at the time of order creation through CO01 .
    I have earlier tried with EXIT_SAPLBSVA_001 but this is only for formatting the text line whether I want to display that status.So it is not working for my case.
    I could not find any exit for checking the checkbox for user status MFAR.
    Thanks and Regards
    Sweta

    Hi Anup,
    Have you used this exit for the purpose I mentioned as this is not just a simple header field it is status.
    How do I mark any user status as active through this exit. Can you give any idea?
    Thanks and Regards
    Sweta

  • TECO process order in CORK User exit (ZXCOFU10)

    Hi,
       I am trying to implement an auto-TECO process during confirmation (CNF). This process should change the process order status to TECO and also update the TECO date (AUFK-IDAT2). Using CORK userexit, EXIT_SAPLCORF_405 (ZXCOFU10), I tried using STATUS_CHANGE_FOR_ACTIVITY function module but it doesn't update AUFK-IDAT2 field.
    I tried also using BAPI_PROCORD_COMPLETE_TECH as well but there seems to be a problem using this BAPI in this userexit. I can't seem to reverse the confirmation after this process. Before the BAPI, I inserted a COMMIT WORK AND WAIT. Does this have anything to do with the problem?
    I tried using Call transaction 'COR2' but this does not work since the process order is locked to CORK.
    Is there a way to change the status of the process order to TECO during this userexit and update the TECO date (AUFK-IDAT2) as well? Is BAPI the way to go or is there another way?
    Thanks,
    Kaine

    are you passing all the key info to the RESBD table..
    Did you checked it in debug mode.
    vijay

Maybe you are looking for