KSB1 user exit & extra column.

Hi
How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
Thanks
Rendani

Hi,
Pls find the user exits available for the tcode :KSB1 below:
COCCA001  Customer enhancement to cost center authorization checks
COCCA002  Customer Functions for Organizational Authorization Checks
COOMEP01  CO-OM: Information system -> line item reports
COOMKA01  Customer Fields for Cost Element Master Data
COOMKS01  Customer Fields for Cost Center Master Data
COOMKS02  Cost Center: Checks When Saving
COOMKS03  Cost Center: BAPI Enhancements
COOMLA01  Customer Fields for Activity Type Master Data.
Pls reward if helpfull.
Regards,
Sharath

Similar Messages

  • KSB1  extra column or user exit to add extra fiel on report.

    Hi
    How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
    Thanks
    Rendani

    Hi,
    Please search for OSS note in market place.
    I have worked on it, but I donot remember the OSS note number.
    Thanks,
    Sriram Ponna.

  • BaDi or User-Exit for a new column in COGI

    Hi everybody,
    is there a User-Exit or a BaDi to add a new column in the TA COGI?
    Maybe anyone have an idea!
    Best regards,
    Markus

    Before Posting  Pls try to Search from the Forum...definitely will be find  ur Answer
    Pls Check the Exits Associated to  COGI
      Exit name Short text
      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
      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
    BADI Used  for COGI
    VIM_AE_BADI
    Try to Implement Ur Code in Suitable User Exit or BADI.
    Reagrds,
    SD

  • USER EXITs/BADis in VA05 transaction. Performing extra checks

    Hello gurus
    I need to perform an extra authority check in VA05 transaction. I need a USER EXTI/BADi/BTE in which I can perform the extra authority check and if the authority check fails the line shouldn´t be displayed on the starndard ALV.
    My boss does not want to create a copy of the program so I need a user exit or another way to perform this.
    Anyone can help me?
    Thank you veri much and kind regards
    Ibai Ramirez

    Hi,
    Here mentioned some of badi's and user exits,hope it will help you....
    Badi : FTR_TR_FIMA_CALLBACK
    User Exits
    FTRINCON  User exits  for confirmation status
    RFTBB001  Treasury: Posting interface
    RFTBB010  Treasury: Posting Interface Due to Cust.-Spec. Acct Determtn
    RFTBB011  Treasury: Post.Interface due to SCB Indic. and Deliver.Cntry
    RFTXX301  Customer Exit mt300 header
    RFTXX302  Customer Exit mt300 trailer
    RFTXX321  Customer Exit mt320 header
    RFTXX322  Customer Exit mt320 trailer
    SAPMFTD1  User Exit Treasury data carrier management

  • MEREQ001 User Exit Problem for ALV Columns.

    Hello,
    I am using this user exit to make changes to the Purchase requisition enjoy transaction. There is an ALV used for item details and if you use the customer CI_EBANDB include in EBAN table you can see those fields available in the alv and you can add them up using change layout.
    To make these fields editable as they remain in display always inspite of the fact that you use ME51n or ME52n.
    MM --> Purchasing --> Purchase Req -->Define Scree Layout at document level.
    is the configuration required as per a previous mail thread in the forum. However when i go to spro i am not able to see those new fields which i have added for KEY FIELD selection. Am i missing something or has anybody before done this... Could anybody guide me with the step by step process.
    Regards,
    Shekhar Kulkarni

    Hello,
    In 46C, I checked and found no user exits / BADIs for your requirement. If you are very keen of this feature, may be that you have to modify the SAP standard. Not a good option.
    Regards, Murugesh AS

  • Extra column in CS12

    Hi!
    I would like to show a new column from material master in the list generated in transaction CS12.
    I have checked these links but I cannot solve my problem:
    user exit for CS11, CS12, CS13 (BOM ALV browser)
    Add Extra Columns into Multi-Level Explode BOM (List Report)  - CS12
    Regards,
    Imanol Dehesa

    The problem started when I added my cycle count to the data file. I'm getting a cycle count but it seems like it's in the form of x,y. The data looks like this.  ,1,1.2,1.2,1.2,1.2
                                                          ,1,1.2,1.2,1.2,1.2
    This represents the first cycle. The numbers looks good, other than that leading "comma", like there's a phantom value there.
    Attachments:
    snip1.png ‏30 KB

  • User-Exit in VA41/VA42 at ITEM level for output determination?

    Hello Experts,
    Am looking for user-exit/BADI/Enhancement Spot, my requireemnt is I need to populate the output (VA41/VA42 Tx>Menu>Extras>Output>ItemEdit goes to next screen, here we hv a column with lable of Output) output with my_z_output as soon as user inputs a line item and press ENTER (if its ONLY 1 item user may press SAVE button), pls. let me know whiich is the good spot for my req. in VA41/VA42
    Thank you

    Thank you. But, functional analyst is saying its 'not' or may be some other reason!
    Pls. let me know wht is the good user-exit in VA41/VA42 to populate a value into a custom field (inserted via APPEND STRUCTURE) of a standard SAP communication structure? This is for output determination
    Thak you

  • Difference between bex user exit and macros in functionality?

    Hi all,
    I need to create a report on material master data. I created an infoset on 0material and 0mat_plant. In the requirem
    ent, I have a report containing different material numbers followed by attributes in each row. the final column in each
    row should be calculated using logic. the logic involves comparing different row values and arrive at final conclusion.
    the logic comprises of large number of if conditions. so should i use bex user exit or excel macros?
    what is the difference between user exit and macros in funcitonalilty?
    is there an issue transporting the macro to Prod for end users to use?
    any performance criteria?
    Any how to documents ..will be of a lot of help
    plz send them to [email protected]
    Message was edited by:
            ravi a

    Hi,
    Macros offer a powerful and flexible way to extend the features of MS Excel. You can either create a macro using VB code or Record a macro. Use Alt+F11 for creating macro using VB code.
    You can refer to Microsoft help site or this link for more details:
    http://www.taltech.com/support/sw_tricks/exmacros.htm
    User-exits are empty subroutines that SAP Developers have provided for you.You can fill them with your own source code.Technically this is a modification.Customer exits are nothing but a include in customer name space will be provided in the function module which starts with CALL CUSTOMER.You can fill them with your own source code.Technically this is an enhancement.
    look into following links for procedure to find and use user-exits transaction for finding user-exits is 'SMOD'
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/user_exits_tutorial.html
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm

  • How to select several values from a user exit variable in a planning folder

    Hello,
    I have created a user exit variable for limiting the values only to which the user need to access.
    For a simulation part, it is then necessary for him to select several values from these values (not only one, and not all)
    But It seems in this case the user has only two possibilities :
    - keep all the values without any restriction
    - restrain the selection to only one value.
    It seems possible for the user to access to a multiple choice window, but this possibility doesn't seems to work : in all tests we did, only the first value was taken into account by BPS.
    If this method is not good do you know an other manner to permit the user to choice several values amongst a set of pre-selected  (because the original set is too important) values ?
    Thanks for your help.

    Hi Mayank,
    Thanks for your response, but I don't think it corresponds to my problem.
    I my case, I use a user exit variable to filter some data. It seems BPS offers the possibility to the user to select several values amongts the pre-selected values presented by the user exit variable, but it doesn't work. We can use a popup in which we enters the required values, but in final, only the first value is taken into account.
    I don't know if it is due to a BPS bug or if it is not a good solution in regard to BPS philosophy. In this case, the concerned caracteristic isn't in the header but in lead columns.
    I must present a solution to my client next monday, so I have not enough time to open an OSS message.
    An alternate solution should be interesting too.
    My need is to present to a user a selection of values amongst all values from an infoobject (the user exit variable seemed to be a good solution) and the user must have the possibility to select some values amongst these as filter.
    Regards

  • Follow-up on Ravi's User Exits example

    Hi,
    Ravi's user exit example:
    You have a content data source with fields say customer,sale org, profit center and amount. You wish to add sales manager to this extractor. You <b><u>locate</u></b> the table and <u><b>field name and append that field to the extractor</b></u> and write a code to pick that field when the extractor extracts data. This piece of code is called exit. What it does is the system reads the customer code.
    In the above example explaining customer exists, regarding the field, can you clarify “locate the field”. I read that if this field were available in the LIS communication structure that would be an enhancement to the structure where we only move the field from the left to the right (extract structure). In this case an append structure will be generated in the corresponding Include structure.
    In the case of the user exit, my understanding is that the field in question, in this example, Sales Manager, is not available in the LIS Communication structure so I was expecting that you would state “create the field” but you said “locate the field”. Did you mean that, and if so, locate from where? Because if it is being located from the LIS communication structure then I would not expect a user exit, at least from my understanding.
    Thanks.

    Hi Amanda,
    Yes, a field can be created when none of the SAP defined fields are solving the issue on hand. In this case too User exits are used. These fields are then appended to the tables.
    So all fields are in some table or the other. The field that you require has to be located in these tables and appended to the extractor. This again requires User Exits.
    For LO Cockpit extractors, if the field is already available in the extracstructure in LBWE then it can be moved from left to right and no extra coding is required.
    Hope this helps.
    Kumar

  • User Exit Hiring

    Hi , I am trying to implement a userExit for Hiring Action . Lets Say the user has entered data in first 3 screens for It 0000 , It0001 .Now at screen for It00002 lets say he cancelled or exitted , then we have to delete the records PA0000,PA0001,PA0302 . I tried PBAS0001->EXIT_SAPFP50M_002 and Badi
    HRPAD00INFTY->AFTER_INPUT , but i am unable to do it.
    class cl_hr_pnnnn_type_cast definition load.
    if sy-ucomm eq 'EEND' or sy-ucomm eq 'E'.
      if ipsyst-massn eq '01'.       '" 01 hiring action
        if innnn-infty = '0002'.
    Call FM HR_INFOTYPE_OPERATION and delete records
           break-point.
        endif.
      endif.
    endif.
    But the program never gets into this include .i checked everything ,implementation active ,the user exit triggers perfect for sy-ucomm = INS.
    Any Inputs on this ?
    Thanks,
    John.

    Hi john
    you can try out dynamic action this will work for sure.ut number once genreated will be gone.
    you can read some threads on dynamic action or in sm31enter v_t588z enter infotype 0002 . you can press F1 in any column  this will help you to create a dynamic action
    reward points if helpful

  • Valuation price with user exit/BADI/Enhancement Spot (In valuation variant)

    Hi all,
    i am facing problem finding enhancement when creation of sales order of Valuation price with user exit/BADI/Enhancement Spot  (In valuation variant)
    For refferenece:
    When going to t.code VA03, select one item and go to extras in the menu bar and select costing then you find some amounts calculation i.e valuation price automatically.
    So when creation of sales order i am giving material and that material price automatically takes from material master and creating sales order.
    My customer requirement is to get the valuation price of the input material from Z-table during the sales order cost estimate.
    This Z-table contains the material code, plant , grade  of the material.
    Ex:
    Material         Plant   Grade Price
    A                1000    XYZ     25000
    A                1000    PQR     35000
    A                1000    BCD     45000
    Suppose it depends on sales document type and which grade price i have to take.
    So first of all i am unable to find enhancement where to change this code to get change the valuation price.
    Does anybody have any idea , is there any user exit/BADI/enhancement for this.
    So please help me in this issue.
    Thanks & Regards,
    lokeshgoud

    pls allow me to post the questions

  • User exit or BADI for recruitment

    Hi,
    I am new to HCM, can you give me user exit or badi for recruitment.
    Requirement - i have developed an infotype which i am updating through BSP, while the custom infotype is updated it should simultaneously update some of my Z tables. Hoping for positve replies earliest.
    Thanks in advance:-
    Santosh

    Hi,
    <b>Infotype</b>The data fields of HR master data, time management and recruitment are grouped logically into information types or infotypes for short.
    Examples of infotypes are "Family/Related Person", "Organizational Assignment, "Basic Pay".
    The following naming conventions apply to infotypes:
    Infotypes 0000 to 0999 are used for HR master data
    and sometimes for applicant data
    Infotypes 1000 - 1999 for organizational management
    Infotypes 2000 - 2999 for time data
    Infotypes 4000 - 4999 for applicant data
    Infotypes 9000 - 9999 for customers
    <b>Function character of step</b>
    This controls for which types of processing (create, change and/or delete a data record) a dynamic action should be carried out.
    The processing type is indicated by a two-digit numeric value. These values can be added up; in other words, you can enter several processing types for each infotype, subtype or field. A dynamic action can also be carried out independent of the current processing type.
    00 for Independent of the current function carried out
    02 for Change
    04 for Create
    06 for Change and create
    08 for Delete
    10 for Change and delete
    12 for Create and delete
    Examples
    If you enter 06, an action is carried out if the specified infotype was created or changed.
    If you enter 00, an action is carried out irrespective of whether the specified infotype was created, changed or deleted.
    <b>Variable function part</b>
    The variable function part, which depends on the indicator for step, can have the following meaning:
    <b>P - Plausibility checks</b>
    You can enter values for specific infotype fields. Field names must be entered in full. Literals and constants can serve as comparison values. These must be enclosed by inverted commas. Variables can also be used.
    The old value of a field can be used for comparison; the field name must be preceded by PSAVE-.
    If fields of other infotypes are used for comparison, these must be stored in the module pool of the current infotype.
    The following comparison operators are supported:
    = equal to,
    < less than,
    <= less than or equal to,
    > greater than
    >= greater than or equal to and
    <> not equal to.
    Consecutive checks must be linked by a logical AND. Logical OR links must also be indicated by a /X.
    Note:
    Note that all checks with OR links must have a /X.
    If the result of the comparison operation is not "true", then the following commands (I, F, W etc.) are skipped over until a field is reached or a new comparison operation takes place.
    Examples
    Infotype  Field ..... Ind.   Variable function part
    0007      STAT3       P      P0007-STAT3='0'
    0007      STAT3       P      PSAVE-STAT3='1'
    The step is taken if the value in the P0007-STAT3 field changes from 1 to 0.
    0007                     P      P0013-KLKZ1<>'0'/X
    0007                     P      P0013-ALVKZ<>'0'/X
    0007                     P      P0013-RVKZ1<>'0'/X
    0007                    P      P0013-RVNUM=SPACE
    The first three conditions are linked by an OR; at least one of these conditions must be met. Condition 4 must always be met.
    The step is taken if the following holds true:
    P0013-KVKZ1 not equal to 0 or P0013-ALVKZ not equal to 0 or P0013-RVKZ1 not equal to 0, and P0013-RVNUM empty.
    <b>I - Maintain infotype record</b>
    Enter the step, infotype, subtype, object ID, start and end dates of the record and an indicator which defines whether the step is to be run in the background. The possible actions are INS, COP, MOD, and DEL.
    Use commas to separate selection criteria just like the separator in the matchcode. If an entry is missing, the system inserts a comma.
    Separate the indicator for suppressing dialog from other entries by a slash D (/D).
    Constants, such as those for subtypes, are not enclosed in inverted commas.
    Variable entries are also permitted. Fields containing such values must be put in brackets.
    Examples:
    Infotype  Field ....  Ind.  Variable function part
          ....             I    INS,19,01/D
    Step: Create a Dates record, subtype 01, run in the background
          ....             I    DEL,14,M559
    Step: Delete Rec. Payments/Deds. record with subtype (wage type) M559.
    0007 ....                I    INS,8,,,(P0007-BEGDA),(P0007-ENDDA)
    Step: Create a Basic Pay record (0008) without subtype and object ID. The start and end dates are the same as those in the current Planned Working Time record (0007); specify these two fields only if they are filled because the dynamic action was triggered by this infotype.
    <b>W - Default values for new record</b>
    Literals or variables are used as default values.
    Set the defaults for the infotype, subtype, object ID, start and end dates using an I step and not a W step.
    Do not set defaults for Q fields of an infotype because the values for these fields are derived from the corresponding P fields.
    Examples
    Infotype  Subtype  ..... FC  Ind.  Variable function part
    0021       2              04  I     INS,0015,M430
    0021        2              04  W     P0015-BETRG='10000'
    When a Family/Related Person record (0021) record with subtype 2 (child) is created, an Additional Payments record (0015) with a default amount of 100.00 is created.
    <b>V - Cross-reference to another step</b>
    Here, you can combine fields to groups. The variable function part contains the value in the field which follows the "field" column. Steps which are specified only for the following field are also triggered for each of the other fields.
    Examples
    Infotype  Field  ..... FC  Ind.  Variable function part
    0016       PRBZH        06  V     PRBZT
    0016       PRBZT        06  I     DEL,0019,01/D
    Infotype 0019, subtype 01 is deleted in the background when the field PRBZT or PRBZH in infotype 0016 is changed or created (function code 06).
    The following entries are equivalent:
    0016       PRBZH        06  I     DEL,0019,01/D
    0016       PRBZT        06  I     DEL,0019,01/D
    <b>F - Call a routine</b>
    You can call internal (module pool) as well as external routines.
    If you call external routines, type the program name in brackets after the routine name. Do not specify 'using' parameters. When calling an external routine, all data must be declared in a common part. You can use the fields of structure RP50D to return values from the routine. These are not used in the standard system and can only be populated via the routine and then can be used for defaults (W-Commands).
    This allows customer-specific routines to be formulated with all the above steps.
    Example 1:
    Infotype  Field  .....  Ind.   Var.function part
    0016      PRBZT         F      PROBATION
    0016      PRBZT         I      INS,19,01
    0016      PRBZT         W      P0019-VTRMN=PRBEND
    Module pool MP001600 contains the PROBATION routine. This routine uses the entries in the fields P0016-PRBZT and P0016-PRBEH to determine the end of the probation period which it stores in the field PRBEND.
    The system creates a new 'Dates' record with the reminder date = PRBEND.
    Example 2:
    Infotyp ..... Ind. Var. function part
    0001           F      GET_DATE(ZPUDYN01)
    0001          I      INS,19,01
    0001           W      P0019-VTRMN=RP50D-DATE1
    The GET_DATE routine in program ZPUDYN01 calculates a date and enters this date in the RP50D-DATE1 field via "TABLES RP50D" in ZPUDYN01. This date can be user-defined in GET_DATE: if necessary, user-defined infotypes can be read afterwards.
    <b>M - Send a mail</b>
    Enter the name of the feature which defines the characteristics of the mail.
    Example
    Infotype  Field  .....  Ind.    Var.function part
    0001     SACHP         M       M0001
    A mail is sent when the field SACHP is changed. The characteristics of the mail are defined in feature M0001.
    In the standard system, feature M0001 is provided as a model. The documentation on feature M0001 explains how to define the characteristics of a mail.
    <b>ADDITIONAL HINTS</b>
    If you use a date as a constant, enter it as YYYYMMDD (YYYY=year, MM=month, DD=day).
    The table strings T001P, T503 and PSPAR are filled with the values which are valid on the record start date.
    The old values of the infotype are stored in the field string PSAVE. The structure of this string is the same as the Pnnnn structure (nnnn=infotype). The structure is filled with (valid) values only when the delete, change and create functions are used.
    Please read Create dynamic actions in the Implementation Guide.
    Regards
    Bernd

  • User exit to find sy-comm when user select a tab at item level data in VA02

    Hi Gurus,
    is there any user exit in VA02 in which we can find the command button pressed in the sale order line item data where we find sales A sales B .....and condition tab in the screen.
    rewards for sure.
    thanks

    Dear Mandy,
    How to find user exits:
    Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT
    If you know the Exit name, go to transaction CMOD.
    Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.
    You will now come to a screen that shows the function module exits for the exit.
    3. Using Project management of SAP Enhancements, we want to create a project to enahance trasnaction VA01 .
    - Go to transaction CMOD
    - Create a project called ZVA01
    - Choose the Enhancement assign radio button and press the Change button
    In the first column enter V45A0002 Predefine sold-to party in sales document. 
    Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
    Press Save
    Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.
    Now the function module is displayed. Double click on include ZXVVAU04 in the function module
    Insert the following code into the include: E_KUNNR = '2155'.
    Activate the include program. Go back to CMOD and activate the project. 
    Goto transaction VA01 and craete a salesorder. 
    Finding the user-exits of a SAP transaction code
    * Finding the user-exits of a SAP transaction code
    * Enter the transaction code in which you are looking for the user-exit
    * and it will list you the list of user-exits in the transaction code.
    * Also a drill down is possible which will help you to branch to SMOD.
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    *---End of Program
    Best Regards,
    Rajesh
    <b>Please award points if found helpful.</b>

  • User Exit -- To include purchase requistion/purchase order in COOIS report

    In a MTO envirnoment, trying to include purchase requistion/purchase order
    with requested delivery date information in COOIS report. Is there a
    user exit for this ?

    Hi,
    Please follow this an Example:-
    The COOIS report (Order Info System) gives the complete information regarding Production Order like header report, Operation report, Component Report, document report. 
    This document deals with the addition of extra fields in the output display of COOIS. 
    For the demo purpose, I have added the material group (MATKL) for the production order material for header report. 
    BADI Name: WORKORDER_INFOSYSTEM
    Method: TABLES_MODIFY_LAY 
    In the method TABLES_MODIFY_LAY there are many table parameters for different data display of the production order .In this scenario only the header detail structure is being extended with append structure. 
    Add the extra fields to be displayed to through append structure to IOHEADER_TAB, here MATKL. 
    In the method write the code for updating the field value. 
    DATA : BEGIN OF st_matkl,
               matkl TYPE matkl,
               END OF st_matkl.
      DATA : st_header TYPE ioheader.
      LOOP AT ct_ioheader INTO st_header.
        IF NOT st_header IS INITIAL.
          SELECT SINGLE  matkl
                 FROM mara
                 INTO st_matkl
                 WHERE matnr = st_header-matnr.
        ENDIF.
        st_header-matkl = st_matkl-matkl.
        MODIFY ct_ioheader FROM st_header.
      ENDLOOP.
    Regards,
    Ravi

Maybe you are looking for

  • How do i get sound to my mixing board?

    I am doing a media presentation and need the sound from my MacBook to connect into a sound board at a church...they have Microphone and 1/4" inputs...what do I need to do to make this work?

  • Problem in invoking BPEL APIs

    Hi Gurus, I have the following code which invokes the BPEL APIs to get the parameters. =========================================================== package project1; import com.collaxa.cube.rm.suitcase.ConfigurationsDescriptor; import com.collaxa.cube

  • Why are my thumbnails sometimes looking overexposed?

    Using CS6, infrequently and inconsistently, the thumbnails are not accurate, appearing over exposed. This mostly occurs with jpgs, made from tifs/ psds, but on rare occasion has occurred in tif/ psd too. This is not a constant issue, and I cannot fat

  • Autostart 8i on linux

    If you are having trouble autostarting oracle 8i see this link. The dbstart script provided with the linux distribution does not work. http://www.arsdigita.com/ad-training/acs-install/oracle#automating Hope it saves someone more time that I wasted!

  • Customizing excel for reports

    Hi All, I was just wondering if it is possible to customize the excel sheet, when data is displayed on excel. By customizing I mean that, when we normally run the query the data is diplayed with a sort of grayed out back ground. Here one of my client