KE5Z : UserExit or SAP Note for adding new fields in the report output

Hi,
I want to add 2 new fields in KE5Z (Profit Center: Actual Line Items) report output.
Order reason(AUGRU), Sales Document Type (AUART) fields.
Is there any UserExit or SAP Note available for this....
Thanks in advance,
fractal

Hi Fractal,
See if Note 92864 will help you.
Summary
Symptom
Through a modification, it is possible for you to include additional fields in the profit center line-item reports 'actual' and 'plan' (Release 3.1*).
Additional key words
KE5Z, KE5Y, RCOPCA02, RCOPCA08 -
SUPPORTGUIDE 20010613143936 -
REPORTWRITER,
SGRW_OM SGRW_PS SGRW_PC SGRW_SL SGRW_PCA SGRW_EC SGRW_LIS
Cause and prerequisites
The fields must be located in table GLPCA (for actual) or GLPCP (for plan).
For Release 3.0F, you should ensure you have applied Note 62511 first.
Solution
To include a field in the actual line item report, proceed as follows:
Call the ABAP/4 Dictionary (Transaction SE11) and display table GLPCA. You can then find in a line the field name and data element for the field you want to include.
Return to the initial screen of the ABAP/4 Dictionary. Now change the structure RPCA2. If the structure does not yet contain the field, you select Edit -> Insert field; enter the field name and data element. Do not insert the new field at the beginning of the structure but in the rear half of the structure.
Then save and activate the structure.
Now call the ABAP Editor (Transaction SE38). Change the source code of program RCOPCA02. Insert the lines set out in the attachment in FORM routine FIELDCAT_FILL. When you do this, replace SGTXT by the field name of the field. If you normally want the field to be displayed when you the access the report, delete the line   afield-no_out      = 'X'.                "<<<< insert Note 92864 .
You should note that the place where you insert the lines influences the position of the column in the report list.
To include a field in the Plan-line-item report, carry out the same procedure except with table GLPCP, structure RPCA8 and program RCOPCA08.
Note: Pls check if these 2 fields are available in any of the layout versions you have available with the transaction.
Cheers,
Vikram
Pls reward for helpful replies!!

