Delivery Header Text in SAP Query SQ01

Hi Friends,
My requirement is that I need to display the Header Text contents in Outbound delivery in a Query report using SQ01.
As far as I know, we can pull only table fields in SQ01.
Is it possible to include Text contents in SAP Query? Can we develop or enhance it?
Regards,
AK

You can add structure and code in a dataset using SQ02, then it will be available to use in SQ01, but a long text can consist of many lines, and so you may require to truncate the text - read [SAP Query|http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/d2/cb3efb455611d189710000e8322d00/frameset.htm] documentation
- [Creating Additional Structures|http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/d9/9958d4c50a11d396f80000e82de14a/frameset.htm]
- [Further Code|http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/d2/cb4504455611d189710000e8322d00/frameset.htm] (I suggest record processing or after the query get the table with the text id)
So create a structure with some text fields, and fill it for every record read in futher code part.
Regards,
Raymond

Similar Messages

  • Outbound Delivery - Header (Text field - Table Name)

    Hi All,
    In outbound delivery header - Texts tab i notice that we can maintain some texts. May i know which table i should refer to read the text entered.
    I can read the text type key from the table TTXTD, but i need to read the actual text entered by the user.
    Hope my question is clear, await your inputs.
    Regards,
    Vivek

    HI,
    SAP has already provided a various functions for read the text element. So you no need to get the value from table directly!
    There is some example
    CALL FUNCTION 'READ_TEXT'
           EXPORTING
              CLIENT           = SY-MANDT
              ID               = T_TEXT_ID
              LANGUAGE     = 'E'
              NAME          = T_UNIQUE_ID
              OBJECT          = T_TXTOBJ
         IMPORTING
              HEADER          = HTEXT
         TABLES
              LINES          = T_READ_LINE
         EXCEPTIONS
              ID               = 1
              LANGUAGE                    = 2
              NAME                            = 3
              NOT_FOUND                      = 4
              OBJECT                         = 5
              REFERENCE_CHECK     = 6
              WRONG_ACCESS_TO_ARCHIVE = 7
              OTHERS                  = 8.
    Let me explains as below parameters.
    T_TEXT_ID - Text id: example - '08000123', also is the document no.
    T_UNIQUE_ID - Text unique ID: example - 'ZD01'
    T_TXTOBJ - Text Object: example - VBBK
    That information can find it on relevant of document. In your case, you can fount it on the below path:
    VF01n/VF02n > GoTo -> Header -> Text -> detail (is the push small button, then it will go to the next screen) -> Goto -> Header.
    Return Value tales - THEXT and Table Line - T_Read_line
    You must declare this variable before,
    DATA: BEGIN OF HTEXT OCCURS 50.
            INCLUDE STRUCTURE THEAD.
    DATA  END OF HTEXT.
    DATA: BEGIN OF T_READ_LINE OCCURS 50.
            INCLUDE STRUCTURE TLINE.
    DATA: END OF T_READ_LINE.
    READ TABLE T_READ_LINE INDEX 1. "read the line value
    I hope this can help, so remembers reward the points

  • How to Hide Empty Column In SAP Query (SQ01)

    I was crated a report in sq01 based on business requirements , but there are some fields without any content , in sq01 if you select one of output fields in the right side of the screen in the left side you can see  "List Fields" T in the list fields there is a check box , the name is "Only display field if <> 0 " , but when i check it, it doesn't work  , guys is there any one to help me to eliminate column without content , in the result of sap query (sq01) ??

    Please give reference (or hyperlink) to 10 Useful Tips on Infoset Queries (original document)
    Regards,
    Raymond

  • Sales Header Text copy to Delivery Header Text

    Hello,
    We want to copy sales order header text to delivery header text.
    We already did the configuration VOTXN in DEV client and it is working.
    When transported to QA client, we're not able to copy sales order header text to delivery header text.  It is still saying Access Sequence missing.  Checked the configuration in QA, and the access sequence is there attached to the Text Field.
    What else could have been missing?

    Hello,
    Have you created Sales order Header Text by using transaction SO10.
    if Yes,then Run the program 'RSTXTRAN' and attach the Text object to your TR.
    Then Transport this Text to Quality.
    There will be 2 workbench request and 2 Cutomising request.
    Please take care of Sequence in order to move it to QAS(As per Condition Technique Determination)
    Revert if not resolved.
    Regards
    Amit

  • SAP Query (SQ01) who and when to use the report

    HI Experts!!!
    Is there somewhere recorded information:  who and when to use the report from SAP Query (SQ01)?
    Thanks

    Hi
    This topic doesn´t belong to the Service Marketplace Area.
    regards Martin

  • Hide columns for ALV list output in SAP Query SQ01/SQ02

    Hi All,
    I have a requirement to hide the columns which are empty in sap query SQ01 alv list output.
    Please let me know this functionality available in Query (SQ01) like normal reports
    Regards,
    Venkat

    Hi,
    We just can't make changes in this case as this are all system generated programs.
    WE have to write our own reports to make things flexible to match our requirements.
    Things you are asking is not possible.
    Regards,
    Suvendu

  • Delivery Header text table and feild

    Hi all,
    Can any one guide me where delivery header text is saving i check table STXH ( STXD SAPscript text file header) and field TDID but while i am checking in table i am not getting any text data either based on text or any other combination
    can any one guide me which table its saves .. so
    Thanks
    Rajesh

    Hi,
    It stores in STXH and STXL tables only.
    Which particular header text do you want to find?
    In the delivery; go to the particular header text in edit mode and double click on it to open the text editor.
    The from the menu options Go to-->Header.
    You will get the required information such as
    Text Name
    Language
    Text ID
    Text Object
    Use the same in STXH and STXL table.
    Note that you have to specify the complete delivery number with the initial zeros.
    Regards,
    Ankur Parab

  • Incorrect texts in SAP Query Designer

    Hello,
    I have problems with incorrect text in SAP Query designer, I work with SAP codepage 1404 and I see all queries correct, but when I want to edit some query with some special character for czech language its problem. Query designer can=t use czech diacritic.
    Can you give some advice.
    Thanks
    :Petr

    Hello !
    Thks for your quick reply,
    I'm from France sorry for my bed english but i hope u're understanding me, I'm new consultant in BW and like u know woman are not very comfartable with IT so i'm going to ask u 2 others questions about hierarchy and saving query in roles if u don't mind
    1) I want to change some hierarchy node position in production system, do i change directly in rsh1 by adding a node to another level ? or i must to change in a file source or ECC system ? if i change just on rsh1, i will lost all i have changed when Info package will be executed (in daily process chain)...? that's right?
    2) I have a query already published in rôle, but i have to move it to another one, how can i do that in query designer please?
    PS : i can't send you direct message, is it possible to follow me ?
    Thks in advance have a nice day !

  • Configuration path for Inbound delivery header text".

    Hi,
    I want separate text type for Inbound delivery, in transaction code VL31N.
    Can any body suggest on "Configuration path for Inbound delivery header text".
    Thanks & Regards
    Sudhansu

    Hi,
    Use Transaction VOTXN.
    *Select the radio button next to Delivery. and select Text types.
    *Go to new entries and create your own text ID after creating text ID go back to the previous screen and select change button.
    Create access sequence.
    select the access sequence you have created and double click ACCESS SEQUENCE FOR TEXT ID folder and Enter sequence number, Text object  and teh text ID you have created.
    Double click text procedure
    Select the text procedure which you are using for teh Delivery document type and double click TEXT ID IN TEXT PROCEDURE Folder.
    Assign the sequenec number TEXT ID and teh ACCESS sequence.
    Afer all teh above configuration steps the you can see the text ID in header text of billing document.
    To retrive teh contents of teh TEXT ID use Fuction module READ_TEXT with TEXT ID, LANG, NAME and TEXT OBJECT as input parameters.
    Note: The contents of the text ID will be in multiple lines of 70 characters each.
    Regards,
    Arun.S

  • SAP Query SQ01 column limitation issue

    Hi
    At SQ01, I have created a number of custom reports via SAP Query.
    Its a great tool and all, but I am running into a problem where there is a 255 character limitation when I create a Statistics view (where it summarizes values by characters I choose).
    In the SQ01 Query screen, this is controlled by the columns field under the heading list format  and if I list too many objects, I get a message stating report has exceeded 255 character limitation.
    Is there any way I can modify this value, so I can exceed it (say 500?)?
    For us, we use many query reports in our daily reporting so it would be worth modifying.
    If anyone has any info on this, please advise (or feel free to PM me!)
    Regards
    Ken

    Naimesh,
    Thanks for your reply.
    How can I accomplish this? And will it still show the data one the same screen?
    Regards
    Ken

  • BAPI for adding text in the delivery Header Text Tab?

    Dear All,
    We are using the SAP standard BAPI to create the delivery Document by inputing sales order number.
    The issue is that the customer is maintaining the Truck number in the delivery Header Level Text Tab, now he wants that he will give the sales order number and truck number as inputs the BAPI as to create the Delivery document and the truck number should appear in the Deliver header level text tab ("Truck No" text object maintained)
    Please suggest asap.
    Regards,
    Javal;

    Dear Javali,
    Have you tried the function module 'CREATE_TEXT' ?
    Check and revert back.
    Thanks & Regards,
    Hegal

  • Delivery header text Y104

    here i am doing smart form .in one of field it has been mensioned to take that value as
    from header text y 104
    what does it mean
    i know hoe to take text using read_text but what does it mean by
    from header text y 104

    Hi Ravi
    Proceed as below:
    For reading any texts in SAP we can use FM: <b>READ_TEXT</b>.
    Required parameters will be: <b>Name, ID, Object and Language.</b>
    To retreive these details,
    1. Goto the document texts in change mode.
    2. Double click on the text area
    3. An Editor screen will be opened.
    4. Via Editor screen, use menupath: Goto-> Header
    5. In the next popup screen, we will find the ID, Object, Language and convention for Name.
    6. Use these details for FM: READ_TEXT to capture the same.
    Your code should be something like below:
    DATA: VBELN TYPE VBELN,
          IT_TLINE TYPE TABLE OF TLINE,
          WA_TLINE TYPE TLINE.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        ID                            = 'Y104'
        LANGUAGE                      = SY-LANGU
        NAME                          = VBELN  " <--- Delivery Number
        OBJECT                        = 'VBBK'
      TABLES
        LINES                         = IT_TLINE
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8.
    And for your second part of the question, header text y104 means the one you can see via menupath: Goto->Header->Texts
    Hope this info gives you some idea of retreiving the details. Once retreived use the same to pass to the FORM and printing.
    Kind Regards
    Eswar

  • How to display long text in SAP Query ALV layout? It only show 129 char now

    I have a SAP Query which show a remark field(Max length more than 500 char), but it only show max length 129 char now. In fact, the lenght of remark field text is more than 300, and i had debug the source code, the field text value do is correct, its length do is 376.
    Do anybody can help me solve the issue, let the query ALV layout can show the long text field value?
    thanks very much in addvance.

    Hi,
    ALV can show only a restrict value length around 128 characters, many experts said that we can not extend. many suggestions is split text into some column.
    Regards,

  • SAP Query (SQ01) - create and save queryies

    Hi Expert;
    We wanted to implement SAP query reporting (SQ01) tool, and already developed custom HR infoset and user groups and transported to QAS.  We experienced the problem that we can not directly "save" any queries in SQ01. We pretty much have the client opened up and set at "Changes without automatic recording".  But keep getting a "transport object create" dialog upon "save" query.  But in Adhoc (PQAH), we don't encounter same problem.    We wanted our users be able to create and save any queries directly without creating any local objects. Is there another setting that needs to be set? 
    Thanks for any information that you can provide.  Points will be awarded.
    Helen

    Hello Helen,
    in SQ01 you can save queries like in HR Ad Hoc Query (or Infoset query as it is called outside HR).
    However this is only possible in the "Standard Area" not in the "Global Area". However as Ad Hoc Query is based on the SQ0x basics it only hides this effect.
    If you are doing HR specifics you should consider the documetnation on the special HR switches:
    http://service.sap.com/~form/sapnet?_SHORTKEY=01200252310000076208&
    In general if you are new to the topic you should consider the courses BC407 for Query Basics and HR580 for reporting in HR.
    Also to get a feeling for the different types of reporting with the InfoSet Query you can look at the following documentation:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/a8/2e7237a323427ee10000009b38f8cf/frameset.htm
    HR Reporting Tools -> Sap Query -> InfoSet Query -> Calling InfoSet Query.
    Or you can book a special training if you need a contact let me know your email adress
    Best regards,
    Michael

  • Copy delivery header text to shipment header text

    Hi All,
    Please let me know the user/customer exit to copy the header text of delivery to shipment while creation(VT01N) or deletion(VT02N) of shipment for deliveries.
    Please provide the code samples or procedure, if you have any.
    Thanks in advance and points will be rewarded
    -Venkat

    Hi
    Use these User exit and write the code for the same in one perform of its include this is having the delivery details and capture the same into your shipping
    EXIT_SAPLV56F_010
    regards
    Shiva

