how can u write in single program call transaction and
session method logic?
if u write logic in call transaction ,is there any errors ?
how can u see in session ?

Answer Posted / raghava reddy

SITUATION..........IF U HANDLE THE ERRORS IN CALL
TRANSACTION WE HAVE SEVERAL WAYS

1)USING FORMAT_MESSAGE
2)WHATEVER U GET THE ERRORS IN CALL TRANSACTION,SIMPLY PASS
THOSE ERRORS TO SESSION METHOD

................THIS IS THE SITUATION OF BOTH ARE USING IN
THE SAME PROGRAM...OK

WRITE THE LOGIC FOR CALL TRANSACTION
-------------
---------
---------
----------
CALL THE CALL TRANSACTION

IF SY-SUBRE < > 0.

......MEANS THE ABOVE STAT NOT EXECUTED
SUCCESSFULLY....MEANS WE GET THE ERRORS IN CALL TRANSACTION
METHOD...OK

SIMPLY PASS THOSE ERRORS TO SESSION METHOD


LIKE THIS...............

.............

CALL THE TRANSACTION BY USING

BDE_INSERT
......PROVIDE THE INPUT...........OK

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is system-land-scape of your project?

770


How can we access the correction and transport system?

728


Why is pretty printer user in abap?

850


I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc

3023


What is a collect statement?

749


Structures can contain data only during the runtime of a program (t/f) : abap data dictionary

1012


Have you set up a back ground job ? How to create a background job without a variant ?

819


What is ole?

862


What are secondary indexes. How can we know which index is being used in a select query?

1190


What are screen painter and menu painter? : abap hr

743


What are smart forms?

807


What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary

734


State the differences between database view & projection view? : abap data dictionary

799


What is processing class, where we do them and why? : sap abap hr

808


What is alv programming in abap? When is this grid used in abap? : abap hr

891