User exit to populate data into append structure of EKET ??

Hi all,
My requirement is to extend the table EKET to add few more columns . Is there any user exit available for this ?  I tried appending a structure .After the columns are added what is the exit to be used to populated data into the new fields ?
Are there any OSS notes which will explain the process on how to extend the table EKET ?
Please help me with this .
Regards,
Varun .

Hi Varun,
You can explore this solution.
- Create new output type for purchase order (for application EF) and assign medium '8' (special function) in transaction NACT.
- Create new program (SE38) for medium '8' (special function).
REPORT ZZUPDATE_EKET MESSAGE-ID E0.
FORM SPECIAL_FUNCTION_PROCESSING USING RC
                                       US_SCREEN.
  DATA: BEGIN OF I_EKET OCCURS 0.
          INCLUDE STRUCTURE EKET.
  DATA: END OF I_EKET.
  RC = 1.
  SELECT *
  FROM EKET
  INTO TABLE I_EKET
  WHERE EBELN = NAST-OBJKY(10).
*Now you can use FM ME_UDPATE_DOCUMENT to update EKET.
ENDFORM.                    "SPECIAL_FUNCTION_PROCESSING
- Maintain condition record for above new output type (NACR) so that new message type would run upon save of purchase order.
Hope this will help and give an idea.
Regards,
Ferry Lianto

