Not running in background mode 'N'

hi experts,,,,,
i have a  small issues in my BDC
where i face problem when running in background
if i update in 'A' mode its get updated
whereas in background 'N' mode it doesnt take the changes
and CHANGES NOT  GETTING REFLECTED/...
can you pls help me out
thanks in advance
Rachel
piece of my code as follows...
============================
LOOP AT it_final INTO wa_final.
    PERFORM bdc_dynpro      USING 'X' 'SAPMIEQ0' '1000'.
    PERFORM bdc_field       USING 'BDC_CURSOR'   'RISA0-SERNR'.
    PERFORM bdc_field       USING 'BDC_OKCODE'   '/00'.
    PERFORM bdc_field       USING 'RISA0-MATNR'   wa_final-matnr.
    PERFORM bdc_field       USING 'RISA0-SERNR'   wa_final-sernr_in.
    PERFORM bdc_dynpro      USING 'X' 'SAPMIEQ0' '0101'.
    PERFORM bdc_field       USING 'BDC_OKCODE'   '=EQUI'.
    PERFORM bdc_field       USING 'BDC_CURSOR'   'ITOB-CHARGE'.
    PERFORM bdc_dynpro      USING 'X' 'SAPMIEQ0' '0101'.
    PERFORM bdc_field       USING 'BDC_OKCODE'   '=T\01'.
    PERFORM bdc_field       USING 'BDC_CURSOR'   'EQBS-B_LAGER'.
    PERFORM bdc_dynpro      USING 'X' 'SAPMIEQ0' '0101'.
    PERFORM bdc_field       USING 'BDC_CURSOR'   'ITOB-SERGE'.
if p_unpair is  initial .
    PERFORM bdc_field       USING 'ITOB-HERST'    wa_final-manf.
*    PERFORM bdc_field       USING 'ITOB-TYPBZ'    wa_final-part.
    PERFORM bdc_field       USING 'ITOB-TYPBZ'    wa_final-model.
    PERFORM bdc_field       USING 'ITOB-MAPAR'    wa_final-part.
    PERFORM bdc_field       USING 'ITOB-SERGE'    wa_final-man_ser.
    PERFORM bdc_field       USING 'ITOB-HERLD'    wa_final-country.
    PERFORM bdc_field       USING 'ITOB-BAUJJ'    wa_final-year.
    PERFORM bdc_field       USING 'ITOB-BAUMM'    wa_final-month.
else .
    PERFORM bdc_field       USING 'ITOB-SERGE'    ''.
endif.
    PERFORM bdc_field       USING 'BDC_OKCODE'   '=BU'.
    CALL TRANSACTION 'IQ02' USING bdcdat
                           MODE pr_mode UPDATE 'A'
                           MESSAGES INTO it_messtab.
    CLEAR: bdcdat[], bdcdat.
    CLEAR: wa_final, wa_messtab.
  ENDLOOP .
end-of-selection .

Hi Rachel..
While running the BDC in 'A' Mode check the message that come in the status bar. There could be any screen where just becuase u press enter it is going to the next screen. That is because of your intercation.
But in the case of background this is not hapening and it fails..
So make sure whether when u run in foreground you are pressing any additional enter which is not in your recording. This could be the only problem why it is not updating in background.
Another reson could be that you dont have access to back ground jobs. Check that also..
Regards
Ansari

