BDC Back ground processing

Dear all,
          I have created one enhancement spot in the VA01 Transaction code.While saving it has to do PGI. For that i written BDC program .BDC program working well in Forground But it is not working in background mode.
                     Even in debugging mode program running well .it is not working if I Swith off the debugger .
Please help me.

Hi Shaik,
Apart from above 2 probable reasons and solutions i have one more thought for this issue. This may be because of time lag.
When u run in debug/foreground we have some time for data base updation(VA01). I mean to say by the time u call ur BDC document might not updated in the database with out which it is not possible to do PGI. Try to give some wait time before u call do ur BDC call. Also check the error messages ur getting in BDC(Put piece of code to download the messages into ur PC/application server)
Try this option before ur BDC.
WAIT 3 SECONDS.
Thanks,
Vinod.

Similar Messages

  • Error in BDC Back Ground Processing

    Dear All,
    I am facing problem on while executing BDC program. First i am executing in Foreground method there it displaying errors occured,
    means it showing full discription or error.
    But when i used Back ground processing its displayig the full error discription like "No posting object defined for 1230/ / / " here i need full error discription.
    please do the need full.
    Regrads,
    Srinivas.

    Hi
    In background processing you cannot see the error message, for that you have to write logic for capturing messages.
    Use 'Format_Message' function module so that you can get the complete message and then you can display that on the screen.
    Hope it helps...

  • Back ground processes, dialogue processes and Process chains

    Hai all,
               I am going through making process chains and I am struck with one thing:
    "How many background process chains and dialogue processes you have during run time"
    This is the problem. I understood everything else except this.The concept says that I have to know what is the capacity of the system, how many background and dialogue processes it could accomodate, how many are left and how many you can use for your process chain.How do we find out this? and could somebody please explain me or refer to documentation about the Back ground processes, dialogue processes and Process chains.
    Thanks.

    Hi Visu,
      You can see the number of dialog and background processes by using transaction SM51 and then double clicking on the server (we only have one but it may be different for each). Our BASIS folks take care of the number of processes as well. And, for us we have a schedule that changes the number at a certain time of day because you tend to need more dialog during the day but more batch at night.
      The transaction to look at and change the settings is RZ03. Then use the menu path Edit->Operation Modes you can select either Configuration or Timetable here. Both give information in different ways. I tend to double click around to see what it might tell me.
      I hope this helps a bit,
    Diane

  • Back ground processing of the LDAP

    Hi,
    We are on XI3.1, SP2.
    We are using LDAP authentication.
    We wants to know the  back ground processing when a using login to the deski using LDAP authentication.
    Any one please help on this.
    Thanks in advance.
    Thanks & regards,
    Collin Powell.

    When logging with client tools the LDAP logon will be sent from the client, then the username will be authorized by the CMS which will in turn send a number of queries to the LDAP server to verify group membership. The variables include, graphtimeout (set or not) version/patch of BO (this behavior is different in 3.x vs XIR2 and even different in XIR2 SP2 vs SP4.
    If you are not using SSL then all the traffic can be packet scanned using a tool like Micr4osoft netmon or wireshark.
    Regards,
    Tim

  • Regarding back ground processing for excel.

    Hi,
    i want to create the Excel sheet and i want to save in Back ground Processing....
    give me some suggestionss.......................

    This can create any file (spreadsheet/plain text/ dat files). but to add workbooks to the sheet you need to use OLE Object concepts.
    PARAMETERS:    p_terms(256) TYPE c OBLIGATORY,
                p_del(1)     TYPE c OBLIGATORY DEFAULT cl_abap_char_utilities=>horizontal_tab.
    DATA:       lv_str       TYPE string,
          lv_char(256) TYPE c,
          lr_descrref  TYPE REF TO cl_abap_typedescr.
    FIELD-SYMBOLS: <comp> TYPE ANY.
      IF itab IS NOT INITIAL.
        OPEN DATASET p_terms FOR OUTPUT IN LEGACY TEXT MODE .
        IF sy-subrc EQ 0.
          CLEAR : lv_str.
    Header of the file
          CONCATENATE
            'Action'
            'Name'
            'EE User ID'
            'Termination Date'
            'Last Day Worked'
            'End Of Notice'
            'Employee Type'
            'Department'
            'Department_type'
            'Office Location'
            'Manager Name'
            'Has Cellphone'
            'Has Home Office'
            'VP and Above'
           cl_abap_char_utilities=>cr_lf
          INTO lv_str SEPARATED BY p_del.
          LOOP AT itab INTO ls_terms.
            WHILE sy-subrc EQ 0.
              ASSIGN COMPONENT sy-index  OF STRUCTURE ls_terms TO <comp>.
              IF sy-subrc NE 0.
                EXIT.
              ENDIF.
              lr_descrref = cl_abap_typedescr=>describe_by_data( <comp> ).
              IF lr_descrref->type_kind = 'P'.
                WRITE <comp> TO lv_char DECIMALS 2.
              ELSE.
                WRITE <comp> TO lv_char.
              ENDIF.
              SHIFT lv_char LEFT DELETING LEADING space.
              IF sy-index NE 1.
                CONCATENATE lv_str lv_char INTO lv_str SEPARATED BY p_del.
              ELSE.
                CONCATENATE lv_str lv_char INTO lv_str.
              ENDIF.
              CLEAR: lv_char.
            ENDWHILE.
            TRY.
    This statement passes the content of data object to the file specified
                TRANSFER lv_str TO p_terms.
              CATCH cx_sy_file_authority .
                FORMAT COLOR 6 ON.
                WRITE:/ 'No authorization to access the Term file'.
            ENDTRY.
            CLEAR lv_str.
          ENDLOOP.
          CLOSE DATASET p_terms.
        ENDIF.
      ENDIF.

  • Back Ground Process In OOABAP

    Hi all,
    How can i process Back ground process on Object oriented
    Thanks Rayeez,

    Hi Rayeez,
    I had a requirement wherein I had to call ALV Grid display in background, here I used OO ABAP and just before creating the custom container I checked IF cl_gui_alv_grid=>offline( ) IS INITIAL.
    You can find similar methods for your OO Class and check if it is initial.
    <b>Please reward points if it helps.</b>
    Regards,
    Amit Mishra

  • WorkFlow Back Ground Process Running More Time

    Hi all,
    I have very Big problem it is occured in production i need help vary urgent for this .
    Work flow Back Ground Process Running More than 5 hrs,actualy Daily it is running only below 2 min .but yesterday onwords it is running more than 5 hrs.but this workflow back ground process running long time only one item_type='REQAPPRV' REMAING item_types running normaly.
    i did have any root cause for this performance issue plz let me know any one for this problem what is the root cause.
    Thank's

    Reddy,
    Go through the following documents, it should be helpful in troubleshooting the issue.
    Note: 186361.1 - WF 2.x: Workflow Background Process Performance Troubleshooting Guide
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=186361.1
    Note: 298550.1 - Troubleshooting Workflow Data Growth Issues
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=298550.1
    Note: 566577.1 - Workflow Background Process Has Significant Performance Issues
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=566577.1
    Note: 743338.1 - Performance Degradation when the Workflow Background Process is Running
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=743338.1
    Note: 734425.1 - How To Generate Performance Trace for Workflow Background Process?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=734425.1
    If this is your production instance and the issue is urgent, I would suggest you log a SR.
    Regards,
    Hussein

  • Create back ground processes

    Hi all,
    I want to create back ground processes in BI to trigger my process chain variant.
    Please tell me the steps to create this.
    Please suggest the step by step doc.
    Regards,
    Macwan James.

    hi,
    When you try to schedule and activate a process chain , it will directly create a background job "BI_PROCESS_TRIGGER" which will start the process chain .
    So directly it will assign the process chain to background job.
    If you want to run PC once job finishes then -->, you will find an option while scheduling the process chain. Right click on Start variant and select "maintain variant" --> Select "Change Selections" --> Click on "After Event/After Job". Give the event name in the provided area in that screen. Now your process chain will execute after an event/job which runs in the background.
    Hope it helps
    Lavanya

  • What is back ground processing

    what is difference between background and fore ground processing of a report. what are the various methods to execute a report in back ground.  and when we need schedule a report in back ground how shall we handle selection screen parameters.
    thanx in advance.

    Hi,
    <u><i>Background Processing</i></u>
    There are two ways for you to handle,
    one manually setting up the job through SM36 which is better and convinient,
    secondly through program using FM's JOB_OPEN, SUBMIT, JOB_CLOSE.
      Find below steps in doing both:
    Procedure 1:
      1. Goto Trans -> SM36
      2. Define a job with the program and variant if any
      3. Click on start condition in application tool bar
      4. In the pop-up window, click on Date/Time
      5. Below you can see a check box "Periodic Job"
      6. Next click on Period Values
      7. Select "Other Period"
      8. Now give '15' for Minutes
      9. Save the job
    In SM37 u can check the status of the jobs that u have assigned to background...
    Here u mention the job name or the report name to check the status of the job...
    After mentioning the job name or program name u just execute it.. ( without any name also u can execute then it gives u all the jobs set by your user name..
    the status colud be released,active,finished etc..
    Procedure 2 via Program:
    Below is a sample code for the same. Note the ZTEMP2 is the program i am scheduling with 15mins frequency.
    DATA: P_JOBCNT LIKE TBTCJOB-JOBCOUNT,
          L_RELEASE(1) TYPE c.
       CALL FUNCTION 'JOB_OPEN'
         EXPORTING
           JOBNAME                = 'ZTEMP2'
        IMPORTING
          JOBCOUNT               = P_JOBCNT
        EXCEPTIONS
          CANT_CREATE_JOB        = 1
          INVALID_JOB_DATA       = 2
          JOBNAME_MISSING        = 3
          OTHERS                 = 4.
       IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
       SUBMIT ZTEMP2 VIA JOB 'ZTEMP2' NUMBER P_JOBCNT
              TO SAP-SPOOL WITHOUT SPOOL DYNPRO
              WITH DESTINATION = 'HPMISPRT'
              WITH IMMEDIATELY = SPACE
              WITH KEEP_IN_SPOOL = 'X' AND RETURN.
       CALL FUNCTION 'JOB_CLOSE'
         EXPORTING
           JOBCOUNT                          = P_JOBCNT
           JOBNAME                           = 'ZTEMP2'
           STRTIMMED                         = 'X'
           PRDMINS                          = 15
        IMPORTING
          JOB_WAS_RELEASED                  = L_RELEASE
        EXCEPTIONS
          CANT_START_IMMEDIATE              = 1
          INVALID_STARTDATE                 = 2
          JOBNAME_MISSING                   = 3
          JOB_CLOSE_FAILED                  = 4
          JOB_NOSTEPS                       = 5
          JOB_NOTEX                         = 6
          LOCK_FAILED                       = 7
          INVALID_TARGET                    = 8
          OTHERS                            = 9.
       IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    Hope the above helps you.
    Regards
    Reshma

  • Call transaction method in back ground Processing?

    HI Friends,
    I am working on interface program to post documents of 309 movement type into MIGO transaction .
    my program is executing succesfully when i am processing  in fore ground.
    but when i am processing in background it is giving error .
    can any help in this requirement?
    *Solution rewarded*

    My Program will do transfer Posting from material to material.
    when i am executing the program in back ground mode The Program statement call transaction fails with the following error
    CALL_TRANSACTION MIGO_TR Return code = 1,001  RECORD:          0
    S
    Field GODYNPRO-ACTION . is not an input field
    S
    Field GODYNPRO-REFDOC . is not an input field
    S
    Field GOITEM-UMMAKTX . is not an input field
    S
    similar statement when executing in foreground it is posting document succesfully.
    kindly revert back for any other information.

  • Upload /Download in Back ground processing

    Hi Floks,
    can anyone tell me function module that can be used to download data into presentation server in background processing .
    thanks
    suresh

    You cant download data in back ground to presentation server.
    You can download to application server in back ground and later on you can access.
    Use OPEN DATASET, TRANSFER etc to achieve this
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

  • Regarding bdc back ground job

    hi,
              i want to run the bdc from the program itself  not using any transaction
              could u plz tell me the syntex clearly with comments.
          very urgent plz.

    Hi,
    The name Batch Input Session itself tells u that a batch session will be craeted and u have to run it manually.
    Automatically it will not get executed.
    Go for ''call  transaction'' to execute it immediately...
    However if u want to use Batchinput session method, then u have to capture teh session name first and then u can run that Session in the back ground by creating the 'Background job' by sm36.
    Cheers,
    Simha.

  • Error in Back Ground processing of a report.

    Hi All,
    I have a report wherein I need to schedule it in background. Its an ALV report and it has got user defined GUI status. But for one of the selection options, only output is being displayed. Can this be scheduled in Back Ground?

    Hi all,
    Thanks for your reply.
    I  got the solution. When a program is scheduled in background, if it is written in classes and ALV grid display is used, we get this error. I am able to schedule when I change the function module to LIST_DISPLAY.

  • Remote  Cube back ground processing

    Hi gurus,
    Is it possible to execute a Query which is on a remote cube in Back ground.
    In my situation: I am loaded the data into the regular cube and then reconciling this cube data with the remote cube data ( which picks the data from R/3 tables using a fucntion module.)
    Is it possible to run this Query in Background job.
    I came accross the sm36 option, but I don't know the exact time when to start the job as the base cube data load should be finished before this query executes and the matter of fact there are 9 cubes which should complete the load and then the respective queries should start exectuing.
    Thank you

    Ohter options are:
    Create a report calling function module RSCRMBW_REPORT.
       Catch: You need to call the FM twice in your report once to initialize with OPEN and second time to run with START (passing values to i_mode)
    Create a report calling function module WEBQUERY
      Catch: You will have to deal with all the HTML generated with the query result

  • Report Back ground processing, error

    Hi,
    I tried to run my program in back ground. It is showing the following error. I'm just Pressing F9 and scheduling the job immediately. When i go and see the "own jobs " in SM36, it shows the "job cancelled". When i see the job log, it shows "Control Framework: Fatal error - GUI cannot be reached" and "ABAP/4 processor: RAISE_EXCEPTION". When i debug the job using JDBG transaction it runs smoothly and generates spool.
    Can you provide some solutioons?

    HI,
    Is your report having some OOPS functionalities?
    Are you making use of any container or ALV GRID object.
    In that case it will not run in background and will give you this error.
    Search in SCN. This has been discussed a lto of times.
    There are several posts on how to avoid this.
    Regards,
    Ankur Parab

Maybe you are looking for