Transaction IW32 - EXIT - Order Position

Hi!,
I´m having a trouble with IW32 transaccion, I have to validate the order positions by position number, if the position number has permition to be modified, nothig happend but if it hasn´t permition i need to display an error message informing that u can´t modify the position, and then change the modified field by the old one.
I´m using the BADI:   IW01_ORDER_BADI
              METHOD: CHANGE_COSTRELEVNCY
In that method I can validate by position and I have in the Params The OLD and the NEW structure containing the position. My problem is that i cant set the vlaue in the screen, I need to replace the modified item in the screen by the old one and show the error message.
ok thats all, i hope u can understand the post, i´m an argentinian practicing english.
Bye Bye an thanx!!!

Try setting the parameter CV_SANKA of the method to 'X'.
Below is the methods documentation
You can use this method to automatically set or revoke the costing relevance of a component in a maintenance or service order.
<u>To do this, put an X in or remove it from the changing parameter CV_SANKA.</u>
-Kiran
Please mark useful answers

Similar Messages

  • Exit/Badi in the transaction of production order create or change (CO02)

    hi all,
    I need an exit/Badi in the transaction of production order create or change (preferably during SAVE).
    I want to change structure AFVGD-usr02,AFVGD-usr03 .
    <b>PPCO0007 Exit when saving production order</b>
    the exit is not applicable EXIT_SAPLCOZV_001 .

    Hi
    we around 200 exit for this tcode i found only three badi for this tcode.
    AFABD_CHANGE          Change Relationship
    CAUFVD_CHANGE        BAdI: Overall Network Scheduling with Selection Option
    SIDAT_UPDATE            Change date of price simulation.
    check with this goto se18 and F4 thn give the Package as CO.enter u get this three.
    reward pointd if use full

  • User-exit for transaction co13: PP Order Cancel Confirmation

    Hello!
    Whether prompt, please,
    exist what that user-exit for transaction co13: PP Order Cancel Confirmation?
    Thanks,
    Anton.

    Hi Antonio,
    Please check this all user exits (SMOD) available for CO13.
    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 
    Regards,
    Ferry Lianto

  • User exit or badi for transaction IW32

    Hi all,
    I am searching for user exit or badi for Transaction IW32 but not finding as per my requirement.here in transaction IW32 if field system status(STTXT) key value is 'Released', all line item components should get displayed in display mode.it should not allow to edit or change line item components.can anyone give user exit or BADI to achieve this.
    Thanks in advance.
    Regards,
    Harshada

    Hi,
    Try to use this exit:
    Enhancement     EXIT_SAPLBSVA_001     STATTEXT     Modification exit for formatting status text lines     
    Sample code:
    IF ( sy-tcode = 'IW32') .
      DATA: lv_str1   TYPE string.
      FIELD-SYMBOLS : <fs_qmart> TYPE ANY.
      lv_str1 = '(SAPLIQS0)VIQMEL-objnr'.
      ASSIGN (lv_str1) TO <fs_objnr>.
      SELECT SINGLE inact INTO lv_inact FROM jest WHERE  objnr = viqmel-objnr
                                                     AND   stat = c_stat
                                                     AND  inact = space.
        IF sy-subrc = 0.
          LOOP AT SCREEN.
              screen-input = 0.
              MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
    ENDIF.
    Alternativ badi:
    BADI     SAPLIQS0          IQS0_STATUS_MAINTAIN     Control of Changeability of User Status     
    I hope this may helpfull.
    Thanks,
    AMS

  • IW32 Work Order Enhancement Point needed!

    Hi guys, I have to populate the user define field usr00 in the structure afvgd at the save of the work order (transaction iw32).
    Unfortunatly, the BAdi workorder_update does not permit to change the data at the operation level. Same things, for the user-exit.
    I will have to used to new enhancement framework.
    I found 2 enhancement spots, es_saplcovg & es_saplcoih. I don't know which enhancement options should I use at the save of the work order to change the field usr00 at operation level, there is so many,
    thanks
    Alex

    Alex,
    We did something similar some years back using user-exit IWO10009 (at save event)
    The used the following function modules to import/export the data to/from the user-exit:
    CO_BP_AFVG_BT_FETCH
    CO_BT_AFVG_UPDATE
    You will also need to read the operation system-status to check for deleted operations (STATUS_READ_MULTI)
    A word of warning: this technique needs careful testing. It is also not recommended by SAP.
    PeteA

  • Popup during loading of transaction iw32

    Hi Experts,
    There is a requirement to show a pop up when a user enter the order and press enter in the transaction IW32.
    I found a method 'INITIALIZE' in the BADI 'WORKORDER_UPDATE' to place my code.
    The description of the code is "Initialization when Importing/Creating Order". But the method is not being called.
    Am I missing something or I have understood the method wrongly.
    Please suggest a badi or exit that can be used for this purpose.
    Thanks for your help.
    Regards,
    Daz.

    Hi Raymond,
    Can you please let me know if there is a similiar points for the transaction 'IW81'.
    Thanks in advance.
    Daz.

  • Transaction IW32.How to find out the person name.(Last changed By)

    Hi all,
    When i executed the transaction IW32.Its displays changed by and created by fields. please any body can tell me how to find out the person  name who had made last change with respect to the field changed by.
    Please tell me the table and field name for the field last changed by......
    Regards,
    Munna.

    hi,
    check the table AUFK field AENAM for the order number(AUFNR) in IW32..........

  • Adding a button in Application toolbar of Transaction IW32

    Hi ,
    I need to add a button in the Application Toolbar of standard transaction IW32,I tried copying the pf-status and adding it in the user exit exit_saplocih_006 also,but its not working.
    Please Kindly help.
    Regards,
    Ismail.

    I think you must create a copy of IW32 ( I am not wrong in SAP lingo they say repair) for example ZIW32. And add a button relevant gui status. (I have been looking Gui status of IW32 it is have more status. you must find true status)
    If you want change original source don't forget this a patch can change your code.

  • Calling 'Status' screen of transaction IW32 from report

    Hi,
    I want to display 'status overview' screen from transaction 'iw32' .
    I know how to call transaction 'iw32', but I don't know how can
    I directly go on status screen? I have order no with me.
    Can anyone help me?

    Hi,
    You can get the user status data directly from the following tables:
    Pass on the order number to JEST table to fetch the STAT (status) for which INACT field is a blank (means status those are active in the order). You will find the status in the form of E001 or I001 depending upon the user status or system status respectively.
    Now goto TJ30T table where you need to pass the status profile (STSMA) which can recovered from the order number and fetch the status text by comparaing ESTAT with the status received from JEST table. Field TXT04 in TJ30T gives the status text.
    Hope you will find this helpfull.

  • Form used in transaction iw32

    Hello,
    I'm trying to determine which form / print program is used when i print service orders from transaction IW32.
    How can I do that?
    Any help appreciated,

    Check Tcode - OID1

  • Enhancement for transaction IW32

    Hi all,
    I need to create a push button in the application area of transaction IW32 which will trigger a java application.
    Can anyone provide me with the enhancement name where i can code for its logic.
    Thanks,
    Asha

    hi,
    Thank you for that exit name but this exit will be triggered only after entering the component under the components tab in IW32. If anyone knows any other screen exit name that can help me to create a button in the application area of IW32, please let me know.
    Thanks,
    Asha

  • Transaction iw32 oorder number and personnel number.

    Hi all ,
    I want to know the table from which i can get the order number(AUFNR) and the person (PERNR )number  in the first operation block .
    The transaction to change order is  iw32 .
    thanks in advance,
    Naval Bhatt

    To reterieve PERNR for Order number
    1. Select  AUFPL from CAUFV
    2. Select PERNR from AFVC where AUFPL = CAUFV-AUFPL and BANFN <> ' '.
    Message was edited by:
            Pawan Kesari

  • In VA02 transaction which exit is triggering when saving the data

    hi all sap gurus,
    In VA02 transaction which exit is triggering when saving the data

    Hi Reddy,
    The <b>user exit</b> and badi tried for this transactions are
    V60F0001                SD Billing plan (customer enhancement) diff. to billing plan
    V46H0001     SD Customer functions for resource-related billing
    V45W0001     SD Service Management: Forward Contract Data to Item
    V45S0004     Effectivity type in sales order
    V45S0003     MRP-relevance for incomplete configuration
    V45S0001     Update sales document from configuration
    V45P0001     SD customer function for cross-company code sales
    V45L0001     SD component supplier processing (customer enhancements)
    V45E0002     Data transfer in procurement elements (PRreq., assembly)
    V45E0001     Update the purchase order from the sales order
    V45A0004     Copy packing proposal
    V45A0003     Collector for customer function modulpool MV45A
    V45A0002     Predefine sold-to party in sales document
    V45A0001     Determine alternative materials for product selection
    SDTRM001     Reschedule schedule lines without a new ATP check
    <b>Business Add-in</b>     
    BADI_SD_SCH_GETWAGFZ     Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001     SD Customer functions for resource-related billing
    <b>Reward pts if found usefull :)</b>
    Regards
    Sathish

  • Problem about Sales Order Position Status

    Hi everyone,
    I have defined a custom status profile with some custom status for my sales order positions.
    What I really need to know is how to check, from any user-exit while saving the sales order, If the status in my schema has been changed by the user, in order to execute some extra functionality.
    I would be very grateful if someone could tell me which structures should I analyze.
    Thanks in advance and best regards.
    Ben.

    If you set a breakpoint in sales order process, check the value of the following internal table
    (SAPLBSVA)jsto_buf[].
    Note:- This internal table will not get populated if user never navigates to the status screen.
    Another option is interrogating field RV45A-ASTTX. This field will store all the status that the order has.

  • Authorization for "Accept Quotation" Business Transaction in Service Order

    Hello All,
    I need of Authorization Control for doing "Accept Quotation" business transaction in Service Order.
    Process goes as follows.
    Service Order created with Planned cost components with DIP Profile
    Service Quotation got created through DP80
    Then, Accept Quotation will be done in Service Order
    Release of Service Order
    Execution, Billing, etc.,
    Here, I want to control of doing "Accept Quotation" by only authorized people.
    I couldn't find any suitable Authorization Object under I_VORG_ORD under field BETRVORG.
    We can control that business transaction through User status. Is there any other standard object available to achieve this??
    Hope I am clear in my query & looking forward your suggestions.
    Thanks in advance.

    Maheswaran KD
    Sorry, but I can't check at this client as we are not using CS processes.
    Try popping into debug mode using "/H" and put a break-point on "authority-check" before continuing.
    The program should now stop at all authorisation checks. See if any of these are suitable.
    If not, then you may need to use a user-exit or BADI.
    PeteA

Maybe you are looking for

  • How to print pallet labels in abap

    Can anyody tell me the code for printing a pallet label details from abap editor based on a handling unit and sequence count number?? Thank you

  • Dynamic Sapscript page content

    Hi Experts, I'm currently developing a Sapscript form where it should have dynamic content. i have the header of the form and the body. if the body is short, it can be be placed on the first page of the form. if the body is long and goes off the firs

  • Something missing in my understanding of layers and masks

    I've watched videos explaining layers and masks and I thought I understood what they are all about. Tried what the videos explained and had no problem duplicating things taught. Until of course being on my own and trying things out and all of a sudde

  • Issues Installing Pr Rm

    I just downloaded the installer but AIR says the file has issues and i cannot install Project Rome. Air is updated. I use  W7 SP is there issues with the language??

  • How to convert VHS  home movies to DVD?

    How do I get best quality converting VHS to DVD. I will need to use iMovie as some need heavy editing. I know I can get them into iMovie via firewire using the D/A converter on my newer Canon camcorder. My Question (s)? is /are: What settings & forma