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

Regarding pop up window in function module

lakshminarasimhan_n4
Active Contributor
0 Likes
564

Hi,

I am using an sap standard function module IDOC_PROCESS_ERROR.

I need to pass the idoc numbers as the input for the function module.

For each of the idoc, the function module gives an pop up window which displays the status information of the idoc.I need to press enter and then the function module process the next idoc.

So when i am using it in my program, if i enter 10 idocs i need to press the enter key 10 times as an response to the pop up window. Is there any way of suppressing the popup window via my code?

Regards,

Lakshminarasimhan.N

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
513

Hi

There is an import parameter Dialog flag. Default value is X. Instead of X, use space. I think it will work.

IMPORTING
*"             VALUE(IDOC_NUMBER) LIKE  EDIDC-DOCNUM
*"             VALUE(DIALOG_FLAG) DEFAULT 'X'
*"       EXCEPTIONS
*"              NO_AUTHORIZATION
*"              IDOC_NOT_IN_DATABASE

If it doesn't work. Try scheduling your program in background.

Hope it helps.

Sourav.

2 REPLIES 2
Read only

Former Member
0 Likes
514

Hi

There is an import parameter Dialog flag. Default value is X. Instead of X, use space. I think it will work.

IMPORTING
*"             VALUE(IDOC_NUMBER) LIKE  EDIDC-DOCNUM
*"             VALUE(DIALOG_FLAG) DEFAULT 'X'
*"       EXCEPTIONS
*"              NO_AUTHORIZATION
*"              IDOC_NOT_IN_DATABASE

If it doesn't work. Try scheduling your program in background.

Hope it helps.

Sourav.

Read only

Former Member
0 Likes
513

Hi,

Pass space to DIALOG_FLAG parameter of the FM