Process rfc in background workprocess

Hi all,
i hve to call a function module in  background workprocess but when i called a fm simply without specify background  then it's give me   right o/p .
CALL FUNCTION 'Y_WS3_ALIASTEST'
but after specify background then it's giving no values
CALL FUNCTION 'Y_WS3_ALIASTEST'  IN BACKGROUND TASK
why it's happend ,pls specify
regards,
anuj

Hello Anuj.
I would like to suggest my opinion,
1. Go To Transaction SM37 - Simple Job Selection.
2. Either Enter the Job name or the Program or for function module in the "or after event" box.
3. Click on Execute.
4. Then Further click on Job Log.
There you would be able analyze the status.
Hope that's usefull.
Good Luck & Regards.
Harsh Dave

Similar Messages

  • RFC in background process.

    Hi All,
    I hve to process a RFC in background process.
    For doing that firstlly i hve creted va rfc n it's wkg fine then using this syntax i called this rfc for background task
    CALL FUNCTION 'Y_DYNTABLE1_AJ' IN BACKGROUND TASK
    DESTINATION 'rfc_bacground'
    buy whenever any error raise this rfc created a error log in sm58 n i can watch it in sm58 but whenever it's work fine then i'm unble to see there result in sp01, beco'z  it's nt creating any spool in sp01 n my result is in table form.
    pls help me how to get my result
    regards,
    Anuj

    With this option you can EXPORT the whole internal table to INDX table and you can IMPORT the table for later usage.
    Please refer to demo programs DEMO_DATA_EXT_CLUSTER_EXPORT_D and DEMO_DATA_EXT_CLUSTER_DELETE.
    Make sure that you delete the the cluster after you import the data.

  • Rfc in background

    Hi all,
    i hve to call a rfc in background for this firstlly i call my rfc in background process
    CALL FUNCTION 'Y_DYNTABLE1_AJ' IN BACKGROUND task
    DESTINATION 'rfc_destination_aj' " AS SEPARATE UNITthen
    CALL FUNCTION 'ID_OF_BACKGROUNDTASK'  for determined transaction ID
    then
    CALL FUNCTION 'START_OF_BACKGROUNDTASK'  for scheduling background task time
    then
    CALL FUNCTION 'STATUS_OF_BACKGROUNDTASK'  for known background task status
    every thing is wkg fine n task is showing  scheduled n finished in sm37 but i 'm  not getting their data nor sp01 nor anyone n it also show duration 0 n dealy 0 in sm37 also nothing in sm58 and also without background rfc is wkg fine.
    suggest me how to get data
    regards,
    Anuj

    Thanx sourav,
    all the parameters in fm is passed by exporting n tables parameters n declarations is also on top.
    regards,
    Anuj

  • Calling RFC In background

    Hi All,
    I have a situation here.I need to call an rfc from  another SAP system.And I need to wait for that RFC to get completed before I process with my caller program.
    The problem here is that Function module is slow and it goes into timeout error in the source system since it starts the process in dialog process
    So I was wondering if I can run this RFC in background in the source system through my caller program and wait till the RFC gets executed completly befor my caller program proceeds.
    I tried using "In background Task " addition but it stil runs the function module in dialog process and also the wait command doesn't work.
    Can anybody help me.
    Thanks
    Umang

    Hi Umang,
    As far as I know, If the DESTINATION is not available for the processing then only it starts the processing in Background mode.
    Nut IN BACKGROUND TASK doesn't mean that it will process the FM in background.
    Reward points if useful.
    Regards,
    Atish

  • Document is still being processed in the background

    Hi guys.
    I receive this error when wanting to Change a purchase order in SRM. The PO is already in R/3, and the user has tried to make the GR in SRM. This GR then failed in R/3 because of incorrect accounting data, so I changed this in SRM. Then the PO changed to status Awaiting Approval, but we do not use any workflow for approving POs. Plus when trying to change the PO I get the message Document is still being processed in the background; please try again later. Well, this has been there for over a week now, and I have searched both this forum and also SAP Notes, but cannot seem to find anything that helps me.
    There are no locked entries in the BBP_WFLOCK table, just as there don't seem to be anything in the RFC queues. I have checked the SC, PO and Confirmation in the BBP_PD, but no news here.
    Something that interested me though is that in BBP_PD for the PO it seems that there are 2 active versions...?
    Any other idea as to how I can "release" this Purchase order again?
    Thanks for info.
    DM

    Hi,
    Let me know the following things.
    1. Do you see any approver in the approval preview of the purchase order , you have told that you are not using any workflows , but i wanted to make sure.
    2.When do you get the message"document is still being processed in the background" ? is it when you change the purhcase order?
    3) please have a look at the workflow log using the transaction 'SWI6', use the object type as bus2200 , use purchase order GUID and then see wether the setreleased has been run for the purchase order.
    4) if the setreleased is not done , then you have to run the setreleased method for the purchase order.
    award points if usefull
    Message was edited by:
            khan voyalpad usman

  • Bad workflow ? :-( document is still being processed in the background  :-(

    Hi guys,
    I have activated workflow without approval for PO's (saved & changed: WS14000075).
    Everything was working fine.. BUT.. For some reason, now some PO documents have the status "Waiting Approval", and if I try to edit them,I got the following message: "document is still being processed in the background"
    How can I fix this ?
    Thanks for your help guys !
    Best regards,
    Diego

    Hello Diego,
    I've already seen this kind of pb.
    You should navigate to the admin workflow runtime (menu swld) then administration --> workflow runtime, there is some usefull transactions.
    First check the customizing (SWU3) and ensure that workflow runtime is ok.
    Then try to restart wi in error (SWPR and/or SWPC) and check RFC transactions (SWU2).
    Rgds,
    Pierre

  • How to execute an RFC in background

    Hello People!
    Is there a way of execute an RFC in background without broken the execution after connection timeout? I have a RFC calling another RFC in background mode but the process stops after connection timeout. As far as I know, the sap user connection is done like DIALOG and, after timeout, all processes started are finished.
    I thought to use JCO directly but i'm looking for a better solution.
    Thanks to all.
    Best regards,
    Marcelo

    Process p = Runtime.getRuntime().exec("yourCommand.exe");

  • How to find process chain using background job in sm37

    How to find process chain using background job in sm37

    Better is to select the job.
    Select (Define) Step (s) or F6.
    Select the line and Menu Goto>Variant.
    The variant contains the name of the CHAIN and its VARIANT.
    Success
    We faced an old job and via job monitoring we were informed about a cancelled job every 'interval'.
    We noticed that the related chain was deleted but still the job was scheduled each interval again and was cancelled because an event was missing
    We could not find the scheduled job via SM37.
    Via view V_OP, view over tbtco abd tbtcp, we find the related entry.
    We delete these entries via function BP_JOB_DELETE....
    Edited by: Jack Otten on Jul 9, 2010 2:50 PM

  • Scheduling of process chain with background job

    Hello All,
                  I have scheduled the process chains through background jobs. I have copied the meta chain and created seven background jobs that is from Monday till sunday. The problem is most frequently the job gets cancelled with the message
    Process CHAIN, variant PAA1_GS001 is not scheduled waiting for event RSPROCESS 44NRPDWZ7CQUJ92ATDTY6368H.
    This is the variant for the next process after the start process. I tried by giving merge active versions, but one day the background job runs fine , but the next day it gets cancelled.
    If anyone has faced this issue before kindly let me know.
    Regards,
    Karthik.

    Hi,
    It seems to be there may be in probelm in Varients, so create a separate Varient for each PC and then activate the PC and execute.
    Thanks
    Reddy

  • Contracts - 'Document still being processed in the background; try again la

    Hello,
    When trying to make adjustments to multiple contracts we are receiving the error message 'Document is still being processed in the background; try again later.'  We have tried again later to no effect.
    Ultimately, this means that these contracts (30 altogether) cannot be altered in anyway i.e. held, deleted, released, approved and it means that they just sit there.
    This also has implications when raising another contract to replace these contracts.  For example if you want to use the same vendor this will cause great confusion for our users when trying to select the correct correct to spend money against when raising purchase orders.  Often the result is the user selecting the wrong contract.
    Have you any suggestions on why this error message is appearing?
    Many Thanks,
    Sarah

    1465740 - SRM document is stuck in the approval process
    Symptom
    Workflow hangs.
    Workflow gets stuck.
    SRM document in status waiting.
    Approval process cannot continue.
    SRM document frozen in status 'awaiting approval'.
    BBP_PD 443 Document is still being processed in the background; Try again later
    BBP_ICON_TEXTS 049 No workflow started. Application error occurred                 
    Environment
    SAP Supplier Relationship Management
    Reproducing the Issue
    Create or change a document in SRM.
    Cause
    *Not possible to identify root cause without further deeper analysis
    Resolution
    Find the object guid of your SRM document via transaction BBP_PD.
    Then display the relevant workflow instance via transaction SWI6 using the following steps:
    Select BOR object type.
    Enter your object type.
    Enter your guid (or document number in the case of shopping cart) in the Key field.
    Select variant All Instances.
    Select selection period All.
    Hit execute.
    Click on icon 'Display workflow log'.
    Click on icon 'List with technical details'.
    Click on icon 'Print Log'.
    Record the date and time of the very last step in the workflow log.
    Using the date and time of the last workflow step, here are some transactions that can be used to investigate the root cause of the problem.
    SM58 - check for stuck remote function calls
    ST22 - check for system dumps
    SM13 - check for stuck update requests
    SM21 - check in the system log for anything unusual
    SWUD - run a consistency check on the workflow
    Enter the task number and hit enter e.g. 14000044
    Choose 'Test Environment' and flag 'Including parts'
    Execute
    Choose 'Consistency check for components' and flag 'Including subworkflows'
    Execute
    Red lights indicate an error in the definition.
    Header Data
    Released on  05.05.2010 09:53:08 
    Release status  Released to Customer 
    Component  SRM-EBP-WFL Workflow 
    Priority  Normal 
    Category  Problem 

  • Processing idoc in background

    hi,
    i want to process idoc in background means i don't want to use BD20 to process idoc having 51 status.at this time i first use t-code BD20 to process idoc and then i get the data . now i want that whenever idoc comes in folder they automatically processed in background without needing someone.
    thanx/regards,
    vaneet thakur

    Hi,
    check this link.
    Link:[http://help.sap.com/saphelp_sm32/helpdata/en/5f/45f93b4139b478e10000000a11402f/content.htm]
    hope it'll give some idea.
    Regards,
    Sneha.

  • Essbase process started in background is going on "In Queue" State

    Hello,
    I am using 11.1.2.1. Any Essbase process started in background is going on "In Queue" State. And the process never starts.
    Any help would be appreciated.

    Hi,
    Try the following steps..
    1. Stop EAS
    2. Delete all the contents of WebLogic temp folder
    Location: EPM_ORACLE_INSTANCE/../domains/EPMSystem/servers/EssbaseAdminServices0/tmp/ --> delete all the content under this folder
    3. Start EAS server
    Hope it helps...
    KosuruS

  • Triggering process chain in background

    Hi All,
    Could you please tell me how to trigger a process chain using background job ?
    Thanks,.

    Write a program to achive this based on your condition raise the event using function module.
    BP_EVENT_RAISE
    In the the process chain in the start process in scheduling options-----> use AFTER EVENT.
    To create a event you can in SM62.
    Hope this helps.
    Edited by: Praveen G on Oct 6, 2008 9:24 AM

  • Placing an Import process in the Background

    Hello -
    I have an Import process that is currently running in the foreground on Sun Solaris, and I want to place the PID of the Imp process in the background. How do I place it in the background while it is running? Do I have to suspend, then place in the background?
    Thanks.

    Not sure. I assume unix or linux being used.
    If , for example you were editing a file in 'vi', how would you put that in the background and get a prompt?
    Do a 'man' of 'fg' and 'bg'.
    Can you put all the import parameters on the command line (or use a cmd file)and append the '&' symbol (above nummeral 7 on keyboard) to the line? Make sure to log import feedback to a file.

  • How to have Weblogic and BAM process run in background

    I ssh to the Weblogic (also the BAM) server via putty and use below command to start the weblogic and BAM:
    /opt/oracle/Middleware/user_projects/domains/base_domain/startWebLogic.sh
    /opt/oracle/Middleware/user_projects/domains/base_domain/bin/startManagedWebLogic.sh bam_server1
    And then I have no way to have the weblogic and BAM run in backgroup as it needs to ask me for login and password. I cannot close the ssh connection neither otherwise the weblogic and BAM processes will die
    Clay

    Hi Clay,
    Both these points can be easily handled.
    To start admin server enter the below command with the &. This & will make the process run in background.
    . /opt/oracle/Middleware/user_projects/domains/base_domain/startWebLogic.sh &
    If you want the logs to be redirected to some file then you can use a nohup as given below
    nohup . /opt/oracle/Middleware/user_projects/domains/base_domain/startWebLogic.sh &
    Same holds good for bam serevr also
    . /opt/oracle/Middleware/user_projects/domains/base_domain/bin/startManagedWebLogic.sh bam_server1 &
    OR
    nohup . /opt/oracle/Middleware/user_projects/domains/base_domain/bin/startManagedWebLogic.sh bam_server1 &
    It will respond to you with the process-id, you can just hit an enter and safely close the putty session while the server is still up & running.
    To stop the same, in a new putty session you can enter the below. Here you need not(will not) give &
    . /opt/oracle/Middleware/user_projects/domains/base_domain/stopWebLogic.sh weblogic welcome1 t3://hostname:port
    . /opt/oracle/Middleware/user_projects/domains/base_domain/bin/stopManagedWebLogic.sh bam_server1 t3://hostname:port
    Password:
    As you see above we are not passing user-id/password while starting the server. We need to create a file named boot.properties and place it in /opt/oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/security directory. security directoy will not be present, you have to create it.
    Contents of boot.properties file will be only 2lines as below
    username=weblogic
    password=welcome1
    On next startup server will encrypt the password.
    Same boot.properties file has to be created in /opt/oracle/Middleware/user_projects/domains/base_domain/servers/bam_server/security location.
    Hope this answers your question.
    Thanks,

Maybe you are looking for

  • What is the function module which is used to trigger email

    Hi ALL, can u send me the function module which has to trigger email when sales order was saved. kindly send me the inputs thanks & regards naveen Moderator Message: Basic Question. Thread locked. Edited by: kishan P on Nov 11, 2010 10:56 AM

  • How do I ping a specific port (from a specific por...

    Does anyone know of any software that will allow me to measure the bandwidth/throughput/travel time/etc of packets from a specific port to a specific port on another network? Ping gives the travel time, but doesn't allow specified ports. Iperf allows

  • Convert AS 3.0 to AS 2.0

    Hello, I know I am goings backward from AS 3 to AS 2, but it is needed to happen (please sorry for my bad English). I found cool drag and drop but is in AS 3 and I need to convert to AS 2. Could anyone please help me? I have given the AS3 below. Than

  • Flash Player 11 Problem

    24/Oct/2011 18:23 TO - Adobe 10-24-2011 Flash Player 11 ****DOES NOT**** install. I get a message that FP11 will install in less than a minute. I go to read the license agreement, and...NOTHING. Actually, I'm incorrect. I get a web page that lists yo

  • Trying to find a way to execute from command prompt using java....

    I want to find a way to execute a command from the command line using a java program this is my code: import java.io.*; public class SQLHopefully      public static void main(String[] args)           try{           Runtime rt = Runtime.getRuntime();