U will understand how the 'popupgetvalues' will help you to open a box wherein we can enter the file path. Pop a Message to specific SAP users.How to get a list of all the currently logged on users? How to popup an instant message on a user's monitor? How to get a specific user's details? Dropdown list is a user interface element which displays a list of values from which a user can select one value. Follow the below steps to create a dropdown list in SAP ABAP selection screen. First build the list in the INITIALIZATION event.; Capture the value selected by the user from the list in the AT SELECTION-SCREEN event.; Use the selected value for further processing.
I have an ABAP Z-report which shows a modal popup window(screen). Is it possible to close it when user presses an escape key?
I'm showing the popup using the next screen call
The screen has the next PAI module:
But the PAI module is not called whe the user presses an escape key.
The flow logic section is
Nothing from PAI modules is called while Esc key is being pressed.
Skalozub
SkalozubSkalozub
1 Answer
Here is what you have to check in the GUI status:
The escape key is assigned automatically to this, you only need to assign the command (BUT_CANC, it is ZCANC in my example).
JozsefSzikszaiJozsefSzikszai
Not the answer you're looking for? Browse other questions tagged abap or ask your own question.
I have an importing parameter of Table Type in a Function Module / BAPI which is having only one field (material number). I want to enter hundreds of rows to that Parameter and save it as test data.
If I follow the normal procedure, I have to create new row and enter/paste a material. And this has to be repeated for every material as bulk data cannot be pasted into that!
Can anybody know what is the best way to enter and save bulk data for the importing/table parameter?
Rahul GuptaRahul Gupta
2 Answers
Putting this here for posterity, even though this is an old ticket.
It's possible using DEBUG, if you can edit the fields. Put the breakpoint in FM RS_COMPLEX_OBJECT_EDIT.
Use SE37 to test your FM, and when it stops at the breakpoint, add your records to parameter OBJECT using UPLOAD FROM FILE.
Would be nice if there were a standard 'upload' to fill fields in SE37, and ALSO if it didn't truncate more than a screenful of records.
RwellsRwells
You must create the same typed table in Your calling program.In the program You can add as much materials as You want by adding each lv_matnr to the local table (in a loop for example).
Then You pass Your local table to Your function module when You call it with exporting and voila.
The called function module receives as much matnr entries, as You passed during call.
Did that help?
icbytesicbytes