‎2010 Dec 05 1:45 PM
Hello Experts,
I need to capture field value which is entered by the user in the dynamic selection screen in a Z report.
Please suggest best possible solution for this.
BR,
Nisha
‎2010 Dec 06 10:06 AM
‎2010 Dec 06 10:27 AM
Hi Praveen,
There is one Z report for clearing GR/IR accounts.User is entering plant value dynamically on dynamic selection screen.
I want to capture plant value and use in my report for filtering the output.
Hope it is clear now.
BR,
Nisha
‎2010 Dec 06 10:50 AM
hi,
you can use FM 'DYNP_VALUES_READ' for capturing the values in the selection screen.
with regards,
syed
‎2010 Dec 06 1:02 PM
Hello Syed,
Thanks for your reply.
Just now i found that my transaction is a copy of standard transaction GJ93 with some additional fields.
But i am not able to find any select-options statement to be declared for plant so does that mean select option is also getting dynamically created.
Then how i will transfer value to internal table which is for reading current screen values while using FM DYNP_VALUES_READ.
To be in more detail,the issue is like when user is entering value in plant and executing,output is not getting filtered as per the plant she enters in the dynamic selection screen.
Is it like my required functionality already exists in the program which i unable to find it.
Please help.
BR,
Nisha
‎2010 Dec 06 1:08 PM
Hi
I suppose the dynamic selection means free selection: you can use fm like RS_REFRESH_FROM_DYNAMICAL_SEL
Max
‎2010 Dec 06 1:08 PM
Hi,
That standard transaction is for program RFWERE00 which is based on logical database 'SDF' could be coming from there go the prorgam attributes you will see the Logical database declared there. Go to the logical database and search the select option. You should be able to get someinfo.
Regards,
Himanshu
‎2010 Dec 06 1:45 PM
Hi Himanshu,
Thanks a lot for your response.
Just want to clarify one point - I found selection option for bseg-werks but when i checked in my selection screen,by doing f1 for plant i found BSIS as table in technical info.So,i can use the same select option given in LDB SDF?
BR,
Nisha
‎2010 Dec 06 2:02 PM
Hi,
I did not see that field in the standard program may be it was added to your program-the custom version, but you can try it.
Regards,
Himanshu
‎2010 Dec 06 2:34 PM
Hi Himanshu,
I found select option in LDB SDF only and not in my Z report.
I am wondering if my report is a copy of a standard sap program then why the report output not filtering to plant entered dynamically.Is this functionality not covered in GJ93.
BR,
Nisha
‎2010 Dec 06 2:45 PM
Hi,
In the standard LDB we have the below:
SELECT-OPTIONS: SD_WERKS FOR BSIS-WERKS NO-DISPLAY.
This is no display to start with but the program can dynamically convert it to display. I think you should try that.
Regards,
Himanshu
‎2010 Dec 06 2:56 PM