Similar Messages

  • Adding a new field to VA05 Report output

    Hi All,
    Please suggest what's the best method to add the new field in the report output of VA05  this can be done in 2 ways one way is by writing the code in theUser exit PERFORM MOVE_USERFIELDS  or copy the whole program to Zprogram and write the Code?Ist one need access key but the the other method is not required.
    Please suggest me the best method
    Thanks&Regards
    Mahesh

    Hi Mahesh,
    i'm in the process of making a similar change,
    copying to a ZPROGRAM is not so difficult, but as i told you you have to add your new field to VBMTV structure, and copy the includes that you need to change,
    P.S. Note, when you copy you have to change some SELECT statements where
    it's selecting from T180V table based on sy-repid, you hav to change sy-repid to SAPMV75A, as there's some configuration done for this.
    Regards,
    Raghavendra

  • Adding new field in the table for Output

    Hi ,
    I need to add a field catalogue as Payment method in the condition table for Output, but the payment method field does not exist in the table. Can this be done?
    regards,
    Ragu

    Hi Refer below link on sdn for adding new Field
    Adding New Field to Catalog
    Adding New fields to field catalog

  • How to insert a new field in the Report Designer

    Hi all.
    I have a query and a report, but the query evolve.
    We have a new key figure (inside rows).
    In the report designer, I check the data provider.
    The new key figure is added in the catalog field.
    Now, I would like to insert the new field in the report.
    I add a new row in the report structure but it isnt what I want.
    In this case, I add a second row inside an another keys figures block.
    I want to create a new block for my new key figure
    Thanks for your help
    Céline

    Yes, key figures is in the field catalog.
    But When I do that " Insert a row ", Report designer create a " row 2 " below another key figures.
    And it isn't what I want. I want a new block .
    For exemple in the tab report structure (My new key figure is "Margin")
    I do that
    Group Level 1 : key figures
             Detail Area
                      Sales Amount
                                   row1
                                          cell1
                                          cell2
                      Cost
                                   row1
                                          cell1
                                          cell2
                                   row2 ( the new row added)
                                          cell1
                                          cell2                     
    But I want that:
    Group Level 1 : key figures
             Detail Area
                      Sales Amount
                                   row1
                                          cell1
                                          cell2
                      Cost
                                   row1
                                          cell1
                                          cell2
                     Margin
                                   row1
                                          cell1
                                          cell2                     
    Thanks for your help

  • R12 Format Payment Instructions - new field required in report output

    Hi
    I need to add a new field in the report "Format Payment Instructions " output. How can I add the logic to pick this field and then add to the layout.
    As per note 562806.1, it gives instructions on how to re-arrange the layout of the format payment instructions but not regarding adding logic to pick new fields.
    Any help would be appreciated.
    Regards,
    Alister

    Hello
    Could you plse help me out in adding new filed in BaCS format program .
    We are in Release 12,I need to customize the format program by adding new fields
    I tried generating a new template by following meta link note .. but that itself is erroring out.
    If you have any sample code and the steps plse send it across
    Any help is deeply appreciated
    Regards,
    Priya

  • Adding new row to the reports list page

    How can I add a new report row in the reports list of the reports tab.
    Ex: a new row to the report "users by Date of Join report" is to be added
    How can we add Please help me out in this

    I am facing the same problem!
    camickr wrote:
    Try adding an empty row containing a null value for the String instead of the empty String.camickr, it will not help, the DefaultRowSorter in the "*+compare(int model1, int model2)+*" method return -1 if the first value is null and 1 if the sacond value is null. and incase of DESCENDING it mult by -1.
                    // Treat nulls as < then non-null
                    if (v1 == null) {
                        if (v2 == null) {
                            result = 0;
                        } else {
                            result = -1;
                    } else if (v2 == null) {
                        result = 1;
                    } else {
                        result = sortComparators[counter].compare(v1, v2);
                    if (sortOrder == SortOrder.DESCENDING) {
                        result *= -1;
                    }And this is the real problem!
    The empty line is sorted as the smallest value and incase of DESCENDING it will be the first line (because of the mult by -1).
    We could have overide it and incase of the empty row(usualy the last row) do not mult by -1 in DESCENDING mode.
    But the problem is that the "+*compare*+" method and it's caller "*+Row+*" inner class are private :-(
    It is not wise to do it but we can do like kmp83 wrote:
    kmp83  wrote:
    copy/duplicate "private" code from DefaultRowSorter into my extended class.Anyone have another suggestion?

  • Adding new fields to the data flow

    Hi,
    I am currently planning to add some new fields in one DSO and map it (with info source) in the update rules.
    Will adding new fields to Info source - Comm. structure affect all the update rules connected to it?
    The info source is connected to multiple DSO.
    (The data source is currently under enhancement for these fields). Once this is done, we have to replicate it to BW.
    Thanks,
    Naveen

    yes.
    Once the enhancement is done for data source in r/3 side, you will have to replicate the datasource in BW.
    Adding new fields will deactivate the update rules. You have to map the same in update rule and activate the same.
    This will require activation of  transformations, update rules, etc for related DSOs. Try to find out the where used list for the DSO where you want to add the new objects. Then check each objects whether these are activate after the changes. If these are inactive, you will have to activate all the objects.
    Cheers
    Chanda

  • How to add a new field in predefined report output

    HI,
      how  to and where to  search for the filling of "fieldcat table" in the  predefined ALV report.
    So that i can add a new field in the output of a predefined report

    Hi
    Try to check where the fm REUSE_ALV_FIELDCATALOG_MERGE is used in the report.
    Max

  • Exit or badi for me21n- for adding new field in delivery tab(Item level)

    HI,
    My Requirement is to add the New Field(Inspection Lot) in delivery tab in item level of me21n .
    I want to know this can be done by any Exit or Badi or modifying the standard sap is the only way to do this... 
    Kindly help me to solve the issue..it's quite urgent , i unable to find one,i used the exit mequery1 but did not work ......
    Thanks in Advance.

    Hi Nagaraju,
    Actually,for every T-code,SAP has provided a lot of BADIs where the customer can write their own codes depending
    upon the functionality required.
    In order to find the BAD for a particular T-code,go to the T-code SE24 and type in cl_exithandler and click on
    Display.
    You will get a list of methods in that class,double click on the Get_Instance method from the list.
    you will get the code for that method.Scroll down and you will find one of the parameters "Exit Name" there.Put a
    breakpoint on that function module and press F8.
    In the debugging mode,double click on the Exit Name to get the value contained in it.You will see the first BADI
    provided in that T-code.
    Note down this and then keep on pressng the F8 and noting down the BADIs being displayed.
    Now ,you will have to find out the BADI which fits your requirement.
    Now,it is not required to opy that BADI into ZBADI.Instead it is better to create a new implementation for this
    BADI.
    Go to the T-code SE18 and see its definition.
    Now,go to the T-code SE19 and create a new implementation and write the code there.
    Once done,activate that implementation and the BADI also.
    Now run the T-code and debug the code that you have written.You can modify the code accordng to your requirements.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • QA01 enhancement for adding new field

    Hi,
    We have done an enhancement in transaction 'QA01' for adding an additional feild. We have used the user-exit 'QPL10004' and using sub-screen '0100'.
    But when we are testing in quality server, the sub-screen in 'QA01' is displayed as '0212', hence the enhancement does not take effect. But when we check the sub-screen in development server the sub-screen is displayed '0100' and the enhancement works here.
    Please suggest any suggestions?
    Thanks,
    RR

    Hi,
    Kindly check all the objects from the customized request imported successfully.
    Regards,
    Anil

  • Adding new field to the page when the field source not available

    Hi,
    I have a requirement to add vendor_serial_number (manufacturer's serial number) to the page /oracle/apps/csi/instance/general/webui/InstanceDetailsPG. This column is available in mtl_serial_numbers_all_v table. I don't see any VO in that page has access to this. What is the best approach to add this field in the page.
    Create a new VO with the query to get the vendor_serail_number based on the item_number, serial_number.
    Attach the VO to the AM InstanceDetailsAM or create a new custom AM as we can't attach the new VO to the seeded AM.
    Add a item to the page that gets the column value from this new VO.
    Please suggest.
    Thanks,
    HC

    1. Create the textfield item using personalization.
    2. Create a View Object to get the field
    3. Extend the InstanceDetailsCO and attach the VO to AM programatically in the extended CO.
    Any suggestions.
    Thanks,
    HC

  • Fields missing in SM30 after adding new fields to the table

    Hi ABAPers,
    I added a new field & marked another field as primary key in the table. Then I generated the table maintenance view for the table in SE55 and adjusted Database utility SE14.
    When i saw the table in SM30. The number of fields in the overview screen of SM30 shows less field then existing in table. i.e in my table i have 10 fields(3 primary). in SM30 it shows only 5 fields(3 primary + 2 normal fields)
    In SE51, the overview screen of the table show less fields in the field list..
    I want all the fields in the Table maintenance overview screen. Please suggest me a way forward friends..
    Note: the system is 4.0B.
    Thanks...Suresh Kumar

    Hi
    You have to re-generate your dialog for SM30 by table maitenance generator.
    - From Se11 go to table maitenance generator
    - Choose update icon
    - Set flags for NEW FIELD
    - Go to expert
    - Set flag to re-generate dynpro
    Message was edited by: max bianchi

  • Adding new field to MB51 screen output

    Hi All,
    I need to add a new field TCODE2 from MKPF table on the screen output of MB51. I have added my new field thro SPRO following the below steps:-
    Go to SPRO -- MM -- Inventory Management and Physical Inventory -- Reporting -- Define Field Selection for Material Document List
    Here I have give
    RM07DOCS MKPF TCODE2 Transaction code -- output box checked
    and saved.
    Now I  tried to re-execute the transaction MB51 but not able to see the Tcode2 on the output screen .
    Can any one help me out, if I am missing out something or is there any thing else i need to check on the ALV output to see the field TCODE2 on the screen og MB51?
    Regards
    Shilpa.

    Hi,
    Check these notes:
    Note 357187 - MB51: Fields in field catalog / selection screen
    Note 828104 - Enhancing MB51 for AFS
    I hope this helps you
    Regards
    Eduardo

  • Error while adding new field in the Segment type thru WE31.

    Hi All,
    I want to  add one field in the Z segment type using WE31.But i am getting the error message as
    'Current segment definition <segment name> can no longer be changed and The current segment definition
    is already released.You can either add a new segment definition or cancel the release of the current segment definition'.
    The current segment defenition which i am trying to change got the SAP release of 45B. But the system has upgraded to Ecc6 recently.
    I tried going to the edit menu and cancel the release, but still it is not allowing.
    Whats the impact of the Add button(Add version) and creating a new version?.will it create a new version for ECC6?.
    Points will be rewarded
    regards,
    neslin.

    Hi
    You can create a new version.  This will not create any problems.  You might not be able to cancel the release because of upgrade.
    Thanks
    Vijay

  • Adding new fields in the layout.

    Hi gurus,
    I have a requirement in which i need to change the layout of a report v.25 through transaction VOKF. Actually i have added one field VDATU in the table VBMTV and the fields of this table are getting displayed in the output but not all fields. so through the transaction VOKF a variant has been created with some fields and there is also option for additional fields addition. But the field which I have added new through append structure doesnt appear in the possible value fields.
    So do anyone have any solution for this or if anyone has ever encountered this type of issue.
    Thanks in advance.

    I have added the field VDATU in the Structure VBMTV and the structure is active. This field is getting filled in the my Standard report and and is displayed only when change the layout after displaying the output.My requirement i need this field by default in the output.
    Thanks in advance.

Maybe you are looking for

  • Microphone connection to proprietary connec

    I have an Audigy 2 ZS and my microphone works perfectly in the mic jack on the back of the card. However, I have a /8" mic jack mounted to the front of my computer case that I would like to connect to the proprietary connector on the sound card. I ha

  • How do I get javadoc to open in a new window?

    Hi, How can I get javadoc to open in a new window rather than a tab in JDeveloper? Thanks, Will Message was edited by: decuser

  • After installing Mountain Lion, contacts will not sync

    After installing Mountain Lion, contacts will not sync to iphone 3G

  • No page found

    Hi I've install Oracle on Redhat Linux 4 every thing i seems it's working fine but when I'm trying to connect to oracle on my laptop I'm able to get to the login page to when i login it return with PAGE CANNOT BE DISPLAYED I'm not sure if it's Oracle

  • File To RFC Scenario- simply insert records into ztab

    Hi i have a requirment, where XI gets a flatfile and needs to map to RFC function module and then inserts records into ztable in SAP system. it doesn't require any response back. proble here is: i don't want to get RFC 'Response mesage' when i import