AW: Methodes using f.m. with qRFC ?

Schmidinger, Heinz (Unaxis IT BZ) heinz.schmidinger at unaxis.com
Wed Jun 8 02:30:47 EDT 2005


Hi Nate,

 

yes I do a commit work. The funny things is, that the f.m. do its work fine
if I process it out of SE37.

 

This is the code of the f.m. used in the BOR-Method.

 

  q_name = 'PR_REL_DISPATCHER'.

  CALL FUNCTION 'TRFC_SET_QUEUE_NAME'

    EXPORTING

      qname                    = q_name

*     NOSEND                   = ' '

*     TRFC_IF_SYSFAIL          = ' '

*     CALL_EVENT               = ' '

      .

 

 

  CALL FUNCTION 'Z_WF_BANF_CONTROL_RELEASE_STEP'

    IN BACKGROUND TASK

    DESTINATION 'NONE'

    EXPORTING

      banfn            = banfn

      bnfpo            = bnfpo

      frgab            = frgab

      object_type      = object_type

      task4release     = task4release

      wf4release       = wf4release

      rule4releasetask = rule4releasetask

      wf4release_mail  = wf4release_mail

      no_commit        = 'X'.

 

  COMMIT WORK.

 

Regards

 

Heinz

 

  _____  

Von: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] Im Auftrag von
Workflow
Gesendet: Dienstag, 7. Juni 2005 16:20
An: SAP Workflow Users' Group
Betreff: AW: Methodes using f.m. with qRFC ?

 

Hello Heinz

 

Did you do a " commit work" in your calling program to start the queue.
Maybe you should show us the calling programs code.

 

yours truly

Nate

-----Ursprüngliche Nachricht-----
Von: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]Im Auftrag von
Schmidinger, Heinz (Unaxis IT BZ)
Gesendet: Dienstag, 7. Juni 2005 15:49
An: SAP-WUG at mit.edu
Betreff: Methodes using f.m. with qRFC ?

Hi Workflowers,

I'm fighting with a stupid problem. Maybe someone of you can help me to see
the way.

I have a Task (TS) executing a Method based on a f.m. (running without
problems). The task is triggered by some starting events (running fine).

The need is to run the task in the order the events are received
(sequential). Normally this would be done by using the event-queue.

In this special business case the minimum max.delay of 1 minute is to high,
the start should be immediately.

So I had the idea to use a qRFC-f.m. This qRFC-f.m. run on destination
'NONE'.

When I test the f.m. calling the qRFC out of SE37, all works fine so long.

But if I run the Task by creating the starting Events, the Task is created
correct but no result can be seen.

It looks like that nothing happens. Frustrated I cann't find no entry in
ST22 or SM58. Also I cann't see any entry in the qRFC-Administration.

Is it not possible to use qRFC's out of Workflow-Environment ?

Or do I have some more knowledge gaps where I have to look for and how I
have to install and maintain qRFC's ?

Can anybody help ?

Thanks in advance

Best regards

Heinz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050608/590d69a9/attachment.htm


More information about the SAP-WUG mailing list