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 create a job for Module pool Program.

ronaldo_aparecido
Contributor
0 Likes
1,713

Hi Experts.

I have a problem.

Program Module pool :I need create a job, but how can I do it if this type program dont has how create Variant?

Because in my company we only create a Variant and pass the name to Basis to create in productive envoirement.

Thanks experts.

5 REPLIES 5
Read only

rahul_mb
Active Participant
1,077

Module pool program involves screen. And screens cannot be generated in background. So module pool programs cannot be scheduled as a job.

Read only

0 Likes
1,077

Thanks for answer Rahul.

But can I create a program report the call my transaction of my module pool program and execute it?

then I will create a job for the report program.

Read only

Former Member
0 Likes
1,077

This should be working.

Read only

rahul_mb
Active Participant
0 Likes
1,077

If a screen is getting generated in background job then the system will throw a runtime error. So that is also not possible.

Read only

Former Member
0 Likes
1,077

Hi Ronaldo,

module pool programs are called via tcode. You can get the tcode(s) for your module pool from table TSTC.

Then you can try to use the BATCH INPUT RECORDER (Tcode SHDB) to record your input and generate a program from it, which you have to modify after that.

But not all screen controls can be used via batch-input, see SAP note 311440 for that.

Regards,

Klaus