2007 Jul 20 10:59 AM
Hello,
I have to print automatically a label designes in a custom smartform using standard tc MB1A.
Is there any user-exit, custo.. to print it?
Thnks.
2007 Jul 22 1:40 PM
Hi Alberto,
There is a concept of Messages in MM similar to Output Types in SD.
Ask your functional consultant to create a new message type for printing the label to which he can attach the program, smartform and the routine (in your program which should be executed in which you code the call to the smartform) you will be developing, to trigger the print. This is done using SPRO.
If possible you can also use a standard message type however the configuration will need to be modified to use your program, smartform and the routine.
For automatic printing the Message Type will need to be set to print immediately ( in configuration).. So when the document will be saved the print will be generated.
Cheers
Nitesh
2007 Jul 22 9:13 AM
Alberto
I'm assuming you want to print a Goods Issue label?!
SAP provides Preconfigured Smartforms and print programs for certain business processes as part of the Best Practices suite downloadable from the SAP Service Marketplace (there are other posts that describe how to download this). In this suite there is a print program that you can use to replace the standard print program in config and it will process a smartform instead of a sapscript. I believe the print program name is "/SMB40/M07DR". There should also be a sample Smartform on which you can base your own custom one.
I hope this at least gives you a start...
Regards
Glen
2007 Jul 22 1:40 PM
Hi Alberto,
There is a concept of Messages in MM similar to Output Types in SD.
Ask your functional consultant to create a new message type for printing the label to which he can attach the program, smartform and the routine (in your program which should be executed in which you code the call to the smartform) you will be developing, to trigger the print. This is done using SPRO.
If possible you can also use a standard message type however the configuration will need to be modified to use your program, smartform and the routine.
For automatic printing the Message Type will need to be set to print immediately ( in configuration).. So when the document will be saved the print will be generated.
Cheers
Nitesh