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

Validation on Subscreen in Screen-Exit

maksingh8
Explorer
0 Likes
1,474

Greetings,

I have implemented a screen-exit (ITOB0001) for function location enhancement; where I have created a new tab with 4 check boxes.

Now based on 'Function location category' selected, I need to enable and disable the added tab fields.

I am able to read 'Function location category' in the function exit EXIT_SAPLITO0_001 (which is for PBO of main screen). But my problem is how can I disable my newly added tab fields from this function exit.

In other words how can I disable the subscreen elements from the main screen PBO.

Thanks in advance,

Mayank

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
939

Usually :

  • Use the first exit FM (PBO - EXIT_SAPLITO0_001, ZXTOBU01 include) to store data in top include (LXTOBTOP -> ZXTOBTOP include) of exit function group
  • Read/Update this data in PBO/PAI of subscreen SAPLXTOB/100*  (modules in SAPLXTOB -> ZXTOBZZZ include)
  • Send back this data in second FM (PAI - EXIT_SAPLITO0_002, ZXTOBU02 include)

(similar in most customer fields dynpro exit)

Regards,

Raymond

Greetings,

I have implemented a screen-exit (ITOB0001) for function location enhancement; where I have created a new tab with 4 check boxes.

Now based on 'Function location category' selected, I need to enable and disable the added tab fields.

I am able to read 'Function location category' in the function exit EXIT_SAPLITO0_001 (which is for PBO of main screen). But my problem is how can I disable my newly added tab fields from this function exit.

In other words how can I disable the subscreen elements from the main screen PBO.

Thanks in advance,

Mayank

3 REPLIES 3
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
939

Hello 

In PBO of the created subscreen you can enable disable. You can export the value from PBO of exit and read it in PBO of Subscreen?

Thanks

Nabheet

Read only

RaymondGiuseppi
Active Contributor
0 Likes
940

Usually :

  • Use the first exit FM (PBO - EXIT_SAPLITO0_001, ZXTOBU01 include) to store data in top include (LXTOBTOP -> ZXTOBTOP include) of exit function group
  • Read/Update this data in PBO/PAI of subscreen SAPLXTOB/100*  (modules in SAPLXTOB -> ZXTOBZZZ include)
  • Send back this data in second FM (PAI - EXIT_SAPLITO0_002, ZXTOBU02 include)

(similar in most customer fields dynpro exit)

Regards,

Raymond

Read only

0 Likes
939

Thanks for your help. The solution is working.
I have created the ZXTOBTOP include and declare a global variable there.
For which I am able to store value in function exit, and use that stored value directly in subscreen.

Thanks again,

Mayank