cancel
Showing results for 
Search instead for 
Did you mean: 

Batch job to print GRs from a single plant

Former Member
0 Kudos

We have a requirement to set up a daily batch job to print all GRs for one of our plants. The others will be printed as they currently are (immediately when saving) but for one plant we want to delay all printing until a certain time of day and then print all automatically. How can this be accomplished?

Thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

You will have to create a new output type, a new condition table with Plant parameter, new Access sequence with condition access to this table. Then it is possible.

Moreover You might have to create an other message type, and follow the same procedure for all those that you'd want to print automatically as the standard messages cannot be used any more

Thus for one condition type, you use all the plants for which you want it delayed and for all others, you print automatically

This works for individual slips only though!!

Former Member
0 Kudos

Go through these steps you can get the GRN Printout

1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting

Enter the local printer where you want to print your Goods posting document

2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out

3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2

4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for Goods Receipt/GI/Transfer Posting Documents

Here for Particular mvt type 101,201,121,311 etcu2026 Maintain the Print item as 1--Material document printout

5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the following--

Select the particular Output type then goto Details

a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Transmission medium is 1

b. Print Parameter is 7

6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Printer Determination by Plant/Str Loc, Maintain the Output device for all your Plants

7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.

Now the settings are ready for Printing Material doc

8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.

9. Now depending on the setting in 5a, the Matl doc is printed. If it is 3, you have to print it using MB90. If it is 4, it is printed immediately.

for plant wise printing, you have to schedule the job in batch mode

to do that

first you have to create new conditon table which include the plant and other criteria you requireed

than create new access sequence

than M706 tcode enter you access seq

Than M708

create variant and use this variant for background job

than schedul a back ground job using SM36 tcode.