Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Question on ABAP code in a query

Former Member
0 Likes
398

Hello,

i use this part of a coding in a Query to


IF SY-SUBRC = 0.
    CLEAR Z_GTEXT_ZAEHLER.
    LOOP AT IT_GTEXT_LINES.
      Z_GTEXT_ZAEHLER = Z_GTEXT_ZAEHLER + 1.
      IF Z_GTEXT_ZAEHLER LE 1.
        IF SY-TABIX = 1.
          GRUNDDATENTEXT = IT_GTEXT_LINES-TDLINE.
          CONTINUE.
        ENDIF.
      ENDIF.
      CONCATENATE GRUNDDATENTEXT IT_GTEXT_LINES-TDLINE
                            INTO GRUNDDATENTEXT
                            SEPARATED BY SPACE.

Everything works fine. What i want is that the system don't display at the query the fieldname ZSYST1. i would that it display a discription like "STATUS" for this field.

kind regards,

Bernhard

2 REPLIES 2
Read only

Former Member
0 Likes
364

Hi,

your code here is too short to be able to understand what you´re doing but it seems like the programme is ready field´s title from data dictionary, so you have to check in SE11 what the information for the field is.

Read only

0 Likes
364

Hello,

in my query i want that the user put in some information before he execute the query.

So i put in my Infoset in the DATA tab some code.

In this code he should input the status for a production order.

This input is made in field zsyst1. Later in some additional fields in the infoset i take this field up and go on with this value.

But in the selection screen from the query itself i want that the system show me instead of the field name ZSYST1 a other discription like STATUS.

kind regards,

Bernhard