Batch input questions

Hi. Can someone explain me teh diferences between =mod and =ins in a batch input? i know that one is for modify and the other one id for insert, but my question is if i use the =ins code and if there is allready a registry with data in the fields that im going to insert does the =ins code , deletes the old ones and replaces by the new ones??
Thk
Regards

Hi,
You are talking about the OK Codes in Batch input.
These OK codes are accompanied by the respective fields followed by this OK codes(function Codes for the user actions on screen).
Sp sap takes care of them automatically, when you write field and after that OK code for that field.
regards,
ANJI

Similar Messages

  • General BADi question:Call BADi in background job/batch input. Possible?

    Hi out there,
    i'm using thoe following BADi: /SAPSLL/CTRL_SD0C_R3 (Global Trade Service).
    But also, this question is a general question.
    If we are calling on screen the transaction VF01, the BADi is called correctly.
    But unfortunately it seemes that the BADi is NOT called (im not really sure, cause i can't debug the background task) when we are calling a batch input sequence wth f.e. form bdc_transaction VF01 nothing happens.
    Maybe BADi cannot be called in a background task? If it's possible, how could it be monitored. Thare isw no spool entry or anything like that!
    Any answer can help.
    Thank you in advance!
    Regards,
    Timo
    Edited by: Timo Ehl on Apr 14, 2009 7:27 PM

    Hi,
    generally BADIs are called in background mode. You can use the following trick to debug your BADI. You just need to create an infinite loop in your BADI implementation. Something like this.
    DATA: l_a TYPE c.
    WHILE l_a IS INITIAL.
    ENDWHILE.
    Obviously when your BADI is called in background mode then program will get into infinite loop. You can easily connect and debug running programs from transaction SM50. You need to select your background process and go to Program/Session -> Program -> Debugging. You will jump directly into your BADI methos with infinite loop. Then you will just set value to l_a and you will start debugging your BADI. If you can not find any process then your BADI is not called in background mode.
    Cheers

  • Please help  me with some questions with batch input session?

    hello everyone.
      I come to some questions  like
    1 What is a batch input session ,
    2  What is the alternative to batch input session?
    3  An ABAP program creates a batch input session.   We need to submit the program and the batch session in back ground. How to do it? 
       would you please help me with the questions, couldn't thank you more.
       Best regards
                                                                          Frank

    Hi
    Batch Input Session:
    BATCH INPUT SESSION is an intermediate step between internal table
    and database table. Data along with the action is stored in session
    ie data for screen fields, to which screen it is passed, program
    name behind it, and how next screen is processed.
    Three processing modes of executing Batch Input Session :-
    Run Visibly : You can correct faulty transactions online & work step-by-step through  the transactions not yet executed.
    Display Errors only : You can correct faulty transactions online.   Transactions not yet executed, but without error, run in the background.
    Run in Background .
    2) What is the alternative to batch input session?
    Call transaction.
    3) An ABAP program creates a batch input session. We need to submit the program and the batch session in back ground. How to do it?
    go to SM36 and create background job by giving
         job name,job class and job steps (JOB SCHEDULING)

  • LSMW Create Batch Input Session question

    Hi all
    when I use LSMW to upload data. every step is OK, but at the NO. 13 step ' 13 Create Batch Input Session', it always set the 'Display Trnacts per BI Folder' field a default value '1' .I must clear the defautl value and let the field to black so I can create ONE session.
    why it always set a default value '1' in the 'Display Trnacts per BI Folder' field ??
    anybody can help me?
    thanks a lot!!

    Hi,
    => Looks like you havent mentioned the TCODE that you are using whilst recording. There is a field specific to TCODE in the step 'Maintain Field Mapping and Conversion Rules'. Double Click on the field, a dialog opens, give your TCODE in capitals.
    => Check if you have mapped all the fields that you want to upload using LSMW. You could have missed mapping few target fields with their source fields.
    => Remove any unnecessary structure relations in step 4 - 'Maintain Structure Relations'.

  • Making a batch input without questions

    Hello,
    I'm trying to connect through a transaction PP01 infotype that I created to the table HRP1001. Thus I created a button in the layout of my infotype and I want when you press this button it back it runs the transaction PP01 again with the values pre-populated. I've done batch input, but I wonder if there is any way to do it without the user need to intervene when using 'A' class on call transaction
    Best Regards.

    hi Ali Sanchez 
    Use report RSBDCSUB.
    submit rsbdcsub and return.
    Hope it will help you
    Regards
    deva

  • General question: How to execute a batch input using different user name?

    Hi everyone,
    I would be very grateful if someone could tell me how to execute a batch input from source code using a differente username so the batch input is executed with different permissions.
    For example, I log on with:
    Username: A
    , but I'd like to execute a batch input using the rights and permissions of user B.
    Thanks in advance and best regards.
    Ben.

    If you are calling the BDC in a program, create a job to run the program and specify the user you want each program to run under.

  • Question create a batch input session in display mode

    Hi, i have a batch input, with this three functions
    CALL FUNCTION 'BDC_OPEN_GROUP'
      CALL FUNCTION 'BDC_INSERT'
    CALL FUNCTION 'BDC_CLOSE_GROUP'
    when i execute the program, i need to see the batch input session in display mode. I need to see all the screens.
    I try with
    DATA: PARAMETROS LIKE CTU_PARAMS.
    PARAMETROS-DISMODE = 'A'.
      CALL FUNCTION 'BDC_INSERT'
       EXPORTING
         TCODE                  = 'ME51'
        POST_LOCAL             = NOVBLOCAL
        PRINTING               = NOPRINT
        SIMUBATCH              = 'A'
         CTUPARAMS               = PARAMETROS
        TABLES
          dynprotab              = i_bdcdata
      EXCEPTIONS
        INTERNAL_ERROR         = 1
        NOT_OPEN               = 2
        QUEUE_ERROR            = 3
        TCODE_INVALID          = 4
        PRINTING_INVALID       = 5
        POSTING_INVALID        = 6
        OTHERS                 = 7
    But i can´t see the screens.
    Help me, please
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 10, 2008 12:46 PM

    hi
        For a BDC upload you need to write a program which created BDC sessions.
    <u>Steps</u>:
    1. Work out the transaction you would use to create the data manually.
    2. Use transaction SHDB to record the creation of one material master data.
        Click the New recording button or the Menu - Recording - Create
    3. Save the recording, and then go back a screen 
    4. Select the recording and <b>click on Edit - Create Program.</b> Give the program a Z name, and select transfer from recording.
    5. Edit the program. You will see that all the data you entered is hard-coded into the program.
    Execute the program. It will have options to create a batch session or to process directly.
    IF THIS FINDS USEFUL PLEASE REWARD POINTS
    REGARDS
    ANOOP

  • Error in LSMW for MM41 - "No batch input data for screen SAPLMGMW 0100"

    I'm trying to create an LSMW for MM41 to create new Retail articles en Mass. This will be used to only create the Basic view as other LSMW's already exist to maintain the other views. I've created the Recording and setup the LSMW already. My data is read correctly from the source file. When I execute the batch session it fails with the following error - "No batch input data for screen SAPLMGMW 0100".
    I assume the fields in MM41 screen are not setup for batch processing. Could someone with more knowledge or experience in SAP Retail please confirm my assumption and explain where this is setup or provide an alternative to creating new articles en Mass via MM41? The direct input method is more suited for MM01 and not MM41.
    Regards
    Fawaaz

    Hi Guys,
    Thanks so much for all the prompt responses. My issue is now resolved.
    The issue, I'm sure, was my default settings in the MM41 screen which the recording probably took into account or the batch program didn't like. I deleted my recording and created a new one but before I started the recording, I went into the MM41 screen and removed all default values AND view selections. I made my Basic view selection constant in my recording and also in my field mapping. My LSMW for MM41 is now working perfectly.
    Just to answer some of the questions above, my LSMW was Reading and Converting the data in my source file fine. When I display the Read and Converted data, it shows the data fields in the correct place.
    Thanks again.
    Regards
    Fawaaz

  • Number of transactions in the current batch input session ...

    Hi,
    How to control a Number of transactions in the current batch input session ...
    for LSMW.
    Pls help. I'm new to LSMW
    Thanks
    Ram

    > Main idea is to get an idea about the DB
    >
    > currently in the PRD DB auditing is disabled.
    > Im thinking of enabling the DB auditing.
    > Therefore i'm looking to get rough idea about, number of transactions that will occur in the DB
    >
    > audit_sys_operations                 boolean     FALSE
    > audit_trail                                    string      NONE
    >
    > Will enabling auditing, make additional overhead to the database.!
    I see.
    Just my two cents on this:
    - you enable auditing, when there is a requirement for it (business/legal wise), so it isn't really about the technical overhead
    - and of course there is overhead. It's just the question whether or not your users will see a increased response time because of that.
    > how can i check these stats in DB level. (table/view)
    Check V$SYSSTAT and V$SYSMETRIC on Oracle level.
    These should contain the information you like to see.
    (btw: in my first reply I referred to how easy it is to create these statistic information on DB kernel level )
    regards,
    Lars

  • Is it possible to input a value in an output field in a batch input sessio?

    Hi everybody
    A quick question
    I wanted to know if theres a way to put a value in an output field when doing a batch input?
    I think its not possible but Im not sure
    PLease do confirm

    Hi sia,
    1. Ofcourse not
    2. BCOS
    3. Batch input
       indirectly is nothing
       but SIMULATION / EXACT COPY OF MANUAL ENTRY
       of that particular transaction.
    4. If the transaction does not allow
       entry in manual mode,
       then it won't allow even in batch input/sessoin/bdc mode.
    regards,
    amit m.

  • Master recipe Batch-input / Bapi / Fct

    Hi,
    Does anybody have a program to insert data for master recipe ?
    I didn't understand how to use fct MRTRS300_MASTER_RECIPE_SAVE and the Batch-input on C201 have oss note ...
    Rgd
    Frédéric

    Frédéric,
    I tackle the same question, I will let you know when I find something. Please post your findings here as well.
    Regards,
    Serge

  • Batch Input in RF programming

    Hi,
    I have a couple of questions on RF programming....
    1. Batch Input
    I was always under the impression that we should NOT use BDC in RF screens but, while searching SDN, I saw Rich Heilmann mention that he does it ([SDN Thread|Re: Radio Frequency - Error handling]). Most regular SDN people will know that Rich knows a thing or two about RF so could anyone confirm if it is OK or not to use BDC in RF?
    2. Is it okay to use 'Call Function .... in Update Task' in RF?
    Thanks.

    Just a quick answer - I don't know if it will help.
    We've used a combination of BDCs and call functions.  We have not used in update task.   We would like to get real time data quickly.  I can't see any reason why it would be a problem.  Unless you have transactions that depend on that data and it hasn't been updated.

  • SM35 - manual processing of the batch input session

    Hello,
    In SM35 I see that some batch input sessions were processed by user XXX-XXXX (user type:System) (in our case INT-3528) in N mode. The question is: how to determine the exact user who has really processed that session? We need to stop that - I guess - automatic processing of the sessions and process them manually.
    Thanks for help,
    Slawek

    Hi,
    also, you can check the logs directly in SM35. So if any documents were posted (or anyting updated in the system) information about what happened should be shown there.
    If there were acounting documents (table BKPF), I think the user name will be the same system user "who" has processed the sessions.
    I think that your basis team has set up the system in a way that batch input sessions are processed automatically. This is simialr when scheduled jobs are running under a pseudo user name (system user, IT user, not a real person behind). You can ask the basis team to switch off this automatic processing competely or only for selected sessions.
    Hope that helps, points welcome
    Csaba

  • Clearing receivable items by batch input

    HI all,
    in account receivable scenario my question concerns automatically clearing items (program RFEBBU00 create a batch input session) by using reference field instead of document number. I am not able to do it by customizing.
    Can you help me?
    Regards
    Federico

    F.13 program SAPF124 is used for automatically clearing customer accounts.
    You can choose the required field that shall be the criteria in IMG
    SPRO>IMG>Financial Accounting>Accounts Receivable and Accounts Payable>Business Transactions>Open Item Clearing>Prepare Automatic Clearing.

  • Batch Input data

    HI
    Guru's
    here I am running Manual BRS, in FF67,after save the statement
    When  I run the batch input session, it gives the error like' there is no batch input data for screen
    sap05fa3100,
    Please Guide me about this issue, whether I missued any bakground setting
    with regards
    Arun Kumar

    Hello,
    If I understand your question, you can delete the bank statement by using program RFEBKA96
    Reverse the entries if any posted.
    Now retry to post the bank statement again. (with batch mode)
    Post the batch in SM35 in foreground.
    Regards,
    Ravi

Maybe you are looking for