Putting extra field

Dear friends,
   I need to add additional field ( MARA-MFRPN ) in the output report of Transaction MB52.
The program name is RM07MLBS for MB52 , I copied the program, but i felt difficult to add this additional field. Pls brief me on this.

Hi,
    Apart from adding feild to field catalog in
    form fieldcatalog ,You have to select
    the value from mara table in form
    also include this feild in internal table
    t_mat.
    FORM data_selection.
   SELECT maramatnr <b>maraMFRPN</b>    werks xchar mtart matkl meins trame umlmc
         mara~lvorm as lvorm_mara
         marc~lvorm as lvorm_marc
         INTO CORRESPONDING FIELDS OF TABLE t_mat
         FROM mara INNER JOIN marc
         ON maramatnr = marcmatnr
         WHERE mara~matnr IN matnr
           AND werks IN werks
           AND mtart IN matart
           AND matkl IN matkla
           AND ekgrp IN ekgrup.
Regards
Amole

Similar Messages

  • 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

  • How to ad an extra field?

    Can you ad an extra field when you want to make a new event?

    It is a good idea to include the machine type and OS version in your problem posts.
    No, but you can put as much info as you want in the note field

  • Insert extra field in ALV report

    Hi All,
    I’ve requirement like … need to add Vendor’s ‘Country Code’ very next to ‘Tax code’ field in standard SAP standard ALV report S_ALR_87012357 .
    I’ve copied program (RFUMSV00) into z-program.
    But I’m not getting any idea how can I add extra field in field catalogue and corresponding value in internal table.
    Any ideas please…..
    Full points will be rewarded for useful answers…

    I didn´t understand the question very well, but if i am in certain, you will have to modify the internal table to add the field. If the table which shows the alv is like a data base type, you will have to modify this in this way:
    data: begin of gt_table occurs 0,
         include structure ,
         new_field type XXXX.
    data: end of gt_table.
    Then, you will have to add this new field to the field catalogue, in this form:
    ls_catalogue-fialdname = 'NEW_FIELD'.
    ls_catalogue-tabname  = 'GT_TABLE'.
    etc...
    Luck in your requeriment.
    ls_catalogue-tabname  = 'GT_TABLE'.
    etc...
    Luck in your travel.

  • Add extra field in alv

    Hi experts,
    i want to add extra field in alv that is totalprice
    the total price = qunatity * price
    already quantity and price from data base tables
    but the field total price is not from any table..
    thanks advans

    Hi,
    Quantity and Price both are ddic fields.
    Define the TOTAL PRICE of the type Price in the final internal table(table to b displayed).
    before passing the data / in looping define the logic...
    LOOP AT T_SOURCE.
    T_FINAL-PRICE = T_SOURCE-PRICE.
    T_FINAL-TOL_PRICE = T_FINAL-QTY x T_FINAL-PRICE
    ENDLOOP.
    Now all the required values are in the final table.
    Reward if helpful.
    Thanks.

  • How  to add an extra field in the output of a predefined report

    Hi everybody,
    I have to add an extra  field  by name  "DAYS"(VTBFHAPO-ATAGE) in the output of a predefined report" RFTMBL01".
    please provide me the code and where to add in the predefined report

    Hi  Pasquale Isolato
    the predefined alv report name is "RFTMBL01" . If u r  with system  please check the code and the field name i have to add ids"DAYS'.
      if u are not with  system please reply me so that i will sen the code also
    Thanks in advance

  • Creation of extra field in customer master.

    Hi All,
    I have a requirement where i need to create one extra field.
    We intend to capture taluka for each distributor. This will give us micro level detail. We can start analyzing sale at taluka level.Therefore we believe this additional field will be important.
    Kindly provide your valuable solutions to achieve this.Thanks in advance.
    Thanks,
    Pavan.

    Hi Pavan,
    Rather adding an Extra Field(if your requirement "Taluka" is only for information or statical purpose) you can go with charecterstics and classification.
    In my Client Business, the requirement was to add the " Sales Group's" mobile number and Email id in customer master, so that they can a have report where they easily findout the phone number and mail id for the each sales group. so i have acheived this through Charecterstics.
    Screenshot for your Reference:
    This would be also an option.
    Regards
    Kamal

  • How to have extra Field attributes as per BP Role?

    Hi all, using path Cross-application components->Business Partner-> Field Groupings -> Configure field Attributes per BP role,  we come across Data Sets for each BP role where we can specify if fields can be hidden, required or optional. What if i want to add more data sets, i am not able to add it here. For the same, i need to use tcode BUSD and then assign a new Data Sets to BP Views (of same BP role). But i am not able to see any effect of the same. Can someone advise what I am missing out on. For e.g. if i want to use Data Set "tax numbers" and assign it to the BP View "xxx", which in turn is assigned to BP role "xxx", I am not able to see the extra fields for Data Set "tax numbers". Is there way i can find out what all fields are there in a particular Data Set?

    Hi Bappaditya,
    You will not be able to add new fields via the IMG path Cross-Application Components->SAP Business Partner->Business Partner->Basic Settings->Field Groupings->Configure Field Attributes per BP Role. This is used only to control the various visibility options of the fields associated with the datasets that are attached to your BP view.
    Now, if you want to add new custom fields to your BP role,
    1. Create a new BDT application that uniquely recognizes your scenario (Tcode -> BUS1)
    2. Create a new Dataset (Tcode -> BUS23)
    3. Create a new field group (Tcode ->BUS2)
        a. Here, associate different fields from data dictionary to the new field group
    4. Create a new View (Tcode->BUS3)
        a. Assign, your BDT application
        b. Assign your data set
        c. Enter the screen painter program name and screen number
        d. Enter function modules that may be required to validate screen input
        e. Assign your field group
    5. Create a new Section (Tcode-> BUS4)
        a. Assign yoru view to Section
    6. Create a new Screen (Tcode-> BUS5)
        a. Set Screen type (Data screen, Initial screen - Dialog, modal dialog box etc.)
        b. Assign your section to your screen
    7. Create a new Screen Sequence (Tcode->BUS6)
        a. Assign your screen
        b. Assign screen sequence category
    8. Create Divisibility View (Tcode->BUSD)
        a. Assign your data set
        b. Assign Calling BDT application
        c. Assign screen sequence
    9. Define new BP role using IMG Path Cross-Application Components->SAP  Business Partner->Business Partner->Basic Settings->Business Partner Roles->Define BP Roles
       a. Here, create new BP role category
       b. Assign your view
    You can then control the visibility of your fields by using the option 'Configure field Attributes per BP role' as you mentioned.
    Hope this helps.
    Regards,
    Pavithra
    **PS : Please reward points if this helps.

  • 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

  • Form Wizard, Excel Sourced Documents, Dozens of Extra Fields

    I have a series of PDF documents which I generate on a weekly basis from MS Excel reports.
    It looks something like this:
    Description
    Jan Sales
    Feb Sales
    Mar Sales
    Apr Sales
    May Sales
    Order 1
    Order 2
    Order 3
    Order 4
    Vendor 1
    Widget 1
    2
    5
    5
    4
    Widget 2
    4
    7
    2
    8
    7
    Vendor 2
    Widget A
    2
    9
    3
    8
    2
    When I run this through Form Wizard, I get a form field in every blank cell.  I'd really like form fields limited to the Order 1 column.  Is there anything I can do to trick the Form Wizard to limit its attention to this area?  Perhaps by modifying the underlying Excel form before printing to Acrobat?
    Edit:
    Maybe I should mention that it's the fact that I have 200 pages/week that motivates me to look for a reduction in the Form Wizard initial field generation.  It takes me a little over 2 minutes a page to delete out the 100+ extra fields per page.  Eliminating the better part of a day's repetitive labor is kind of a big deal.
    Message was edited by: jwpfw

    Here are some ideas you can try. You can delete fields with JavaScript, so you could set up a script that loops through the fields and deletes them based on some criteria, such as the position on the page or the field name that Acrobat automatically generates. You can set up the script so it's activated from a custom toolbar button or menu item, or as part of a batch sequence (custom action). If you'd like specific help with the code, it would help if you could post a sample document that has the fields added.
    An alternative that you can use if the layout of the document will remain unchanged is to add the fields using a script, perhaps taking advantage of tempates. So instead of running the Form Wizard to add the fields, you create a script to add the fields exactly where you want and with the field names and any other properties you want.

  • How to validate Extra Fields in Journals

    Hi all.
    We are working with journals in SAP EPM 10, and we have created several extra fields as a part of the process. as you already know, the extra fields are dummy fields, and we would need to perform some validation when the user save or post the journal.
    Is there any way to do it? any badi or something similar?
    Thanks in advanced.
    Regards

    First of all and just to avoid misunderstandings. For my purpose which was to check the values in the additional fields added into a journal template, I´ve implemented the BADI UJJ_CALCULATED_AMOUNT.
    Then, I´ve added the code into the method IF_UJJ_CALCULATED_AMOUNT~CALCULATE_AMOUNTS. That code should work when the user is saving the journal.
    If by adding a breakpoint, you are still having problems to debug this piece of code, what you can do  is to add an ABAP code at the beginning of the mentioned method like this:
      DATA:lv.
      lv = 1.
      IF sy-uname EQ 'YOURUSERNAME'.
        WHILE ( lv = 1 ).
          lv = 1.
        ENDWHILE.
      ENDIF.
    And after that, in the transaction sm50, you should be able to select and debug the process.
    Please let me know if you are ok after that.
    Regards.

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

  • Add extra field to RFUMSV00

    Hi,
    I'm struggling with programming RFUMSV00.I have to extend this program with one extra field (BSEG-EGBLD).So I made a Z-copy of the original.But this program is working with a logical database.Program is using two field-groups : header and daten.Futher one it's using
    INSERT ep INTO daten.
    So I have extended this structure (ep) in the program with the field EGBLD.Then before the extract statement I have added the following code :
    GET bseg.
    select single egbld from BSEG into ep-user_field_a
                              where bukrs = ep-bukrs
                                and belnr = ep-belnr
                                and gjahr = ep-gjahr
                                and bschl = '01'
                                and mwskz = 'A4'.
    EXTRACT daten.
    Program is working with ALV.But seems to be that subroutine PERFORM print_table
                TABLES
                   <gt_alv>-t_auste_ep     "lt_outtab
                USING ...
    is not modifable for parameter <gt_alv>-t_auste_ep  .
    So I am lost.
    Is this the way ? Or do I have to use Badi's ?Anybody who can give me some advice ?
    regards,
    Stefan

    Stefan,
    I am not sure which version of WAS you are working on. But if you are working on WAS 6.40 by any chance, there might be some help.
    Take a look at my weblog.
    /people/ravikumar.allampallam/blog/2005/12/05/need-a-way-to-change-appearance-of-a-standard-existing-alv-report
    Regards,
    Ravi
    Note : Please mark the helpful answers

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

  • Adding an extra field in customer statement report

    Dear all,
    We are on SAP B1 2007 PL42. How can we add an extra field eg a UDF on a customer statement in PLD? The system's customer statement have all fields as "free Text".
    Kind Regards,
    Asif

    Hi,
    I have created a free text field in PLD- named Field_101. I have also created a database field from the OINV table and referenced to the UDF "U_FileNo" named Field_102.  On field_101 I have linked to Field_102 but on previewing the report the field is empty/blank.
    Thanks
    Asif

