Skip to Content
0
Former Member
Dec 08, 2008 at 11:50 AM

problem in running functions in different sessions together

16 Views

Hi all,

*******************calling functions for invoice generation************

CALL FUNCTION 'ZFM_FTC_INV_CHECK_SES_REVOKE'

CHANGING

LT_INVOICING = LT_INVOICING

.

CALL FUNCTION 'DEQUEUE_ALL'

  • EXPORTING

  • _SYNCHRON = ' '

.

CALL FUNCTION 'ZFM_FTC_INV_SES_DELETE'

CHANGING

LT_INVOICING = LT_INVOICING

.

CALL FUNCTION 'DEQUEUE_ALL'

  • EXPORTING

  • _SYNCHRON = ' '

.

CALL FUNCTION 'ZFM_FTC_INV_PO_CHANGE'

CHANGING

LT_INVOICING = LT_INVOICING

.

CALL FUNCTION 'DEQUEUE_ALL'

  • EXPORTING

  • _SYNCHRON = ' '

.

CALL FUNCTION 'ZFM_FTC_INV_SES_CREATE'

CHANGING

LT_INVOICING = LT_INVOICING

.

CALL FUNCTION 'DEQUEUE_ALL'

  • EXPORTING

  • _SYNCHRON = ' '

.

CALL FUNCTION 'ZFM_FTC_INV_SES_RELEASE'

CHANGING

LT_INVOICING = LT_INVOICING

.

CALL FUNCTION 'DEQUEUE_ALL'

  • EXPORTING

  • _SYNCHRON = ' '

.

My problen is that,I am all these functions under one function,Now if i execute this function,I want all these functions to run sequentially executed which in result generate invoice..

when i even used 'dequeue_all',but it is not working.It is something some message like this..

Express Document "Update was terminated" recieved from author SHARMAM

How to achieve the execution of all fms at same time under one FM,

Please help,

Thanks in advance,

Meena