cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Value from One screen to another

ankmr
Explorer
0 Kudos

Hi,

I am working on IW31 scenario  where on initial screen i am creating labels and entering values.

When I switch to another screen , I want to populate the the mandatory fields on 2nd screen for which i created labels on my initial screen.

For this , i get error and  fields are not copied.

But if  I try to  populate non mandatory fields, then script works.

Please suggest. Appreciate  if you could provide me with sample script.

Thanks

Anil

Accepted Solutions (1)

Accepted Solutions (1)

ankmr
Explorer
0 Kudos

I could resolve the issue and my script is ruining fine. 🙂

Thanks !

Regards

Anil

0 Kudos

thats not the right comment to be mark as answered 🙂

For others, please provide some details how your issue was fixed.

Sushant

Former Member
0 Kudos

Please share your solution, so that others can benefit from your experience. Thanks...

Answers (3)

Answers (3)

ankmr
Explorer
0 Kudos

Hi  ,

Issue  was related to recording script when switching to order detailed screen.

Fields are not copied and system was throwing error for each mandatory fields.

Solution.

I split the scripts in two steps. In first step , script passed the mandatory fields from initial screen to detailed screen.

In second step, once values are copied , i recorded steps for saving the work order.

In short, Its difficult to record or build script, in one flow in case of mandatory fields. Once values gets copied, then extend the script with further logic.

Please find the working script snap shot.

Regards

Anil

Former Member
0 Kudos

As well as showing your script, also tell us what goes wrong. It is hard to diagnose "get an error".

Have you tried debugging to see what's going wrong? See this wiki article for some help with debugging Personas 3 scripts - Debugging options in SAP Screen Personas 3.0. The more you can tell us about what you've done already to try and solve this problem, the easier it will be for us to help.

Steve.

ankmr
Explorer
0 Kudos

Hi All,

Please find the attached doc  for the script.

I am not sure if there is different approach for mandatory fields.

Is it possible to create script for mandatory fields?

Thanks in advance

Regards

Anil Kumar

Former Member
0 Kudos

And what error messages do you get from your script - you still haven't said.

Steve.

0 Kudos

in your script, you should make sure that the tab is selected before you proceed to paste the values there. Understand the flow of the screen.

Backend clearly is not able to find the IDs your script is attempting to put values in..

sushant

0 Kudos

can you show your script?

-sushant