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

Passing data between Dynamic Screen Calls

Former Member
0 Likes
653

Hi All,

Requirement : Pass time fields while creating Work Approval using transaction      WCTA.

While creating work approval, there are Time From and Time To fields in the header. When user enters these fields, and then proceed to create Applications, a new screen is called with the same Time From and Time To fields. The value from the main screen is not being copied here. My requirement is to copy the value from the Main Screen to the Application Screen.

The Main Screen is defined in Function Group WCFE (Screen Number 2000) - Program SAPLWCFE. Here in the PBO, the the Application screen is being called dynamically

* process flexible subscreen management

   CALL SUBSCREEN d2000 INCLUDING wctp2_prg-saplwcgn dynnr_flexview.

where

wctp2_prg-saplwcgn  = SAPLWCFI ( For Application Screen).

This screen is defiend in Function Group WCFI.

The field names are same in both the programs.

How to pass the values from SAPLWCFE to SAPLWCFI screen fields.

Thanks,

Sachin

2 REPLIES 2
Read only

Former Member
0 Likes
609

you can use EXPORT/IMPORT for this.

Read only

Former Member
0 Likes
609

You can work on with Memory Area Read.

As I don't know the strucutre you are talking of

You write a logic in PBO with Implicit Enhancement OR I suppose there should be BADI for this in WCTA.

Field-symbols: <fs_DATE> type sy-datum.

ASSIGN 'SAPLWCFE(<Name of the Variable>)' to <fs_date>.

IF <fs_date> is assigned.

Move <fs_date> to [The name of variable in new screen]

Endif.