Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > SAP ABAP, SAP MM, SAP DD, SAP BASICS & OTHERS > TECHNICAL - ABAP,BASIS& NETWEAVER
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

TECHNICAL - ABAP,BASIS& NETWEAVER Discussions on ABAP,BASIS& NETWEAVER

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 26-09-07, 11:29 PM   #1 (permalink)
Junior Member
 
Join Date: Aug 2007
Age: 30
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2 kumarangopi is on a distinguished road
How to move cursor to next field in screen painter?

In screen painter, I have two fields er_id and er_name.In er_id I have validated
for duplication record.Once user enters er_id,I checked for its existence in its table
if exists warning message is displayed and if not exists cursor should go to next field i.e er_name.How to acheive this?My code is
select * from t1 where er_id = er_id
if sy-dbcnt <> o
message 'er id exists'
else
set cursor field 'er_name'.
endif
But this is not working,i placed above code in module m1 input',some said that set cursor should be in PBO.So I assigned boolean value to one variable and checked in PBO,even then its not working.
else
status = 'yes'.
endif
PBO:
if status = 'yes'.
set cursor field 'er_name'.
endif.

Help me.Thanks in advance.
kumarangopi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mega Free Download S/W Links A-Z yathish OTHERS 513 30-09-08 02:49 PM


All times are GMT +6.5. The time now is 08:31 AM.





Search Engine Optimization by vBSEO 3.1.0