cancel
Showing results for 
Search instead for 
Did you mean: 

Display action results in same formview

Former Member
0 Kudos

Hi all,

I am developing a VC model, where there are few input parameters (eg : fund center) for which a dynamic value list is attached.  Value list is based on a RFC (R3 service).  Is it possible to display the fund center text (for the selected fund center) in a text field of the same FormView?

In the dynamic list, is there any option available by which attributes of selected line can be returned to fields in FormView ?

Alternatively I tried to call a RFC to get the text of selected value, but then I am not able to map the output port of RFC service to same FormView.

I am using Visual Compser for Netweaver 7.3 SPS 04.

Regards,

Vinod

Accepted Solutions (1)

Accepted Solutions (1)

anja_engelhardt2
Active Contributor
0 Kudos

Hi Vinod,

I think it should be possible to model it but I'm not sure whether I understand your scenario completely so far. Maybe you can add some screenshots of the runtime as well as design time to explain a little more in detail.

Best regards,

Anja

Former Member
0 Kudos

Hi Anja,

My runtime screen look like below.

My requirement is to populate the fund center text as soon as I select the fund center from the Dynamic help (based on an R3/RFC service).  Right now I could able to fullfil the requirement by calling another RFC service to extract the fund center text based on the selected Fund center code.  I stored the extracted fund center text in a "Datashare" component and referred its value to the fund center text (Text field).

But I feel this is not the optimized solution, as I am calling a similar RFC service again to extract the fund center text, when the data is already available in dynamic value list.

Is there any function available in VC similiar to F4 help in ABAP, where multiple column values can be passed from a value help to screen field ?

Thanks & Regards,

Vinod

former_member202465
Contributor
0 Kudos

Hi Vinod, Anja,

I hope I'm not getting in the way...

One way is to define an Assign Action on the control containing the Entry List.

- The Assign value is the text field of the Dynamic Entry List.

- The target field is the second field in the Form. Note that the Txt2 control here must be wired to a field to be used in the action. you could add a field for this Form (Define Data) and set its control to be read-only if you want it to look this way.

Selection of the expression value to be from a Dynamic Entry List: You could choose value, text, or additional fields defined for the Dynamic Entry List (Global Fields in the Entry List wizard / editor):

Hope this helps,

thanks,

Udi

Former Member
0 Kudos

Thanks , problem resolved using the solution provided by you

Regards, Vinod

Answers (0)