Maybe you are looking for

  • HT4972 fake vs original ipad

    how i want to know if my ipad 2 is original and not clone or fake ipad?

  • Select,delete in MS ACcess using RMI

    Hi, I am using RMI in order to remotely connect to an MS Access database But when executing the following Statement stmt_access; String res1_access = "DELETE FROM CUSTOMERS WHERE cid='"+CID+"' "; stmt_access.executeUpdate(res1_access); I am getting t

  • Trouble on Create Entity Object from AS400/DB2 version 5 rev 4

    Hi, hope any1 can help.. I using jt400.jar (com.ibm.as400.access.AS400JDBCDriver) with jdbc url : jdbc:as400://host to create connection. However, when I try to create entity or business component based on the connection, it gave me "Attribute list e

  • CS4 Script Broken in CS5

    Hi all, I'm hoping this is an easy fix! I have a startup script that worked perfectly in CS4 that now complains CS5. I get a javascript error (number 90884) 'No documents are open'. This is the script: //DESCRIPTION: One Layer Up for (s=0; s<app.sele

  • Check activation lock status - stolen iPhone

    I tried the service https://www.icloud.com/activationlock/ with the imei number of my old stolen iphone4 that was ios 6. The status now is Locked! This is possible only if the person that have NOW my iPhone (stolen 1,5 year ago) has upgraded to ios7.