Header Text for Standard Field

I have a standard text field in RQEVA structure and field is SGTXT04 ,I want to fetch data from this field using READ_TEXT but for this I m not able to get the Header text information like ID,Name ,Object.
Please suggest how to get these information for this feld which is in QA11  used for Rejection Reason.

Its still not working, need ur help
I just want to tell you one more thing is that the field SGTXT04 is standard text field
I have written this following code :-
DATA : begin of IT_QALS OCCURS 0,
PRUEFLOS like QALS-PRUEFLOS,
end of IT_QALS.
data : begin of IT_QAVE OCCURS 0,
kzart like qave-kzart,
end of IT_QAVE.
PARAMETERS: S_PRUE LIKE QALS-PRUEFLOS,
            S_KZART LIKE QAVE-KZART.
SELECT PRUEFLOS FROM QALS INTO corresponding fields of IT_QALS where PRUEFLOS = S_PRUE .
ENDSELECT.
SELECT KZART FROM QAVE INTO corresponding fields of IT_QAVE where KZART = S_KZART .
ENDSELECT.
data:
        BEGIN OF header OCCURS 0,
          ld_txt1(163),
          ld_txt2(163),
          ld_txt3(163),
        END OF header.
  DATA: li_lines LIKE STANDARD TABLE OF tline WITH HEADER LINE,
        ID like THEAD-TDID,
        TNAME LIKE THEAD-TDNAME,
        TNAME1 LIKE THEAD-TDNAME,
        TDOBJECT like THEAD-TDOBJECT.
        concatenate sy-mandt IT_qals-prueflos IT_qave-kzart into TNAME1.
        ID = 'QAVE'.
        TNAME = TNAME1.
        TDOBJECT = 'QPRUEFLOS'.
  CALL FUNCTION 'READ_TEXT'
    EXPORTING
      id       = ID
      language = sy-langu
      name     =  TNAME
      object   = TDOBJECT
    TABLES
      lines    = li_lines.
  READ TABLE li_lines INDEX 1.
  IF sy-subrc = 0.
    header-ld_txt1 = li_lines-tdline.
  ENDIF.
  READ TABLE li_lines INDEX 2.
  IF sy-subrc = 0.
    header-ld_txt2 = li_lines-tdline.
  ENDIF.
  READ TABLE li_lines INDEX 3.
  IF sy-subrc = 0.
    header-ld_txt3 = li_lines-tdline.
  ENDIF.
  WRITE:/ header-ld_txt1.
  WRITE:/ header-ld_txt2.
  WRITE:/ header-ld_txt3.
Edited by: Nishantbhargava on Aug 1, 2011 9:30 AM