Similar Messages

  • BDC not working in Background mode

    Hi All,
    I have created a BDC. It is working fine in forground mode but not woking in background mode. Please any one know what could be the problem.
    thanks,
    Shweta

    Hi,
    I think there is some field in your screen is disabled for input. As it will not through you error.
    Please run you BDC in foreground mode and check it and see if you get any message. it will be a sucess message.
    this thing happend to me also as my ship to party was disbled in one of screen of VA02.
    thanks,
    Sarbpreet

  • How to DEBUG a function module running in background mode? Please help!

    Hi Experts,
       I am calling a function module in my ABAP code in background module using the following syntax:
      CALL FUNCTION 'YBBC2_CREATE_SNAPSHOT' IN BACKGROUND TASK
              TABLES
                itab_std_format_inv = itab_std_format_inv
                itab_snapshot_inv = itab_snapshot_inv.
            COMMIT WORK.
    If I put the breakpoint in the CALL FUNCTION line and execute the program, the debugger does not take me to the valled function module. This may be because I am running the function module as background task.
    I cannot comment this  "IN BACKGROUND TASK" statement as well since i am debugging in Quality system where I don't have change access.
    So how to DEBUG a function module running in background mode? Please help!
    Thanks
    Gopal

    Hi,
    You could try to use the following trick:
    (1) Put an endless loop into the coding of your function module where you want to start debugging, e.g.
      DATA:
        lx_exit_loop(1)     TYPE c.
      lx_exit_loop = ' '.
      DO.
        IF ( lx_exit_loop = 'X' ).
          EXIT.
        ENDIF.
      ENDDO.
    (2) Call your function module in background task
    (3) Call transaction SM50 and search for the background process.
    (3) Choose from menu Program/Mode -> Program -> Debugging
    Now you the debugger should bring you right to your endless loop. Set lx_loop_exit = 'X' in the debugger and continue (F5 or F6).
    <b>Reward points</b>
    Regards

  • I have a mac osx version 10.6.8 no windows and i am trying to install a program but keep getting can not run in dos mode  ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?

    i have a mac osx version 10.6.8 no windows installed and i am trying to install a program but keep getting can not run in dos mode  ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?

    You run Windows in Parallels or Fusion. Then in Windows you install the program.

  • Help I itunes will not recognize my iphone or ipod. Trouble with USB driver, device not running in safe mode, and HDCP not supported.

    Help! When I connect my iphone or ipod touch to my computer, windows recognizes my device but itunes will not. I can still see my songs, videos, and access the itunes store but my phone and itunes store have no connection so it does me no good. I have for 2 days now tried every trouble shooting method posted with no luck. I think I may have finally found a lead. My Apple Mobile Device USB Driver is showing up under portable mobile devices while it is supposed to be showing up under universal serial Bus controllers from my understanding? Also, while running my diagnostic report under itunes it also says itunes is not running in safe mode, it is not showing enabled in windows firewall (which it is checked), and the HDCP is not supported. I don't know what to do? I am in tears here, someone please help!!!

    See Here for Device not recognised:
    http://support.apple.com/kb/TS1538
    Here for General Support:
    http://www.apple.com/support/
    This may also be helpful:
    AMDS for Windows
    http://support.apple.com/kb/TS1567

  • Installed iTunes 11.0.4.4 64-bit but window 8 pro 64-bit in task manager reports that iTunes is 32-bit.  Why?  Not running in compatibility mode.  Uninstalled and reinstalled.  Same result.

    Installed iTunes 11.0.4.4 64-bit version.  Now windows 8 pro 64-bit reports iTunes as 32-bit in task manager.  Why?  Both my computer and operating system are 64-bit.  ITunes is not running in compatibility mode.  All my music files are MP3.  I uninstalled iTunes and downloaded iTunes64setup.exe from apple and still having the same result.  This was a clean install by-the-way.

    Hello irie00,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    http://support.apple.com/kb/ts1717
    Best of luck,
    Mario

  • Convert Spool to PDF and mail for the jobs not run in background.

    Dear All,
    I need to convert the spool job into pdf and mail as attachment for job not run in background.
    I am printing the bills  using the program  SD70AV3A to print the bills in a batch using the SUBMIT.
    But i am not using the spool options since its going to into waiting state in spool...and i need to change the printer properties to G
    to get the printer to print the reports as these jobs run in backgroud....but this solution is not acceptable solution.
    SUBMIT SD70AV3A
             WITH RG_KSCHL-LOW = 'ZRR'
             WITH RG_NACHA-LOW = '1'
             WITH PM_VERMO = '2'
             WITH PM_NSORT = '1'
             WITH RG_VBELN IN range.
    *        TO SAP-SPOOL
    *        SPOOL PARAMETERS print_parameters
    *        WITHOUT SPOOL DYNPRO
    *        VIA JOB name NUMBER number
    *        AND RETURN.
    so how do i get the spool number from the above after the job is submitted....and then convert into pdf and mail
    please suggest some solution. I have searched on net but most the solutions are say to run the job as background job...
    i have also looked into the program RSTXPDFT4 but it asks for the spool id ....how can i get spool id for the job that has been completed.
    please suggest some solution.
    Thanks
    Bhargava.

    Hi,
    Spool to PDF : FM 'CONVERT_ABAPSOOLJOB_2_PDF'
    Table TSP01 to get spool number
    You ,may need to convert OTF to PDF: FM CONVERT_OTF
    and the to binary : FM 'SMCS_XSTRING_TO_BINARY'
    To send mail use class: cl_document _bcs.
    Regards,
    Maria João Rocha

  • Error in BIM when running in background mode

    Hi,
    I am facing an error when running a BIM in sm35.
    The BIM runs fine with my userid in all three modes( foreground,display error mode, background mode)....but fails when the functional person is testing in background mode. The BIM runs fine in all other modes.
    It gives the message when running in background mode
    "No batch input data for screen SAPLMGMW 4008"
    What should I check or do to correct it.
    Please help.
    Regards
    Rashi

    The BIM runs fine in Foreground mode and in Display error mode even for the functional..It is giving error only for Background mode.
    I also did the following
    1.   Created the BIM in my id and tried running( in background) it using the other id ...it was successful
    2.   Created the BIM in other id and ran ( in background) using my id....it failed.
    I will check again for authorisations also.
    Regards,
    Rashi

  • When my Itunes diagnostic's finishes running it says Itunes not running in safe mode. What is that and how do I enable it?

    My Itunes diagnostic's say's that my Itunes is not running in safe mode. What is this and how do I enable it? I have the latest version of Itunes.

    you cannot update this software because you have not owned the major version of this software
    Shouldn't give away the secret of how easy it is.....

  • Not running in background

    How to check whether the pgm is running in background?
    I have a production Issue :
         A Z-Pgm is not running in background.

    Hello Madhu,
                       Check the background process in T-code SM50 and also you can check the Job log if you are running the program inside the job.
    Thanks,
    Greetson

  • Unable to burn cds. Have run diognostics. i tunes not running in safe mode. invalid lower filters registry value. Failed while scanning for CD/DVD drives, error 2500. Please help.

    Unable to burn CDs using i tunes. Have run diognostics.    Summary:-   i tunes not running in safe mode.
                                                                                                                                        Invalid lower filters registry value.
                                                                                                                                        Failed while scanning for CD/DVD drives, error 2500
    Please help.

    That's why you want to make a backup of the registry. If you didn't make a backup, use MS system restore to go back. The only values you should remove are UpperFilter or LowerFilter - one or both may be in there and can be removed. If neither value exists, then that is probably why you can't burn and Windows is not recognizing your drive as a writable drive.
    ... an HP employee expressing his own opinion.
    Please post rather than send me a Message. It's good for the community and I might not be able to get back quickly. - Thank you.

  • BDC Program is not working in background mode

    Hi All,
             I hv one bdc program for tcode fb02 which is working fine in foreground mode and data is updated to each screen properly. While running the same program in Background mode data is not updated. Can u seggust the solution.
    Regards,
    Rahul S

    Hi ,
    Remove the break point in the BDC performs.
    put the break point once u complete the BDC.... otherwise execute the BDC in MODE 'E'.. error mode.
    regards,
    Rama Reddy
    Edited by: ram reddy on Nov 16, 2009 5:37 AM

  • BDC is not working in background mode and working fine in Foreground mode

    Hi Experts,
    I have created a BDC in SHDB for the transaction code:CWBQM for creating and deleting the record and converted the BDC recording into the program using call transaction. It is working fine in both foreground and background. When I given the same program for users testing one for the user was able to delete the records but Creation is not working in the same BDC. He is able to create the same records in another PC and the problem is only in that PC and only during the creation of the record. When I change the mode to 'A' mode for testing and request the user to execute and it is working fine the records created successfully. What could be the issue ?
    Thanks,
    Hema

    Hello,
    While recording BDC in SHDB try setting "Simulate background mode" flag and give a try.
    Cheers,
    Nag

  • [SOLVED]Can Some Processes Not Run In Background

    Hi,
    Can some process just not run in the background? I have an irc bot and I want irssi to continue running even after I exit. I do
    $irssi
    ctrl-z
    bg
    But after bg it says
    [1] irssi &
    [1] irssi STOPPED
    I've also tried sending the kill CONT signal but it just always stops. Is there another way I should do it for this type of process? Thanks!
    Last edited by Prototype (2014-02-09 03:42:08)

    karol wrote:If you're asking how to background irssi, read http://www.hants.lug.org.uk/wiki/LinuxHints/Screen http://tmux.sourceforge.net/
    Is there no way to run irssi in the background (disowned) with just the built in bash commands? My main goal is to have it running (with me logged into servers) when I exit the terminal.
    Last edited by Prototype (2014-02-09 03:26:24)

  • Script running in background mode

    hi,
         I am running the report HBRDARF0 in background mode, this report gives Sap Script(script name: HR_BR_DARF98) as the output while  viewing the spool data am unable found sapscript data in spool. 
    one more query, by using the fm: CONVERT_OTFSPOOLJOB_2_PDF  i trying to move spool data into pdf, it gives error message like....Spool Request contains no Sap Script data.
    if we get the sapscript data in spool the issue above two issues are closed.
    regards,
    Revoori

    thanks for your response,
                    as per your suggetion i debugged the Job by using JDBG, while debugginh the exception returned like.....more_params_needed_in_batch and returns SY_SUBRC = 8 by the function module OPEN_FORM and error message like UNOPEND sy-subrc = 1 by CLOSE_FORM .
    what are the parameter we provide as per the open_form function module in batch mode.
    call function 'OPEN_FORM'
           EXPORTING
                archive_index                   = p_archive_index----
    contains no values
                archive_params                = p_archive_parameters----
    is initial
                dialog                              = p_dialog----
    space
                form                                = p_form----
    HR_BR_DARF98
                options                            = l_options----
    contains values
           IMPORTING
                result                               = p_result
           EXCEPTIONS
                canceled                    = 1
                device                      = 2
                form                        = 3
                options                     = 4
                unclosed                    = 5
                mail_options                = 6
                archive_error               = 7
                more_params_needed_in_batch = 8
                others                      = 9.
      p_subrc = sy-subrc.
    here sy-subrc = 8. and the error message is more_params_needed_in_batch
    L_OPTIONS-TDCOPIES = 1
    L_OPTIONS-TDNEWID     = X
    L_OPTIONS-TDDATASET = LIST1s
    L_OPTIONS-TDLIFETIME = 8
    L_OPTIONS-TDCOVER     = D
    L_OPTIONS-TDRECEIVER = sy-uname
    L_OPTIONS-TDARMOD       = 1
    and remaining are initial
    regards,
    revoori

