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

Doubts

Former Member
0 Likes
771

Hi

Could you please answer these ?i was asked by someone....

If you are program goes short dump and says "Runtime Error".How do you see the output?

what could be the reason?

Which transaction is faster?seson or call transaction?why?

If you are developing a script in client 100 and testing in 120...normally we copy from clients,but if we dont have authorization to copy to test client?how do you test?

Can you pass tables parameters in Perform in script?

Thanks in adance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
724

Hi,

Please find answers in Bold letters.

If you are program goes short dump and says "Runtime Error".How do you see the output?what could be the reason?

<b>

Go to ST55. Analysis for Runtime error. Generally char to interger assignment,incompatible data transfer will raise runtime errors.

</b>

Which transaction is faster?seson or call transaction?why?

<b>

Call Session is fast. Since Updation is asynchronus updation.

</b>

If you are developing a script in client 100 and testing in 120...normally we copy from clients,but if we dont have authorization to copy to test client?how do you test?

<b>

Generally teamlead will have authorizations. Otherwise basis people will copy and will assigned to you. As per my knowledge no way to do testing.

</b>

Can you pass tables parameters in Perform in script?<b></b><b></b>

<b>

Yes ,You can. Please check example in external subroutine in SAP Documentation

</b>

Regards

Bhupal Reddy

Hi,

Please find answers in Bold letters.

If you are program goes short dump and says "Runtime Error".How do you see the output?what could be the reason?

<b>

Go to ST55. Analysis for Runtime error. Generally char to interger assignment,incompatible data transfer will raise runtime errors.

</b>

Which transaction is faster?seson or call transaction?why?

<b>

Call Session is fast. Since Updation is asynchronus updation.

</b>

If you are developing a script in client 100 and testing in 120...normally we copy from clients,but if we dont have authorization to copy to test client?how do you test?

<b>

Generally teamlead will have authorizations. Otherwise basis people will copy and will assigned to you. As per my knowledge no way to do testing.

</b>

Can you pass tables parameters in Perform in script?<b></b><b></b>

<b>

Yes ,You can. Please check example in external subroutine in SAP Documentation

</b>

Regards

Bhupal Reddy

5 REPLIES 5
Read only

Former Member
0 Likes
725

Hi,

Please find answers in Bold letters.

If you are program goes short dump and says "Runtime Error".How do you see the output?what could be the reason?

<b>

Go to ST55. Analysis for Runtime error. Generally char to interger assignment,incompatible data transfer will raise runtime errors.

</b>

Which transaction is faster?seson or call transaction?why?

<b>

Call Session is fast. Since Updation is asynchronus updation.

</b>

If you are developing a script in client 100 and testing in 120...normally we copy from clients,but if we dont have authorization to copy to test client?how do you test?

<b>

Generally teamlead will have authorizations. Otherwise basis people will copy and will assigned to you. As per my knowledge no way to do testing.

</b>

Can you pass tables parameters in Perform in script?<b></b><b></b>

<b>

Yes ,You can. Please check example in external subroutine in SAP Documentation

</b>

Regards

Bhupal Reddy

Read only

Former Member
0 Likes
724

The reason for the short dump is ur program didnt expect the particular error to occur and now that it has occured it didnt know how to react. To see the output of the program, u have to first rectify the error, Read the Error Analysis and try to understand the reason for the error and rectify it.

In a session method u create a session and leave it for processing at a later time but in case of call transactions all the records are processed at that time iself. so session method will be faster as it will just create a session and u have to process the session later.

Thanks

Message was edited by:

Elanchezhian Balasubramanian

Read only

Former Member
0 Likes
724

Hi Bhupal and Bala

I have said Go to ST22 and we analyse,they asked i want to see the output?how?i dont think there is possible

another one copying from client....i said normal method is we copy from clients..

Read only

0 Likes
724

Hi RK

Tell them it is not possible to see the output if the program results in a runtime error. One has to rectify the error to have a look at the output of the program. Check the error analysis to get an insight on y the error occured.

And abt the scripts we normally use the program RSTXSCRP to download and upload scripts from one client to another.

Thanks

Read only

Former Member
0 Likes
724

Hi,

In BDC methods i think call transaction is faster one.

why because in session method updation is always synchronous and call transaction we can do in either synchronous on asynchronous. And asynchronous is always faster than synchronous.

In synchronous sy-subrc is returned after the updation of actual table and its realted tables where as in async sy-subrc is returned only after the updation of actual table and updation of its related table is done afterwards. so async is faster one.

In scripts u can pass table parameters by using ITCSY structure.It contains two fields: 1. field and its value. Try to use this one.