cancel
Showing results for 
Search instead for 
Did you mean: 

Printing Labels Upon Saving in HUPAST

racingpro
Explorer
0 Kudos

Hi experts,

I would like to print labels upon saving in the HUPAST transaction. I am using three packing stations but the labels are not printed on the correct printer. The saving procedure does not take in consideration the printing profile stored in the packing station parameters. Instead, the labels are printed on the printer defined in the Output Control in NACR.

I configured the printing profiles in PPPRO, PRPHU and HUPAST_C but it does not seems to take these parameters in consideration.

When I print via the PRINT_HU button everything works fine and print on the printer linked to the packing station.

I also tried to figure out how the FM WS_DELIVERY_UPDATE works but I am not sure if any coding has to be enhanced or not.

Can you, please, suggest any solution? If some coding has to be made, thank you for providing an example.

Thank you in advance,

Sylvain

former_member797195
Discoverer
0 Kudos

Hi Sylvain, I know this is an old case, but do you remember what was the solution?

Same issue we have, that the PRPHU and HUPAST_C settings being ignored.

Thanks,

Dani

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please look at

Thanks and Regards.

Jogesh

racingpro
Explorer
0 Kudos

Hi Jogesh,

Yes, I already looked a few times at this discussion but I cannot figure out what is the correct solution to implement. I adapted the config as mentioned but the printer defined in the packing station is not used properly.

In that discussion, there are some mentions about doing specific ABAP coding but I am not sure what has to be done.

Can you provide details on the solution?

Thank you

Former Member

Hi,

The Print Profile and its config (PRPPRO, PRPHU and  HUPAST_C) only comes into picture when you trigger the output through HUPAST (Whenever the Form PRINT_HU called).

In your case if I am not wrong you want the system to trigger the HU output during saving (condition record maintained through VV61 with VSZTP set to 4). Unfortunately SAP in this case takes the printer maintained in the condition record.

To overcome this you can enhance the condition record determination so that you can maintain condition record for each of the packing station (this is what the post I mentioned suggests).

Thanks and Regards.

Jogesh