Application Development and Automation 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: 
Read only

Trigger print from custom RF transaction

Former Member
0 Likes
836

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
Read only

settipalli_raj
Explorer
0 Likes
590

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

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

2 REPLIES 2
Read only

Former Member
0 Likes
590

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

Read only

settipalli_raj
Explorer
0 Likes
591

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