Adding Extra field in KSB1

Hi all,
        I need to add one extra field in output of  the Report, Please tell me the procedure to add extra
field in the ALV output.
Regards
Suprith

Hi,
Create the structure CI_RKPOS and include the field you want to display in this structure .....
use the userexit COOMEP01 CO-OM: Information system -> line item reports
EXIT_SAPLKAEP_001 in this function module ......write the logic to fill that field value....
and pass the value to  CS_RECORD structure ....
your added field will be visible in the structure  CS_RECORD....
Thanks,
Shailaja Ainala.

Similar Messages

  • Form Validation using Javascript error when adding extra fields

    Hi,
    I have a form (with a few fields which require validation) which works just fine.  I have added extra fields to the form and require them to validate too.  My problem is that they are not showing via the behaviours/validation box and I can't figure out how to sort it!  They are contained within the form element.  I have tried to delate the original validation and start again but to no avail.
    Please can someone help me?
    Code below.
    Many thanks
    function MM_validateForm() { //v4.0
      var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
      for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
        if (val) { nm=val.name; if ((val=val.value)!="") {
          if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
            if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
          } else if (test!='R') { num = parseFloat(val);
            if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
            if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
              min=test.substring(8,p); max=test.substring(p+1);
              if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
        } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
      } if (errors) alert('The following error(s) occurred:\n'+errors);
      document.MM_returnValue = (errors == '');
    //-->
    <form action="contact_us.asp" method="post" name="contact" target="_parent" class="contentText" id="contact">
          <table width="100%" border="0" cellspacing="5" cellpadding="0">
            <tr>
              <td width="54%" class="subHeader">Full Name* </td>
              <td width="46%" class="subHeader"><input name="FullName" type="text" id="FullName" /></td>
            </tr>
            <tr>
              <td class="subHeader">Company Name </td>
              <td class="subHeader"><input name="CompanyName" type="text" id="CompanyName" /></td>
            </tr>
            <tr>
              <td class="subHeader">Address</td>
              <td class="subHeader"><input name="Address1" type="text" id="Address1" /></td>
            </tr>
            <tr>
              <td class="subHeader"> </td>
              <td class="subHeader"><input name="Address2" type="text" id="Address2" /></td>
            </tr>
            <tr>
              <td class="subHeader"> </td>
              <td class="subHeader"><input name="Address3" type="text" id="Address3" /></td>
            </tr>
            <tr>
              <td class="subHeader">Postcode</td>
              <td class="subHeader"><input name="Postcode" type="text" id="Postcode" /></td>
            </tr>
            <tr>
              <td class="subHeader">Telephone Number* </td>
              <td class="subHeader"><input name="Telephone" type="text" id="Telephone" /></td>
            </tr>
            <tr>
              <td class="subHeader">Mobile Number </td>
              <td class="subHeader"><input name="Mobile" type="text" id="Mobile" /></td>
            </tr>
            <tr>
              <td height="25" class="subHeader">Email Address* </td>
              <td class="subHeader"><input name="Email" type="text" id="Email" /></td>
            </tr>
            <tr>
              <td height="30" class="subHeader">Status*</td>
              <td class="subHeader"><select name="StatusClass" id="StatusClass">
                <option selected="selected">Please Choose</option>
                <option>Architect</option>
                <option>Interior Designer</option>
                <option>Private Client</option>
                <option>Student</option>
                <option>Trade Enquiry</option>
              </select>          </td>
            </tr>
            <tr>
              <td height="23" class="subHeader">Project*</td>
              <td class="subHeader"><select name="Project" size="1" id="Project">
                <option selected="selected">Please Choose</option>
                <option>Planning Stages</option>
                <option>New Build</option>
                <option>Refurbishment</option>
                <option>Barn Conversion</option>
                <option>No project - information only</option>
              </select>          </td>
            </tr>
            <tr>
              <td height="37" class="subHeader">How did you hear about us?*</td>
              <td class="subHeader"><select name="CameFrom" size="1" id="CameFrom">
                <option selected="selected">Please Choose</option>
                <option>Web Search</option>
                <option>Grand Designs</option>
                <option>Living Etc</option>
                <option>Home Building &amp; Renovation</option>
                <option>Architect</option>
                <option>Friend/Family</option>
                <option>Magazine/Editorial</option>
                <option>Newspaper Article</option>
                <option>Trade Show/Exhibition</option>
                <option>Other</option>
              </select></td>
            </tr>
            <tr>
              <td height="24" class="subHeader">Brochure Request </td>
              <td class="subHeader"><input name="Brochure" type="checkbox" id="Brochure" value="checkbox" /></td>
            </tr>
            <tr>
              <td class="subHeader">Message</td>
              <td class="subHeader"><span class="style4">
                <textarea name="Message" id="Message"></textarea>
              </span></td>
            </tr>
            <tr>
              <td class="subHeader"> </td>
              <td class="subHeader"><input name="Submit" type="submit" value="Submit" /></td>
            </tr>
            <tr>
              <td colspan="2" class="subHeader"><em>* Required fields</em></td>
            </tr>
          </table>
          </form>

    whoops..... forgot to post this line of code which was a bit further down the page...
    "MM_validateForm('name','','R','number','','RisNum');return document.MM_returnValue">

  • Adding Extra Field in INFOSET

    Hi,
    I am working on infoset which is reteriving the data through Logical Database and trying to add the field for the field description.
    It has to display the data through data element but it is not doing so .
    Actually, i had created a query which shows the data about the changes made in the Material.I am able to display all the data but not the text that shows the description of what has been made .
    Here's the code:-
    TABLES: CDPOS.
    DATA: E_DD04V LIKE DD04V OCCURS 0 WITH HEADER LINE.
    DATA: E_DD03L LIKE DD03L OCCURS 0 WITH HEADER LINE.
    DATA: P_DDTEXT LIKE DD04V-DDTEXT.
    IF CDPOS-FNAME <> 'KEY'.
        CALL FUNCTION 'GET_FIELDNAME_TEXT_1'
          EXPORTING
           I_AS4LOCAL                = 'A'
           I_AS4VERS                 = '0000'
           I_FIELDNAME               = CDPOS-FNAME
           I_TABNAME                 = CDPOS-TABNAME
          TABLES
           E_DD03L                   = E_DD03L
           E_DD04V                   = E_DD04V
         EXCEPTIONS
         ERROR_IN_PARAMETERS       = 1
         NOT_FOUND                 = 2
         OTHERS                    = 3
      ENDIF.
      IF SY-SUBRC <> 0.
         CLEAR E_DD04V-DDTEXT.
    *      ELSE.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
      IF CDPOS-FNAME = 'KEY'.
        P_DDTEXT = 'New Entry Made'.
      ELSE.
        P_DDTEXT = E_DD04V-DDTEXT.
      ENDIF.
    Please provide me guidelines to solve this problem.
    Edited by: ricx .s on Jul 15, 2009 11:37 AM

    Hi,
    Currently i am doing the following:-
    I had created a Logical Data Base where i had made the logic for the Changes Made To Material. I am fetching the data from the following tables:-
    MARA,MAKT,CDHDR AND CDPOS.
    As i am checking the LDB it is working fine as i had verified the data and i follow the whole procdeure to make Query and then generated it,it is working fine. But when i try to add the extra field (which shows the description what change has been made,it give errors for it).
    Please provide me guidelines to solve this problem.

  • Adding extra Field to a Infoset Query

    Hi Experts,
      I need to add an extra field to a SAP Query(infoset). SInce the code uses a dynamic program call, how do I add my code . Can I have some example code used to add extra field to a SAP Query

    Hi Mithun and gurus,
    My code is working now for these 3 new additional fields. The thing is it works if these fields were selected solo. but if all of these 3 or 2 of it simultaneously, an error occurs.
    Error when generating the report (see long text)
    Message no. AQ_AD_HOC221
    Diagnosis
    The report cannot be generated because the internal description is invalid or incomplete, or because the selection screen is too large.
    Regenerate the assigned InfoSet, and read the log. If the InfoSet is OK, make sure that at least one field is given as output.
    If you used the 'Refresh' icon to start the query, use the 'Output' menu option to execute the query. This gives you a full screen display of the data.
    If an output was generated, the query cannot work with actual data in the construction view. In this case, always use the 'Output' function to execute the query.
    Procedure
    If the selection screen is too large, you need to reduce the number of your selections.
    Make sure that the assigned InfoSet is correct. The name of the assigned InfoSet is stored in the menu option 'Extras -> Template Information'.
    Output at least one field. Otherwise you will not be able to save or generate reports.
    If you do not have this problem, execute the query using the 'Output' function.
    Otherwise, there is an error in the InfoSet Query.
    >>>I checked and the code seems fine at least. I think there must be something I need to configure. I tried the SEQUENCE for Codes but nothing happens..
    I hope you could helop me with these..Thanks a lot!!!

  • Adding extra fields to the SOA composite from OIM

    Hi All
    I want to to add extra fields to the input XML file to custom SOA approval composite.
    Where I suppose to control the parameter going from the OIM request to the SOA composite ?
    Thanks
    Edited by: 599647 on Jan 27, 2012 9:28 AM

    http://bbagaria.blogspot.com/2011/08/how-to-extend-payload-from-oim-to-soa.html
    -Bikash

  • Adding extra field in extractor and changing Logic for FM for extraction

    Hi,
    We have an extractor that is extracting R/3 data using Function Module.
    Now that i had appended one field in the extractor , i want to change the FM logic for filling up the new field added.
    Is there any sample code for filling up of newly appended field?
    Regards,
    Karan

    Hi Raj,
    From your description, it is clear that you are talking about a FM extractor. If if it a standard FM data source, you are not adviced to change the standard function module. The way to enhance the data source is to append the ES to add the field and write your logic in the User exit (RSAP0001) to populate the added field. Hope this helps.
    Thanks and Regards
    Subray Hegde

  • Adding extra fields to Table Control?

    Hi Experts,
    Here I hv a table control, with 5 fields, 1,2,3,4,5.
    So, I need to add extra 3 fileds to the above said existing table control i.e.
    6th field in between the 3 & 4,
    7th field in between the 4 & 5,
    8th field in the last i.e. after 5th,
    I tried with Table Control Wizard, but not succeeded. So, pls, mention the steps to b followed to achieve this?
    ThanQ.<b></b>
    Message was edited by:
            Sridhar

    Hi,
    Go to SE51
    Give the program and screen number..
    In the menu..choose..utilities -> settings..
    Uncheck the graphical painter check box..press enter..
    Choose the layout radion button..
    Press change..
    Double click on the table control..
    THen press the CTRL Elements button..
    In the popup...insert (+ button) to place the input field
    THanks,
    Naren

  • Adding extra fields in S_ALR_87012085  report

    hi,
      i want to add two fields in vendor ageing report t code S_ALR_87012085  report.pls help.

    Hi Sudip,
    S_ALR_87012085 is the transaction that is called. Within this transaction, the report RFKOPR00 is called.
    You then could copy or modify this report and add the fields you need.
    Regards,
    Marc

  • MM03 - Adding extra Field in Existing Screen

    Requirement is :
    MM03---Select view --Basic Data -- Additional Data (On Application tool bar) ---
    Additional Ean tab.  In Additional EAN tab there are  6 fields already available , i need to add one more field..
    a) I checked for user exits , Badi's and enhancement spots but nothing satisfies the requirement..   Please help me out .. if this can be done in what ways..
    Thanks in advance

    Hi!
    Got to SPRO, Logistics - General, Material Master, Enhancements, Integration of New Objects (Industry and Retail)
    Here you will find a long description and some BADIs for the required extension.
    Regards,
    Christian

  • Adding  extra  fields to the Product search display

    Hi all,
        I have a  requirement where the std Product search needs to be modified wherein i need to add a price field for some materials whcih i will maintain in a  Z table(custom table for the materials and its price).
        Now my problem is that the o/p structure is taking the fields from the view BBPV_F4PR_GEN (where i dont have nay price field!)...When i pass my structure to the Dispaly FM "F4UT_RESULTS_MAP" it doesnt consider my custom structure for display....
      is it possible to change the o/p structure for the Product search display???Has anybody tried thsi before???
      Any help is  appreciated.
    Thanks & regards,
    Disha.

    AFAIK, the only way to do this is to write a system modifcation.
    The BADI is executed only once at startup of the session, so that makes it merely static. (A strange point in time, I discussed it with SAP and they just shook their heads)
    I had the same problem with some other F4-Helps and it was a big hazzle. From my experience, no straight answer.

  • Adding extra field to 0FI_GL_4

    Enhancing extractors is a well discussed topic - please search the forums before posting
    Hi Experts,
    I need to add XREF2 field from BSEG table to 0FI_GL_4 datasource. Please let me know the step by step procedure for the same.
    Thanks,
    Gaurav
    Edited by: Arun Varadarajan on Jan 27, 2009 9:31 AM
    Edited by: Arun Varadarajan on Jan 27, 2009 9:32 AM

    Here are the steps:
    1. Enhance the Extract structure DTFIGL_4 ( You can find the Extract Structure name at RSA5 )
        Goto SE11 input the structure
        Goto Append Structure and add the field and activate the append structure
        Sometimes you may have change the properties for this fields in the DataSource, like uncheck Hide option, Field only option.
    2. For this field, write the code at FM EXIT_SAPLRSAP_001, where you look up BSEG table an logic  basically depends on the business requirement.
    3.Replicate the Datasource to BI and further add to an InfoObject in the Transfer rules/Transformation
    Regards,Vj
    Edited by: Vijay kumar Nandipati on Jan 26, 2009 9:09 PM

  • Column Headings in the report and adding an extra field to the report

    Hi All.
    I had an issue like i need to put column headings for a report and I want to add an extra field to the report.
    The problem here is that the report was actually cloned from a Query.At the time of cloning,they forgot to add the column headings.
    Now we need to add the column headings for the same.How can we proceed for this and where we need to add our code?
    How to add an extra field  to the existing report?
    Any pointers will be very much helpful.
    Regards,
    SSR.

    Hi,
    you can get this done in 2 ways:
    1 - Change the query to add another column and the re-generate the report
    2 - If changing query is not possible, you can change the report it self for adding extra field. If you look at the code, it will be more like normal ABAP code. you can easily modify it (If you are ABAPer) for your additional requirements.
    thnx,
    ags.
    Edited by: Agasti Kale on Jun 12, 2008 6:26 PM

  • Query : Addition of extra fields in the User Registration page of portal.

    Hi All,
    I have a query, about adding extra fields in the new user registration page of portal.
    If you can suggest the required source files in details,inorder to incorporate two more fields.
    Say, AGE and COMPANY,with the existing fields in the same page.
    Along with this,can you please send the details of retrieving those information from backend and the backend functionalities associated with the SUBMIT button on the registration page.
    Regards,
    Sudeep

    Hi,
    Your query is divided into two parts.
    The first part is adding new fields into existing form. This feature comes under Branding of portal. Plz use the link below understanding the same and related help :
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/79/affe402a5ff223e10000000a155106/frameset.htm
    The second part is retrieving the values from backend.Here it will be the UME database. You need to develop a logon.par file and replace the same in your portal.
    Happy Customizing.
    Sukanta Rudra

  • Reg:Extra field in Material master record

    Hi All,
    Our client has come up with a requirement of adding extra field while creating material.This is to enhance the users to enter the grade details.This requirement i wnated in standard and in Basic data 1 /2 . We could do it with Z developments but rejected by our customer.Also the field fashion grade cannot be used since it is available for garments industry. so its utilization is constrined.
    Is there any way to add this field in MM)! basic data 1/2 in standard
    Reg
    SAPmm

    Hi,
    You have to go for ABAP Development if you need a totally new field for Grade of the Material.
    1. Create Z-Field
    2. Add it in Material Master Tables by appending
    3. OMT3B - For Screen Sequence "21", under "Subscreens" of "Basic Data 1" Screen, add the field.
    Else you can use many other available fields for Grade Purpose for e.g. Dimensions field in Basic Data 1 and Basic Material in Basic Data 2 view.

  • Problem araised in  adding two custom fields to ksb1 tcode.

    hi experts,
      I added tow fields vendor no, vendor name to Tcode:KSB1.
    i used user-exit :   coomep01 .
    in this exit i added two fields to ci_rkpos (include table) . i.e zlifnr,zname1.
    but that problem is ci_rkpos is not appearing in green color it means it is not transported .
    in development  client is working properly .
    using sm34 i added fields names.
    error is coming like this.
    The following syntax error occurred in the program SAPLXKAEP :
    "The data object "CS_RECORD" has no component called "ZLIFNR", but ther"
    Error in ABAP application program.
    The current ABAP program "SAPLKAEP" had to be terminated because one of the
    here wat ever we add the zfields will appear in kaep_coac ,so in this structure two added fields are appeared in dev client
    but,the same zfields when transported to quality is not appearing .
    please suggest how to do??

    hi breakpoint.
    yes i attached  in transport.
    in quality client.
    wat ever i wriiten code  in user exit it is coming ,but
    incldue table structure is not coming ,and even that fields are appearing in v_tkalv ,but in structure kaep_coac
    blank include strcuture CI_RKPOS is appearing ,but
    in dev client is working properly, and in quality first of all report is going to dump.
    here this tvode is using all 3 plants,how can i restrict to specified plant so that ,it will not affect others plant.
    suggest me how to do??
    Edited by: kamalsac on Aug 18, 2010 10:57 AM

