RFC missing some output fields

Hello developers, I have encountered a very strange problem... I have a table in an iview which displays the output from an RFC. Simple. Problem is, the RFC is only returning certain fields correctly...
for example, the following is text from the table that I am displaying on the iview:
(the table consists of 3 fields: DATE | TEXT DESCRIPTION | MONEY AMOUNT)
29/May/2007 | COLEGIATURA MAESTRIA | $ 335.55
31/May/2007 | COLEGIATURA MAESTRIA | -$ 335.55
06/Sep/2007 | <-----Missing field--
>   | $ 100.00
The <-missing fields-> are the texts that are not being displayed properly in my iview (it is supposed to display the word "INTERESES"). The really weird thing is that if I execute the same RFC directly in R3, I get the entire fields correctly, like this:
29/May/2007 | COLEGIATURA MAESTRIA | $ 335.55
31/May/2007 | COLEGIATURA MAESTRIA | -$ 335.55
06/Sep/2007 | INTERESES                        | $ 100.00
WHY IS THE RFC NOT RETURNING THOSE FIELDS WHEN IT IS EXECUTED FROM THE PORTAL!!!!!!????
A few things I want to add:
- The data type of the Context node to which i am binding the output data from the RFC is a String. The RFC output node field's data type is Text50 (which is basically a SAP String).
- I changed the data type of the context node from String to Text50 and nothing happened.
- I print the entire data from the RFC output node directly on screen (using a for loop and the IMessageManager's reportSuccess method) before doing anything and it returns the same thing (i.e. nothing happened).
- Yes, the Node that I am binding to the output node of the RFC is correctly binded.
- Yes, I have restarted the server.
- Yes, I have reimported the RFC model.
- Yes, I am sending the right input parameters to the RFC (it has only one input parameter, and I am sending the correct one, otherwise it would not return anything).
- I have tried getting the lenght of the missing field's, and they return "0" (meaning it is empty).
The ABAP team has told me that the problem is on the portal side, not on theirs, so they assume the RFC is working correctly. 
I was a little sceptical about that and I did a little research on the RFC (i don't know ABAP at all). The RFC reads texts from different tables and it turns out that all of the fields that are missing are read from one table. This table has 19 entries, and none of the 19 texts that belong to that specific table are being properly displayed in the portal.
So I checked a little further and those texts are of the same type (Text) as the rest of the texts that are being properly displayed so the ABAP team assures me that is not the problem.I find it a little suspicious that the only data that is giving me trouble belongs to that one table.
Maybe the problem is neither on the Java code or on the ABAP code, maybe it is somewhere in the middle (maybe on the JCO connections, the parsing of the data or something)... Can somebody please help me out?? I have been with this problem since monday and I am nowhere near the solution...

Hi Pablo,
               I would like to mention 2 things.
1. Have u tried to debug the application ?? Go to r/3 system ->tcode - se37.put an external breakpoint over there & run the application. Check whether u r getting the data properly from there or not.
2. If its a the problem only with 1 table,can u plz tell the nwds version,u r using??If u r using 7.0.11 , i would suggest u to go thru this sap note :Note 991175
Actually we had a similar kind of problem & later find out that its an bug in 7.0.11.I m not sure abt ur problem exactly,but still u can refer this & check whether u also need a patch or not.(A patch is already available for the problem mentioned in the sap note)
regards
Sumit

Similar Messages

  • Modify FBV3 output with some extra fields

    Dear Experts and Gurus,
    I am new to this field and community.
    We have a requirement from Business that they want to add some more field on FBV3 report (e.g. Vendor name , Invoice amount, due date etc.)
    Would you please guide me how to modify or add these extra fields to the transaction.
    I saw this thread before but I can't see solution/answer  for the same.
    Thanks so much

    Hi,
    It is not possible as per the standard to add additional fields in FBV3 listing.
    The program itself shows the possible selection fields for the header which are company code, document number and fiscal year
    Program RFPUEB00 (screen 1000):
    PROCESS BEFORE OUTPUT.
    MODULE %_INIT_PBO.
    MODULE %_PBO_REPORT.
    MODULE %_PF_STATUS.
    MODULE %_BUKRS.    <<<<<
    MODULE %_BELNR.    <<<<<
    MODULE %_GJAHR.    <<<<<
    MODULE %_INIT_PAI.
    CHAIN.
      FIELD  BUKRS-LOW.    >>>>>
      FIELD  BUKRS-HIGH.
      MODULE %_BUKRS.
    ENDCHAIN.
    CHAIN.
      FIELD  BELNR-LOW.   >>>>>
      FIELD  BELNR-HIGH.
      MODULE %_BELNR.
    ENDCHAIN.
    CHAIN.
      FIELD  GJAHR-LOW.   >>>>>
      FIELD  GJAHR-HIGH.
      MODULE %_GJAHR.
    ENDCHAIN.
    The only way to get your requirement would be by modifying the
    standard which it is not recommended by SAP.
    Regards,
    Jaisson.

  • DataCleanse output fields empty

    Hi,
    I am using the EnglishNorthAmerica_DataCleanse transform to clean personal records, however the output fields are empty?  We are using 4.2, is there some special configuration that need to be done before we can see this?
    TIA

    Ok, I spoke too soon.
    I created a new Data Cleanse transform and now I don't have the output column anymore, below are screenshots:
    What am I missing?

  • XSLT mapping sorting against an output field

    Hi, all
    I am testing my XSLT mapping. Here is the output message type defintion:
    I want to sort f2 in my xslt mapping. Here is my mapping:
    <?xml version="1.0" encoding="UTF-8" ?>
      <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://fileconversion" xmlns:ns1="http://fileconversion">
        <xsl:template match="/">
          <ns1:TESTOUTPUT_MT>
            <Msg>
            <xsl:for-each select="ns0:TESTDATA_MT/Trans/Detail">
            <xsl:sort select="Transaction/Data/f2" />
              <Transaction>
                <Data>
                  <f1>
                    <xsl:value-of select="PERNR" />
                  </f1>
                  <f2>
                    <xsl:value-of select="POSITION" />
                  </f2>
                  <f3>
                    <xsl:value-of select="TEL" />
                  </f3>
                  <f4>
                    <xsl:value-of select="concat(concat(STREET,' '),CITY)" />
                  </f4>
                </Data>
              </Transaction>
                </xsl:for-each>
            </Msg>
          </ns1:TESTOUTPUT_MT>
        </xsl:template>
      </xsl:stylesheet>
    The sorting did not execute on field "f2" and the data is in the same order as the input.
    Note that I can do <xsl:sort select="POSITION " /> instead and it will work. But I am trying to test on sorting against output field as this is the requirement in the real interface.
    What did I do wrong? Please advise.
    Thanks,
    Jonathan.

    Hi Jon - You can sort the source values. If you use "sort select="Transaction/Data/f2" i don't think it has got some effect.
    You can use <xsl:sort select="POSITION " /> Any issues with that?
    Just to add - when you map Position with F2... how does the sorting will be different when you execute it on F2 or Position?
    If you are doing some calculation for F2 then should handle the Sort function accordingly..

  • Output field length issue in OO ALV

    Hello Experts,
    I have an requirement to download ALV grid output into Excel but some of columns having more than 128 characters, as per standard SAP will not support so I have included one more button and I have written the below code.
      field-symbols: <fs_table> type standard table,
                     <fs_wa>.
    * Get the current fields of the layout
      CALL METHOD ALV_GRID->GET_FRONTEND_FIELDCATALOG
        IMPORTING
          ET_FIELDCATALOG = it_fcat.
    * Generate dynamic internal table
      CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG           = it_fcatn
        IMPORTING
          EP_TABLE                  = dyn_table
      assign dyn_table->* to <fs_table>.
      create data dyn_line like line of <fs_table>.
      assign dyn_line->* to <fs_wa>.
    loop at lt_final into ls_final.
        if ls_final-EBELP is not INITIAL.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
            EXPORTING
              INPUT  = ls_final-EBELP
            IMPORTING
              OUTPUT = ls_final-EBELP.
        endif.
        MOVE-CORRESPONDING ls_final to <fs_wa>.
        append <fs_wa> to <fs_table>.
      endloop.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                = FULLPATH
          FILETYPE                = 'DAT'
          WRITE_FIELD_SEPARATOR   = 'X'
          CONFIRM_OVERWRITE       = 'X'
        TABLES
          DATA_TAB                = <fs_table>
          FIELDNAMES              = LT_HEADING
    Now my problem is some of field output value getting truncated(in excel) but it displayed in Grid output.
    eg.
    lt_final having one text field(Doc. Type description) and the length is 20, actually printing 17 characters but we are not defining the output length.
    Can you please anyone faced the problem earlier? Basically the SAP version is R/3 4.7.
    Regards,
    Vadamalai A

    Hello All,
    Before calling CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
    we can define the length
      WHEN 'BATXT'.       wa_fcatn-OUTPUTLEN =
    20.
    Regards,
    Vadamalai A.
    We can close this thread.

  • Missing class indicator field from database row

    Hi,
    I have following problem :
    There is a class inheritance with root interface and 4 subclasses, they are initialized with class indicator field. If I use ReadAllQuery with an interface or some of concrete class as search class - it is working perfect, but if I try to build query with custom selected fields (addPartialAttribute) I always get an error - Missing class indicator field from database row.
    AFAIK This field have not to be mapped in Workbench to real table column, how can I tell TopLink that I will read this indicator field too by reading some custom fields ? I thought TopLink reads such fields automatically, like it does it with primary keys.
    Thank you
    Maksim

    This sounds like an issue with our partial attribute queries and inheritance as the type indicator column must always be read. Can you map the type indicator to a read-only attribute (mark mapping as read-only) and include this in your list of attributes as a work-around?
    Doug

  • "Premiere Pro CS3" is missing some codecs!

    Hi!
    First of all, thanks for stoping by and read my post.
    It's me first time ever using Premiere Pro CS3. I tried to some basic video editing on it, but I cannot hear any sound coming out of my laptop speakers; when i import the video clips. Even tho, I can hear them with "Windows Media Player". So, I investigated a bit and I did some of the things adviced by Adobe's knowledgebase thing.
    And, I came up with a paper saying to download "MediaInfo" and "GSpot" to find out the codecs of the "mpg" files. Here is a report i made with the information given by those programs:
    DVD "VOB" format
    Format: MPEG-PS
    MPEG-2 Program Stream << { 1 vid, 1 aud }
    Sys Bitrate: 10080 kb/s VBR
    Bit rate mode                    : Variable
    bit rate                 : 5 899 Kbps or 5 324 Kbps
    Nominal bit rate                 : 9 100 Kbps
    Width                            : 720 pixels
    Height                           : 480 pixels
    Display aspect ratio             : 16/9
    Frame rate                       : 29.970 fps
    Standard                         : NTSC
    Colorimetry                      : 4:2:0
    Scan type                        : Interlaced
    Scan order                       : Top Field First
    Codec(s) are Installed
    Audio
    ID                               : 128 (0x80)
    Format                           : AC-3
    Format/Info                      : Audio Coding 3 (AC3)
    Bit rate mode                    : Constant
    Bit rate                         : 256 Kbps
    Channel(s)                       : 2 channels
    Channel positions                : L R
    Sampling rate                    : 48.0 KHz
    Resumen:
    0xbd[0x80]:48000Hz  256 kb/s tot , stereo (2/0)
    Codec(s) Installed
    Missing:
    DSH FmtTag: 0x00ff    "MainConcept (Adobe2) AAC Decoder" {214CD0D1-FC06-41B1-8BB8-84DA4CFB17D9} 0x00600000 ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2daac.ax"
    DSH Video "MainConcept (Adobe2) H.264/AVC Decoder" {FF890B41-A4C5-4B19-87CF-65D86EC12F1C} 0x00600000 ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2dsh264.ax"
    DSH MPEG1Packet "MainConcept (Adobe2) MPEG Audio Decoder" {25AD5730-4DE0-4CF8-952A-2AEF53AC4321} 0x005fffff ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2mcdsmpeg.ax"
    DSH MPEG1Packet "MainConcept (Adobe2) MPEG Video Decoder" {25AD5740-4DE0-4CF8-952A-2AEF53AC4321} 0x005fffff ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2mcdsmpeg.ax"
    DSH MPEG1System "MainConcept (Adobe2) MPEG Splitter" {25AD5720-4DE0-4CF8-952A-2AEF53AC4321} 0x005fffff ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2mcspmpeg.ax"
    DSH Video "MainConcept (Adobe2) MPEG Encoder" {25AD5750-4DE0-4CF8-952A-2AEF53AC4321} 0x00200000 ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2mcesmpeg.ax"
    DSH YV12 "MainConcept (Adobe2) H.264 Encoder" {FF890B51-A4C5-4B19-87CF-65D86EC12F1C} 0x00200000 ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2esh264.ax"
    DSH RGB24 "MainConcept (Adobe2) MPEG Video Encoder" {25AD5760-4DE0-4CF8-952A-2AEF53AC4321} 0x00200000 ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2mcevmpeg.ax"
    DSH PCM "MainConcept (Adobe2) MPEG Audio Encoder" {25AD5770-4DE0-4CF8-952A-2AEF53AC4321} 0x00200000 ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2mceampeg.ax"
    DSH MPEG1Video "MainConcept (Adobe2) MPEG Multiplexer" {25AD5780-4DE0-4CF8-952A-2AEF53AC4321} 0x00200000 ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2mcmuxmpeg.ax"
    DSH RGB24 "MainConcept (Adobe2) H.264/AVC Video Encoder" {FF890B61-A4C5-4B19-87CF-65D86EC12F1C} 0x00200000 ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2evh264.ax"
    DSH PCM "MainConcept (Adobe2) AAC Encoder" {866DFE40-5582-4FA6-B4BC-665781A007E6} 0x00100000 ** File Missing: "C:\Program Files\Adobe\Adobe Premiere Pro CS3\ad2eaac.a
    As you can see "Premiere Pro CS3" is missing some codecs, so my question is where can I download those?
    I forgot to tell you, that I use a HP laptop Dual core Intel processor with Win Vista Home 2 GB of RAM and 160 GB of HD
    Thanks in advance
    P.S. I am attaching the Diagdx.txt, even tho I don't think has to necesary
    P.S. 2. I just saw another post similar to this one, but it doesn't tell you how to make "Premiere Pro" get the audio to work in my clips and finished project

    Most good file converters can handle Video and Audio. If you are having issues with the Audio, both Audition and SoundBooth can convert to almost anything and any sample rate and bit depth.
    Here's a LINK to the PrPro Wiki. There are links to various aspects of conversion there.
    Now, remember that when working FROM MPEG-2 and also AC3, the files are compressed to begin with. Quality will suffer, and there is only one way around that - go back to the original source files. If not possible, then you have to determine if the quality has suffered too much.
    Good luck,
    Hunt

  • XML mapping inheritance problem; missing class indicator field

    Hi!
    I am currently working on a project which involves mapping a large domain model on a XSD schema. For this we use Toplink 10.1.3.1 which is mostly great. But now I have a problem while wanting to use class inheritance.
    In my XSD I have the following defined
    <xs:complexType name="Traject">
         <xs:sequence>
              <xs:element name="SoortTraject" type="SoortTraject"/>
         </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SpecialTraject">
         <xs:complexContent>
              <xs:extension base="Traject">
                   <xs:sequence>
                                 [some elements] 
                   </xs:sequence>
              </xs:extension>
         </xs:complexContent>
    </xs:complexType>My XML is an implementation of this XSD and looks like this
    <Trajecten>
            <Traject xsi:type="SpecialTraject">
                     [implementation of the elements]
             </Traject>
    </Trajecten>My domain model corresponts to the XSD, so there is a Traject object and an inherited SpecialTraject object.
    In the mapping I used the Advanced properties->inheritance on both descriptors telling the Traject descriptor that it was the 'Root Parent Descriptor' ('Use class indicator field' -> 'use XML Schema Type attribute', 'Use class indicator dictionary') and the SpecialTraject what it Child Descriptor was ('Traject').
    When I test my mapping it always results in the same error (no matter how I configure this inheritance mapping). It says :
    [TOPLINK-44] missing class indicator field
    Descriptor: XMLDescriptor(Traject --> [])What am I doing wrong? Does anybody know a sollution?
    Best regards,
    Jouke Stoel
    Developer

    This is the changed XML descriptor file. When I deploy the file it automaticly overrides the old file so it ain't possible that I was still using the wrong file
    <toplink:class-indicator-mappings>
        <toplink:class-indicator-mapping>
            <toplink:class>Traject</toplink:class>
            <toplink:class-indicator xsi:type="xsd:string">Traject</toplink:class-indicator>
        </toplink:class-indicator-mapping>
        <toplink:class-indicator-mapping>
            <toplink:class>SpecialTraject</toplink:class>
            <toplink:class-indicator xsi:type="xsd:string">SpecialTraject</toplink:class-indicator>
        </toplink:class-indicator-mapping>
    </toplink:class-indicator-mappings>I have posted the stacktrace but I had to translate a bit because my exception was in Dutch :)
    Locale is a great invention
    Exception [TOPLINK-44] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DescriptorException
    Exception description: Missing class indicator field of database row [UnmarshalRecord()].
    Descriptor: XMLDescriptor(Traject --> [])
         at oracle.toplink.exceptions.DescriptorException.missingClassIndicatorField(DescriptorException.java:887)
         at oracle.toplink.internal.ox.QNameInheritancePolicy.classFromRow(QNameInheritancePolicy.java:84)
         at oracle.toplink.internal.ox.XMLRelationshipMappingNodeValue.processChild(XMLRelationshipMappingNodeValue.java:13)
         at oracle.toplink.internal.ox.XMLCompositeCollectionMappingNodeValue.startElement(XMLCompositeCollectionMappingNodeValue.java:62)
         at oracle.toplink.ox.record.UnmarshalRecord.startElement(UnmarshalRecord.java:352)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
         at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:189)
         at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:147)
         at oracle.toplink.ox.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:228)
    .

  • How to control the output fields in ALV

    Hi Pals,
    I have a Z program which outputs around 400 characters length. It is working fine when we run in foreground(online).. But i have the problem with the length of the output of the report when i run in BACKGROUND mode. That is, only 255 characters are being displayed.
    So, i have decided to supress some of the unwanted output fields being diplayed, so that the total output length becomes 255 characters.
    How can i handle this situation in the ALV's?
    Someone please send me some sample code.
    Thanks in advance,
    Ram.

    Hi
       Better create the Layout Variants with the desired columns.
    ALV is providing that functionality.
    Use
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          is_variant = alv_variant
          i_save     = 'A'
        IMPORTING
          es_variant = alv_variant
        EXCEPTIONS
          not_found  = 2.
    Regards,
    Kumar

  • While in PDF format it is showing some starting fields only

    Hi All,
    I created sample report and build Layout template in word doc.
    I uploded RTF template into Report & given output format in Exel&Pdf.
    When i view the output for Exel format is OK
    While in PDF format it is showing some starting fields only
    (I can move downword direction but i can't to move Right direction ie X-axis)
    How can i solve this prob.
    Awaiting for Reply....
    Subbu..

    Make sure you are designing the template while in the Print Layout, not Web Layout (View menu, or switches in the bottom left hand side of the Word window). In the web layout (which Excel uses) the page can expand to the right, while in the print layour (which PDF uses) only those fields will be seen that fit into physical page size.

  • '#' unexpectedly inserted into output fields in script print preview

    Hello Experts,
    I came across a problem that confused me so much that when i try to see the print preview of a script form, the output fields in Main window were all printed with '#' inserted, as below:
    the output is like 7#8#0#0#0#....but it should be 7800017167
    and also, for other fields like date and amount, the same problem occurs.
    But the most weird thing is that, the issue only occurs in the Main Window of the second page of the form, but not in the first page although they share the same  Main Window. And what's more, it only happened in the Testing System, I can not replicate them in develop system...
    I know it may be a very isolate problem, but i just want to try my luck to see if any of you could shed me some light~
    Thanks!

    Hi Siva,
             Can you tell me please, wheather its a "Z" driver program or Standard driver program.
             After execution of the program/transaction code go for <b>systems</b>> then for <b>Status></b> then you can find the <b>program name.</b> You can go into that and search for  the <b>Open_form</b>. Before Open form set the <b>BreakPoint</b> there you can find the form name which will pass during run time through variable.
             other option is that go for <b>NACE</b> transaction and see for <b>routine,</b> <b>for example</b> If it is invoice then it will be Billing. select your that<b> area</b> and click on <b>Output type button.</b> there you can see the output types You can go in that and see for program and form name, then you can confirm the output type.
    reward point if it is helpful.
    Regards
    Sagun Desai.

  • HOW TO ASSIGN F4_VALUE_HELP FOR A REPORT OUTPUT FIELD???

    Hi Gurus,
      Can you please help me out in assigning F4_VALUE_HELP for a report output field where it is taking value as the input parameter....... If possible please help me out with some sample code ....
    Regards,
    Santosh
    Intelligroup

    I don't think that you are get the F4 functionality by pressing F4, but maybe if you use a hotspot you could achieve it.  Check this sample.  When you click on a company code in the list, it fires the F4 help defined by the program. 
    report zrich_0001 .
    tables: t001.
    data: begin of it001 occurs 0,
          bukrs type t001-bukrs,
          butxt type t001-butxt,
          ort01 type t001-ort01,
          land1 type t001-land1,
          end of it001.
    start-of-selection.
      select bukrs butxt ort01 land1 into table it001 from t001.
      loop at it001.
        format hotspot on.
        write:/ it001-bukrs.
        hide it001-bukrs.
        format hotspot off.
        write: it001-butxt.
      endloop.
    at line-selection.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'BUKRS'
                dynprofield = 'BUKRS'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = it001.
    Regards,
    Rich Heilman

  • Regarding input output field of the screen painter

    Hi Experts,
    I want to increase the height of the input output field in the screen painter.
    ie, multiline input output field.Is there any means?
    Or is there any alternative other than the input output field?
    Thanks & Regards,
    Soumya.

    hi,
    when u drag n drop some fields in the screen goto to one of the corners of dat fields drag to the extend u want to increase.
    or in attributes section  for u length n width of dat fields are available just increase to your wish.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • ALV OUTPUT FIELD LEANTH

    HI EXPERTS,
    IN ALV OUTPUT FIELD LENTH IS MAX 128?
    IN MY REQUIRMENT THE FIELD HAS 500 CHARTERS
    Moderator Message: So where is the question? And why type in CAPITAL letters? Do some research before you post a question here. Also, please read the Rules of Engagement of this forum
    Edited by: kishan P on Apr 1, 2011 10:10 AM

    Hi,
    Linking F4 Help to Fields
    For the last section, we will deal with linking F4 help to fields. It is easy. As usual, define, implement and register the event “onf4” at proper places in your code. For F4 help, you must register the fields whose F4 request will trigger the “onf4” event. For this you must prepare a table of type “LVC_T_F4” and register this table using the method “register_f4_for_fields”. While preparing table you must include a line for each field which will trigger F4 event. For each field in the structure;
    Pass the fieldname to ‘FIELDNAME’
    Set ‘REGISTER’ to make the field registered,
    Set ‘GETBEFORE’ to provide field content transport before F4 in editable mode
    Set ‘CHNGEAFTER’ to make the data changed after F4 in editable mode.
    Preparing table for the fields to be registered to trigger F4 event
    DATA: lt_f4 TYPE lvc_t_f4 WITH HEADER LINE .
    lt_f4-fieldname = 'PRICE'.
    lt_f4-register = 'X' .
    lt_f4-getbefore = 'X' .
    APPEND lt_f4 .
    CALL METHOD gr_alvgrid->register_f4_for_fields
    EXPORTING
    it_f4 = lt_f4[] .
    A sample “onf4” method implementation
    METHOD handle_on_f1 .
    PERFORM f4_help USING e_fieldname es_row_no .
    er_event_data->m_event_handled = 'X' .
    Again, we set the attribute “er_event_data->m_event_handled” to prevent further processing of standard F4 help.
    Regards,
    Ranjit Thakur.
    <b>Please Mark The Helpful Answer.</b>
    ENDMETHOD .

  • ABAP query output not showing all output fields

    I added a new field group in an existing query and marked them to display in the output list. When I test the output from SQ01 -> InfoSer Query, the output is what I expect. However, if I execute the query itself, it does not show the additional fields I just created.
    I notice that in the Basic List layout design, the new fields are on a new line and not appended to the same line as the output fields before I did the modifications. I already tried to manipulate the output length and positions, but it didn't help. I turned on the ruler to drag the fields in the desired positions, sometimes it works but not for all the fields. Can someone help me please?

    I figured it out already. The maximum width for the report output is 255 only. Switching from graphical query painter, I got the error that some fields were overlapping. Then I recalculated the starting positions of the fields and adjusted their lengths. 

Maybe you are looking for

  • Restriction on number of line items in an automatically generated document

    Hi all, As per my info, an accounting document must have a minimum of 2 line items to complete the document. At the same time an accounting document can have a maximum of 999 line items. My observation:- When I am posting depreciation using t-code AF

  • How to change the name of a Box Object in Crystal Reports 2008

    I am trying to change the name of a box object in a crystal report - 2008. This report was originally developed by consultants and requires that certain boxes be named according to a specific naming convention. I am making a change to the report and

  • Error in setting up Facetime

    A friend gave me their iPhone 5.  Unfortunately I did not unde rstand that I needed to check my iPhone number when I tried to setup my Facetime and only marked my email.  I have a PC so it is not activating. Now what do I do?

  • Find window in Safari

    Is there are way to keep the find window visible in Safari? It goes away when I go to a new webpage.

  • A way to find my previous questions and problem reports?

    Is there a way on this forum to find my previous questions and problem reports? Since posting a question earlier today, I've found MOST of the answer and would therefore like to append what I found to the question, without waiting for someone else to