Updating Ekpo by adding item level Screen Exit

Hi,
I added 2 fields at the item level of the ME21N  Screen using the following screen exit.
( SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item. )
Now I just want to update EKPO table.,. How to proceed. any body know guide me.
Thanks & Regards.
Balajee.J

Hi Mou,
In this there are four methods
1)ACTIVATE_TAB_PAGE
2)TRANSFER_DATA_TO_SUBSCREEN
3)TRANSFER_DATA_FROM_SUBSCREEN
4)PASS_FCODE_TO_SUBSCREEN
In thw first method pass the tabname,screen no,position all.
fcaption = 'C Form Details'.
fprogram = 'Z_VLO1N_HEAD'.
fdynpro = '0200'. This is the screen created and kept all custom fields
Here you the concept set and get data and move and get the values.
TRANSFER_DATA_TO_SUBSCREEN
set PARAMETER ID 'Z' FIELD  f_vbrk-ZCF.
TRANSFER_DATA_FROM_SUBSCREEN
get PARAMETER ID 'Z' FIELD   fvbrk-ZCF.
Pass all these parameters it will resolve your issue.Check and post if need help.
Regards,
Madhu.

Similar Messages

  • Error after Adding Header Zfields to Item Level Screens?

    Hi,
    When I add SLA Z fields from Node BTAdminI to the  SRQM_SLAPRO/SLASrvCtrView,. Contract related SLA data is not appearing and all fields are appearing in the mode of grade out in WEB UI.
    Few of the fields are showing  BTAdminI not bound as value.
    In the same scenario for the few of the fields I am getting below mentioned error
    BSP exception: Error converting to data object from ZZAFLD00002U
    Same error I am getting after I added Zfields (From BTADMINH) to Item Level Screen too.
    My doubt is Cant I add Header Zfields to Item Level Screens? Or/And Item Zfields to Item Header Screens
    What can be possible what is not possible. Please get some clarity on this issue.
    Thanks
    Chand

    Hi All,
    I am new to IC WEB.
    i am facing a problem while ading Zfield in Contact Screen using AET Tool.
    i am getting the error as
    BSP exception: Error converting to data object from ZZAFLD00001K
    Please help me....
    Thanks in Advance,
    Swaraj
    Edited by: swaraj sap on Oct 6, 2009 7:08 PM

  • Updating a Salesorder at Item level

    Hi All
    I am trying to update a saleorder at item level(order quantity field) thru the function module BAPI_SALEORDER_CHANGE. I have 3 items in my saleorder. I am able to update the first item but I am unable to update the schedule_lines-req_qty(order quantity field) of the second and third item.
    Can anyone plz suggest me how 2 overcome this prob.??
    Thanks in Advance
    Vijay.

    Hi Kevin
    Here is the code you were asking for.  I will repeat my problem.  The prob is: I am able to update the first item level but I am unable to update the req_qty field of the subsequent item levels.
    Expecting an early reply.....
    CODE:
    data: salesdocument like bapivbeln occurs 0 with header line,
          order_header_in like bapisdh1 occurs 0 with header line,
          order_header_inx like bapisdh1x occurs 0 with header line,
          order_item_in like bapisditm occurs 0 with header line,
          order_item_inx like bapisditmx occurs 0 with header line,
          partners like bapiparnr occurs 0 with header line,
          schedule_lines like bapischdl occurs 0 with header line,
          schedule_linesx like bapischdlx occurs 0 with header line,
          partnerchanges like BAPIPARNRC occurs 0 with header line,
          return like bapiret2 occurs 0 with header line.
    data : pur_ord_no like vbkd-vbeln.
    parameters : puro_num like vbkd-bstkd.
    start-of-selection.
    *Retrieving salesorder number by passing the purchase order number.
    select single vbeln from vbkd into pur_ord_no where bstkd = puro_num.
    salesdocument-vbeln = pur_ord_no.
    append salesdocument.
    order_header_inx-updateflag = 'U'.
    order_header_inx-sales_org = 'X'.
    order_header_inx-distr_chan = 'X'.
    order_header_inx-division = 'X'.
    order_header_inx-sales_off = 'X'.
    order_header_inx-purch_no_c = 'X'.
    order_header_inx-req_date_h = 'X'.
    order_header_inx-purch_date = 'X'.
    append order_header_inx.
    order_header_in-sales_org = 'JNJ1'.
    order_header_in-distr_chan = '02'.
    order_header_in-division = 'J1'.
    order_header_in-sales_off = 'JNJ1'.
    order_header_in-purch_no_c = 'XMLFileUpload6'.
    order_header_in-purch_date = '20060101'.
    order_header_in-req_date_h = '20060202'.
    append order_header_in.
    *partnerchanges-itm_number = '000030'.
    *partnerchanges-updateflag = 'X'.
    *partnerchanges-partn_role = 'AG'.
    *partnerchanges-p_numb_old = '0000000011'.
    *partnerchanges-p_numb_new = '0000000011'.
    *append partnerchanges.
    order_item_inx-updateflag = 'U'.
    order_item_inx-material = 'X'.
    order_item_inx-plant = 'X'.
    order_item_inx-itm_number = '000020'.
    append order_item_inx.
    schedule_linesx-updateflag = 'U'.
    schedule_linesx-req_qty = 'X'.
    schedule_linesx-itm_number = '000020'.
    SCHEDULE_LINESx-SCHED_LINE  = '0001'.
    append schedule_linesx.
    order_item_in-itm_number = '000020'.
    order_item_in-material = '000000000000000877'.
    order_item_in-plant = 'JNJ1'.
    append order_item_in.
    schedule_lines-sched_line = '0001'.
    schedule_lines-itm_number = '20'.
    schedule_lines-req_qty = 64.
    append schedule_lines.
    Calling the function module updating the salesorder.
    call function 'BAPI_SALESORDER_CHANGE'
      exporting
        salesdocument               = salesdocument
        order_header_in             = order_header_in
        order_header_inx            = order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      tables
        return                      = return
        order_item_in               = order_item_in
        order_item_inx              = order_item_inx
      PARTNERS                    =
       PARTNERCHANGES              = partnerchanges
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
        SCHEDULE_LINES              = schedule_lines
        SCHEDULE_LINESX             = schedule_linesx
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN                = conditions_in
      CONDITIONS_INX               = conditions_inx
      EXTENSIONIN                 =
        if sy-subrc ne 0.
          write: return-message,return-number,return-type.
        else.
          write: return-message,return-number,return-type.
          call function 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
             WAIT          =
             IMPORTING
             RETURN        =
        endif.
    Thanks,
    Vijay.

  • Updating a Saleorder at Item Level

    Hi All
    I am trying to update a saleorder at item level(order quantity field) thru the function module BAPI_SALEORDER_CHANGE.  I have 3 items in my saleorder.  I am able to update the first item but I am unable to update the schedule_lines-req_qty(order quantity field) of the second and third item.
    Can anyone plz suggest me how 2 overcome this prob.??
    Thanks in Advance
    Vijay.

    Hi All
    I am trying to update a saleorder at item level(order quantity field) thru the function module BAPI_SALEORDER_CHANGE.  I have 3 items in my saleorder.  I am able to update the first item but I am unable to update the schedule_lines-req_qty(order quantity field) of the second and third item.
    Can anyone plz suggest me how 2 overcome this prob.??
    Thanks in Advance
    Vijay.

  • User Exit for Updating Delivery Plant at Item Level in Sales Order

    Hello Experts
    There is a requirement to determine the delivery plant for each item level and than update the items with newly determined plant.  There is a user exit MV45AFZZ routine FORM USEREXIT_MOVE_FIELD_TO_VBAP. to update the item level entries in Sales Order in VA01 or VA02. Is this the right place to do this?, if yes , do i need to perform any other standard logic (like re determine Shipping points , schedule lines ) for newly determined plant? If not , can you please suggest any other place , BADI or user exit to change the delivery plant of sales order.
    Thanks a lot....
    -Harkamal

    Best place is MV45AFZZ-USEREXIT_SAVE_DOCUMENT_PREPARE. Populates the values just before saving the document. You can have your own deriving logic. Make sure that peice of code is trigger only for Sales Order create or change (VA01/VA02).
    Are you kidding???  You do realize that this is AFTER all validations against configuration, ATP, pricing, etc. have been performed??!!!  Never, ever change a critical value like plant in the SAVE user exits...

  • Incoming Order IDOC - updating VBKD-IHREZ_E at item level

    Hi all,
    I am trying to update field VBKD-IHREZ_E at item level from an incoming Idoc with no success yet.
    Here is first exit to store requested data from the idoc ZXVEDU03
    IF segment-segnam =  'E1EDP19'.
        xvbap = dxvbap.
        MOVE segment-sdata TO lo_e1edp19 .
        IF lo_e1edp19-qualf = '001'.
          xvbap-ihrez_e = lo_e1edp19-idtnr.
          dxvbap = xvbap.
        ENDIF.
    ENDIF.
    Here is second exit to update the sales order field ZXVEDU04:
    CASE dlast_dynpro.
      WHEN '4002'.
    WHEN '4003'.
        READ TABLE dxbdcdata WITH KEY fnam = 'VBKD-IHREZ_E'.
        IF sy-subrc NE 0.
         DATA wa_tabix TYPE syst-tabix.
          MOVE sy-tabix TO wa_tabix.
         DATA wa_dxbdcdata TYPE bdcdata.
          MOVE 'VBKD-IHREZ_E' TO wa_dxbdcdata-fnam.
          MOVE zzxvbap-ihrez_e TO wa_dxbdcdata-fval.
          INSERT wa_dxbdcdata INTO dxbdcdata INDEX wa_tabix.
        ENDIF.
      ENDIF.
    ENDCASE.
    Field is not updated in sales order. I tried to put the same logic at header lever (dynpro 4002) and it does work (though all items have the same value)
    If a good soul could help, it would be very much appreciated.
    regards,
    Bruno
    Edited by: Bruno Monconduit on Mar 8, 2011 1:08 PM

    Hi all,
    actually I had to add some extra logic in the exit to go update IHREZ_E in another dynpro 5003.
    Hereafter code implemented (works fine)
    Regards,
    Bruno
    WHEN '5003'.
            DATA: lt_vbap LIKE xvbap.
            lt_vbap = dxvbap.
    changing screen to update field
            PERFORM dynpro_setzen IN PROGRAM saplveda
            USING 'BDC_OKCODE' '=T\11'.
           PERFORM dynpro_new(saplveda) USING programm_auftrag
           '4003' CHANGING dlast_dynpro.
            PERFORM dynpro_setzen IN PROGRAM saplveda
            USING 'BDC_OKCODE' '=/00'.
            PERFORM dynpro_setzen(saplveda) USING 'VBKD-IHREZ_E'
            lt_vbap-ihrez_e.
            PERFORM dynpro_setzen IN PROGRAM saplveda
            USING 'BDC_OKCODE' '=T\06'.
    back to screen 5003
            PERFORM dynpro_new IN PROGRAM saplveda
                               USING 'SAPMV45A'
                                        '5003'
                               CHANGING last_dynpro.
           PERFORM dynpro_setzen IN PROGRAM saplveda
           USING 'BDC_OKCODE' '/EBABA'.
    Edited by: Bruno Monconduit on May 25, 2011 6:32 PM

  • Adding item level field to field catalog for a PPF for Outbound Delivery

    Hi,
    We wish to send a method call to an external system at the time of PGI of the Outbound Delivery Order for the combination of Product/Ship To combination.
    Since Product is at item level and not in the standard field catalog, I added it to the field catalog in config, defined a new condition table, access sequence, condition type and maintained it in the right Procedure/Maintenance Group (Outbound Delivery).
    Then I defined a new Action Definition, with a new method to send the details to the external system, but am confused on what Schedule Condition I should assign to this Action Definition. If I use standard Outbound Delivery Printing Schedule Condition /SCWM/FDO_PRINT, the PPF only triggers when I use the standard condition type 0DDN with the standard Access Sequence (no Product available). However if I use the new condition type (with product) with the same Schedule condition: /SCWM/FDO_PRINT, the PPF does not get triggered. The log in SLG1 simply says Condition is not fulfilled.
    Can you please suggest
    Do I need to work with my developer on building a new schedule condition which would look at the new condition technique I have condition records for? Or is there a non ABAP way of making this work?
    Lastly, if my ODO has 5 items with only 2 products which have condition record, I want the PPF to be triggered 2 times for that Outbound Delivery.

    Hi Experts,
    Any update on the above request?

  • New Price Updates for newly added Items Through VA02

    Hi All,
    Through VA02 ,If you change first date in line item we have written code in MV45AFZB(USEREXIT_NEW_PRICING_VBKD
    ) for updating price for that item.
    Now the issue is if u add one more new line item through VA02 itself..here we were not getting that line item detials.because its not yet saved.
    We want to update prices for newly added items also.

    Hi Reddy,
    For translation of any text , goto SE63 -> in menu TRANSLATION -> R/3 Enterprise - > Transport object -->
    for Transport Entry of Object : R3TR SHI3 ZABC
    then select target & source lang. click EDIT.
    Hope this helps you.
    Reagards,
    Aby

  • Adding item level validation to a field

    Hi All,
    I am new to Oracle APEX.
    I have a field named semester_code in my page and I want end user to enter only alphanumeric values. I want to create item level validation using regular expressions, but I don't know what expression to write for this purpose.
    Any help will be highly appreciated.
    Thanks
    Bilal

    Hi,
    Go to the validations section of the application builder (for the application you are working on)
    -> add item level validation
    -> select the field that you are trying to validate
    ->item string comparison
    -> select 'Item specified is alphanumeric' from list
    Chris

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

  • User Exit at PO Item level - MM06E005

    Hi
          We have requirement like we want to update 2-3 standard fields from ekpo - Purchase order item level in user exit if certain criteria met .
    I used EXIT_SAPMM06E_012 function module exit but by using this I can only check the required conditon but can not able to update data in ekpo .
    Thanks,
    Suhas

    Hi,
    You can try this.
    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.                                                    
    Thanks
    Krishna.

  • Updating Administrators(built-in) with item-level targeting on an enforced policy

    I need help with this. 
    In our Computers OU, we have an enforced GPO with a computer policy that adds local admins to the computers on our network. The policy is Computer Configuration >> Policies >> Windows Settings >> Security Settings >> Local Policies/User
    Rights Assignment >> Restricted Groups >> Group (BUILTIN\Administrators). For this example, we'll call this GPO #1.
    I need to add another user account as a local admin, but targeted to certain computers.
    I tried to edit GPO #1. I went into Computer Configuration >> Control Panel Settings > Local Users and Groups, and then added a Group with the settings >> Updating >> Administrators (built-in) & item-level targeting to the computers
    I wanted, but the setting always gets over-written by the setting that adds local admins. 
    I then tried to create a GPO with the Group update. Lets call this GPO #2. I enforced this rule, linked it to the OU, changed the order so that GPO #2 is above GPO #1, but this doesn't seem to be working.
    Is my inheritance order incorrect?
    1 is GPO #2
    2 is GPO #1
    Ideas anyone?

    > In our Computers OU, we have an enforced GPO with a computer policy that
    > adds local admins to the computers on our network. The policy is
    > Computer Configuration >> Policies >> Windows Settings >> Security
    > Settings >> Local Policies/User Rights Assignment >> Restricted Groups
    >  >> Group (BUILTIN\Administrators).
    Restricted Groups has 2 operation modes: Members and Member of. The
    first one clears out any existing members, and that's what you use right
    now. The second simply adds a group to another group and keeps all
    existing members, that's what you want to use for your additional computers.
     > I need to add another user account as a local admin, but targeted to
     > certain computers.
    To do so, you need to create a domain group that contains the related
    account(s). This domain group is "member of" local admins. And make sure
    this second GPO is linked higher (so it is processed _after_ the first
    one that clears out existing members).
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))
    Yes I know I can do this, but I can't use item-level targeting with this setup. I don't want the user account to be local admins for all computers. I only want it to be local admins for 4 of them.
    Wouldn't precedence take place in this OU if I have the GPO that adds another member as #1, and the GPO that deletes and adds as #2? It isn't working as I had thought it would.

  • Screen BADI at Item Level in FB60

    Hi,
    I need to add 'Material Group" (MATKL) field in item level similar GL Account. Material group will appear like GL account column in FB60 screen.
    I want to do without modification  with help screen BADI.
    Anyone, can suggest which BADI's method can allow to add 'MATKL' field screen?
    regards,
    Rahul Mandale

    Martin,
    We have following requirement,
    Material group should be visible for Non PO invocie screen where  MM user can select/input "material group". Once materila group is selected, with user exit GL account filed will be filled based on relationship maintained in custom table.
    Is it possible any way to add "MATKL' field in item level screen without modification?
    Your suggestion is highly appreciated.
    Regards,
    Rahul Mandale

  • Problem while updating notification at ITEM level ?

    Hi...
    I am doing an LSMW to update certain notifications at item level.
    The Function module which i am using for this purpose is ..
    IQS4_MODIFY_NOTIFICATION
    While updating the first line item of notification, it is successfully updated, but while updating the second line item of the notification and further line items, error is thrown stating .....
    "Notification is locked by the user"
    I want to release this lock of notification after every change in line item. How do i do this.
    Regards.
    Edited by: Akshay Raj on Oct 16, 2008 8:32 AM
    Edited by: Akshay Raj on Oct 16, 2008 8:43 AM

    Use userexit save_document_prepare in MV45AFZZ .
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 6:51 PM

  • Screen exit in VA01

    HI gurus,
    I need to add some custom fields in VA01 tcode in header level Additional DATA B Tab and also in item level.
    i came to know in SDN we can do it using screens 8309 & 8310. I didn't implement them before ...
    can anyone provide step by step procedure for this enhancement?
    thanks in advance
    Regards
    Giri

    Hi Giri,
    Previously in my project I also got the same requirement to use Header Level and Item Level additional B tab's for adding some extra custom fields which should be filled based on the Billing Plan data. So for this requirement I have used screen's 8309 (Header Level) and 8459 (Item Level).
    In order to use these screens you need to first of all get the access keys from the BASIS people.
    Proceed as follows.
    1. Execute SE51 and input the program name as SAPMV45A
    2. Input the Screen number as 8309 or 8310 and press change.
    3. System will ask you for the access key. Take the screen shot of the same and send it to BASIS team requesting for the access key. Similarly you'll also be needing the access keys for the following Include programs as well for Declaring Variables etc... and other processing logic.
    MV45ATZZ, MV45AOZZ, MV45AIZZ
    Similar is the procedure for Item level screen modification.
    4. Once you get the access key go ahead and change the screen to add the fields according to your requirement.
    5. After completing the layout part you need to create PBO and PAI modules starting with ZZ as prescribed by SAP and then implement them.
    Refer to the following link about User Exits prescribed by SAP.
    [http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]
    Hope this is helpful to you. Reward accordingly.
    Thanks and Regards,
    Maddineni Bharath.

Maybe you are looking for