Need change Batch input transaction me21

Hi all,
I have to modify a existing report that load data via bdc,
i have to add ekko-wkurs field in bdc.
my question is, after put the field wkurs in internal table with other data, how can modify the bdc?
writing this:  perform bdc_field       using 'EKKO-WKURS'
                                       tab-01-tst-cambio.
and if it the right way, where I exactly put this piece of program?
I paste a piece of report where I put this:
perform bdc_dynpro      using 'SAPMM06E' '0100'.
    perform bdc_field       using 'EKKO-LIFNR'
                                  TAB-01-TST-CODICE_FORNITORE.
    perform bdc_field       using 'RM06E-BSART'
                                  'ZAPI'.
    perform bdc_field       using 'RM06E-BEDAT'
                                  TAB-01-TST-DATA_ODA.
    perform bdc_field       using 'RM06E-BSTNR'
                                   TAB-01-TST-NUM_ODA.
    perform bdc_field       using 'EKKO-EKORG'
                                  'Z535'.
    perform bdc_field       using 'EKKO-EKGRP'
                                  'Z34'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  '/00'.
    perform bdc_dynpro      using 'SAPMM06E' '0514'.
    perform bdc_field       using 'EKKO-BUKRS'
                                  TAB-01-TST-SOCIETA.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                  'ENTE'.
    perform bdc_dynpro      using 'SAPMM06E' '0120'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=KOPF'.
    perform bdc_dynpro      using 'SAPMM06E' '0101'.
    perform bdc_field       using 'EKKO-ZTERM'
                                  TAB-01-TST-CON_PAG.
    perform bdc_field       using 'EKKO-WAERS'
                                  TAB-01-TST-DIV_ODA.
aggiunta del campo wkurs
    PERFORM BDC_FIELD       USING 'EKKO-WKURS'
                                  TAB-01-TST-CAMBIO.
    PERFORM BDC_FIELD       USING 'EKKO-IHREZ'
                                  'CONVERSIONE'.
    perform bdc_field       using 'BDC_OKCODE'
                                  'AB'.
thanks all.

Hi Fabrizio
I believe It's right what you have done:
If this is old code:
perform bdc_dynpro using 'SAPMM06E' '0101'.
perform bdc_field using 'EKKO-ZTERM' TAB-01-TST-CON_PAG.
perform bdc_field using 'EKKO-WAERS' TAB-01-TST-DIV_ODA.
It's right to add your new code here
PERFORM BDC_FIELD USING 'EKKO-WKURS' TAB-01-TST-CAMBIO.
Infact the field 'EKKO-WKURS' is in screen SAPMM06E0101 so it's right place the code where the field of that screen are filled.
Max