Maybe you are looking for

  • How to transmit multiple messages over CAN

    Hi All, How to transmit multiple messages over CAN ? With all three messages i want to send the system time & date also. How can i get the timestamp in DBL format (Since the timestamp in the input of ncWriteNetMult.vi is a DBL). If possible kindly sh

  • Question Regarding Outbound Delivery

    Hi, In our business scenario automatic batch determination happening  for creating delivery through VL10B from STO. Now business want if automatic batch determination not happening delivery should not be created. For Example : Automatic batch determi

  • What storage should we buy ?

    Platform: Oracle Enterprise Linux 6.3 Grid Infrastructure version: 11.2.0.3 RDBMS version : 11.2.0.3 Hardware : Not yet decided (Either Dell or HP ) ++++++++++++++++++++++++++++++++++++++++++++++++++++ We have a fairly busy retail application and we

  • 64 bits Error -2147467262 - No such interface supported

    Hi, It will be very kind of you in case you can help me.... I have a very particular issue... trying to consume a COM object developed by myself through a JAVA application. so we have 3 components: (All inside windows 7 64 bits environment) 1) Java a

  • Cant import .dng files

    When I direct aperture to a folder on my hard drive, where I have imported some .fff and .dng files the files are unseen, even tho you can see them in the finder, just not in the import window in aperture???