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

session

Former Member
0 Likes
517

what do u mean by a session exactly and also what do u mean by processing of a session.

3 REPLIES 3
Read only

Former Member
0 Likes
498

Hi,

Processing sessions:

A batch input session is a set of one or more calls to transactions along with the data to be processed by the transactions. The system normally executes the transactions in a session non-interactively, allowing rapid entry of bulk data into an R/3 System.

A session records transactions and data in a special format that can be interpreted by the R/3 System. When the System reads a session, it uses the data in the session to simulate on-line entry of transactions and data. The System can call transactions and enter data using most of the facilities that are available to interactive users.

For example, the data that a session enters into transaction screens is subject to the same consistency checking as in normal interactive operation. Further, batch input sessions are subject to the user-based authorization checking that is performed by the system.

There are three batch input methods, 1: Direct Input method 2: Call Transaction method 3: Session Method

1:In The Direct Input methods are programs provided by SAP. These pragrams are available for Standard Applications. In this Direct Input Method data base is updated using a Function Module. The Function Module executes the consistency checks. 2: In the Call transaction method the ABAP Program reads the external data which is present in Application server ot Presentation Server, and uses the ABAP Statement CALL TRANSACTION USING to run an SAP statement. 3: In the Session Method the program reads the data and SAP system stores the data in a " batch Input Session". The session records the actions that are required to transfer data into the system using normal SAP transactions.

Regards,

Ramya

Read only

Former Member
0 Likes
498

Hi,

With session method a session will be generated that needs to be processed in Transacton SM35 with Foreground, Background, or Errors only mode. You can view and analyze session log after processing the session.

With call transaction you would specify the mode in the program itself. Hence, no session is generated in SM35 in this case.

please visit the following link for more information:

http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm

Z programs are custom programs. They could be reports, transactions, scripts, smartforms, BDCs, BAPIs etc. You would develop them if there is no SAP standard program available that meets your requirement.

Reward points if this is helpful.

Regards,

Shiva.

Read only

Former Member
0 Likes
498

hi,

In session method you transfer data from internal table to database table through sessions.ABAP/4 program reads the external data that is to be entered in the SAP system and stores the data in session.

A session stores the actions that are required to enter your data using normal SAP transactions. i.e data is transfered to session which in turn transfers data to database table.

Session is intermediate step between internal table and database table. data along with its action is stored in session

i.e data for screen fields to which screen it is passed , the program behind it and how the nextscreen is processed.

when the program has finished generating the session , you can run the session to execute the SAP transactions in it. you can either explicitly start and monitor a session or have the session run in the backgroung processing system.

Unless session is processed the data is not transfered to database table.

pls reward if helpful.

Rajyalakshmi.