Similar Messages

  • User exit to populate data

    Hii ,
    I have to send IDOC  ORDERS05 to be extended to add custom fields and code an appropriate user exit . Is there any user exit to populate data ??
    They have told me to use RSEOUT00 program to send the orders05 idoc . My main concern is which user exit  will I use to populate data ??what are the basic steps to populate data and send the idoc  Please let me know .
    Thank you

    Hi,
    Please note that user exits provided in the function module IDOC_OUTPUT_ORDERS.
    Use T/Code SE80 and explore function group "XVED". This will give you all the user exit functions in IDOC_OUTPUT_ORDERS.
    You can write your code in Zinclude programs .
    Ex: ZXVEDU03
      CASE SEGMENT-SEGNAM.
        WHEN 'E1EDK01'.
          CLEAR: WK_PLANT, WK_EQUNR, WK_BNDDT,WI_WERKS.
          CLEAR: WK_PLANT_DONE, WK_PRICE_DONE, WK_EQUNR_DONE, WK_BNDDT_DONE.
          CLEAR: WK_BAAN_LINE_PRICE_DONE.
          CLEAR: WK_BAAN_HEAD_PRICE_DONE.
          PRICING_CTR = 3.
        WHEN 'E1EDK14'.
          MOVE SEGMENT-SDATA TO E1EDK14.
          PERFORM Z_EXIT_E1EDK14.
        WHEN 'E1EDP19'.
          XVBAP = DXVBAP.
          MOVE SEGMENT-SDATA TO E1EDP19.
          PERFORM Z_EXIT_E1EDP19.
          DXVBAP = XVBAP.
    and soon....

  • User Exit to Populate Data in Uploading Point Field of Transaction MIGO

    Hello.
    I'm looking for a User Exit or any better way if possible, to populate data in Uploading Point at Transaction MIGO.  
    Basically my client do not want to enter directly information in this field,  in order to avoid data entry errors.
    That's why I'm looking for the user exit, to populate the information and my client selected from there.
    I appreciate your help.
    Hector

    Hi
    You can use the enhancement MB_CF001 includes a function module that is called up
    immediately before the COMMIT WORK when a goods movement is posted.
    All the material document data is passed on to this function module from
    the following tables:
    o   MKPF    (Material document header)
    o   MSEG    (Material document items)
    o   VM07M   (Update data)
    This data can be passed on to other programs.
    Regards
    Antony

  • User exit for component data in ME21n/ME22n

    Hello,
    I have a requirement to issue an error message if a component quantity is not evenly divisible by the end item quantity.  The component data (BOM) is entered after clicking the components button on ME21n/ME22n at the item level detail.  I need to evaluate the data after a user clicks save, but I cannot find a user exit where the data is passed into, or where it is defined as global data where I can reference it in a user exit.  The data is stored on the screen in structure MDPM and stored in the database in table RESB.
    I appreciate any help,
    David

    Thanks for pointing me in the right direction.
    I was able to put my code in EXIT_SAPMM06E_012 and retrieve the component data through (SAPLEINK)XMDPM[]
    Below is the code I used to assign the data to be able to evaluate it.
    FIELD-SYMBOLS: <z_mdpm_x> TYPE ANY.
    DATA: i_mdpm_x TYPE STANDARD TABLE OF MDPM_X.
    Fetching Component data
      ASSIGN ('(SAPLEINK)XMDPM[]') to <z_mdpm_x>.
      CHECK sy-subrc = 0.
    Assigning data into an internal table
      i_mdpm_x[] = <z_mdpm_x>.
      CHECK i_mdpm_x[] IS NOT INITIAL.
    David
    Edited by: David Herrema on Oct 20, 2010 3:03 PM

  • How to use CrossReference and DVM in ODI &how to populate data into Xref

    Can any one tell how to use Domain Value Maps and Cross Referencing in ODI?
    DVM or Domain Value Map are created and used in ESB console of SOA suite.
    My actual requirement is as follows:
    The below steps describe loading data from ERP Application 1 to ERP Application 2.
    1. The Source Application ERP APP1, populates the interface table using their native technology.
    2. A job scheduler invokes the Source side ODI Package.
    3. ODI then extracts the data from Source Interface table and populates the Target Interface table.
    4. After populating the Target interface table the ODI populates the X-ref table with App 1 ID and generated common ID.
    5. The ODI either deletes or updates the rows that were processed from the Source interface table.
    6. On the Target Application ERP APP2, the native application extracts data from target interface table and populates target database there by generating ERP Application 2 ID.
    7. A job scheduler on the Target application invokes the ODI package to populate the Application 2 ID onto the Xref table matching on the Common ID.
    I just want to know :
    1. How to populate data into the Xref table from Source datastore
    2. And if data is successfully laoded from target datastore to actual base table of target then how to populate the target id into the cross reference table.

    can anyone suggest me some answer, then it would be of great help?

  • How to populate data into view object

    Hi all,
    I am quite new with ViewObject.
    I have one data table which is binding with view object.
    I want to populate data into view object from my managed bean.
    how can i achieve this kind of scenario?
    actually i try to get view object as in the following. but i get only null.
    ViewObject viewobject = DCIteratorBinding.getViewObject();
    With Regards,
    Wai Phyo

    Hi,
    You could use the following code snippet to get handle to view object from the iterator.
    FacesContext fc = FacesContext.getCurrentInstance();
    BindingContainer bindings =
    (BindingContainer)fc.getApplication().evaluateExpressionGet(fc,
    "#{bindings}",
    BindingContainer.class);
    DCBindingContainer bc = (DCBindingContainer)bindings;
    DCIteratorBinding iterator =
    bc.findIteratorBinding("<ITERATOR_ID>");
    ViewObject viewObject = iterator.getViewObject();
         // Perform operations on the view objectThanks,
    Navaneeth

  • V50EPROP User Exit: Foreign Trade Data Proposal

    Hello All,
    I want to use EXIT_SAPLV50E_003 from V50EPROP(User Exit: Foreign Trade Data Proposal in MM and SD) enhancement to update the EXART field of the EIPO table.
    I have written code etc and when I run the VL02n and click on the save button, my code in EXIT_SAPLV50E_003's include does not get called at all. where as the debugger I put in EXIT_SAPLV50E_006's include gets called.
    PLease tell me anything I have missed in configuration of activation of user exit?

    Hi,
    have you create and activate project from CMOD ?
    Bye
    Roberto

  • Service master user exit to populate work center description

    Hi experts,
    In IW31 work order, I need a user exit to populate the work center description to PR delivery address for control key PM03 with Service Master.  I have tried and search in vain for other BADI or user exit but none works.
    Is there anyone have solution on this?
    Thanks.
    Regards
    PSK

    My abaper has tried a few IWO1_PREQ_BADI, IW010009 and WORKORDER_UPDATE.
    Operationally, user require the work centre address as the delivery address of the services due to the company has 24 physical workshop locations.
    Anyway, will also try to create the fields in AUFK table as recommended.

  • Populate data into standard component alv from Zcomponent popup data selected

    HI All
    I have to call Zcomponent in standard component and need to pass value into Zcomponent (table) and from  Zcomponent select row and pass back to standard component.
    Steps
    1) Created Zcomponent with interface node
    2) Enhanced the standard component and create used components for  Zcomponent and make it available at component controllers and view controllers.
    When I click on Button in standard component I am calling this Zcomponent as popup window.
    My problem I when I select data in Zcomponent I need to populate the data in ALV of standard component.
    I thought of 2 methods to take my selected back and populate data into standard component ALV.
    1) Create event: EVENT1 and   Interface method Method1 and link to EVENT1
    So that I can raise this event in Zcomponent and populate the data into standard component ALV
    Problem: Under events interface checkbox is visible, when I select my enhancement implementation the interface checkbox not visible under events tab?.
    2) Create Interface method Method1 write logic to populate data into standard component ALV
    But here to when I select my enhancement implementation the interface checkbox not visible under?
    Can anyone please help me why interface checkbox is not visible or any better solution to populate the data back to standard component alv?
    Thanks
    Gopal

    Hi Gopal,
    You can achieve your requirement by using EVENTS as below
    Create an event SET_DATA in component controller of zcomponent and mark it as interface and also include the parameters like context_element( type ref to if_wd_context_element), etc as below
    Now, create an action for the event onLeadSelect of your zcomp Table and write the below code
                     DATA lo_ctx_element TYPE REF TO if_wd_context_element.
                   "get the selected row
                     lo_ctx_element = wdevent->get_context_element( name =
                        'NEW_ROW_ELEMENT' ).
                   "Raise the event with parameter
                   wd_comp_controller->fire_set_data_evt( context_element = lo_ctx_element ).
    Use the Zcomponent in your standard component and make available in std. view's properties
    Create an event handler SET_DATA method for your Zcomp's event as below
    Now, inside this method, you get the parameter CONTEXT_ELEMENT and get the data from this context element as below
                   context_element->get_attrribute( ) or
                   context_element->get_static_attributes( )
    You can populate the data into standard component based on the obtained value from Zcomponent.
    Hope this helps you.
    Regards,
    Rama

  • User Exit to Populate Document number and latest Version in ME21N

    Hi,
    I am looking to populate :
    Document Type (DRAW-DOKAR)
    Document Number (DRAW-DOKNR)
    while creating Purchase order (ME21N).
    I know the tables DRAD and DRAW can be used to get Document Info by populating EKPO-MATNR as Object key.
    But is there a user exit to populate it at the time of PO creation.
    Found a BADI Document_Number01 but that does not take EKPO-MATNR as input parameter.
    Any inputs are really appreciated.

    hi,
    check these exits.
    MM06E003                                Number range and document number
    M06B0004                                Number range and document number
    M06B0003                                Number range and document number
    also check these badi's.
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer
    ME_PURCHDOC_POSTED                      Purchasing Document Posted

  • User exit today's date vs. last week

    hi all,
    Can anyone send me the ABAP code to get the previous week data from today's date (user entry).  I created a variable in qry but i need to write the user exit code.
    I'll assign points.
    thanks

    hi SKB,
    just sent 'how to derive var doc' to [email protected],
    try
      DATA: L_S_RANGE TYPE RSR_S_RANGESID.
      DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
      CASE I_VNAM.
      WHEN 'yourvar'.
        IF I_STEP=2.    "after the popup
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
                  WHERE VNAM = 'variablename where user entry'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW - 7.
            L_S_RANGE-SIGN     = 'I'.
            L_S_RANGE-OPT      = 'EQ'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
      ENDCASE.
    hope this helps.

  • Writing data to append structure / z-fields of table lqua

    hi,
    does anyone have a clue?
    looking for a badi or user exit in order to populate append fields / z-fields on table LQUA. customer is using ECC 6.0. this needs to be done e.g. when a goods receipt is posted and a quant in the gr-zone is created initially.
    thx for an answer.
    bye rob

    hi,
    does anyone have a clue?
    looking for a badi or user exit in order to populate append fields / z-fields on table LQUA. customer is using ECC 6.0. this needs to be done e.g. when a goods receipt is posted and a quant in the gr-zone is created initially.
    thx for an answer.
    bye rob

  • How to populate data into a tabular datablock from a cursor in oracle forms

    Hello experts,
                  I am new in oracle forms.I am using Oracle forms 11g with weblogic server 10.3.5 at windows 7.My issue is that I am trying to populate data from a cursor into a tabular datablock(record number property is set to 5).I am using a button press trigger with code as:
    declare
        cursor c3 is  select empno,ename from emp;
    begin
        go_block('C');
        first_record;
        loop
        open c3;
        Fetch C3 into :c.t1,
    :c.t2;
    Exit when :system.last_record = 'TRUE';
    next_record;
    Close C3;
        End loop;
        end;
    Everything is OK here except,I have 5 record rows in C datablock but only first record is fetched into datablock.I want all records are fetched into data block
    Thank you
    regards
    aaditya

    Yes
    when i m using below query,so binary data display not display actual format
    select UTL_RAW.CAST_TO_VARCHAR2 (DBMS_LOB.SUBSTR(SOAPRTFDESC,10,1)) from soaptxsection

  • Populate data into customise field in the line item of FB60

    Hi,
    Does anyone know which BAdI/User Exit/ Implementation that i can use for populating data into the customize field in the line item of FB60?
    Thanks in advance.

    Hi,
    I have found the module to implement. But i met with one problem which is I edit the data for customise field, and modify the table xbseg. I don't know why until the point which it is needed to cast it to the screen, the data that i derived for my customise field is being deleted. Any idea why is it so?

  • User Exit for reading data from a hierarchy in BW-BPS

    Hello Forum,
    How can i fetch all the records from a particular node in a Hierarchy using a user exit in a variable in BW-BPS,
    Plz Help,
    Regards,
    KK

    Hi,
    This is a sample code that may help you.
    DATA: BEGIN OF wa_val,
            from TYPE rsleaffrom,
            to   TYPE rsleafto,
          END OF wa_val,
          tb_val LIKE wa_val OCCURS 0 WITH HEADER LINE,
          tb_grpval_ce LIKE wa_val OCCURS 0 WITH HEADER LINE,
            tb_ce_val   TYPE rshi_t_hienode,
            tb_ce_intervl TYPE rshi_t_interval,
            wa_hiedirkey TYPE rshi_s_rshiedirkey,
            tb_node_val TYPE rshi_t_hienode,
            tb_interval TYPE rshi_th_interval,
            wa_interval TYPE rshi_s_interval,
    SELECT SINGLE hieid objvers FROM /bi0/haccount
                    INTO wa_hiedirkey
                    WHERE nodename = group-name.
      CALL FUNCTION 'RSSH_HIERARCHY_READ'
        EXPORTING
          i_rshiedirkey     = wa_hiedirkey
          i_date            = sy-datum
        IMPORTING
          e_t_rsnodes       = tb_node_val
          e_th_rsinterval   = tb_interval
        EXCEPTIONS
          invalid_hierarchy = 1
          name_error        = 2
          iobj_not_found    = 3
          OTHERS            = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    thanks
    pratyush

Maybe you are looking for

  • Why can't I cut or paste in my wiki rich text editor

    the browswer does a lovely job of viewing my pbworks classroom page but i cannot type, cut, or paste in PBWorks' rich text editor mode so i can't edit from my phone and i suspect i will find the same problem when we switch to ipads next fall. any hel

  • Dual G5, no longer burns CDs

    I have a dual G5, about 4 months old. If I insert a blank CD, the CD drive whirrs for maybe 10-15 seconds, then it ejects the CD. Audio CDs play fine. Data DVDs read fine. However, blank media gets rejected. This started happening after I installed O

  • Hours in a month

    SDN, How to calculate number of hours in a month in a query. Thanks

  • How to access Invert if it is grayed out?

    I can't select Invert - it is grayed out.  I'm on page 112 (Lesson 4 Layer Basics) of the Classroom in a Book. Am following instructions step by step and working with Layer Styles but how to enable Invert?

  • OWB RAC question

    Our source and target databases are RAC servers. Is it possible to have OWB installed as single node and still use RAC capabilities of source and target database ? Basically we are hoping to install OWB as single node and define source/target locatio