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

call se38 program from an abap proxy

Former Member
0 Likes
1,368

Hi, All,

For some reasons, I have to call a se38 program (or tcode) instead of calling a FM from an abap proxy. Also I have to pass an internal table to the program (or tcode). Is there anybody know how to do it? Thanks.

Meiying

Hi, All,

For some reasons, I have to call a se38 program (or tcode) instead of calling a FM from an abap proxy. Also I have to pass an internal table to the program (or tcode). Is there anybody know how to do it? Thanks.

Meiying

7 REPLIES 7
Read only

Former Member
0 Likes
1,143

Is there no BAPI available for this "reason"?

Or create your own (BAPI compliant) FM and just call that?

Please explore transaction BAPI (incase you are not aware of it yet).

If you exposed a remote way to submit (any) report using an internal table which that "any report" can use, then chances are good that your ABAP proxy would be a bit of a security hazard...

Or am I missing the point here?

Perhaps you could explain the scenarioa bit, and then appropriate solutions can be suggested.

Cheers,

Julius

Read only

0 Likes
1,143

Hi, Julius,

Thanks for the input. My ABAP proxy just like a ABAP function module. Now let's say that, if I have a function module to call a se38 program. And I need the FM pass an internal table to the program. How I can do that? Can you provide an sample program to pass and receive the internal table data? Thanks.

Meiying

Edited by: Meiying Yang on Feb 25, 2009 9:39 PM

Read only

0 Likes
1,143

> For some reasons, I have to call a se38 program (or tcode) instead of calling a FM from an abap proxy.

I would be curious to know what your reason is? Data loss of the app server is not available? Performance? Do you want all work for all records to be commited at the same time?

Please clarify, then I think it will be clearer.

Cheers,

Julius

Read only

0 Likes
1,143

Thanks everybody. I opened another thread and got the answer.

Read only

0 Likes
1,143

-->

So what you were looking for is the ABAP keywords SUBMIT and EXPORT TO DATABASE?

Oh well... another lesson learnt...

ps: Please do not duplicate post...

Read only

0 Likes
1,143

Julius,

I did not get my answer for this one for a while. So I think I might not explain it very well. I could not change the Subject. That is why I opened another one.

The answer for another one works for me. Since my proxy to ABAP program just works like program to program. I only need some small changes. But anyway, thanks for you attention.

Meiying

Read only

Former Member
0 Likes
1,143

Hi,

create a FM using tx se37. Inside, call ur program (the one u want to call) using "Submit".

see the information of submit, because u can pass tables or variables using submit.

and that's all.

Regards