Background task problem

Hi have couple of background task in my workflow.My problem is that the task sometimes get stuck or sometimes take a lot of time in processing.I am not able to find out problem why it si happening.
Can you help me out to drill down this problem.

Hello,
You wrote:
"My problem is that the task sometimes get stuck or sometimes take a lot of time in processing"
So sometimes it gets stuck forever, and sometimes it just takes a long time? Odd. Any difference between the two cases? Are they both with level 2?
What does the method do?
Has it always done this, or did it suddenly start showing this behaviour?
regards
Rick Bakker
Hanabi Technology

Similar Messages

  • Two transactions, same program, processed in background task problem

    Y0 Team ABAP,
    i got something here that bugs me.
    I have done a report. Nothing special, simple selection screen, selection of data, and output via SALV.
    One of my selection screen fields (a parameter) is VKBUR and it is "obligatory".
    2 weeks ago i got the requirement to create a copy of this program, and adopt VKBUR as select option.
    Since i didnt want changeanomalies i decided not to duplicate the program, but just add a second transaction to my program.
    In a routine at event at-selection-screen output, i´m hiding either the parameter or the select option, depending on which tcode was used.
    In some routine which gets triggered at the event at-selection-screen i´m moving either what we got in our parameter to our local range we use for the select, or just assign the select option to our local range, or process an error message if according field is not filled. Yeah that obligatory condition is done by myself since i cant just set the obligatory addition to the statement.
    This all works quite fine so far.
    BUT:
    Today i hear that the end-users process that report in background task by pressing F9.
    Problem is now that when it is processed in background task, sy-tcode is initial, so i dont know which of the transactions the user picked, and so i dont know which of the two fields has to be filled.
    Sure i could do another report, containing just my second selection screen, and when this is checked, do a submit on my real report, tho i still believe there must be some more elegant way.
    Any ideas?

    Unfortunateley those subtotals cant be handeled by the layout, thats why i manually add them.
    But you got me back on track! right now i´m for your solution.
    right now i´m having just ONE selection screen with the select option on it.
    User can decide if he fills just one value or more.
    In the end i loop over my output table and look if there are records of different VKBUR´s.
    If there are i know he wants subtotals and process them. If its just data of one VKBUR i can spare myself the hassle as there is anyway just one records per VKBUR so subtotaling this wouldnt make sense.
    thanks. Thats what i will present my consultant now lets see if i can get him satisfied with it...

  • Background task problem wont let me export to PDF

    Dear community, I have been publishing a newsletter made in Indesign but for some reason, for the last version, when I try to export it to PDF, it reports one background task error.  I am trying everything but I don't manage to  identify what caused it.
    I can still create PDF with other applications, so I believe it must come from Indesign.
    Thanks for your help.

    What is the exact error message?

  • Background task problem with alv grid display

    Hello !
    I have a problem when executing my program in background.
    In foreground I have no problem, my ALV appears. In the background I have a dump.
    The current ABAP program "SAPLKKBL" had to be terminated because one of the statements could not be executed.
    I use the function module 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
            i_callback_program      = gd_repid
            i_callback_user_command = 'F533_USER_COMMAND'
            is_layout               = gd_layout
            it_fieldcat             = fieldcatalog[]
            it_special_groups       = i_fgroup[]
            i_save                  = 'X'
            it_sort                 = gd_sort
            i_buffer_active         = ' '
            i_callback_pf_status_set = 'F534_SET_PF_STATUS'
         TABLES
            t_outtab                = mytab
         EXCEPTIONS
            program_error           = 1
            OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    I don't understand where the problem is. Please help me.
    Thank you.

    I love replying to old threads:
    Try this link
    http://scn.sap.com/people/prashant.patil12/blog/2007/02/20/displaying-alv-grid-in-background-job

  • Problem in background task with Control channel trigger in Windows 8.1 app

    Hi,
    I created app with control channel trigger as background task.
    This is working fine in windows 8.1 desktop whenever app in background and switching from my app to other apps.
    But this same behavior is not working fine in windows tab, whenever app switching the notification associated with background task is not working. And some times it throws delayed notifications.
    As assumption based, is there any problem in tab to initiate the background task in suspended mode? or is there any regulations for control channel trigger using?
    Expecting your feedback!!! thanks

    Hello Kabir,
    Since this issue is related windows store apps, I move it to the
    store app forum for getting better help.
    Rgeards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem in executing the SO_NEW_DOCUMENT_SEND_API1 in background task

    Hi All,
    I have specific requirement in which I need to put the workflow into an error whenever posting of the journal document fails (which is a background task in my workflow) and before that I should send the notification to the initiator's lotus notes ID a mail with error description. So that user can repost the document after removing the error in standard SAP. For that I am using function module SO_NEW_DOCUMENT_SEND_API1. But when I execute the workflow then it is not sending any notification to the e-mail ID. But when I debug in foreground then it is sending an e-mail notification to initiator's e-mail address.
    I think this FM will not execute in background, if any one is having idea how to make this run then please let me know.
    If any one knows any alternate solution that will also help me to meet my requirement.
    Please let me know if anything else requires.
    Thanks in advance.
    Prashant P. Raichurkar

    hello,
    If you use this FM in a background task then the user is different. probably this is user wf-batch.
    Can you verify if the user has a correct email address assigned in his user master data?
    What you also can try is to logon with user WF-BATCH (change type of user for that) and run the FM.
    /Peter

  • Background Task running under initiator not under WF-BATCH

    Hi All,
      I am trying to resolve a problem with a Background task running under intiator. Since the initiator does not have authorization to execute the task, it is not working.
    My understanding was, all background tasks will run under WF-BATCH!!. Is it correct?.  in 4.7, it is working this way.
    However in ECC 6.00  the background task before the first dialog work item is executed under 'intiator' in this case.  I have moved the same task after first dialog work item, and it was executed under WF-BATCH.. I cannot move the task after the dialog workitem as the task need to be executed immediatly after the creation of workflow.
    1. How can I run the task in backgroud under WF-BATCH?
    2. Inside the task, I am running a BDC to update a flag in downpayment transaction created using F-47. How can I run the process under batch user to overcome the authorization issue that initiator will not authorization.
    I am running this workflow in SAP ECC 6.0 level 13
    Any help is really appreciated..
    thanks in advance for your help.
    johnson

    This issue can be resolved with triggering the event using the additional flag export parameter 'CREATOR' in function module  ''SWE_EVENT_CREATE_FOR_UPD_TASK' as WF-BATCH. I was not passing this parameter and hence it didn't work in ECC 6.0 as it take who ran the process as creator and ran the background task under that users id.
    Thanks Rachid for your input to resolve this problem.
    johnson zavier

  • Function module not working when used with 'In Background Task'

    hi,
    this is my code
    call function 'Z_IBD_FILL_ZINETACT'
                  in background task
                  destination  'SAPD220125'
                  tables
                      it_net1 = it_net1
                      it_net2 = it_net2
                      it_net3 = it_net3  .
    when this code is executed i am not getting any data in my internal tables i.e it_net1, it_net2, and it_net3
    but i changed this code see the below code
          call function 'Z_IBD_FILL_ZINETACT'
                 in background task (THIS IS COMMENTED)
                  destination  'SAPD220125'
                  tables
                      it_net1 = it_net1
                      it_net2 = it_net2
                      it_net3 = it_net3  .
    now i am getting data into my internal tables
    can any one tell me what can be the problem and how to solve it in my case
    its very urgent

    Hi,
    Pls. go through the  docu..
    CALL FUNCTION
    Variant 5
    CALL FUNCTION func IN BACKGROUND TASK.
    Additions:
    1. ... AS SEPARATE UNIT
    2. ... DESTINATION dest
    3. ... EXPORTING  p1 = f1    ... pn = fn
    4. ... TABLES     p1 = itab1 ... pn = itabn
    Effect
    Flags the function module func to be run asynchronously. It is not executed at once, but the data passed with EXPORTING or TABLES is placed in a database table and the next COMMIT WORK executes it in another work process.
    Note
    This variant applies only as of Release 3.0, so both the client system and the server system must be Release 3.0 or higher.
    Note
    qRFC with Outbound Queue
    This is an extension of tRFC. The tRFC is serialized using queues, ensuring that the sequence of LUWs required by the application is observed when the calls are sent.
    For further information about qRFC, refer to the Serialized RFC: qRFC With Outbound Queue section of the SAP Library.
    Addition 1
    ... AS SEPARATE UNIT
    Effect
    Executes the function module in a separate LUW under a new transaction ID.
    Addition 2
    ... DESTINATION dest
    Effect
    Executes the function module externally as a Remote Function Call (RFC); dest can be a literal or a variable.
    Depending on the specified destination, the function module is executed either in another R/3 System or as a C-implemented function module. Externally callable function modules must be flagged as such in the Function Builder (of the target system).
    Since each destination defines its own program context, further calls to the same or different function modules with the same destination can access the local memory (global data) of these function modules.
    Note
    Note that a database commit occurs at each Remote Function Call (RFC). Consequently, you may not use Remote Function Calls between pairs of statements that open and close a database cursor (such as SELECT ... ENDSELECT).
    Addition 3
    ... EXPORTING p1 = f1 ... pn = fn
    Effect
    EXPORTING passes values of fields and field strings from the calling program to the function module. In the function module, formal parameters are defined as import parameters. Default values must be assigned to all import parameters of the function module in the interface definition.
    Addition 4
    ... TABLES p1 = itab1 ... pn = itabn
    Effect
    TABLES passes references to internal tables. All table parameters of the function module must contain values.
    Notes
    If several function module calls with the same destination are specified before COMMIT WORK, these normally form an LUW in the target system. Calls with the addition 1 are an exception to this rule - they each have their own LUW.
    You cannot specify type 2 destinations (R/3 - R/2 connections).
    (See Technical details and Administration transaction.)
    Example
    REPORT  RS41503F.
    /* This program performs a transactional RFC.
    TABLES: SCUSTOM.
    SELECT-OPTIONS: CUSTID FOR SCUSTOM-ID DEFAULT 1 TO 2.
    PARAMETERS: DEST LIKE RFCDES-RFCDEST DEFAULT 'NONE',
                MODE DEFAULT 'N',
                TIME LIKE SY-UZEIT DEFAULT SY-UZEIT.
    DATA: CUSTITAB TYPE TABLE OF CUST415,
          TAMESS   TYPE TABLE OF T100,
          WA_CUSTITAB TYPE CUST415.
    SELECT ID NAME TELEPHONE INTO CORRESPONDING FIELDS OF TABLE CUSTITAB
                   FROM SCUSTOM WHERE ID IN CUSTID ORDER BY ID.
    PERFORM READ_CUSTITAB.
    EDITOR-CALL FOR CUSTITAB TITLE 'Editor for table CUSTITAB'.
    PERFORM READ_CUSTITAB.
    CALL FUNCTION 'TRAIN415_RFC_CALLTRANSACTION'
         IN BACKGROUND TASK
         DESTINATION DEST
         EXPORTING
              TAMODE    = MODE
         TABLES
              CUSTTAB   = CUSTITAB.
    CALL FUNCTION 'START_OF_BACKGROUNDTASK'
         EXPORTING
              STARTDATE = SY-DATUM
              STARTTIME = TIME
         EXCEPTIONS
              OTHERS    = 1.
    IF SY-SUBRC = 1.
      EXIT.
    ENDIF.
    COMMIT WORK.
    CALL TRANSACTION 'SM58'.
          FORM READ_CUSTITAB                                   *
    FORM READ_CUSTITAB.
      WRITE: / 'System ID:', SY-SYSID.
      SKIP.
      LOOP AT CUSTITAB into WA_CUSTITAB
        WRITE: / WA_CUSTITAB-ID, WA_CUSTITAB-NAME,
                 WA_CUSTITAB-TELEPHONE.
      ENDLOOP.
      ULINE.
    ENDFORM.
    Pls. reward if useful....

  • How to see the status of a FM IN BACKGROUND TASK?

    Hi experts,
    If I call a FM IN BACKGROUND TASK addition. I can't Debug the FM called in BACKGROUND TASK. Then whether there is a way to see the status of this FM IN BACKGROUND TASK? I want to know this task is finish or not.
    Thanks.

    Hi Kelvin,
    I am also facing similar problem. I have come across few documents which have suggeted the way to test the FM in background. For this you will have to change the debugging settings, its in the  Settings->Display and change all. Check the oprion for In background task.
    A good document on settings of debugging.
    http://www.sappro.com/downloads/Settings&SystemAreas.pdf
    Regards,
    Sana.

  • Windows 8.1 background task Javascript - Call angular controller function from task js

    Hi,
    The Ionic Side menu starter template for windows 8.1 is a very good option to run the ionic apps on Windows  8.1 phones.
    I am not sure whether this is related to Ionic/angular or VS2013 CTP 3.1 but if anyone can give some tips ,that would be great. I registered a background task as per the VS tutorial (Run JS task in background) and i tested it with windows toast notifications.However
    my requirement is to access webservice in background which I am not able to implement.
    The setup for background task is path to the js file but my requirement is to call a function defined within a controller.Is there any way i can access the controller function from an outside js file.I am new to Ionic,Angular and VS 2013.Any help would be great
    The structure of background task js file is as below
    (function() {
       --- I need to call my controller/service  function here---
        var notifications = Windows.UI.Notifications;
        var template = notifications.ToastTemplateType.toastImageAndText01;
        var toastXml = notifications.ToastNotificationManager.getTemplateContent(template);
        var toast = new notifications.ToastNotification(toastXml);
        var toastTextElements = toastXml.getElementsByTagName("text");
        toastTextElements[0].appendChild(toastXml.createTextNode("From Background!"));
        var toastNotifier = notifications.ToastNotificationManager.createToastNotifier();
        toastNotifier.show(toast);
        close();
     

    Are there any updates on this issue? I'm currently seeing this on a Lumia 822 with WP8.1, and the app has never been published to the store. I've only ever deployed the app from Visual Studio to my device. It worked when deploying the Debug build, then I
    tried a Release build, and it crashed immediately upon launch when trying to register the background task, but then I was able to go back to deploying/debugging the Debug build on the device for awhile. I made more changes, and now neither Debug nor Release
    builds work--both fail on the BackgroundTaskBuilder.Register() call with the error described in the original question:
    "The drive cannot locate a specific area or track on the disk. (Exception from HRESULT: 0x80070019)"
    I've tried changing the Task name during registration, rev-ing the version number of the application, adding the call to BackgroundExecutionManager.RemoveAccess() before BackgroundExecutionManager.RequestAccessAsync(), changing the name of the IBackgroundTask
    concrete implementation and changing the corresponding EntryPoint in the package.appxmanifest (as well as in the BackgroundTaskBuilder instance), and changing the package DisplayName to a new reserved name, all to no avail. The only thing I didn't try
    was associating with an entirely new app in the app store or paving my phone, as these are both fairly undesirable "workarounds."
    Even if this won't affect clients downloading the app from the store, this is a major roadblock during development, as we can essentially only use the emulator to test an app specifically designed to help solve problems involving moving around physically
    in the real world.
    Any more information would be greatly appreciated. If there's any information I can provide, please let me know.

  • IN BACKGROUND TASK as a different user ID

    Hi experts,
    I am performing a FM IN BACKGROUND TASK call in a BADI to automate creation of GR.
    Example:
    Step 1. User ABC performs GR for plant 0001.
    Step 2. BADI checks and automates another GR for plant 0002.
    The problem is user ABC only has authorization for plant 0001.
    During step 2, the BAPI returns an error saying that there is no authorization for plant 0002 as the BADI is triggered by user ABC.
    I am using FM BAPI_GOODSMVT_CREATE. I tried to pass in an ID with SAP_ALL to the PR_UNAME field to indicate this ID as the creator of the GR, but the authorization check still exists.
    Is there anyway I can force this background task to be executed by another ID instead of the triggering ID?
    Thanks in advance.

    Make sure to discuss this with the security team...
    The RFC destination you specify in your [call function - in background task|http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_BACKGROUND_TASK.htm] can be used to specify a different user. Check for example the logical workflow destinations in transaction SM59...
    Cheers, harald

  • Background Task on Adobe Photoshop Elements and Adobe Premiere Elements Organizer "hangs"

    I recently upgraded my software from Elements 10 to Elements 12 and had a bit of trouble.  Apparently both 10 and 12 have a way of launching an executable in the background which tends to get "stuck" on my system.  I believe the problem may be related to the network configuration and software mix I live with, but I need to confirm my suspecions and find a way to control the problem.  Here is what I know... I have always experienced a lot of problems using Elements with my NAS device which is a 1TB usb 2.0 connected disk system attached to my Linksys  E3000 Router.  When I got the router, the BIOS software did not correctly support NTFS file systems, but subsequent updates eventually made this possible if you formatted the removable drive on a system in NTFS, you could then hang it on the router and "see" the contents, serve them via Windows Media Player, or iTunes, etc., etc. from a computer atteched to the network, or via wirless directly off the router.  I archived all my photos out on this file system and have successfully indexed it for use with Adobe Photoshop Elements and Adobe Premiere Elements Organizer, but...  When I went to install Elements 12 software I tried to install it without first removing Elements 10, and on a system which had run Elements 10 since the last full reoboot.  During the install of 12 under "shared services install" the installation process "Hung" on a background task with a name like "AdobeElementsAnalyzer.exe" which only shows up in Windows 7 task manager as a running process, not as a full program, but because the file was locked by the system, the install hung.  I eventually figured out that I needed to start the install of Elements 12 software immediately after having rebooted so that this program was not present in the background, and succeeded in completing an install of Elements 12 on my Windows 7 X64 system.  This system required a "special" software download for Premiere Elements, but not for Photoshop Elements which is only apparently avaliable under 32bit emulation mode.  I finally got the "shared components" portion of the X64 Premiere Elements to complete an install, and then set about verifying the onversion/upgrade of the indexes to my photos and video stored out on the NAS.  The same rogue task which prevented me from doing the install showed up agian, taking all the system resources away from my dual processor Intel chip and refusing to let go.   I was forced to terminate it from the task manager.  I strongly suspect that my "issues" are in part due to the extrordinary network latency imposed by the drive connection I'm using to index my photos and videos, and I'm looking for a better approach to using the editors against my master catalog of files, as well as figruing out just what I need to do to insure that all the files I have stored on the drive are accessible by the organizer when I need to pull a copy to work on.
    A complication is that I have two "legacy" Windows XP systems on my network, a reasonably fast Windows Vista Business desktop, and the Windows 7 X64 processor system which is the most powerful system I have.  The Windows file security enhancements to NTFS changed from XP, to Vista, to Windows 7, so files which get saved to the NAS disk inherit a variety of different levels of security under windows.  I have occasionally gone to one of my old XP boxes and "wiped" the security settings by resetting everything via Windows XP.  Because the NAS is so slow, this process can take several hours and must not be interrupted by attempts to do anything affecting the NAS by any of my other networked computers.  To avoid problems with my photo archive, it makes sense to me to do all my editing on copies which have been extracted from the NAS archive and stored on the C: drive (boot drive) of my Win X64 system. 
    What I seriously need to know is this:  When/If I define a "watched" portion of my file system, rather than taking the time to manually import every little change to my photo archives, can I expect the Photoshop Elements Organizer to work properly as long as everything stored on the NAS is stored via the same system which runs Elements with the same active "user" in control so that all the windows 7 file security settings putting stuff on the mapped NAS drive remain properly secured under Win 7 X64?  Frankly I don't care if the files appear "read only" to every other system and identity on my network, but I do need to be able to "see" them.  I have been able to view slide shows and movies stored on the NAS via both my networked iPad, my Apple TV, and using Samsung's funky android and Windows compatible software.  Frankly, I doubt that Microsoft or Apple has full understanding and control of the environment where there is no host "server" other than the eprom based stuff my Linksys E3000 loads to emulate early Windows Media Management architecture, but I mange to get it to work as long as I don't try anything sophisticated with the file permissions.   As a fall back, can I expect individual "imported" bits out on the NAS to remain stable if indexed and used only by the Elements Organizer running on my Win 7 X64 system?
    I am seriously considering converting an old WinXP desktop into a UNIX box which could be configured as a "Server" for everything stored on the NAS and be done with my problems in return for the power required to run the server all the time so stuff is there when I need it.  Any recommendations?
    Message was edited by: [email protected]

    Adobe hasn't said whether it officially supports PSE 7 on Windows 7.  But reports are starting to trickle in that PSE 7 works fine on Windows 7 for most people, though a couple people have reported crashes. My PSE 7 seems to work fine, though I primarily use PSE 8 now.  This is all very preliminary, and we'll learn more as more people post here.

  • REUSE_ALV_GRID_DISPLAY  - in background task

    I have a problem with the function REUSE_ALV_GRID_DISPLAY when I use it in background task, doesn't it respect the filters of the layout, does it show all the registrations of the report, but if I execute the transaction on-line  it respects the filters of the layout, some body had this problem?? how can solve it???

    Hi,
    yes you are correct, when we run the report in backgroung it will show all the fields.
    For gettign the effect of differenet layout you have set you have to run the report in forground only.
    Thanks,
    Dharmishta

  • How to convert a workflow background task into a  general task ??

    Dear Experts ,
    I am working om std SAP workflow for invoice document parking :
    I have done the following activities :
    1. Activate Work flow Template for Document Completion
        Here i activated the event   "Complete the Parked Log. IV Document"--> Incoming Invoice Document Parked. It is showing      a  green traffic light .
    In agent assignment
    Complete the Parked Log. IV Document>Complete the Parked Log. IV Document>Complete the Parked Invoice--> i have assigned  the user MMCONFIG
    2. In Define Release Criteria  i have the following settings :
       1000          H Credit     0.01     INR     US     MMCONFIG
       1000          S Debit     0.01     INR     US     MMCONFIG
    3. In Activate Workflow Template for Release for Posting
      Here i activated the event Incoming Invoice Complete: ReleaseRel  & i m getting a green traffic light .
    In assign agents  i did the following
    Release the Completed Log. IV Document>Release the Completed Log. IV Document>Release the Completed Log. IV Document  i assigned the user MMCONFIG
    In Invoice Parking: Approve Release i assigned the user MMCONFIG .
    For Invoice Parking: Release Invoice
    Invoice Parking: Posting an Invoice " I AM NOT ABLE TO ASSIGN ANY USER AS THESE ARE BACKGROUND TASKS ".
    Now when do a MIR7 - Park invoice & save the invoice as complete i am getting a mail in the mail box of MMCONFIG saying :
    "Invoice Release 5105xxxxxxx 2009, Completed by MMCONFIG  "
    I go & release the same invoice .
    Then i executed MIRO & tried posting the released invoice . The sysem doesnt allow me 2 post the invoice .
    It automatically goes to MIR4 transaction & forces me to save as complete
    if i try to post it the system says "Parked document is release-relevant and cannot be posted"
    Pls tell me how can I post the invoice & IF MY SETTINGS FOR THE WORKFLOW IS OK ???
    Regards
    Anis
    Edited by: anis bazmi on Nov 6, 2009 9:08 AM

    Hi argadip,
    Please help me tooo...
    Task has been transported from develpment client to another client for integration testing.
    in the shopping cart advice product has been created by the employee.
    then it goes to advisor for the approval
    This has been done by the workflow.
    It is implemented in both dutch and english.
    English - it is working fine.
    Dutch - the task is not defined.(the code is missing)
    after transporting , we did changes in the task created for implementing this approval description.
    It was working fine in both dutch and english.
    But the corrections in the code are there....
    only in the output After transported to another client dutch part approval description is not correct some part of it are missing
    Is the problem related to the transport or with the modifications of task defined ??
    Can anyone suggest me how to solve this problem.

  • Smartform in background task

    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.

    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

Maybe you are looking for