In ABAP Workbench, how do I make the program return multiple table fields in a table when a button is clicked?
I am new to SAP/ABAP Workbench and I am trying to create a program that allows a user to input a foodCode in order to receive the Item and Description after the press of a button. Is there a way the results can be put in a table on the same screen? How? report demo. tables food. SELECTION-SCREEN: SELECTION-SCREEN BEGIN OF BLOCK SEGMENTVALUE WITH FRAME TITLE A1TITLE. SELECTION SCREEN BEGIN OF LINE. PARAMETERS P_INPUT(10) TYPE C OBLIGATORY. SELECTION-SCREEN END OF LINE. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN PUSHBUTTON /2(40) B_RESULT USER-COMMAND BUT1. SELECTION-SCREEN END OF LINE.