Similar Messages

  • BATCH INPUT transaction FB02

    Hello Friends,
    I have a programme which uses batch-input with transaction FB02. The idea here is to put a dunning block to several documents. This works fine and the BSEG-MANSP field is updated. But when I run transaction F150 (the wholde dunning process) the blocked documents still come up here...even though they are blocked... but if I do an ABAP direct update on the MHND-MANSP field (this also indicates that document is blocked, but is not set when running FB02 ) it works, then these documents are not dunned in F150. Is there any way to block the documents from being dunned in F150 without using the direct mhnd update?
    Best regards
    Baljinder Singh

    if you want to leave a batch session try "/bend" or "/n" to move to the next record.

  • Batch input transaction MIGO

    Hi,
    I want to call transaction MIGO twice in a report using batch input:
    once with Goods Receipt acition(A01)  AND
    once with Goods issue action(A07).
    My problem is that MIGO remebers the last MIGO transaction and does not accept new batch input fields for antother action.
    Does anyone know how to refresh the MIGO memory or something?
    Best Regards
    Anne M Johannessen

    Try with the code b4 batch input is called.
    Delete from Esdus where uname = sy-uname.
    This will delete the user settings for that user.
    Tharani

  • HELP with a Batch Input - Transaction VF01

    Hi
    It's me again, with another question... this time it's a Batch Input, creating a delivery with more than 20 items, how can I do with the error
    Field KOMFK-VBELN(69) does not exit in the screen SAPMV60A 0102
    and if I click on OK-Code how to indicate (in code lines) to simulate the process <b>EDIT</b> (From Menu bar) <b>More Documents F7</b>
    Thanks in advance!!!
    Tokio

    Thanks to all of you...
    These are my fist lines to answer one of my posted problems ...
    Preview code lines:
    perform bdc_dynpro using 'SAPMV60A' '0102'.                          
       loop at entregas.                                                 
         move sy-tabix to fila.                                          
         concatenate 'KOMFK-VBELN(' fila ')' into cadena.                
         perform bdc_field using cadena entregas-entrega.                                                                               
    IF FILA GE '20'.                                                
           PERFORM BDC_FIELD USING 'BDC_OKCODE'  '=P+'.                  
           MOVE SY-TABIX TO FILA.                                        
           CONCATENATE 'KOMFK-VBELN(' FILA ')' INTO CADENA.              
           PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.              
         ENDIF.
    New code lines:
    CLEAR ENTREGAS.
    PERFORM BDC_DYNPRO USING 'SAPMV60A' '0102'.
      LOOP AT ENTREGAS.
         MOVE SY-TABIX TO FILA.
       IF FILA LT 22.
          CONCATENATE 'KOMFK-VBELN(' FILA ')' INTO CADENA.
          PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
       ENDIF.
       IF FILA EQ 22.
        CONCATENATE 'KOMFK-VBELN(' FILA ')' INTO CADENA.
        PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
        PERFORM BDC_OKCODE USING '=FKAN'.
        PERFORM BDC_DYNPRO USING 'SAPMV60A' '0102'.
       ENDIF.
       IF FILA GE 23. BREAK FOSTKFRT.
         DATA: FILA2(2), CNT2 LIKE SY-TABIX VALUE 2. MOVE CNT2 TO FILA2.
         CONCATENATE 'KOMFK-VBELN(' FILA2 ')' INTO CADENA.
         PERFORM BDC_CURSOR USING CADENA.
         PERFORM BDC_FIELD USING CADENA ENTREGAS-ENTREGA.
         CNT2 = CNT2 + 1.
       ENDIF.
      ENDLOOP.
      CLEAR CNT2.
    I hope these lines could help.
    Regards
    Tokio

  • Change EKPO-KZWI6 in Batch input

    Hi experts.
    I'm creating a PO in ME21 via batch input and need to change the field EKPO-KZWI6, but I can't find this field in the transaction screens.
    How would you guy suggest me to do it?
    Thanks in advance,
    Alm.

    Hi
    That is a field for the subtotal of the pricing, so it's not available in the screens:
    here the system save a subtotal of a certain number of conditions: the rule is decided in the customizing of the price.
    So you need to change those conditions in order to modify your field
    Max

  • Error exec. Background Mode a Batch-Input using KP26 Transaction Code

    I have a program that build a Batch-Input based on transaction code KP26.
    I encounter the following error :
    Field Z-BDC02(1) is not an input field (Program : SAPLKPP2 Screen : 0112)
    When executing in background I got the error and when executing in Foreground, it is OK.
    I use SHDB to look at the field needed and  it gave me the same field to use.
    Here is an extract of my program for the field I have the issue on :
        PERFORM F100_BDC_FIELD USING 'Z-BDC02(01)' I_T01-LST.
        PERFORM F100_BDC_FIELD USING 'Z-BDC05(01)' I_T01-SPRED.
        PERFORM F100_BDC_FIELD USING 'Z-BDC07(01)' I_T01-TOV.
        PERFORM F100_BDC_FIELD USING 'Z-BDC08(01)' I_T01-TOF.
    Any one have an hint to solve this ?

    Hi,
    Just one remark: batch input is always executed in synchronous mode (hopefully, otherwise we would get many lock issues during mass updates!) Or is there something I missed?
    Same thing when you use BDC_INSERT, CTU_PARAMS is ignored ([SAP note 1437811 (Batch input: BDC_INSERT parameter CTUPARAMS)|https://service.sap.com/sap/support/notes/1437811 ])
    About the issue, I don't know, so maybe explain more about the context: for instance, do you run the session under a different user? (for instance, the user could be assigned a transaction/screen variant with table control variant, that protects some fields) Do you have one transaction in the batch input session or are there several ones. Try with one only to see if it works. If yes, then maybe it's something in memory that changes the "input-capability" of the field after the first transaction.
    Sandra

  • Batch Input with transaction ME58

    Hello SAP:
    We are trying to do a Batch Input Session with transaction ME58
    (Creating Service Entry Sheets) by using a FrameWork Order.
    After the batch input selects the purchase order and mark all
    the requisitions related with that order and confirms the selection,
    the system calls program SAPLMLSR dynpro 400, where the tab "Basic
    Data" appears and the error "Make an entry in all required fields"
    (00 055) is displayed. Althought we had put all the obligatory
    fields required by the Batch Input in that particular
    screen SAPLMLSR - 400 (we also tried with subscreen 410), the fields
    indicated in the Batch Input were lost.
    It seems the flow control of the Batch Input is lost because of the
    error message 00 055.
    Thank You - And we will be waiting for Your answer.
    Frinee Paredes

    Hi Christian!!
    The error that is displayed is because of a mandatory field, the problem is that it appears before the screen is displayed, I mean the validation occurs before I can input data.
    It's very interesting what you said about enjoy transactions and there might be the problem, a few minutes ago, while debugging transaction ME58, I found that it calls function module MS_SERVICE_ENTRY2, which calls transaction ML81N, which I think is an enjoy sap transaction, I guess I'm in a big trouble because I've already looked for a BAPI and it seems there aren't any.
    If you like to reproduce the error you could record transaction ME58 with transaction SHDB,you would need a framework order (FO) for the selection screen and purchase requisitions (PO) created asociated to that FO.
    What I want to do with ME58 is to run a job periodically which creates service entry sheets with the FO and PR as input.
    Thank you very much!!
    Frinee

  • Batch-input to transaction SM34

    Hello,
    I need to create a batch-input for the transaction SM34.
    I have done a recording but there is a screen(dialog structure) that only appeares when I call the transaction without batch-input mode. So, I have done the recording with the option "Not a Batch-input Session". But the recording gives the TCODE "=%_GC 117 22" when I do double-click for displaying the details and when I try to call the transaction (options-nobinpt = 'X') from my report, this TCODE doesn't work.
    Does anybody know if there is another way to display these details, without doing double-click? Or another way to pass this TCODE?
    Thank you very much,
    Maite.

    Hello,
    I've solve my problem on my own.
    I don't need to call the details by a double-click, I can go to Table View --> Other View. The TCODE of this option doesn't give any problem in the Batch-input.
    Maite.

  • Batch input to transaction VG01

    hi abapers
    i want to do a batch input to transaction VG01, the problem is that when i have  more than the rows
    on screen (and this is according to user screen resulotion)  i need  to use page down button how can i avoid this.
    thanks
    Amit

    Hi,
    Check this link..may be it will help u..
    http://www.sapfans.com/sapfans/repos/comelite.htm
    Regards,
    JOy.

  • Problem Recording FMX1 Transaction for Batch Input. Plz Help

    Hi Everyone!!!
    I'm using the Transaction SHDB to create a new recording over the FMX1 Transaction for a Batch Input. The strange thing is that when i'm about to save the recording i get the following error:
    "A runtime error: SAPSQL_ARRAY_INSERT_DUPREC"
    I tried using the transaction FMX1 with the same data(constants), and it works perfectly. And I know it's not a duplicated key or anything, it works fine when i use the transaction.
    This lead me to think that the problem is somewhere when i try to record the transaction.
    Any Ideas of how to fix the problem, or does anyone knows if its a SAP problem that needs some kind of fix.
    Any help would be really aprreciated!
    Thx again.

    Try using recording method and try to post 1 item...U will get the recording. In this recording, the field might be shown up which can be used.

  • No batch input data for screen  occured in Call Transaction method for PA40

    Hi,
    I creatred an interface to update an employee action data ( Change of position )  PA40 by using  Call transaction method.
    while executing the  interface, I got the below error.
    No batch input data for screen MP049100 200 
    this interface updated the first employee from file,  then after it is giving the below error frequently.
    No batch input data for screen MP049100 200
    regards,
    Ashok Reddy Revoori

    The infogroup of action Change Position may be having infotype 0491. The infotypes screen sequence is decided based on employee's country grouping and user group. For the employee where you are receiving error, infotype 0491 screen is appearing for which you do not have BDC data.

  • No batch input data for screen SAPMF02K 0101 for transaction XK02

    Hello Friends,
    I am Trying to change detaisl of Vendor using IDOC for T code XK02, I am getting an error in background
    No batch input data for screen SAPMF02K 0101
    Message no. 00344
    When I execute in foreground it is working fine.
    Diagnosis
    The transaction sent a screen that was not expected in the batch input session and which therefore could not be supplied with data.
    Possible reasons:
    1. The batch input session was created incorrectly. The sequence of screens was recordly incorrectly.
    2. The transaction behaves differently in background processing in a batch work process than when running in dialog (SY-BATCH is queried and changes the screen sequence).
    3. The transaction has undergone user-specific Customizing and therefore certain screens may be skipped or processed differently, according to the current user. If the person who created a batch input session is not the same as the person now processing it, this problem may occur frequently.

    just info: as u seen in the 3rd point, if u r running onlien, its recorded on ur user id, but, where as for back ground, the user lke WF_BATCH.........so, for this user, the settings may b different from a dialog user, in terms of  screen sequence, pop-ups. mandatory fields.
    So, i guess, u r missing to populate a input field, which is mandatory. May be by suing sy-batch IF condition, u hv to change CTU_PARAMS values, like sy-batin = 'X'......actually, these day si dont hv SAP access, so, pls. check some terms in this response.
    thanq

  • Batch Input / Recording for EnjoySAP transaction

    Hi Experts,
    May I know any possibility for us to do recording/batch input processing for EnjoySAP transaction ??
    Nowadays I need to do Recording for ME29N, as ME28 have some problem on release some of the PO document, so may I know any tool that I might can use?
    Thanks
    Cheers,
    Isaac.

    Hi Issac,
    Suggest you to<b> Search in SDN with key - eCATT</b>
    Will get few more useful related Posts.
    Check
    ECATT - Extended Computer Aided testing tool.
    http://help.sap.com/saphelp_47x200/helpdata/en/20/e81c3b84e65e7be10000000a11402f/frameset.htm
    Part I - eCATT An Introduction
    /people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
    Part II - eCATT Scripts Creation - TCD Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    Part III - eCATT Scripts Creation - SAPGUI Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    Part IV - eCATT Chaining, Parameterization, Creation Of Test Data,Test Configuration, System Data /people/sapna.modi/blog/2006/04/18/ecatt-chaining-parameterization-creation-of-test-datatest-configuration-system-data-part-iv
    Part V - eCATT Scripts Management Via Test Workbench
    /people/sapna.modi/blog/2006/04/13/ecatt-scripts-management-via-test-workbench-part-v
    Part VI - eCATT Logs
    /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • Writing a Batch Input or Call Transaction program for transaction code MMAM

    Hi All,
    I'm writing a Batch Input or Call Transaction program for transaction code MMAM (Changing Material Type). The program was able to run but somehow I was not able to capture the log of the output after running MMAM. The log was not part of the SY-MESSAGE so adding in MESSTAB into call transaction doesn't help while BDC session logs shows only the transaction was processed.
    Anyone has encounter such problems before?
    Regards,
    Ramu.

    Hi
    Overview of Batch Input Session
    The first batch input method is to create a batch input session. It is the processing of this batch input session that updates the database, not the execution of the batch input program. i am giving you example for Change Vendor you practice for ur tcode
    For our example, we will use the “Change Vendor” transaction (“FK02”) to add a street address to an already existing vendor.
    Step #1
    Use “System&#61664;Status” menu path to determine online program name (SAPMF02K), screen number (0110)
    Step #2
    Use “F1” key and “Technical Info” pushbutton in each screen field to be filled to determine the field name.
    Step #3
    Determine how to proceed in the transaction
    (save the record by clicking on the ‘Save’ pushbutton or pressing the ‘F11’ key).
    The process flow of CALL TRANSACTION
    A program that uses CALL TRANSACTION USING to process legacy data should execute thefollowing steps:
    Prepare a BDCDATA structure for the transaction that you wish to run.
    Prepare a internal table to store error messages Tab_Mess like structure of BDCMSGCOLL.
    With a CALL TRANSACTION USING statement, call the transaction and prepare the BDCDATA structure. For example:
    CALL TRANSACTION ‘MM01' USING BDCDATA MODE 'A' UPDATE 'S'. MESSAGES INTO TAB_MESS.
    IF SY-SUBRC <> 0.
    <Error_handling>.
    ENDIF.
    Overview of Batch Input Session
    The first batch input method is to create a batch input session. It is the processing of this batch input session that updates the database, not the execution of the batch input program

  • Creation of Batch Input for transaction C201

    Hello,
    Currently I am having a requirement to create a batch input session for tcode C201.
    Following steps we need to perform using batch input session:
    1. Go to tcode C201 and enter material and Plant.
    2. Then click on choose template and give Mater Recipe option.
    3. On next screen enter Recipe Group and Recipe.
    4. After that it will go to Copy Master Recipe screen and then giving status it will open other tabs like Operations, Materials etc.
    Now when I create recording, till step 3 it is continuing correctly. but when press enter after step 3 it goes to Create Mater Recipe instead of Copy..
    I got one SAP note 142022 but dont know how to implement this in my case.
    Can you please help me?
    Thanks and Regards
    Nishad

    As [Note 142022 - Batch input and CATT in recipe|https://service.sap.com/sap/support/notes/142022] explain, you have to add one step in your batch input with BDC_OKCODE "=TOFF" on the first dynpro so C201 will always use old screens which are batch-input compatible. (First check [Note 365051 - OK code TON does not work when creating recipes|https://service.sap.com/sap/support/notes/365051] is implemented on your system)
    SAPLCPDI 4000
                  BDC_CURSOR RC271-PLNNR
                  BDC_OKCODE =TOFF
    Regards,
    Raymond

Maybe you are looking for

  • My mac book randomly shut off

    I bought my mac book pro last december and everything goes well until last Tuesday. My mbp suddenly shut off by itslef when I was playing legaue of legend. This never happened before, and that was my first time. After that, my mbp keep shutting down

  • Trouble Running Built Applications in OS X

    Hello, I am running Labview 8.2 on OS X and I am having trouble with the LabVIEW run-time engine. The application I built runs fine on the machine it was built on, but when I copy the application over to a different computer it does not work. I'm a l

  • Log trapping with daignostic module

    I am using a WebLogic mail session and diagnostic module to trap an occasional error in my server logs and it works great. However, now I have another requirement of trapping an error that is not in one of the WebLogic logs. This is a custom log writ

  • Mac is not finding the camera

    I am getting "No Camera is found." when I connect my iPhone4 to my macbook pro.

  • MX432 is printing skewed to the right & double. I have tried cleaning & aligning to no avail HELP

    I have a pixma 432 that is printing skewed to the left and double. I have tried cleaning the nossels and alighining but it did no good. Any idea what to do nest. I talked to the techs and they sent me a link but it didn't work. Said page would not lo