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

RE: DIALOG ENHANCEMENT PROGRAM

Former Member
0 Likes
840

Good Day Experts

I have a challenging ABAP Program ahead of me and would appreciate your help. Our client does not want to use Transaction SM30 to maintain customized (ZTABLES) that holds transaction / master data. So we need to design one dialog program that can change different tables.

Currently i have the table as a parameter on a selection screen and i found a function module that would give me the primary key of the table back in an internal table. However i have to now load this itab onto the screen and then do my selects from the data inserted by the user. Does anyone know of an easier (or more senior) way of doing this?

Kind Regards

Jennifer

Good Day Experts

I have a challenging ABAP Program ahead of me and would appreciate your help. Our client does not want to use Transaction SM30 to maintain customized (ZTABLES) that holds transaction / master data. So we need to design one dialog program that can change different tables.

Currently i have the table as a parameter on a selection screen and i found a function module that would give me the primary key of the table back in an internal table. However i have to now load this itab onto the screen and then do my selects from the data inserted by the user. Does anyone know of an easier (or more senior) way of doing this?

Kind Regards

Jennifer

4 REPLIES 4
Read only

Former Member
0 Likes
768

Hi,

I could understand the first part but not the second..!!

Cud u please elaborate it so that v can atleast think of a way to solve this.

Thanks & Best Regards,

Ramya

Read only

Former Member
0 Likes
768

Hi

Thank you for your response. Let me try and explain it better. I have to write a dialog with the user so that they can do table maintainace without using transaction SM30. They also want to use this as a selection report. SO basically i need a program that can have a table as an input parameter and then in my code i need to dynamically determine the fields of this table and display them back to the user for "selection" after this i need to display the entries for the selection in an ALV grid and then have the option to change them, after this in background i need to update the selected table with the changed data and log the event in a different table.

hope it makes more sense

Kind regards

Read only

0 Likes
768

Hi Griphen,

PFO_BUILD_DYNAMIC_SELOPTIONS " Using this you can develop dynamic Selection Screen
" using the Following table you can get the Fields within the Table
Here user will enter the Table name and you can get all the fields from the table using the Following table. DD03L
and then you can pass the Selected fields back to the user which he can select for the Select Options 

" just check how it works in SE37 for the above FM

" Another Option you can copy the SE11 Program to a Z Progarm, but this it work around. Instead you can use the Above FM and Table


DD03l

Take the help of this FM

This would serve your purpose

Cheerz

Ram

Read only

Former Member
0 Likes
768

Thanks Ram

Your help is really appreciated

This helped me with the initial part of the program, and its working perfect , and i can get the ALV grid to display my dynamic selection, I now need to give the user the ability to change this data and then update the database with this information. Do you maby know of an FM or Bapi that does that?

Kind Regards