[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

Background Printing of a Selection Version

I have been asked by my boss if there is a way to create a background job that prints out the results from MC.C.  I have tried everything to find a way to either have that print out the result of the Variant or even take the resultant Selection Version (created as 'BGnnn' where nnn is an auto-incremented number) and try to run that through RMCB0390 (using SM36, etc.).  Nothing seems to work. Has anyone found a way to do this?  (A little ABAP coding would not be out of the question.)
0
mhasf
Asked:
mhasf
  • 2
  • 2
1 Solution
 
jonvaughanCommented:
OK i see your problem. I think a little ABAP will be required .....

The program that actually does the display of the results is RMCB0305.

However the problem with this is that it requires user interaction to choose the correct selection variant from a list for printing.
What i would suggest is that you copy this into a Z version and change it so that when it runs it automatically runs the version you want.

If you always use the same variant then this should be a fairly simple process. You can then set the print parameters on the Job Definition and it should print out OK.

Cheers
Jon
0
 
mhasfAuthor Commented:
Thanks Jon...

That is where I ended up too.  RMCB0305 is a place to start.  Now my boss is not excited about having a custom version of some stock code in the system as he is concerned as to when we upgrade, etc.  However, thanks for the confirmation of my suspicions.  It is always helpful to 'shore up' one's opinion with other experts.

Cheers,

Marc
0
 
jonvaughanCommented:
Of course when you do upgrade as you copied it into the Z name space then you shouldnt have much of a problem - you would only really have a problem if you changed the original SAP version ..

Jon
0
 
mhasfAuthor Commented:
I think he is afraid that it (the custom z program) will cease to function and be another thing to worry about.  I agree with you and I thank you for your continued interest.

Marc
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now