Skip to Content
0
Former Member
Jun 05, 2009 at 08:02 PM

problem With SY-UCOMM

85 Views

Hi Friends,

In My report program I have a button in toolbar Edit service order.

once I select the service orders from the List and Click on, EDIT SERVICE ORDER, it takes me to IW32, once the this order is proccessed, to process the Second service order a popup will be raised using the function-module 'POPUP_TO_CONFIRM_STEP', if 'J' conitnues with processing with next record, if I clik on on No,it stops in List. but when I select other orders and Click on EDIT SERVICE ORDER for the second time the SY-UCOMM related to the Button does not trigger.

Could you please help me, solving out the problem?

following is the code which gives the popup?

if not ( idx is initial ).

call function 'POPUP_TO_CONFIRM_STEP'

exporting

titel = text-w01 "Release

textline1 = text-w03 "Do you want to process the

textline2 = text-w04 " Documents?

importing

answer = char(1).

case char(1).

when 'J'.

*---Changes the next order.

when 'N'.

  • leave to list-processing.

  • MODIFY it_final from wa_final INDEX idx.

  • CLEAR xm_vmvad-vbeln.

exit.

when 'A'.

exit.

endcase.

endif.

Regards,

Xavier.P

Edited by: Xavier on Jun 5, 2009 10:03 PM