Skip to Content
author's profile photo Former Member
Former Member

Few Queries (Basic-Level)

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Apr 22, 2005 at 09: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 22, 2005 at 09: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 this" target="_blank">http://help.sap.com/saphelp_nw04/helpdata/en/fa/097008543b11d1898e0000e8322d00/frameset.htm">this link in the SAP Library.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.