on 04-05-2007 4:15 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.
Hi,
Create a background job and try to call that in your function modules whenever required.
Regards,
Amey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.