Change field size in simulate report on transaction PR05

Hi,
I want to increase the receipt description field on the simulate report on transaction PR05.
Is there any user exit where I can do this or do I have to make a standard modification? If so, do you know in which program?
Thanks.
Sónia

Here`re the user exit
Transaction Code - PR05                     Travel Expense Manager                                                                               
Exit Name           Description                                                                               
FITR0001            User exit: Delete/Reorganize trip statistics                              
FITR0002            User exit: Create/Change trip statistics                                  
FITR0003            User exit: Save trip (PR01, PR04, PR05)                                   
FITR0005            User Exit: Save Trip (PR01, PR04, PR05)                                   
RPRCST01            Customer Exit for Travel Expenses                                         
<b>and program to find user exit for Tr.</b>
report y_user_exits no standard page heading.
*&  Enter the transaction code that you want to search through in order
*&  to find which Standard SAP User Exits exists.
*& Tables
tables : tstc,     "SAP Transaction Codes
         tadir,    "Directory of Repository Objects
         modsapt,  "SAP Enhancements - Short Texts
         modact,   "Modifications
         trdir,    "System table TRDIR
         tfdir,    "Function Module
         enlfdir,  "Additional Attributes for Function Modules
         tstct.    "Transaction Code Texts
*& Variables
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
*& Selection Screen Parameters
selection-screen begin of block a01 with frame title text-001.
selection-screen skip.
parameters : p_tcode like tstc-tcode obligatory.
selection-screen skip.
selection-screen end of block a01.
*& Start of main program
start-of-selection.
Validate Transaction Code
  select single * from tstc
    where tcode eq p_tcode.
Find Repository Objects for transaction code
  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 = enlfdir-area.
        move : tadir-devclass to v_devclass.
      endif.
    endif.
Find SAP Modifactions
    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.
Take the user to SMOD for the Exit that was selected.
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.
Hope this’ll give you idea!!
<b>P.S award the points.!!! !!!</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise"

Similar Messages

  • Change Field Size of CodeItem In OITM Table

    All,
    Could I Change Field Size of CodeItem in OITM table (Default is 20 Characters)  to 30 Characters?
    Thanks

    Hi,
    You can request changes in Business One through the Product Collaboration Forum here on the SDN, or by contacting your local SAP field office for more assistance.
    SAP note 1028874 has more information about this.
    Regards,
    Niall

  • Change font size in Z-Report created from template

    A Z-report is being created from template which uses WWI.INI file integration to generate the report in Microsoft Word. In that report the text from phrases is passing over the specified text box. So all the phrases are not displayed.
    Now user either want the size of font to decrease or change the size of the box.
    We are going ahead with changing the font size. To do so we are editing the template in CG42. Is this approach is correct or we can change the font size from somewhere else??. If yes ,then how to proceed ??
    Your help will be greatly appreciated as I am new to EHS and have very limited knowledge.

    Hello Aasim,
    Just try it out
    If you are afraid to destroy something on the WWI template create a copy of the template and do your testing there....
    Read the SAP help on WWI.
    Can I edit font in the Microsoft Word file which is generated after I click "Document (F7)" button??
    Yes you can.
    If yes , then suppose I change the font size in a text box there.Does the font of phrase's text also changes accordingly when the report is generated.
    Yes.
    And does that change is for all the phrases in that text box ( since no. of phrases varies according to the specification)???
    Yes it will change the font size for all phrases in that text box.
    There is an option in WWI where you can change the text size dynamically if the text is in a real text box.
    However I'm currently not sure if this works for all kind of WWI templates or only for labels.
    Hope this helps
    Mark

  • How to change field size using SQL against an oracle Database

    I am an admitted novice user, looking to become more proficient.
    I have a field in a table that I need to expand the field size. The table is called Inquiries. The data type is text. The current Field Size is 10. I want to increase it, to either the max, or somethign long enough to fit TECHNOLOGY LEADERSHIP PROGRAM.
    What is the SQL command to change the field size, and what is the max for a Text Field Size

    And/Or, an even better question might be,
    Do I need to use SQL*PLUS to do this, or are there better tools. I.e, I like how in Access, you can open up a database in Design view and just change the amount for the field size. Is there a similar "easy" method to do something like that with an Oracle database.
    My current version of the server/database is:
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning option
    JServer Release 9.2.0.6.0 - Production
    I was thinking I had to do SQL commands to perform the action, but there may be another way that I am not thinking about with all of the tools at my disposal. When I installed Oracle on my desktop, I installed most of the management tools and networking services, if that helps

  • How to change font size in Interactive report

    Hi I am using Apex 4.02 version I need to get all reports into single page but it displayed excess the page limit. Example If report having more than 15 columns it should display in single page so I tried "break" option in all report column headers still it exceed the page. Can any one help me for this ..?
    How to reduce the font size or table width in Interactive report?
    Thanks
    Edited by: Sara254 on Jul 9, 2012 11:29 PM
    Edited by: Sara254 on Jul 9, 2012 11:30 PM

    Hi,
    you can do this in your style sheet.
    Look for class .apexir_worksheet_data and change the font-size.

  • Changing Field Size

    I have a VARCHAR(30) field that I wanted lengthened to 50. I modified column on the table in Object Browser to the new size. I changed the field width on the page to the new size. However, the field will only still let me enter 30 characters. What else do I have to do to be able to enter 50 characters now?
    Thanks.

    Hi Mike,
    Did you change in the Element part of your item (Edit Page Item) the "Width" and "Maximum Width"? Especially the Maximum width you may want to check...
    If you implemented some kind of javascript to limit the width, review that too.
    Dimitri

  • Changing field size by typing

    Dear,
    Is there a way to use use a multi ligne texte field without à scroll bar.
    Is it possible to let the field changing size with the typed text ?
    Thanks

    Hi,
    If you set the textfield to plain text and limit to visible area and set the font of the value to '0' - then the font will start off at 12pt and will automatically reduce once the field has filled up. Takes some experimenting to get the size right for the average content the user will put in. Otherwise the font becomes too small.
    Niall

  • How can i change field width in ALV report

    hello,
    i have to modify vendor payment list. it is a ALv report
    proble is that when i gave vendor acc range for any month (range of posting date) it shows list,
    but for february it show run time error
    error description-  the resulting values are too large for the designated field.
    for posting dates 1.02.2009 to 25.02.09 it shows list. but when i gave posting date after 25 it doesnt show list.
    just i cant understand how to solve it.
    thanks in advance,
    Anuradha.

    Hi...
    Best option is first deside which format you want to put in that date field...
    then before filling internal table do one thing format that date field and then add into ur internal table which u later will use to show in ALV Grid Report...
    Example...Suppose you want DD.MM.YYYY
    then use
    concatenate Fieldname0(2) Fieldname2(2) Fieldname+4(4) into Fieldname...
    This way you can format the date in any format with proper logic. and ur problem getting solved
    Regards,
    Chintan

  • Request for changing field size

    Please increase the size of OITM.ItemCode and of OITM.SWW to at least 30 for each of it !!!

    This suggestion has been given many time in the forum. Honestly, I think its a very bad suggestion.
    I thought about that too, but its not really a solution that works in 'real life'. You will have dozens of selection masks, lists and so on throughout B1 that are based on the ItemCode field, and are even not adjustable to use the description field instead. You end up in a mess...
    However, it seems that this is a requirement that comes up a lot. I think SAP really should extend the length of ItemCode to at least about 30 char.
    Franz

  • Troubles by changing the size of a bookmark header text Repot generation Toolkit

    Hello everyone
    I'm having  troubles getting the size of  a header text formatted into a different font size, I attach the code I'm using to get the work done.
    At the end I get all I want from the report generation toolkit but the text size in the header and footer . Does Anyone have a clue?
    Well the image is too small I'm getting an error when I try to post a bigger one. The thing is that the VI's used here to change the size are append report text.vi and format text.vi. The first one is used to insert text through bookmarks in the header and footer  (it works just gereat) and the second one is intended to change the size of the inserted text (it doesn't work at all) I've already used shift registers in the for loop but I get the same results. The last VI is dispose report.vi
    thanks in advance
    Attachments:
    Maquina Etdos Verifica Reporte.vi ‏94 KB

    Hello Julio9,
     sorry for the waiting I had to clean the block diagram up and take into account some data security issues before I could post the information you asked me to. I have to tell you that I already came out with a patch for the issue nonetheless it is not the correct way to solve it and I would appretiate if you or anyone else could help me to do it right.
    Here is what I changed:
    In my code at the Initialize state (within the state machine) there is the New Report.vi I opened it to get also the new report SubVI.vi opened, afterwards I selected the NI_Word.lvclass: new report subvi.vi and opened it in its code yoou can easly see the double numeric constant value for the size of the text inserted as default. I just changed it from 12 to 8 to correct the formatting. As the outcome all the text inserted through the bookmarks have the default size (8 pts). 
    I attached the new version of my code with all the documents you will need. Please follow these steps:
    1.-Open the project named Verifica Temperaturas 2010.lvproj
    2.-Run the main vi named Maquina Etdos verifica reporte 2.vi
    3.-Check the option Laboratorio de Refrigeradores:
    4.-Click OK
    5.-Complete the information as shown:
    (For Selecciona Machote pick the word document named Document.doc attached in the .zip file. For the Selecciona Archivo de temperaturas pick the Estacion1_21-02-2012.txt file also attached in the .zip file)
    6.-Press Siguiente
    After completing the steps you'll see how the document in created. As expected the size of the text in the header is 8 pts.
    Attachments:
    Verificacion_Camaras.zip ‏359 KB

  • How to change the pagesize of a report?

    Hi,
    I'm confused by a 100%-standardproblem but didn't figure it out yet :-(
    I want to decrease the pagesize of a report (output into pdf), so the "white area" in acrobat reader should be smaller then a4 (standard).
    My "solution": I moved and resized the border of the mainsection - now the content is at it's right place, but the whole page (white area) is still to large.
    Even if I create new (=empty) report, I don't know where to change the size of the report.
    I'm using Report Builder 9.0.4.0.21.
    Can somebody please help me with this? Thank's a lot. :-)

    You should be able to do that by so:
    Go into the object navigator. Click on Paper Layout, and click on the Main Section label (not the plus sign). Hit F4 for properties - height and width are there. I think if you just changed those to what A4 is designated as, it should work.
    Note if you use a header/footer page, you would need to do the same to those pages as well.
    Hope that helps as I have not actually needed to do this yet. Good luck!

  • View of Date track history change field summary

    Hi experts,
    In Oracle HRMS, we have the function "Date Track History" in People/assignment. In the summary window of Date Track history, we have column which is named "Change Field Summary". For reporting purpose, I am looking for the view/function/package/... which can show type of data.
    For example:
    - If I give certain assignment number/assignment id, view/function can return "Birth Date, Full Name, Known As" in "Change Field Summary".
    Thanks in advance.
    Hieu
    Edited by: user122479 on Jan 26, 2013 10:43 PM

    Hi Vigneswar,
    Thanks for reponse.
    The view PER_ASSIGNMENT_HISTORY_VIEW shows data changes in columns, it is similiar with HRFV_PERSON_ASSIGNMENT_HISTORY view. However It does not show us which columns were changed like in "Date track history change field summary" window. I don't have access to Unix server, so that I can't do the trace stuff.
    Thanks and Regards,
    Hieu
    Edited by: user122479 on Jan 29, 2013 10:50 AM

  • Change field bseg-vbund

    Hello
    is it possible to change field bseg-vbund ( trading partner) in transaction FB02.
    I tried to add this field (BSEG-VBUND) in customizing:
    Financial Accounting --> Financial Accounting Global Settings --> Document
    --> Line Item --> -> Document Change Rules, Line Item
    but, it doesn't work.
    i´m working in 4.6C Version.
    Thanks,
    João Simões

    Hi João Simões,
    Unfortunately the content of some fields cannot be changed once the document has been posted, even if the fields are customized as changeable. BSEG-VBUND is one of these fields.
    The field VBUND is passed to other tables, where it is used as a key-field. Changing the BSEG-value would then produce inconsistencies with other tables.
    Note 499079 is only valid for changing VBUND recurring original documents and statistical documents. The field is only changeable in these two cases. It is not changeable in FI documents for consolidation reasons. Please see note 545362, too.
    The only workaround to have this corrected is to reverse the document and create a new one.
    I hope this clarifies the system behaviour.
    Please assign points if it useful
    Regards
    Ravinagh Boni

  • Fields missing in MPD report after change to structure and program

    I have been working on a consistency report for transaction MPD.
    I had created a structure in SE11 for handling the data.  it was all working, but then i had to go and change the name of the fields in the structure.  Now those fields are missing from the report. 
    When i step through the debugger, all the fields are being populated correctly, but these fields are not displayed on screen.  if i change the field names back in the structure and change the code for populating these fields, they appear okay.
    i have created a custom implementation within BAdi MPD_WKB_REPORTING. 
    i have checked the config and it all points to my Z Structure and Z Table Type.  I have logged off and logged back on!  made sure my code is saved and activated...
    any ideas on how i can display these new fields names/values?
    Just for clarity, the field name has changed. not the linked data type.

    thanks for your response, however those notes and program have not done anything to assist my issue.
    i have found the anwser now!
    within the BAdi was a method i had to amend:  IF_EX_MPD_WKB_REPORTING~GET_ALV_PARAMETERS 
    all fixed now!

  • Changing font size in cash flow report

    Hello ,
    How can I change the font size that diplayed in the PLD of cash flow report ?
    I tried to change the font size of single field and I cannot see the change in the printed report. If I would change the size of the field or the colour of it , the changes will take affect but the font size will not.
    Does anybody have any solution for that ?
    Thank You
    Joseph

    Hi Raul,
    Thank you for your peply.
    The PDF is disply exacly the same as the PLD.
    The font size is not chanced.
    Thanks you.
    Joseph

Maybe you are looking for

  • A somewhat simple security question......

    If a mac running macosx has two separate user accounts, lets say one admin and the other a standard user, or both admins or both standard users..... Is it possible for a hacked/penetrated account on one of the users to affect or read any info from th

  • Adding a new field to a segment

    Hi, I need to add a field(unit price) to the segment(SDPI0D01_Z940EXT1). How do I do this. Please help me. Thanks Veni.

  • Payment advice for down payments

    hi , anyone know how to generate the payment advice for downpayment made to Vendor.. thanks in advance regds, raman

  • Electronic signatures for Quality Notifications

    We are on 4.0b system and thinking of implementing electronic signatures functionality for quality notifications. Since SAP standard does not have this functionality we are planning to use Enhancement QQMA0014, function module exit EXIT_SAPMIWO0_020.

  • Error in SOAP Sender Adpater

    hi I am SOAP to RFC scenario.. when i am testingthe WSDl from Altova it giving me the follwing error com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Mess