2013 Nov 28 2:06 PM
Hi all,
I have seen many post but unfortunately, it is not happening in my case.
My doubt is i have Zreport in which i am using standard LDB. Now when i execute my report in se-38, it is showing some selection screen. My requirement is to add 2 more fields in the ABAP Selection Screen. (Means it should come in selection screen, when i run se-38). The 2 fields which i want to add are not custom field.
Please suggest.
Thanks
Hi all,
I have seen many post but unfortunately, it is not happening in my case.
My doubt is i have Zreport in which i am using standard LDB. Now when i execute my report in se-38, it is showing some selection screen. My requirement is to add 2 more fields in the ABAP Selection Screen. (Means it should come in selection screen, when i run se-38). The 2 fields which i want to add are not custom field.
Please suggest.
Thanks
2013 Nov 28 2:09 PM
Hi,
You can add the fields on your screen just like a normal report.
Since they are going to be the fields that you are going to add you need to add the processing logic as well.
Thanks and Regards,
Sriranjani Chimakurthy.
2013 Nov 28 3:50 PM
HI Sri,
Yes, we can add but i need to add in the same block where fields from LDB is coming. And since LDB is standard. We cannot add the fields with coding. i am trying using se36. But unable to get the fields on selection screen
Thanks
2013 Nov 28 4:25 PM
Hi ,
The fields that you are planning to add do they exist in the LDB?
If not , you cannot add in between the LDB i guess.
Thanks and Regards,
Sriranjani Chimakurthy.
2013 Nov 29 12:27 AM
Hi, KSRCM, What is the problem, you can modify code for LDB (logical data base) ? do you have permissions for that, I would like that you gave us more detail, code, picture, schema, and so on.
Thank you
2013 Nov 29 4:13 AM
HI Ale,
Thanks for your suggestion, LDB which i am using is PGQ in my Zreport. Since PGQ is standard, i cant modify code. lets say an example...
create a Zreport and assign LDB (PGQ), a seletion screen will come by default.
report zreport.
tables : mara.
parameters : s_matnr for mara-matnr.
get qals.
write : 'Hello' .
it will give you by-default selection screen. Now my requirement is i want 2 more fields from QALS in the selection screen display along with other existing fields..
I hope i am clear this time.
Thanks
2013 Dec 03 12:57 PM
Hi,
You need to add only one statement to your program.
REPORT zreport.
TABLES : mara.
PARAMETERS : s_matnr LIKE mara-matnr.
TABLES: qals.
GET qals.
WRITE : 'Hello' .
It will give you fields from QALS.
Regards
2013 Dec 04 5:37 AM
Hi,
You can copy the standard LDB and insert the fields that you need in the selection screen.
I have taken ZPGQ as a copy of PGQ using se36 t-code and select display. You can find Source code, Selections, Sel.Texts button at the top. Choose Selections and Inserted the below code PARAMETERS: s_matnr TYPE mara-matnr FOR TABLE qals then execute now you can find the selection fields within LDB. Note: You need to make some changes in the Include INCLUDE DBZPGQSXXX . " SEARCH HELP. But this will filter the values based on the selection screen for matnr, you have to explicitly restrict in GET QALS.
Hope it might help you.
With Regards,
Giriesh M
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |