LSMW : foreground =  Ok but background = error, why ?

Hi,
I recorded an CO transaction (KB21N) in LSMW. The conversion runs fine if my Batch Input mode is set to foreground or errors only. But when I run it in Background mode, it always errors out on the first record. Any idea why this is so?
Can you help me ?
Carine.

Though the initial problem seems to be solved, the necessary knowledge still seems to be missing:
Perhaps the problem is in the configuration of the error message (check  "message control" in the IMG/SPRO).
Many messages are configured to "Error" in background mode while in foreground mode they display only a "warning".
This usually is the case with fields for data you have in your specific data record but which are not needed in that special case.
E.g.
For posting by FB01 on an account number which does not exist as a cost element you would not need a costcenter/order. If your data record contains a Costcenter/order, it is of no use, because the FB01 does not open the window where you would enter the costcenter/order. In foreground mode, this will diesplay a warning only, while in background mode, it will be an error.
In such cases, you have three choices:
0. change the customizing of the error message
1. remove the superfluous information from your data records
2. process the BTC-session in background mode at first, then let it run a second time unattendedly with "display errors only" and - if necessary at all - eventually process it in foreground mode.

Similar Messages

  • I am trying to updat to 5.0 i have the latest version of itunes but it bring up the error 3194 and i have tried everything that it suggested includeing removing itues and reinstalling it i did get an error when it updated but dont know why and what for

    i am trying to updat to 5.0 i have the latest version of itunes but it bring up the error 3194 and i have tried everything that it suggested includeing removing itues and reinstalling it i did get an error when it updated but dont know why and what for

    sorry i was typing fast and didnt check spelling and stuff

  • I keep trying to download the Photoshop free trial on my windows xp but an error message that says "You are running an operating system that Photoshop no longer supports" pops up, any idea why?

    i keep trying to download the Photoshop free trial on my windows xp but an error message that says "You are running an operating system that Photoshop no longer supports" pops up, any idea why?

    Because Photoshop CC requires Windows 7 or above...
    See the System Requirements.

  • Tried to install Firefox but an error message "Extraction failed - cannot open output file" always pops up, without a reason. Why's this happening?

    Tried to install Firefox but an error message "Extraction failed - cannot open output file" always pops up, without a reason. Why's this happening?

    Try to disable your anti-virus software temporarily to see if that makes it work.
    You may need to delete the temp folder (%TEMP%) to remove the old files.

  • Ihone 4s lost all contacts. I tried to restore from backup but the error message now says there is not enough room. I have deleted all the apps without making any more room on iphone. Why did contact disappear and how do I get them back?

    ihone 4s lost all contacts. I tried to restore from backup but the error message now says there is not enough room. I have deleted all the apps without making any more room on iphone. Why did contact disappear and how do I get them back?

    In the simplest sense, archiving a file means making a copy that you never change and never discard. You already know how to do that.
    iPhoto has built-in archival features, in the sense that it saves all versions of an image that you've modified. As long as you have adequate backups, you don't necessarily have any reason to archive an iPhoto library. If you want to delete images from the working library but still have access to them in case you change your mind, then you do need to archive those images. I don't have a specific suggestion as to how you should do that. You might post a question in the iPhoto forum.

  • I do not use wireless, but get wireless errors, why?

    I do not use wireless, but get wireless errors, why?

    Hi Clarence,
    I'm using an i Mac O sx 10.6.8  Even though I'm using wired ethernet access, I can turn airport on and let it run while using the wired connection.  I suppose that condition may cause the errors you're getting.  Is it at all possible that you have your Airport wireless in your Mac Pro turned ON?

  • HT201210 how come i cant update my ipod. im trying to update it but it always says error. why?

    why cant i update my ipod? when i try to update it. it always says error. why does it say that?

    If you are updating by Settings>General>Software Update then connect the iPod to your computer and update via iTunes.
    iTunes 10 for Windows: Update and restore software on iPod, iPhone, or iPad
    Otherwise, what is the complete wording of the error message.

  • Bdc running in foreground not in background.

    My BDC is working in foreground  mode but not running in background mode.What can be the possible reasons..

    hi renu,
    Do check for ur flat file from which u r picking the data to be in application server.
    Because in background processing the data cannot be picked from presentation server.
    Also if u r using Gui_upload FM, that would give an error.
    Use open dataset, read dataset statements to read from application server.
    <b>Hope this is helpful, Do reward.</b>

  • I have a php module which runs fine in Firefox and all other browsers but not Safari. It always run twice - I see a small ? in upper right corner which is causing it to run twice but NO idea why? Help - thank you

    I have a php module which runs fine in Firefox and all other browsers but not Safari. It always run twice - I see a small ? in upper right corner which is causing it to run twice but NO idea why? I read it MAY have something to do with am image it cannot load but I see them all loaded.  Help - thank you

    Could you share a link to the page?
    Seeing it in context and in our browsers is much easier to debug.
    If not, make sure to run the validator here The W3C Markup Validation Service and clear out any problems. HTML errors, especially structural ones, will cause all kinds of display problems in various browsers/versions/platforms.

  • Getting an error in the preview but no errors or warnings in the error list

    I've got a SSRS report, originally written using SQL Server 2005, that I just upgraded to SQL Server 2012. I'm using the SQL Server Data Tools that you're supposed to work with now. I had to change the query and remove one of the fields returned by one of
    the datasets in the report. I had some problems, but have worked through it.
    Now I can run the application, if I specify my .RDL file as the starting item. However, within the SSDT development environment, if I try to preview the report I'll get the following:
    "An error occurred during local report processing.
    An error occurred during rendering of the report.
    An error occurred during rendering of the report.
    Index was out of range. Must be non-negative and less than the  size of the collection.
    Parameter name: index"
    But the Error List shows no problems at all. Everything is fine. Everything works. And yet, there's nothing in the preview except for the error messages I've listed above.
    So, how can there be "no errors, warning or messages" and yet there's nothing to be seen in the preview? And why does it work when I run it in SSDT?
    Rod

    Hi Rod,
    It's probably caused by data caching in the designer. When you changed the query and remove one of the fields returned by one of the datasets in the report, the dataset definition has been changed, but the actual cached data stored by Visual Studio (i.e.
    the *.rdl.data file) still has data based on the old Dataset definition when reprocessing the report. This is in internal error caused by the mismatch between the data the report is expecting and what has been cached.
    In this scenario, we can delete the *.rdl.data files from the drive, hit the "Refresh Fields" under the dataset properties for my dataset, then try previewing again.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Copy/paste shapes from Illustrator also brings in a black background. Why?

    When you copy/paste a shape from Illustrator into Muse, it also brings in a black background. Why does this happen and how do we delete it?
    Thanks!

    It's a bounding box when you copy Vector from Ai and paste it into Muse the file gets converted to a Raster image.
    you should copy the vector shape into Photoshop and scale to the size you need then export it. (Still Raster)
    But you can also Export it as .swf and import that into muse and it scales nicely looks good in preview even after you resize the shape...   (No bounding box)
    Hope this helps

  • While specifying file in LSMW it is giving an error while saving 'No logica

    while specifying file in LSMW it is giving an error while saving 'No logical path has been specified'.why it is coming like that?

    Hi Shree,
    This error looks like that you have attached the activity to the work center and there is no rate  has been maintained in KP26. Please maintain the activity ...for1000/300008/LABORP
    for the period and try to repeat the costing run.
    I hope this clarifies...
    Regards
    Rajesh A

  • Package produces error.Why?

    I tried putting a program in a package as shown
    below but got the following error:
    ====
    C:\myjava>javac -d c:\myjava\jre\classes testing2.java
    testing2.java:5: 'class' or 'interface' expected
    package DAYOSPACKAGE.test1;
    ^
    1 error
    ====
    Why am i getting this error.
    This is the code:
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    package DAYOSPACKAGE.test1;
    public class testing2 extends JFrame
    { private JTextField T1[];
    private JButton B1,B2;
    private JLabel L1[];
    private JPanel P1,P2,P3;
    public testing2()
    { T1=new JTextField[4];
    for(int i=0;i<T1.length;i++)
    { T1[i]=new JTextField();
    L1=new JLabel[4];
    for(int i=0;i<L1.length;i++)
    { L1[i]=new JLabel(" "+i);
    P1=new JPanel();
    P1.setLayout(new GridLayout(4,2));
    for(int i=0;i<4;i++)
    { P1.add(L1[i]);
    P1.add(T1);
    B1=new JButton("SAVE AS");
    B2=new JButton("ENTER");
    P2=new JPanel();
    P2.setLayout(new GridLayout(1,2));
    P2.add(B1);
    P2.add(B2);
    P3=new JPanel();
    P3.setLayout(new BorderLayout());
    P3.add(P1,BorderLayout.CENTER);
    P3.add(P2,BorderLayout.SOUTH);
    JFrame frame = new JFrame("LPC");
    frame.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    frame.getContentPane().add(P3);
    frame.pack();
    frame.setSize(200,200);
    frame.setVisible(true);
    public static void main (String [] args)
    { testing2 done =new testing2();

    The package statement must be put before the import statements.
    This code has to change
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    package DAYOSPACKAGE.test1;
    to this
    package DAYOSPACKAGE.test1;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;

  • Dispatch background error in bdc vl01n

    Hi Guru,
    I am creating a module pool program,in module pool program we have 30 input fields through this input field we store the data in z table and pass quantity,serial number  and lenght in vl01n. but in forground ground working fine but background showing error.
    Please help me. i am sending some code.
    PERFORM BDC_NODATA      USING NODATA.
    PERFORM OPEN_GROUP      USING GROUP USER KEEP HOLDDATE CTU.
    PERFORM BDC_DYNPRO      USING 'SAPMV50A' '4001'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'LV50C-BIPOS'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM BDC_FIELD       USING 'LIKP-VSTEL'
                                  VSTEL_001.
    PERFORM BDC_FIELD       USING 'LV50C-DATBI'
                                  DATBI_002.
    PERFORM BDC_FIELD       USING 'LV50C-VBELN'
                                  VBELN_003.
    PERFORM BDC_FIELD       USING 'LV50C-ABPOS'
                                  ABPOS_004.
    PERFORM BDC_FIELD       USING 'LV50C-BIPOS'
                                  BIPOS_005.
    PERFORM BDC_DYNPRO      USING 'SAPMV50A' '1000'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=T\02'.
    PERFORM BDC_FIELD       USING 'LIKP-BLDAT'
                                  BLDAT_006.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'LIPS-MATNR(04)'.
    PERFORM BDC_FIELD       USING 'LIKP-WADAT'
                                  WADAT_007.
    PERFORM BDC_FIELD       USING 'LIKP-WAUHR'
                                  WAUHR_008.
    PERFORM BDC_DYNPRO      USING 'SAPMV50A' '1000'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    PERFORM BDC_FIELD       USING 'LIKP-BLDAT'
                                  BLDAT_009.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'LIPS-LGORT(03)'.
    PERFORM BDC_FIELD       USING 'LIKP-KODAT'
                                  KODAT_010.
    PERFORM BDC_FIELD       USING 'LIKP-KOUHR'
                                  KOUHR_011.
    PERFORM BDC_FIELD       USING 'LIPS-LGORT(01)'
                                  LGORT_01_012.
    PERFORM BDC_FIELD       USING 'LIPSD-G_LFIMG(01)'
                                  G_LFIMG_01_013.
    MOVE 2 TO IDX1.
          LOOP AT IT_SEQ INTO WA_SEQ.
            QTY1 = WA_SEQ-QTY.
            QTY = QTY1.
            CONCATENATE 'LIPSD-G_LFIMG(' IDX1 ')' INTO FNAME.
            PERFORM BDC_FIELD       USING FNAME"'RIPW0-SERNR(01)'
                                          QTY.  "'bgl17'.
            IDX1 = IDX1 + 1.
          ENDLOOP.
    *move 2 to idx1.
         loop at it_seq into wa_seq.
           concatenate 'LIPSD-G_LFIMG(' idx1 ')' into fname.
           perform bdc_field       using fname"'RIPW0-SERNR(01)'
                                         wa_seq-qty.  "'bgl17'.
           idx1 = idx1 + 1.
         endloop.
    *perform bdc_field       using 'LIPSD-G_LFIMG(02)'
                                 G_LFIMG_02_014.
    *perform bdc_field       using 'LIPSD-G_LFIMG(03)'
                                 G_LFIMG_03_015.
    PERFORM BDC_DYNPRO      USING 'SAPMV50A' '1000'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=PSER_T'.
    PERFORM BDC_FIELD       USING 'LIKP-BLDAT'
                                  BLDAT_016.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'LIPS-POSNR(01)'.
    PERFORM BDC_FIELD       USING 'LIKP-KODAT'
                                  KODAT_017.
    PERFORM BDC_FIELD       USING 'LIKP-KOUHR'
                                  KOUHR_018.
    PERFORM BDC_FIELD       USING 'RV50A-LIPS_SELKZ(01)'
                                  LIPS_SELKZ_01_019.
    PERFORM BDC_DYNPRO      USING 'SAPLIPW1' '0200'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'RIPW0-SERNR(02)'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=RWS'.
    MOVE 1 TO IDX.
          LOOP AT ITAB INTO WA.
            CONCATENATE 'RIPW0-SERNR(' IDX ')' INTO FNAM.
            PERFORM BDC_FIELD       USING FNAM"'RIPW0-SERNR(01)'
                                          WA-PSLNO.  "'bgl17
            IDX = IDX + 1.
          ENDLOOP.
    *perform bdc_field       using 'RIPW0-SERNR(01)'
                                 SERNR_01_020.
    *perform bdc_field       using 'RIPW0-SERNR(02)'
                                 SERNR_02_021.
    PERFORM BDC_DYNPRO      USING 'SAPMV50A' '1000'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '=WABU_T'.
    PERFORM BDC_FIELD       USING 'LIKP-BLDAT'
                                  BLDAT_022.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                  'LIPS-MATNR(04)'.
    PERFORM BDC_FIELD       USING 'LIKP-KODAT'
                                  KODAT_023.
    PERFORM BDC_FIELD       USING 'LIKP-KOUHR'
                                  KOUHR_024.
    PERFORM BDC_TRANSACTION TABLES MESSTAB
    USING                         'VL01N'
                                  CTU
                                  MODE
                                  UPDATE.

    i am calling bdc code through function module.in message itab i getting
    message type 'E' message id 'VL'
    msgnr '461' fldname'LV50C-BIPOS' msgv1 '   '
    CALL FUNCTION 'ZFM_VL01N_01'
          EXPORTING
            CTU                     = 'X'
           MODE                    = 'A'
            UPDATE                  = 'N'
           NODATA                  = '/'
            VSTEL_001               = '1010'
            DATBI_002               = DATBI_002"'17.03.2011'
            VBELN_003               = VBELN"'256'
            ABPOS_004               = ABPOS_004 "'10'
            BIPOS_005               = BIPOS_005"'30'
            BLDAT_006               = BLDAT_009"'16.03.2011'
            WADAT_007               = BLDAT_009"'16.03.2011'
            WAUHR_008               = TIME "'00:00:00'
            BLDAT_009               = BLDAT_009"'16.03.2011'
            KODAT_010               = BLDAT_009"'16.03.2011'
            KOUHR_011               = TIME "'00:00:00'
            LGORT_01_012            = '1105'
            G_LFIMG_01_013          = ICOUNT"G_LFIMG_01_013"'2'
           G_LFIMG_02_014          = '2'
           G_LFIMG_03_015          = '2'
            BLDAT_016               = BLDAT_009"'16.03.2011'
            KODAT_017               = BLDAT_009"'16.03.2011'
            KOUHR_018               = TIME "'00:00:00'
            LIPS_SELKZ_01_019       = 'X'
            SERNR_01_020            = '3852'
            SERNR_02_021            = '3853'
            BLDAT_022               = BLDAT_009"'16.03.2011'
            KODAT_023               = BLDAT_009"'16.03.2011'
            KOUHR_024               = TIME "'00:00:00'
         IMPORTING
           SUBRC                   =
           TABLES
            MESSTAB                  = MESSTAB[]
             ITAB                    =
             IT_SEQ                  =

  • Running TCODE (AFAB) - Depreciation Run in Background - Error: Printer name

    Hi SAP experts,
    This is actually a basis technical question.
    But the error occurred in the Depreciation Run.
    When one of our users run this process in Background, she encountered an error 'Printer name not defined'.
    But when I use my account, I was able to successfully run it with no errors.
    I have checked SU01 and the default name of the printer (LP01) is both assigned to the users.
    We are using SAP 4.6 (4.0B). I hope we could find solutions for this.
    Thanks!

    Hi,
    Could you please check note 1292602.  
    Regards Bernhard

Maybe you are looking for

  • Black pop up / text box

    I suddenly have a black & white pop up or text box appearing on my Mac. It seems to describe in the text field every action I make on the computer including what I am typing. At the same time if I am on a webpage it highlights each cell or window des

  • Invoice Type not being Updated while Posting INVOIC01 - Incoming Invoice

    Hello,                 I am trying to Post Incoming Vendor Invoice in to SAP using INVOIC01 and IDOC_INPUT_INVOIC_MRM Function Module. I am adding values INVO for Invoice, CRMO for Credit Memo in the Field E1EDK01-BSART to Post the Invoice with diffe

  • IC Webclient - Creating new context node

    I am trying to add a new Myfavorites functionality in AUISearch.htm (Inbox Search View). While creating a new context node under SearchAuiItems using the Wizard the following attributes have been entered: Attrib. Name - FavoriteName BOL Entity - BTQu

  • Letting user to click a button and run an application

    Hi all, I'm trying to do this: once the user logged on, the user can click a button to run an application. If it's the first time he/she use it, it'll let user to download the program and then run it. How can I do that? Thank you. Cal

  • Highlight fields in a calendar

    My project involved in creating a Google like calendar allow users to highlight their schedule. Is there a way to do it without using JSF and Ajax? How about just using javascript and jsp? If it not possible, is there any example codes/links on using