Use exit in fs10n

Hi,
I want to add field 'lfa1-name1', vendor name in transaction FS10N- GL account line item display.  In which user_exit I can do this. Is there any other way to add it in special fields?. Pls reply.
Regards
SK

hi dhinesh.
i think there is no way to add the lfa1-name1.
i mentioned below things  whatever i tried.
go to spro configuration.
financial accounting ( new)->general ledger accounting (new)->master data->g/l accounts->line items->define special fields for line item display.
press the new entries button and press the F4 for table field.
bkpf
payr
bsec
bsed
bseg
bsegc
the above mentioned tables are valid tables for add the new fields (ie special fields )from it.
i think there is no such table lfa1 and its field name1.
i th inked, there is alternative options to display the vendor name by the payr table and its field are znme1, znme2,znme3,znme4.
but we cannot add this field bcos  the following fields  of payr table are special fields for append in structure faglposx.
BANCD Check encashment
CHECF Check number from
VBLNR Payment document no
VOIDR Void reason code ..
check the already predefined field of faglposx that compatible for lfa1-name1. note: the choosen field is not a mandatory field in faglposx ie in tcode fs10n.
for instance: reference key1, reference key2 (unnecessary fields) and here u assigned the name1.
after that u analyzed all these things.
u have to go badi by se19 t-code.
create any new badi definations from FAGL_ITEMS_CH_DATA.
IF_EX_FAGL_ITEMS_CH_DATA is an interface for a method CHANGE_ITEMS.
double click on method name on the change mode.
and u write ur coding there.
first tell u got the vendor code or not?
if any aid you have.
pls dont hesitate to ask.
regards
surender.s
Edited by: SURENDER on Jul 1, 2009 11:37 AM

