Application Development 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: 

Trigger print from custom RF transaction

Former Member
0 Kudos

Hi! All,

I have created a custom RF transaction that creates HU, packs with material and moves it from origin to a destination Sloc. I have used the FM BAPI_HU_CREATE & HU_CREATE_GOODS_MOVEMENT. Now if the user wants to print a lebel, how do I connect this code to the output type created. I am confused. HU_CREATE_GOODS_MOVEMENT does not have any parameter to trigger print like BAPI_GOODSMVT_CREATE.

Any suggestion is greatly appreciated and will be rewarded.

Thank You,

-Priyanka

1 ACCEPTED SOLUTION

settipalli_raj
Explorer
0 Kudos

Hi

You can create a background job dynamically to execute a program that will call a transaction/create a spool request. Pass the printer parameters to print immediately.

I have used this method to schedule an email when goods receipt is completed.

Regards

Raj

2 REPLIES 2

Former Member
0 Kudos

Can someone answer? I know how to trigger print in SAP transactions, NACE etc.. but I dont know how to trigger a print from custom RF transaction

settipalli_raj
Explorer
0 Kudos

Hi

You can create a background job dynamically to execute a program that will call a transaction/create a spool request. Pass the printer parameters to print immediately.

I have used this method to schedule an email when goods receipt is completed.

Regards

Raj