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

Rightfax commands in Sapscript/Smartforms

Former Member
0 Likes
713

Hi,

We are using RIGHTFAX with SAP ECC 5.0 for fax sending functionality.

I have read all the threads related to RIGHTFAX functionality but would like to have answers for the following.

1) Where exactly in a SAPSCRIPT / SMARTFORM form do I add the fax control commands (FCL Commands)so that RIGHTFAX connector for SAP R/3 recognise them?

For eg: I want RIGHTFAX to include a particular cover sheet.For that I need to write the fax control command RFSAP_FCSFILE:file name. But where do I write that inside sapscript/smartform?

Thanks,

Bhaskar Pal.

This message is not answered.Somehow it is showing as being answered already. I would appreciate your help/input on this issue. Please respond.

Hi,

We are using RIGHTFAX with SAP ECC 5.0 for fax sending functionality.

I have read all the threads related to RIGHTFAX functionality but would like to have answers for the following.

1) Where exactly in a SAPSCRIPT / SMARTFORM form do I add the fax control commands (FCL Commands)so that RIGHTFAX connector for SAP R/3 recognise them?

For eg: I want RIGHTFAX to include a particular cover sheet.For that I need to write the fax control command RFSAP_FCSFILE:file name. But where do I write that inside sapscript/smartform?

Thanks,

Bhaskar Pal.

This message is not answered.Somehow it is showing as being answered already. I would appreciate your help/input on this issue. Please respond.

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
643

Hi. First try to set your post as unsolved. There should be a radiobutton on the left of your post to do so.

TO answer your questions, what you need to do is to create a page, this page will be printed first. Put your FCL commands in this page. When the document is send to the printer device(the one setup for RIGHTFAX), it will have this coding on the first page. Once it reaches RightFax, the software will recognize that there is FCL code on this page and will except it, get the values, apply them, and then it strips off this first page. This is good because we don't want the end user to see this anyway. So, create a page in your sapscript called FAXPAGE, put your commands in there and always start your printing at this page.

Regards,

RIch Heilman

Read only

0 Likes
643

Rich,

Somehow, I dont see the radiobutton here with this particular post.

Anyway,for SAPSCRIPT, we will create a first page with only one MAIN window without any ELEMENT. We will write the rightfax command (with /:)like this --> <RFSAP_FCSFILE:<i>filename</i>>.

Do we need to give the "<" & ">" ?

SMARTFORM --> We will create a first page with only one MAIN window and add a COMMAND node and give attribute name as RFSAP_FCSFILE and value as <i>filename</i>.

Or do we need to insert that as code node? In that case,we are getting a syntax error.

This is what I have understood. Am I correct?

Thanks,

Bhaskar.

Read only

0 Likes
643

Hi, since these commands are not specify to sapscript/smartforms, you need to write these commands as a regular text line. So your paragraph format column should not contain /:, but a valid paragraph format for regular text. And yes, you need the << >> because this is how RightFax will recogize that it needs to do something with the "code" in between.

Never done this with smartforms, but I would assume that this FCL coding must be handled the same way, directly writing this code in the MAIN window.

I hope it is clearer.

Regards,

Rich Heilman