Similar Messages

  • Work Center update during work order save (SAP PM) using exit IWO10009

    Hi All,
    I am updating the work center in the operation record of a work order using exit IWO1009. In the debug, the internal table for operation is updated successfully. But once the processing is done and I see the order though t-code IW33, I couldn't see the updated workcenter. And surprisingly, plant field which I am updating with work center, is getting updated in the operation and I can see this in IW33.
    Pls help.
    Thanks,
    Bhaskar

    Here is the code:
        REFRESH : lt_afvgd.
    Getting Operation details
        CALL FUNCTION 'CO_BO_OPR_OF_ORDER_GET'
          EXPORTING
            aufnr_imp = caufvd_imp-aufnr
          TABLES
            afvgd_get = lt_afvgd.
        IF caufvd_imp-AUART = lc_auart1 or caufvd_imp-AUART = lc_auart2 .
    Determination of Work Centre for Operation Relevent To PTE Eng.
          CLEAR : ls_afvgd.
          READ TABLE lt_afvgd INTO ls_afvgd WITH KEY usr00 = 'PTE'.
          IF sy-subrc eq 0.
            ls_afvgd-arbpl  = caufvd_imp-VAPLZ.
            ls_afvgd-WERKS  = caufvd_imp-VAWRK.
            MODIFY lt_afvgd  FROM ls_afvgd TRANSPORTING arbpl WERKS WHERE usr00 = 'PTE'.
          ENDIF.
        endif.
    **-- Updating operations buffer
        CALL FUNCTION 'CO_BO_UPDATE_OPR_OF_ORDER'
          TABLES
            afvgd_upd = lt_afvgd.

  • Use-exit to update

    Hi
    I seek another to use-exit to update the zone kna1-bahns.
    gv_n = 0.
      IF i_kna1-bahns IS NOT INITIAL .
      ELSE.
        gv_bahns = i_kna1-name1+0(4).
       DO gv_n TIMES.
          gv_n = gv_n + 1.
          SELECT SINGLE kunnr FROM kna1 INTO kna1-kunnr
            WHERE kunnr <> i_kna1-kunnr
            AND   bahns = gv_bahns.
          IF sy-subrc <> 0.
            i_kna1-bahns = gv_bahns.
          ELSE.
            CLEAR gv_bahns.
            CONCATENATE i_kna1-name1+0(3) gv_n into gv_bahns.
            SELECT SINGLE kunnr FROM kna1 INTO kna1-kunnr
            WHERE kunnr <> i_kna1-kunnr
            AND   bahns = gv_bahns.
          ENDIF.
       ENDDO.
      ENDIF.
    ENDIF.
    THANKS

    Apps crashing
    See:
    iOS: Troubleshooting applications purchased from the App Store
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • System asking me to fill MANDATORY fields, even I used EXIT-COMMAND for F3

    HI Experts,
    issue- there is mandatory field in the screen, so, am using the folllowing code, system asking me to fillup the mandatory field.
    then, i used exit-command, but, still its asking me to fill the mandatory fiels???????????
    code is,
    process after input.
    ***Exit command
    module cancel at exit-command.
    module cancel.
    module user_command_9001.
    module cancel input.
    case: ok_code.
    when wa_con_back.
    clear ok_code.
    set screen 0.
    leave screen.
    when wa_con_exit.
    clear ok_code.
    set screen 0.
    leave screen.
    endcase.
    endmodule. " cancel INPUT
    thanq

    I am not sure but try making a specific module for your exit handling, for instance:
    module do_exit at exit-command.
    module cancel
    module user_command_9001.
    Hope it helps you,
    Bert

  • I want to update new tasks by using exit QQMA0014 the notification  qm01

    Hi ,
      i want update some mandatory task from custom table while creating or changing the QM notifiction through tcode QM01 or QM02 by using user exit QQMA0014. am trying to update but its giving one popup message "update was terminated received from author '
    Could you pls provide me solution to update the tasks by using exit. Thanks in advance.

    Please specify your requirement clearly. Are you updating a custom table of any fields in the standard table ?

  • Could you pls help on  use exits   before  saving  the contract .

    i want to check the limitatin  before  saving the contract  in sap banking.
    for  contract creation  tcode is  FN1V or FNV1.
    Could you pls tell me the   use exits  if knows  anybody
    advance thanks.

    Hi Diva,
    use this exit.
    EXIT_SAPLFVDA_002
    if this is not suitable for u r req then go to SMOD press f4 then click on Information systems give FVVD in package then press enter.there u will get no of enhancement. search for u r rlant.
    Thanks

  • COPA Data Source: possible to enhance using exit?

    Hi BI experts,
    I got a question about if it is possible to enhance COPA data source by using user exit (just like the way to enahance other data sources in the business content).
    The background:
    I have to include several new fields in COPA data source. Since COPA data source is generated (not a data source from business content like LIS data sources).
    My questions:
    1) Is it the recommended way to enhance the existing COPA data source using exit?
    2) or it would be better to delete the existing one and create a new one with the two additional fields?
    3) any potential issue to be expected?
    Your feedback and help is highly appreciated.
    Regards,
    Sally

    Hi
    1) Is it the recommended way to enhance the existing COPA data source using exit?
    Yes, we can enhance COPA DS via User Exit, Provided the fields should be from other different tables which are not from Segment Tables.
    2) or it would be better to delete the existing one and create a new one with the two additional fields?
    If the fields are from Segment Tables, it is always better to delete the existing one and Recreate the same
    3) any potential issue to be expected?
    Appending/Enhancing fields are always bit difficult and my lead into errors in future, based on the critical functionality we use.. But I recommend DELETE THE DS AND RECREATE WITH COPA always.Hope it helps

  • Exclude a hierarchy node by using exit variable (not in query designer)

    Hi gurus!!
    I have a hierarchy for the infoObject 0COSTELMNT. Depending on the user who executes the report, the node '0599ADJUSTMENTS' must be displayed or not.
    I am trying to solve it by using an exit variable:
    Varible Type: Hierarchy Node
    Processing : Exit
    On the exit, I have entered the following code:
          IF ( sy-subrc = 0 ).
              l_s_range-sign = 'E' .
              l_s_range-opt  = 'EQ' .
              l_s_range-low = 'AJUSTES'.
              APPEND l_s_range TO e_t_range.
         ENDIF.
    But unfortunately does no work!!
    Any ideas?
    Thanks in advance
    Regards.
    Carmen Rodríguez

    Hi,
    Check the below link gives good knowledge on variables:
    http://help.sap.com/saphelp_nw04s/helpdata/en/cf/579b3c494d8e15e10000000a114084/content.htm
    Reg
    Pra

  • How to get SO data on PR creation using exit EXIT_SAPLMEQR_001 ?

    Dears,
    I have a requirement which involves activation of PR creation from SO.
    I have activated the exit EXIT_SAPLMEQR_001to assign source suply according to non standard rules.
    The thing is that I need to have the field VBAK-VTWEG (Distribution Channel) available to make my source supply assignments because vendors are classified based on field VTWEG.
    The only fields I have available are these ones:
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_BQPIM) LIKE  BQPIM STRUCTURE  BQPIM
    *"     VALUE(I_BANFN) LIKE  EBAN-BANFN OPTIONAL
    *"     VALUE(I_BNFPO) LIKE  EBAN-BNFPO OPTIONAL
    *"  TABLES
    *"      T_SOURCES STRUCTURE  SRC_DETERM
    *"  CHANGING
    *"     VALUE(C_BQPEX) LIKE  BQPEX STRUCTURE  BQPEX
    I tried to Sales Order from table EBKN...
    SELECT SINGLE VBELN INTO lv_VBELN from EBKN WHERE BANFN = EBAN-BANFN AND BNFPO = EBAN-BNFPO.
    The thing is that at the time the exit runs, the PR BANFN doesnt exist yet, thus, I cant find any reference SO.
    The only avaliable/interesting fields I have in this exit are:
    I_BQPIM-MATNR                                             810101
    I_BQPIM-WERKS                                             0050
    I_BQPIM-MATKL                                             40206
    I_BQPIM-OLDAT                                             00000000
    I_BQPIM-NEDAT                                             20101122
    I_BQPIM-BESKZ                                       
    I_BQPIM-SOBES                                       
    I_BQPIM-OLMNG                                             0.000
    I_BQPIM-NEMNG                                             1.000
    I_BQPIM-OLBSM                                             0.000
    I_BQPIM-NEBSM                                             0.000
    I_BQPIM-BSART                                             ZTPS
    I_BQPIM-BSTYP                                             B
    I_BQPIM-PSTYP                                             5
    I_BQPIM-BSAKZ                                       
    I_BQPIM-KZVBR                                             V
    I_BQPIM-KNTTP                                             Z
    I_BQPIM-SEQU                                       
    I_BQPIM-VORGA                                             B
    I_BQPIM-KUNNR                                             0000000882
    I_BANFN                                             4000000176
    I_BNFPO                                             00050
    And a list of source suppliers based on inforecords.
    Also no Distribution channel available or sales order information.
    Any ideas on how this could be achieved?
    Thank you in advance for any constructive suggestions,
    João Cabrita

    Hi John,
    Thanks for your suggestion. To be honest I also thought about a similar solution and applied it, though I thought it was not so clean as the one I used after.
    I have checked the ABAP stack and saw where we were "loosing" the VBAK-VTWEG.
    On the exit code I have done something like this:
    DATA: lv_vtweg                   TYPE vbak-vtweg,
                l_stru_name(20)       TYPE c            VALUE '(SAPFV45E)VBAK'.
    FIELD-SYMBOLS: -vtweg.
    And problem was solved.
    Cheers,
    João Cabrita

  • Regarding purchase order pricing conditions using exits or badi

    Hi friends can anybody help me and  let me know the solution.
    Please explain how the change in the pricing condition amount value should update the cost in PO.
    and which EXITS or BADI use for .
    if anybody have the solution send me reply AS SOON AS
    Thanks,
    srinivas

    OK
    But the problem is pricing conditions like transport cost. Because when I do a new purchase order the system use last transport cost and i don´t want it.
    What I want (if possible) with infoupdate is:
    - Update ( PBXX & PB00)
    - Don´t update (other conditions like transport).
    Thanks....

  • Using exit/BADI  to create settlement for the Transaction COR1

    Hi Experts,
    My Requirement is when we are creating Process Order in the Transaction COR1, Settlement Rule will be automatically created by using some User Exit or BADI to assign the cost centre, account assignment category, and settlement percentage for the setup to the Settlement Rule.
    I have tried with the User Exit: EXIT_SAPLKOBS_001 Enhancement COOM0003 and also tried with EXIT_SAPLCOI1_027 enh. IWO10027.
    The Problem is above mentioned User Exit are not triggering though I have activated project.
    What is wrong with my exit or please let us know correct User Exit or BADI?
    I appreciate every help.
    Thank you.
    Nimai

    Try with below Exits related to COR1 transaction.
    Exit Name      Description
    CCOWB001     Customer exit for modifying menu entries
    COIB0001     Customer Exit for As-Built Assignment Tool
    COZF0001     Change purchase req. for externally processed operation
    COZF0002     Change purchase req. for externally procured component
    PPCO0001     Application development: PP orders
    PPCO0002     Check exit for setting delete mark / deletion indicator
    PPCO0003     Check exit for order changes from sales order
    PPCO0004     Sort and processing exit: Mass processing orders
    PPCO0005     Storage location/backflushing when order is created
    PPCO0006     Enhancement to specify defaults for fields in order header
    PPCO0007     Exit when saving production order
    PPCO0008     Enhancement in the adding and changing of components
    PPCO0009     Enhancement in goods movements for prod. process order
    PPCO0010     Enhancement in make-to-order production - Unit of measure
    PPCO0012     Production Order: Display/Change Order Header Data
    PPCO0013     Change priorities of selection crit. for batch determination
    PPCO0015     Additional check for document links from BOMs
    PPCO0016     Additional check for document links from master data
    PPCO0017     Additional check for online processing of document links
    PPCO0018     Check for changes to production order header
    PPCO0019     Checks for changes to order operations
    PPCO0021     Release Control for Automatic Batch Determination
    PPCO0022     Determination of Production Memo
    PPCO0023     Checks Changes to Order Components
    STATTEXT     Modification exit for formatting status text lines
    Regards,
    Saurabh

  • Examples of using exit plug

    Hi there,
    I am launching a WD app via the portal UWL.  I'm using the action handler "SAPWebDynproABAPlauncher" and launching the app in a new window via the "launchinNewWindow" parameter.
    What I'm trying to achieve is being able exit this WD app and launch a new WD app. 
    I've been advised to use an exit plug in the calling WD app but I'm trying to find a working example of how to code this as I obviously need to be able to construct the URL for the new WD app and somehow pass this URL as part of the exit plug?
    I'm aware the exit plug needs to be defined as an interface outbound plug of the WD components' window but I'm stuck when it comes to how the firing of the exit plug and construction of the URL should be coded.
    Any help would be greatly appreciated.
    Michael

    Hi Michael,
    I'm not sure I understand your last question. Do you want to immediately close and exit app1 whilst launching app2.
    Are you using app1 as some sort of redirect application?
    As you mention that you are using the UWL - I'm guessing you're running within a portal?
    In which case you could also use the portal navigation API which I believe can be fired from anywhere.
    The good thing about this is that you can easily make it relative - easier to migrate through various development environments. But I guess that also depends on whether the app2 is indeed anothe WD app, whether you want to access it through the portal, use different authentication etc.
    eg:
    data lo_api_component  type ref to if_wd_component.
    data lo_portal_manager type ref to if_wd_portal_integration.
    lo_api_component = wd_comp_controller->wd_get_api( ).
    lo_portal_manager = lo_api_component->get_portal_manager( ).
    call method lo_portal_manager->navigate_absolute
      exporting
        navigation_target   = 'http://www.google.com'
        navigation_mode     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_EXTERNAL
    *    window_features     =
    *    window_name         =
    *    history_mode        = IF_WD_PORTAL_INTEGRATION=>CO_NO_DUPLICATES
    *    target_title        =
    *    context_url         =
    *    post_parameters     = ABAP_FALSE
    *    use_sap_launcher    = ABAP_TRUE
    *    business_parameters =
    *    launcher_parameters =
    hope it helps,
    Cheers,
    Chris

  • Reading Charact. Selection in Planning Level using Exit Var FM

    Hi Expert,
    i have to do a data slice with an Exit Variable that looks at selected data in the planning level and check in a custom table if the corresponding charact in the level is flagged in order to fill the variable with this value and lock data.
    Any idea of the code for reading, in an Exit Var FM, data from Charact selection in the planning level?
    Any hints will be very appreciated and rewarded.
    Tanks
    Fabio

    Hi,
    You could check the how to guide variables of type exit at:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/650ee690-0201-0010-4bb7-83c3e2a74039
    If you implement the FM 'Z_VARIABLE_GET_DETAIL' you can read the value of the variables and use this in other variables.
    Here is part of the code to use a sales organisation to filter the data from 0mat_sales..
    Get Marketing mat ind using the ZMARKIND variable in the area
      DATA:
        M_subrc like sy-subrc,
        Ms_return like bapiret2,
        M_type like upc_var-vartype,
        Mto_varsel_all type upc_yto_charsel,
        Mto_varsel type upc_yto_charsel,
        Mto_var type upc_yto_charsel,
        Mt_chavl type /BI0/PMAT_SALES occurs 0,
        Ms_chavl like line of lt_chavl,
        Mto_chanm type upc_yto_cha.
    read source value
      call function 'Z_VARIABLE_GET_DETAIL'
        EXPORTING
          i_area         = l_source_area
          i_variable     = 'ZMARKIND'
          i_buffer       = l_buffer_call
        IMPORTING
          e_subrc        = M_subrc
          es_return      = Ms_return
          e_type         = M_type
          eto_varsel_all = Mto_varsel_all
          eto_varsel     = Mto_varsel
          eto_chanm      = Mto_chanm.
      data: Ms_varsel type upc_ys_charsel,
      M_entries type i.
      if l_use_restricted_values is initial.
        lto_var = Mto_varsel_all.
      else.
        Mto_var = Mto_varsel.
      endif.
      read table Mto_var into Ms_varsel index 1.
      if sy-subrc <> 0.
        message i147(upc_fw) with M_source_var.
        exit.
      endif.
      describe table Mto_var lines l_entries.
      if l_entries <> 1.
        message i534(upc) with M_source_var.
        exit.
      endif.
    select all materials related to the Line in the source variable valid
    for the sales org in the zsorgfix variable.
      case Lso_varsel-chanm.
        when 'ZZLINE'.
          select * from /BI0/PMAT_SALES
          into table lt_chavl
          where /BIC/ZZLINE = ls_varsel-low
          and SALESORG = Gs_varsel-low
          and /BIC/ZMARKIND = ms_varsel-low
          and OBJVERS = 'A'.
        when 'ZZBRAND'.
          select * from /BI0/PMAT_SALES
          into table lt_chavl
          where /BIC/ZZBRAND = ls_varsel-low
          and SALESORG = Gs_varsel-low
          and /BIC/ZMARKIND = ms_varsel-low
          and OBJVERS = 'A'.
        when 'ZZHOUSE'.
          select * from /BI0/PMAT_SALES
          into table lt_chavl
          where /BIC/ZZHOUSE = ls_varsel-low
          and SALESORG = Gs_varsel-low
          and /BIC/ZMARKIND = ms_varsel-low
          and OBJVERS = 'A'.
      endcase.
      ls_varsel-SIGN = 'I'.
      ls_varsel-OPT = 'EQ'.
      ls_varsel-seqno = '0000'.
      ls_varsel-chanm = '0MAT_SALES'.
      loop at lt_chavl into ls_chavl.

  • Variable based on attributes of another variable (using Exit & CMOD)

    Hello,
    Another coding question (while I get the previous one to work!)
    I have a query with amongst others, 2 variables.
    one is a require year variable in the query only ZREQYEAR
    another is a module ZMODULE
    ZMODULE have two attributes
       Year of start ZYEAR_START
       Year of end ZYEAR_END
    I need to write a enhancement in CMOD which does the following.
    When the query runs, it asks the user for a year (ZREQYEAR), lets say they those 2010 for this example.
    Based on this, the enhancement needs to populate the variable for ZMODULE with entries where
    ZMODULE-ZYEAR_START = 2010
    OR
    ZMODULE-ZYEAREND = 2010
    and then display the query for just these modules.
    is this possible? if you can think of  better way then I am open!
    I am very new to CMOD and ABAP so please keep any responses in baby language!  THANKS!!

    Hi,
    You can follow the below given steps,
    1) You will have to do all the coding in enhancement RSR00001, for using this enhancement you will have to create a project in CMOD transaction and do the coding in the available EXIT.
    2) Inside the EXIT write your code for customer exit variable created on ZMODULE (You will have to create a customer exit variable on ZMODULE infoobject).
    3) In the exit use your variable name for doing coding,
    When "ZMODULE_VARIABLE".
      IF I_STEP = 2.
        Loop at i_t_var_range into wa_var_range where vname = "ZREQYEAR_VARNAME".
        wa_data-sign = 'I'.
        wa_data-option = 'EQ'.
        wa_data-low = wa_var_range-low.
        append wa_data to e_t_data.
        EXIT.
        endloop.
        Endif.
    The value of ZREQYEAR is assigned to variable created on module. You can use following document for reference,
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d]
    Regards,
    Durgesh.

  • Get PR quantity from ME21n using Exit

    Hi Masters!
    I want to get PR quantity for service PR numbers in tcode ME21N. I want to compare PO quantity with PR quantity.
    I have extracted PO quantity already using this Enhancement MM06E005, EXIT_SAPMM06E_013.
    data lw_field(50).
    FIELD-SYMBOLS: <fs_esll> TYPE esll,
    IF sy-tcode = 'ME21N'.
      ASSIGN ('(SAPLMLSP)ESLL') TO <fs_esll>. "<fs_esll>-menge contains user inputted desired PO qty
    IF <fs_esll>-menge IS NOT INITIAL.
      "compare <fs_esll>-menge (PO qty), with ________ (PR qty)
      ENDIF.
    But how to extract Service PR quantity at line item level?
    Much help is appreciated. Thank you!

    Hi,
    Are you comparing them in the exit  EXIT_SAPMM06E_013 ? if yes there is the table XBATU in the same FM ....check out the data in that table
    Thanks,
    Shailaja Ainala.