Similar Messages

  • How to change heading text  for parameter field of type date

    Hi,
        After creating a parameter field with the type " Date Time" when I open the report for entering the parameter then it displays  the given parameter with the following text:
    " Please enter Date in format "yyyy-mm-dd". "
    I want to change it to some other text like as:
    " You have to enter the date and time in format yyyy-mm-dd . "
    Is there any way by which I can change this given header to some other text.
    Let me know if anyone needs some more information in this regard so as to solve my given query soon.

    Hi Garrett,
                  Well first of all I can change only the prompt text that is user defined. I cannot change any parameter as of now whose type is let suppose Date. Since in this case the Business Object itself shows the text which is something like this " Please enter Date in format "yyyy-mm-dd". " .
       Here I want to change this given text to some other format like " You have to enter the date in the format yyyy-mm-dd" or in any other manner.
    Also the current Crystal Report version which I am using is 11.0.0.1282.

  • Header Text for Field Catalog ALV Grid doubt ..

    Hi everybody
    I have an ALV Grid List Report (REUSE_ALV_LIST_DISPLAY)
    but i have a trouble:  the header texts for the fields are always truncated to 10 positions.
    The code for fill the Field Catalog are:
      CLEAR l_field_cat.
      l_field_cat-COL_POS       =  2.
      l_field_cat-FIELDNAME     =  'AVERAGE'.
      l_field_cat-TABNAME       =  'T_REPORT'.
      l_field_cat-REF_TABNAME   =  'RPSCO'.
      l_field_cat-REF_FIELDNAME =  'WLP00'.
      l_field_cat-SELTEXT_S   =  TEXT-004. <- 'AverageAmount' 20 lenght
      l_field_cat-DDICTXT       =  'S'.
      l_field_cat-KEY           =  ' '.
      l_field_cat-KEY_SEL       =  ' '.
      APPEND l_field_cat  TO  p_field_cat.
    But, although the column appears with 20 characters lenght, the header text appears 'AverageAmo', and it is in the same way for all the fields, even with fields with 40 characters lenght.
    What am i doing incorrect ?
    Thanks in Advanced
    Frank

    That is because of field I_field_cat-SELTEXT_S.
    This will always display 10 char long text.
    To avoid truncating you can specify length for the header.
    Try this
            x_fieldcat-seltext_l = TEXT-004.
            x_fieldcat-outputlen = 20.
            x_fieldcat-ddictxt   = c_l.
    Message was edited by: Ashish Gundawar
    Message was edited by: Ashish Gundawar

  • Mandatory field - Header text and Reference field  for company code

    Hi
    In transaction code FB60, I want to make header text and reference field mandatory at the company code level.
    For one company code , the header text and the reference field should be made mandatory but for the other 8 company codes , those fields should not be mandatory.
    if I make the fields mandatory via the document type , then it will be applicable for all the company codes using the document type.
    thanks in advance
    Kind regards
    sap student

    Hi Chintan
    I have written the validation rule and it is working fine.
    Thanks
    kind regards
    sap student

  • How can i add Document Header Text for s_alr_87012357

    Hi Gurus
    How can i add Document Header Text for  s_alr_87012357(Advance Return for Tax on Sales/Purchases).do i need change the standard program or is there any alternate to do this please  help me  out.

    i found it .its in output list and i did change the layout settings.thanks

  • F4 HELP for standard field..

    i want to put F4 help for standard field FERTH in mm01 and mm02 ...
    is there any way to put F4 help for this field..

    try this
    1. First go to SE11 and create your own search help( if you dont know how to create a search help please feel free to ask me, it is very easy).
    2. Now in your module pool program program go to the layout of your screen.
    3. Now when you see the attributes of this field in the Dict tab you will find the field Search Help. Now here you can specify the name of the search help you created in SE11.
    There is also another mehtod to create the dynamic search help. eg:- in a posted document data get the Document nos related to that company code.
    The sample code is like this:-
    First of all declare the module below in the flow logic of your screen then create it in your main program.
    You declare the module in the PROCESS ON VALUE-REQUEST.
    PROCESS ON VALUE-REQUEST.
    FIELD TXT_DOCNO MODULE VALUE_BELNR.
    You also need to create an internal table where you wil store results of the select query fired below in the module.
    here you will get a F4 help on the filed Document Number(TXT_DOCNO) based on the field Company code (TXT_CODCO)
    MODULE VALUE_BELNR INPUT.
    progname = sy-repid.
    dynnum = sy-dynnr.
    CLEAR: field_value, dynpro_values.
    field_value-fieldname = 'TXT_CODCO'.
    APPEND field_value TO dynpro_values.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname = 'BKPF'
    fieldname = 'BUKRS'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'TXT_CODCO'.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    dyname = progname
    dynumb = dynnum
    translate_to_upper = 'X'
    TABLES
    dynpfields = dynpro_values.
    READ TABLE dynpro_values INDEX 1 INTO field_value.
    SELECT BUKRS BELNR
    FROM BKPF
    INTO CORRESPONDING FIELDS OF TABLE it_doc1
    WHERE BUKRS = field_value-fieldvalue.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'BELNR'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'TXT_BELNR'
    value_org = 'S'
    TABLES
    value_tab = it_doc1.
    ENDMODULE. " VALUE_BELNR INPUT

  • How to change search help for standard field in me51n.

    hi frnds,
              I want to change search help option for 'Advice code' field under Additional DFPS tab in me51n. But i dont know how to change or add search help for standard field. so plz help..
    best regards,
    sudip biswas

    Hi Abhi,
    Try using any one option:
    Create a Search Help in SE11.
    Now Goto SE11 -> Enter Ztable -> Select that field -> Click Search Help and try to assign the created Search help to that field in your Ztable explicitly
    OR
    Create a Zdata element in SE11.
    In Data Element, under Further Characteristics tab, enter Name  Parameters of Search Help.
    Assign this data element to that field in ur Ztable.
    OR
    Create a Zdomain and maintain a Value Table or Fixed Values for it.
    Assign this domain to that field in ur Ztable.

  • HOw to  find the text for PERSK field in infotype 0001

    hi all
    HOw to  find the text for PERSK field in infotype 0001

    Hi
    T503T : contained the similar informative text for PERSK . read this for T503T-PTEXT.
    ..lakhan

  • How to add search help for standard field LIKP-TRAID

    Hi friends,
    How to add search help for standard field LIKP-TRAID ,
    refer screen
    Program Name       SAPMV50A  
    Screen Number      2108      
    TrnsIDCode ( LIKP-TRAID ) ..
    I need to add a search help, so that i can retrieve data from Ztable.
    Thanks.
    Abhi

    Hi Abhi,
    Try using any one option:
    Create a Search Help in SE11.
    Now Goto SE11 -> Enter Ztable -> Select that field -> Click Search Help and try to assign the created Search help to that field in your Ztable explicitly
    OR
    Create a Zdata element in SE11.
    In Data Element, under Further Characteristics tab, enter Name  Parameters of Search Help.
    Assign this data element to that field in ur Ztable.
    OR
    Create a Zdomain and maintain a Value Table or Fixed Values for it.
    Assign this domain to that field in ur Ztable.

  • New Header Text for PR

    Dear colleagues,
    I have created a new header text for PR under object EBANH (as Z01) from transaction code SE75. This new header text appears when creating/changing PR but when I fill this new header text right behind saving of PR filled data disappears from this new header text of PR.
    Can you please advice how to solve this issue?
    Thanks.

    Hi Nick,
    EBANH is active if it wouldn't have than I couldn't maintain the original text area (B01) supplied by SAP. But I can simply maintain and save original header note of PR.
    Thanks.
    PS. Where can I see if EBANH is active or not?

  • Default  header text for PO

    Hello,
    Mine client requirement is like they want default header Text for all PO.Please guide me, what is the customization required?
    Regards,
    Jyoti

    Hi jyoti,
    As per my understanding of your requirement, you can try to maintain the default PO Text in the "Vendor Master Record" or in "Contract" if applicable and then you need to do the following customisation to adopt these texts in the Purchase Orders.
    IMG -> Material Management -> Purchasing -> Purchase Order -> Texts for Purchase Orders -> Define Text Types for Header Texts and Define Copying Rules for Header Texts.
    In Define Copuying Rules for Header Texts -tab you can maintain that in which Target Header Text, the deault PO text should be adopted and from where i.e. From Vendor Master Record or Contract or RFQ. Check which of this satisfy your requiremnt to the maximum extent.
    Please check this and see if your requirement is fulfilled or not.
    Regards,
    Ankit
    Edited by: Ankit Patodi on Jan 12, 2011 11:55 AM

  • Header text for delivery order

    Hi,
    I want to retreive the header text for the given delivery number. Can anyone explain me in detail way how to retreive this.
    If there is any FM please let me know What inputs should be given to that FM.
    Thanks,
    Rose.

    Hi,
    You can use the FM read_text.
    see the link below to solve your purpose.
    http://www.blogtoplist.com/rss/function.html
    Please reward points if useful.
    Regards
    Rose

  • Function Module/Table to retrieve check table for standard fields

    Hi,
    Is there any function module or database table that holds the check table for standard field? Ex. BUKRS = T001.

    Hi MArc,
    Goto DD03L table
    Enter fieldname and tablename, you will get check table in CHECKTABLE field.
    e.g. fname - MATNR, tbname MARD then CHECKTABLE - MARA
    Reg,
    Sachin

  • How to retrieve the header texts for a contract

    HI,
      i think we need to use the FM read_text to get the header texts for a contract but dont know how to use the FM like what all the parameters are passed to that to get the header texts of a contract(va43).
    any help is appreciated with points.
    thanks
    prasad

    Hi,
      Pls refer this code,    
        CALL FUNCTION 'READ_TEXT'
                  EXPORTING
                    client                  = sy-mandt
                    id                      = '0001'
                    language                = sy-langu
                    name                    = v_textid
                    object                  = 'KNMT'
                  IMPORTING
                    header                  = t_header
                  TABLES
                    lines                   = t_lines
                  EXCEPTIONS
                    id                      = 1
                    language                = 2
                    name                    = 3
                    not_found               = 4
                    object                  = 5
                    reference_check         = 6
                    wrong_access_to_archive = 7
                    OTHERS                  = 8.
                IF sy-subrc EQ 0.
                  LOOP AT t_lines.
                    CONCATENATE w_arktx t_lines-tdline INTO w_arktx
                                       SEPARATED BY space.
                  ENDLOOP.
                ENDIF.
                IF w_arktx NE space.
                  MOVE w_arktx+1(1583) TO t_lips-arktx.
                ELSEIF w_arktx EQ space.
                  CLEAR w_text_name.
                  CLEAR v_textid.
                  wa_lips-matnr = t_lips-matnr.
                  wa_lips-vkorg = t_likp-vkorg.
                  wa_lips-vtweg = t_lips-vtweg.
                  w_text_name = wa_lips.
                  CLEAR w_arktx.
    Retrieval of Sales Text
                  CALL FUNCTION 'READ_TEXT'
                    EXPORTING
                      client                  = sy-mandt
                      id                      = '0001'
                      language                = sy-langu
                      name                    = w_text_name
                      object                  = 'MVKE'
                    IMPORTING
                      header                  = t_header
                    TABLES
                      lines                   = t_lines
                    EXCEPTIONS
                      id                      = 1
                      language                = 2
                      name                    = 3
                      not_found               = 4
                      object                  = 5
                      reference_check         = 6
                      wrong_access_to_archive = 7
                      OTHERS                  = 8.
                  IF sy-subrc EQ 0.
                    LOOP AT t_lines.
                      CONCATENATE w_arktx t_lines-tdline INTO w_arktx
                                         SEPARATED BY space.
                    ENDLOOP.
                  ENDIF.
                  IF w_arktx NE space.
                    MOVE w_arktx+1(1583) TO t_lips-arktx.
                  ELSE.
    REgards
    srinivas

  • Header Text for Purchase Requisition

    Problem Description: Is there a way Header text can be configured / customized for purcahse requisitions just as we do for POs and then defined to be copied to purchase order?
    I know Header Note is available on Pur Req but comments in this section remain internal. 
    I have also reseached that there is a BADI 'Adopt Header Text When Copying Purchase Requisitions' but in standard system this is not active.

    Hi,
    try this BADI - ME_REQ_HEADER_TEXT     : Header Text: Enjoy Purchase Requisition

