‎2005 Apr 22 10:29 AM
Hi All,
I am having few questions on Basic ABAP Programing
1) Selection Screen:
When i am at selection screen and if i press Cancel, it will take me to the list.For Eg if AT Start of selection, i am selecton data from database and writing to list, so even if user press cancel at selection screen , the query will be executed. How should we handle it?
2) In BDC, what is the exact difference between input session and call transaction. I am able to keep both in sessions and get the logs. I am able to view all the facilities in call transaction that are offered by input session. So, when should we go for waht and what is the exact difference between two.
Regards
Mitesh
‎2005 Apr 22 10:41 AM
Hi,
This is for your first query.
Try this (I think sy-ucomm for cancel is CANC.just check).
LEAVE LIST-PROCESSING .
Regards,
J.Jayanthi
Message was edited by: Jayanthi Jayaraman
‎2005 Apr 22 10:41 AM
Hi,
This is for your first query.
Try this (I think sy-ucomm for cancel is CANC.just check).
LEAVE LIST-PROCESSING .
Regards,
J.Jayanthi
Message was edited by: Jayanthi Jayaraman
‎2005 Apr 22 10:52 AM
Hello Mitesh,
Here are the answers -
1. When you are on the selection screen and hit cancel, the control should not and will not go to the list, unless you have done somthing programmatically to get such a functionality.
As a rule, all the Database selects should happen in the START-OF-SELECTION, just as the name suggests. when you hot Execute on the selection screen, the control will go to start-of-selection.
2. Refer to <a href="http://help.sap.com/saphelp_nw04/helpdata/en/fa/097008543b11d1898e0000e8322d00/frameset.htm">this link</a> in the SAP Library.
Regards,
Anand Mandalika.
‎2005 May 11 6:33 AM
Hi All,
Sorry for late reply, actually i was not having SAP environment with me.
From your solution, i got to know that i made some mistaked while coding, I used AT EXIT-COMMAND to Quit from the selection screen ( the program was using calls screen).
Regards
Mitesh