Maybe you are looking for

  • Error while activating DTP in BI 7.0

    I am facing an error while activating DTP between a ODS and CUBE. I have converted 3.x update rules and transfer rules to 7.x transformation. Enhancements were carried out on the data source as well. All the objects and transformations were activated

  • In ColdFusion 10 Java integration, app-context.xml cannot be found in the classpath

    I have jars and dependencies from a vendor Java library that I wanted to use in my new CF10 environment, however the Hibernate/Spring dependencies of the library conflict with those within CF10 itself.  To work around that, I had hoped to use javaset

  • How to find the user exit for the T-code 'RECN'

    Hi friends, I have a requirement as- In 'General Data with Fast Entry' tab of tcode 'RECN' there are 2 fields as contract conclusion date and contract end date. Now, the requirement is as if entered contract end date is less than contract conclusion

  • How to turn of color management in epson r1800 driver 6.12

    I have an Epson R1800 with Epsons driver 6.12. What I wonder is how I turn off the color management in the driver, as I do that (color management) in Adobe Photoshop CS3 (when I choose to print). In the version 3 driver I was able to choose that in E

  • Where's the mac version of photoshop elements 11?

    I click on download, do the Akamai thing for the mac/win version (had to try it 3 times before it worked, no clue what changed to make it work the third time), then end up with a .exe file. That doesn't work on a mac, right? Or have I missed somethin