‎2007 Apr 05 4:28 PM
Hi,
I have the following code which is a copy of standard program /bev1/vd_bew_lief_background:
IF nast-vsztp = 4.
CALL FUNCTION 'ZUAM_FMDELNOTE' IN BACKGROUND TASK AS SEPARATE UNIT
...
ELSEIF sy-tcode = VL71 OR
sy-tcode = VL02N OR
sy-tcode = VL03N.
CALL FUNCTION 'ZUAM_FMDELNOTE'
...
ELSE.
CALL FUNCTION 'ZUAM_FMDELNOTE' IN BACKGROUND TASK AS SEPARATE UNIT
...
And inside this FM I have a call to print a smartform. When it goes in the second if block there is no problem, the smartform gets triggered. But when it goes to the 1st or 2nd, the one with in background task, the smartform is not triggered.
Is smartform allowed to be called in background processing?
Or there other things that I should check?
Thanks.
‎2007 Apr 05 4:37 PM
Does your smartform has a Dialog pop up?
If yes, you have to suppress it, as dialog and background don't go together.
You have set cetrain parameters in the Smartfrms function module in order not to get the pop up dialog.
REgards,
Ravi
‎2007 Apr 05 4:45 PM
i don't have a dialog pop-up but there are field called screen or xscreen which is passed. are there some parameter or field that should be marked or unmark?
Thanks for your reply.