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

How to include recording in the program

Former Member
0 Likes
1,063

Hello Experts,

I had recorded a transaction f-27 in shdb with name zrec , I had one zprogram in that i had written some logic. Now I want to include the recording(zrec) in zprogram . so please kindly guide me.

And also please tell me when we need to go for call trans and when we need session method.

Thank you so much for all the replies

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
986

I do agree with Narayana,

we can directly create program from SHDB itself by clicking on Program button.

Otherwise create program in se38 and copy paste the contents while writing perform statements from recording table.

Whenever you want to upload large volume of data and multiple transaction involved we will use session method. Generally in session method we will submit the session in background by using statement " Submit using RSBDCSUB".

Whenever user wants some specific error format to display error log or want to use asynchronous update then we will go for call transaction method.

if we use asyn update in call transation then it will be faster than session method

Reward if helpful

Rgds

Umakanth

Hello Experts,

I had recorded a transaction f-27 in shdb with name zrec , I had one zprogram in that i had written some logic. Now I want to include the recording(zrec) in zprogram . so please kindly guide me.

And also please tell me when we need to go for call trans and when we need session method.

Thank you so much for all the replies

3 REPLIES 3
Read only

Former Member
0 Likes
986

Hi,

Please go to SHDB . select the recording, click on PROGRAM button.Give program name . Select radio button "Transfer From Recording".

Then a code is displayed in the next window.

Copy the code necessary from recording into your program.I.e internal table declaration , perform stmts and , Form endform stmts.

CALL TRANSACTION

1) When less number of records i.e < 25000 records are there.

2) When client requires explicit error file handling.

3) when the process must be very fast.

SESSION:

1) Background processing and scheduling are to be done.

2) Large volumes of data is handled.

3) Multiple transactions are to be handled.

Reward points if helpful.

Thanks and Regards.

Read only

Former Member
0 Likes
987

I do agree with Narayana,

we can directly create program from SHDB itself by clicking on Program button.

Otherwise create program in se38 and copy paste the contents while writing perform statements from recording table.

Whenever you want to upload large volume of data and multiple transaction involved we will use session method. Generally in session method we will submit the session in background by using statement " Submit using RSBDCSUB".

Whenever user wants some specific error format to display error log or want to use asynchronous update then we will go for call transaction method.

if we use asyn update in call transation then it will be faster than session method

Reward if helpful

Rgds

Umakanth

Read only

Former Member
0 Likes
986

Hi,

You can use SUBMIT.

Regards

Raj.K