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

Reg; variants for Module pool program

Former Member
0 Likes
1,433

Hi,

I have requirement to save screen filed data as variants. I have a module pool screen designed as selection screen, now for this screen I wana save the screen input field data that the user has put in.

To meet this requirement I am trying to find a way to create and save variants for this selection screen. I tried CALL FUNCTION 'RS_VARIANT_SAVE_FROM_SELSCREEN' but with this am not able to create variant. I get a message "'0100' screen doesn't contain object". Let me know if the FM am using is correct FM to create variants in module pool screen. If there is another possibility of doing this, please advice.

Please do the needful.

Thanks in advance.

Narasimha Rao.

12 REPLIES 12
Read only

Former Member
0 Likes
1,395

Hi,

You may try with transaction variant(SHD0). You can attach screen variants along with the transaction variant for saving field values also.

Regards,

Renjith.

Edited by: Renjith Michael on Oct 22, 2008 3:43 PM

Read only

0 Likes
1,395

Hi Renjith,

Can you explain how it is useful (SHD0) t.code for my Requirement. that is for Transaction varinat and screen variant.

Best Regards,

Narasimha Rao.

Read only

0 Likes
1,395
Read only

Former Member
0 Likes
1,395

Hi,

you can't maintain variant for module pool prg.so you have to maintain the values your own table.

Read only

Former Member
0 Likes
1,395

check this thread

Read only

0 Likes
1,395

Hi Vijay,

I gone through your program , but iam getting some error message i.e " selection screen 0100 contains no objects".

Thanks in advance

Best Regards,

Narasimha Rao.

Read only

0 Likes
1,395

did you place any elements on your screen...?

Read only

Former Member
0 Likes
1,395

There is a variant like facility available for module pool in for of HOLD DATA & SET DATA

Fill in the field in a module pool screen. In menu click System->User Profile->Hold data

Data entered in the screen will be held. When you want to retrieve data, navigate thro same path and click SET DATA

Read only

Former Member
0 Likes
1,395

this question is answered..

Read only

0 Likes
1,395

please share how ur problem is solved?

Read only

0 Likes
1,395

HI Narayanadas ,

I am also facing same pb..Plz Let me know how u Solve that pb

Read only

0 Likes
1,395

Hi Narasimha ,

Please , can you share how you solved the problem ?