Maybe you are looking for

  • Blackberry Desktop 6.1.0.35 cannot connect to Blackberry Bold

    Blackberry Desktop version 6.1.0.35 (6/7/11 bundle 34) cannot connect to my Blackberry Bold 9650 (sw ver. 6.0 bundle 2333).  The previous Blackberry Desktop version (some flavor of 6) was working just fine. When I tried clicking "installed applicatio

  • Losing extended rights in Reader 9

    I use Acrobat 9 pro to extend rights to Reader 8/9 users to add comments etc. in PDF documents, including forms. I have recently noticed a rise in the number of users who have lost the right to edit documents after saving a couple of times. Not all c

  • Error when building a Generic Extractor

    When I try and build a Generic Extractor using the table S642 I get the following error: System setting does not allow changes to to object OSOA ZS642_INVENTORY           Why is this and how do I resolve? Thanks

  • How do I open Multiple JPG files in RAW with Elements 11

    I choose OpenAs in the editor, and set to Raw, but I can only open one file at a time. Am I doing something wrong? Dennis

  • Mobile Supply Chain Application in Vision R 12.1.1

    HI Forum, I have A Vision Demo instance running on Red-hat 5.3. How can I install / Enable "*Mobile Supply Chain Application*" and what will the port number for the telnet? Thanks in advance!