Maybe you are looking for

  • How to register a pl/sql report as an Oracle report.

    Guru's, I have a requirement to add a Pl/sql report in a shipping document set. Shipping document set can contain Oracle reports only(RDF). Is there a way we can add pl/sql report in a shipping docuemnt set? Thanks -Karthik

  • Itunes will not launch

    Itunes will not open at all, I did uninstall and re install also did create new user account and fixed hosts file according t apple instructions, reinstalled quicktime, restored system to a week earlier when it worked, disabled firewall almost did ev

  • MySQL Boken Pipe Exception...Plz Help Me Urgently

    Hello Friends.... When I shifted my Java application which has MySQL(Linux has MySQL - 4.1.21-standard version. ) as a backend on Linux Platform I encountered following exception... com.mysql.jdbc.CommunicationsException: Communications link failure

  • Need help in certificate type!

    hi ppl! currently i am working on SSLV3 using tomcat n iaik_jce to create the certificate.I created the CA Cert and the Intermediate Cert and they were place into the correct place in IE when i import it. But when i try to import the client which is

  • Iphoto for Mountain lion?

    Hey guys, this macbook owner has ML on it and doesn't want to upgrade to Mavericks, the iphoto on his mac doesn't open anymore showing error: "iphoto cannot be opened becuase of a problem" we tried purchasing iphoto from Apple yesterday but it is sho