Skip to Content
author's profile photo Former Member
Former Member

Vertical Entries in Database

Hi Experts,

I have a strange Requirement.

i am doing a module pool program in which i have 5 input feilds in which user will make entries and saves to database.

So i have a created a z table and put those 5 feilds on screen in a vertical order.

Now when the user clicks on save button the entries are added to the database in a horizontal manner.

The user wants in a vertica manner as it normally shows in ALV.

IF i am not clear please let me know.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 11, 2015 at 12:15 PM

    Hi Amit,

    The user wants in a vertical manner as it normally shows in ALV.

    Please elaborate.

    I think you need ALV report in which all 5 field are aligned vertically instead of horizontally

    am i correct?

    you may need to transpose internal table.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      what you need is all 5 inputs inserted in same column.

      it is impossible that all entries in table will look in vertical fashion, if thats what you want then i am sorry.😭

      you can concatenate all 5 fields into 1 and then append it.

      concatenate scr_fld1 ' ' scr_fld2 ' ' scr_fld3 ' ' scr_fld4 ' ' scr_fld5 INTO screen_input.

      and then



      WA_INVTYPE-CUSTOMINVOICE = screen_input (90001)

      WA_INVTYPE-exchange_rate = ZTYPE_INVOICES-exchange_rate (10)




      Regards ,


  • Posted on May 13, 2015 at 06:26 AM


    User will never have access to database tables in Production.Why not develop a LIST report and get the data displayed in whatever the way the User wants.

    Either yours or the User's understanding is wrong.


    Add a comment
    10|10000 characters needed characters exceeded

    • Amit,

      To me it doesn't make any sense and also it is not the way the data gets stored in the database table.

      Programatically you can update the table in whatever the way you want but fetching the data back from the table or interpreting it will also remain a challenge.


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.