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

Dynamic field value capture

Former Member
0 Likes
1,599

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

11 REPLIES 11
Read only

praveen_reddy2
Active Participant
0 Likes
1,470

Hi nisha,

please explain the requirement clearly...

Read only

Former Member
0 Likes
1,470

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

Read only

0 Likes
1,470

hi,

you can use FM 'DYNP_VALUES_READ' for capturing the values in the selection screen.

with regards,

syed

Read only

Former Member
0 Likes
1,470

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

Read only

0 Likes
1,470

Hi

I suppose the dynamic selection means free selection: you can use fm like RS_REFRESH_FROM_DYNAMICAL_SEL

Max

Read only

0 Likes
1,470

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

Read only

Former Member
0 Likes
1,470

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

Read only

0 Likes
1,470

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

Read only

Former Member
0 Likes
1,470

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

Read only

0 Likes
1,470

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

Read only

Former Member
0 Likes
1,470

Ok thanks.I will try that.

Nisha