Maybe you are looking for

  • One computer, 4 authorizations for same song on it: what's with that?

    I have only used one computer and my iphone for the itunes I have purchased but when I went to play a purchased song iTunes said I had to authorize it on this same computer. Then iTunes said I only had one autorization left. This problem is likely du

  • Red exclamation point when booting

    My Apple Watch, 38mm sport, displays a red exclamation point. It seem frozen after I tried to re-associate it with my iPhone. I've been struggling the whole day to reboot it pressing both digital crown and side button, following instructions on www.a

  • Accounting Tab Blank

    Greetings!  I am running PPM 5.0 and trying to configure it for use.  When I open a project in Project Management the "Accounting" tab is blank.  We are trying to finalize the configuration for PS/FI/CO integration and feel something should be here. 

  • Planning to buy a new Webcam

    I need to get a webcam. I had a look at the wiki link. Can someone tell me which webcam to get. Is linux-uvc supposedly better than the rest? I primarily use the webcam with Skype. The wiki says, uvc does not support V4L1 and AFAIK Skype still uses V

  • Error when installing 10.6.3 Combo update

    Hi, I wondered if anyone can help me. I have Snow Leopard running on my new this year iMac 21". Software Update had been working fine until April when the 10.6.3 update came out. The update downloaded but when it tries to install it Validates and the