Problems executing batch input with call transaction

When I execute BI with Call transaction the fields disabled are enabled and I do not know why. How to resolve it? I do not want them to be enabled

Can you provide us the BI Program name and Transaction Code???
Regards
Eswar

Similar Messages

  • 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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

  • Problem while executing Batch Input session

    HI All,
           I am creating batch input session for transaction FB01.After creating the sesson when I am trying to execute it, its giving me the pop up "Session XYZ is being processed by user" and doesnt allow to excute it.
      Pease suggest me the solution on this.
      I have tried using "COMMIT WORK" , " COMMIT WORK AND WAIT", but it is not working.
    Regards
    Saurabh

    HI Saurabh
      I guess you are trying to process a session which already being processed. You can check the session that are currently in processing state via tab <b>"In Processing".</b> We an process the sessions that are in <b>"New"</b> or <b>"Incorrect"</b> State.
    Kind Regards
    Eswar

  • 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 objects

    Hi,
    Exists a standard class to develop a batch input????
    Any ideas???
    Is it possible to create a batch input with objects??

    Hi there
    Why not
    just define your class in the normal way
    decide what variables you need to pass
    in the methods of your class call the fm modules bdc open, bdc dynpro etc etc.
    Incidently the following include will have a decent amount of code for the BDC bits.
    include bdcrecx1.
    A good way is to start sm35 to record what you are doing on the screen. When you've finished  go to your recording in SM35 and click on CREATE PROGRAM - it will create most of the code for you including the screen fields -- you'll need to edit a bit of course as you don't need everything that will be shown.
    Debugging in the CREATE PROGRAM might show you a decent generic way of generating BDC's which you could easily do via a class.
    Note however using BDC's is the LEAST PREFRERRED WAY of performing work and should only be used as a LAST RESORT if there really is no other way. A lot of new BAPI's and Classes are now available which can do away with the need for BDC's  in most cases.
    job done.
    cheers
    jimbo

  • 2 issues with call transaction to LS24

    Hello All,
    There are 2 issues with call transaction to LS24.
    <b>1) It doesn't take batch value and displays stock for all batches.
    2) When you go back, it doesn't go back to the calling program.</b>
    Any thoughts ?
    <u>Here is my code:</u>
    PARAMETERS: p_lgnum TYPE lgnum,
                p_matnr TYPE matnr,
                p_werks TYPE werks_d,
                p_lgort TYPE lgort_d,
                p_charg TYPE charg_d.
    START-OF-SELECTION.
    END-OF-SELECTION.
      PERFORM display_stock_per_batch.
    *&      Form  DISPLAY_STOCK_PER_BATCH
    FORM display_stock_per_batch .
      SET PARAMETER ID 'LGN' FIELD p_lgnum.
      SET PARAMETER ID 'MAT' FIELD p_matnr.
      SET PARAMETER ID 'WRK' FIELD p_werks.
      SET PARAMETER ID 'LAG' FIELD p_lgort.
      SET PARAMETER ID 'CHA' FIELD p_charg.
      CALL TRANSACTION 'LS24' AND SKIP FIRST SCREEN.
    ENDFORM.                    " DISPLAY_STOCK_PER_BATCH

    hello
    use this code
    perform bdc_dynpro      using 'SAPML01S' '0209'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RL01S-CHARG'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RL01S-LGNUM'
                                  p_lgnum.
    perform bdc_field       using 'RL01S-MATNR'
                                  p_matnr.
    perform bdc_field       using 'RL01S-WERKS'
                                  p_werks.
    perform bdc_field       using 'RL01S-LGORT'
                                  p_lgort.
    perform bdc_field       using 'RL01S-BESTQ'
    perform bdc_field       using 'RL01S-SOBKZ'
    perform bdc_field       using 'RL01S-CHARG'
                                  p_charg.
    perform bdc_dynpro      using 'SAPML01S' '0209'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EBACK'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RL01S-LGNUM'.
    perform bdc_transaction using 'LS24'.
    may be it will help u

  • How to replace 'CALL DIALOG' with 'CALL TRANSACTION'

    IF NOT bkpf-bukrs IS INITIAL.
        CLEAR   buztab.
        REFRESH buztab.
        buztab-zeile = bseg-buzei.
        buztab-bukrs = bkpf-bukrs.
        buztab-belnr = bkpf-belnr.
        buztab-gjahr = bkpf-gjahr.
        buztab-buzei = bseg-buzei.
        APPEND buztab.
        buztab-zeile = bseg-buzei.
        x_nochange = 'X'.
        CALL DIALOG 'RF_ZEILEN_ANZEIGE'
             EXPORTING
                  buztab
                  buztab-zeile
                  tcode        FROM 'FB03'
                  x_nochange
             IMPORTING
                  buztab
                  x_commit.
      ENDIF.
      CLEAR bkpf.
      CLEAR bseg.
    The above given is the part of a code. I need to replace the CALL DIALOG part with CALL TRANSACTION. Can any one plz suggest me how to go ahead with it?

    Javascript. window.open();

  • No locks realease with CALL TRANSACTION

    Hi all,
    I have a problem. I have a call transaction statement inside of a Loop. The problem is that it brings in the messtab a message that says that the product that I'm trying to modify is locked after each loop pass. I've tried to correc it using COMMIT WORK AND WAIT, WAIT UP TO 5 seconds, DEQUEUE ALL and modifying the update technique of the call transaction to S and L....but nothing helps.
    In addition, I have the same problem but instead of using a call transaction statement I used a BAPI ( BAPI_PRDSRVAPS_SAVEMULTI2)
    I use the BAPI in this way.
    CALL FUNCTION 'BAPI_PRDSRVAPS_SAVEMULTI2'
      EXPORTING
        logical_system                    = wl_logsis
      SAVE_OPTIONS                      =
       COMMIT_CONTROL                     =  ''
      BUSINESS_SYSTEM_GROUP             =
    TABLES
       PRODUCT_LOCATION_VERSION          = t_location_ver
       PRODUCT_LOCATION_VERSION_X        = t_location_verx
       RETURN                            = t_return1.
    Please some ideas...
    Thanks.

    Hi guys,
    I've been trying in the way you said but I've not be able to solve the problem. This is part of the code I wrote before calling BAPI in order to get success.
    wl_tabix = 1.
      WHILE wl_tabix ne 1.
        CALL FUNCTION 'ENQUEUE_/SAPAPO/E_MATKEY'
          EXPORTING
            MODE_/SAPAPO/MATKEY_LOCK       = 'E'
            MANDT                          = SY-MANDT
            MATNR                          = gt_outtab-matnr
         EXCEPTIONS
           FOREIGN_LOCK                   = 1
           SYSTEM_FAILURE                 = 2
           OTHERS                         = 3.
         MOVE sy-subrc TO wl_tabix.
         IF wl_tabix ne 1.
           CALL FUNCTION 'DEQUEUE_/SAPAPO/E_MATKEY'
            EXPORTING
               MODE_/SAPAPO/MATKEY_LOCK       = 'E'
               MANDT                          = SY-MANDT
               MATNR                          = gt_outtab-matnr.
         ENDIF.
      ENDWHILE.
    Please, some ideas for this because I'm still stuck on it.
    Thanks.

  • Problem with Call Transaction opt-RACOMMIT = 'X'.

    Hello Experts
    I am having a problem with call transction. I am calling a Z transaction in function module. Within the Z transaction I am furhter calling some function modules and doing commit work and then some more processing  after the comit work inside  So to make sure the code after comit work is fired I am using opt-RACOMMIT = 'X' in call transaction. Whenever I set this parameter opt-RACOMMIT = 'X' call transaction fails and gives error saying No batch Input data for screen XXXX. However the Z tcode processed succesfully.
    By changing the Mode to E i found that it remians at the last screen of call transction after executing the Z transaction and never comes back 
    But if I donot use RACOMMIT = 'X'  everything is fine. Please let me know if anyone came across such problem. Any help will be apreciated.
    Thanks,
    kamal

    Hello,
    as you said, if there is more than commit statement in your ztransaction, then you should put RACOMMIT to 'X'.
    I think the problem is in your bdcdata: change it to be sure to get back to the 1st screen of your ztransaction. Then, at this point (1st screen) hit "back" button.
    Cordialement,
    Chaouki

  • 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

  • Problem with call transaction and a query

    Hi,
    Whe have a query that has its own Z tcode, we are working with this "EXIT_SAPLCORF_103"  within the tcode CO11N. Inside the include "ZXCOFU13" we call the query Tcode and it is displayed on screen but with no data.
    The table "itbdcdata" record well the data of the inputs in the query recording so you can see with the WERKS and the number of reserve (3994) in the recording.
    Why the call transaction display the query screen with no data...? and how can i pass the inputs to the query screen so it be executed.
    Thanks on advance.
    David Fúnez
    Tegucigalpa, Honduras.
    This is the recording:
    AQZZZ_USER_GRMA=Z_QUERY_PP_003     1000X                                                                                BDC_CURSOR     SP$00002-LOW
                                                                BDC_OKCODE     =CRET
                                                                S_WERKS-LOW     1202
                                                                SP$00002-LOW           3994
                                                                %ALV     X
    this is the code in the INCLUDE
    *&  Include           ZXCOFU13
    DATA: itbdcdata TYPE bdcdata    OCCURS 0 WITH HEADER LINE,
          optoption TYPE ctu_params.
    REFRESH itbdcdata.
    CLEAR   itbdcdata.
    itbdcdata-program  = 'AQZZZ_USER_GRMA=Z_QUERY_PP_003'.
    itbdcdata-dynpro   = '1000'.
    itbdcdata-dynbegin = 'X'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_CURSOR'.
    itbdcdata-fval = 'SP$00002-LOW'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'BDC_OKCODE'.
    itbdcdata-fval = '=CRET'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'S_WERKS-LOW'.
    itbdcdata-fval = '1202'.
    APPEND itbdcdata.
    itbdcdata-fnam = 'SP$00002-LOW'.
    itbdcdata-fval = caufvd_imp-rsnum.
    APPEND itbdcdata.
    itbdcdata-fnam = '%ALV'.
    itbdcdata-fval = 'X'.
    APPEND itbdcdata.
    CLEAR optoption.
    optoption-dismode = 'A'. "A is visible
    optoption-updmode = 'S'.
    CALL TRANSACTION 'ZRESV' USING itbdcdata OPTIONS FROM optoption.

    problem solved.

  • Problem with CALL Transaction syntax

    Hi All,
    I have created  a report in which Im displaying Sales order, planned order n production order details.
    In the output if the user double clicks, anyone of the sales order/planned order/production order no, it has to take to concern transaction.
    Sales order and planned order are perfectly working.
    problem is with production order, it is not displaying, the exact order no.
    my code:
    WHEN '&IC1'.
          IF rs_selfield-fieldname = 'VBELN'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex
            SET PARAMETER ID 'AUN' FIELD wa_final_so-vbeln.
            CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
          ELSEIF rs_selfield-fieldname = 'PLNUM'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'PAF' FIELD wa_final_so-plnum.
            CALL TRANSACTION 'MD13' AND SKIP FIRST SCREEN.
          ELSEIF rs_selfield-fieldname = 'AUFNR'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'ANR' FIELD wa_final_so-aufnr.
            CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
    In debugging I checked, after call transaction, the system executing the following code, here CAUFVD-AUFNR is initial.
    So, it has been picking some different no.
          Starten Batchrezept über Einsatzplanung - DO-THANH
      MODULE GET_PARAMETER OUTPUT.
        IF CAUFVD-AUFNR IS INITIAL.
          GET PARAMETER ID 'BR1' FIELD *CAUFVD-AUFNR.
          IF NOT *CAUFVD-AUFNR IS INITIAL.
            CAUFVD-AUFNR = *CAUFVD-AUFNR.
          ENDIF.
        ENDIF.
      ENDMODULE.                             " GET_PARAMETER  OUTPUT
    Pls help me how to resolve the above problem.
    Valuable suggesstion will be highly appreciated.
    regards,
    Priya

    Hi,
    Note that the code as different Parameter id
    you are setting the parameter 'ANR'
    SET PARAMETER ID 'ANR' FIELD wa_final_so-aufnr.
    Where as in that method it is reading the parameter id 'BR1'
    GET PARAMETER ID 'BR1' FIELD *CAUFVD-AUFNR.
    so try by setting  the 'BR1' in set parameter.
      ELSEIF rs_selfield-fieldname = 'AUFNR'.
         READ TABLE gt_final_so INTO wa_final_so INDEX rs_selfield-tabindex.
            SET PARAMETER ID 'BR1' FIELD wa_final_so-aufnr.
            CALL TRANSACTION 'COR3' AND SKIP FIRST SCREEN.
    Regards,
    Kiruba.

  • LT04 problems with call transaction

    Hello,
    I am using RF and creating screens for users to putaway material  in a raw material warehouse based on a material document number from the GRN which is linked to a TR (transfer requirement).  I am, however, having problems with the TO creation where the material is QM relevant.
    I have used function module L_TO_CREATE_TR which works for non-QM relevant items but most of our items are QM relevant.  I am trying to process these by creating a TO using LT04 as a call transaction.
    However, before I can put in a bin , the screen that appears in order to enter the bin  has an error message before anything has been input -  'No destination storage bin to be found in storage type 001 "(L3 009).
    Anyone have any suggestions how I can get around this as I cannot create the TO in the background using LT04 because of this error.
    Regards
    Larissa Maryniuk

    As mentioned in my original question, I cannot use the LTOCREATE_FROM_TR FM for items set  with stock category Q as these are QM relevant.  If you try and create a TO from a TR using L_TO_CREATE_TR you get an error of 2 which is item is QM relevant.  I cannot see how I can use  WS_LM_TRANSFER_ORDER_CREATE as you cannot put in the TR number anywhere. Other than these 2 cannot see how I can create a TO from a TR without using LT04. 
    If I use LT04 and set as backrground I get the message specified. The way to get around the error using LT04 is only available if T04 is set as Foreground on the front screen instead of background.
    Anyone have any suggestions?
    Edited by: Larissa Maryniuk on Jan 25, 2010 11:41 AM

  • Problem with "Call Transaction" which calls a view cluster

    Hi Colleagues ,
    I have a rare issue with the call transaction , here is the use case for it :
    1> I call a transaction(calls a screen X) in a report ,
    2> I have a button in the screen , which calls another transaction(calls a screen X2) .
    3> On the screen X2 i have another button which calls transaction (calls the view cluster ).
    problem :
    i'm not able to see the navigation pane in the view cluster on the left. its missing .
    but when the view cluster is called direclty , i'm able to see the navigation pane in the view cluster ..
    My initial doubt was , is this the problem with nesting of 'Call Transaction' calls ????
    please answer the thread , i have to fix this ASAP.
    regards,
    Dilip

    problem solved.

  • Problem with CALL TRANSACTION 'VA33' with PARAMETER ID 'AUN'

    I started to post this as a problem, but stumbled into the solution while testing further.  Since I didn't find a solution in the SDN.SAP Forums I'm entering this to help others who may have the same problem.
    This code would not work:
          SET PARAMETER ID 'AUN' FIELD sy-lisel(10).   "sy-lisel(10) contains the Scheduling Agreement on the selected line of the report.
          CALL TRANSACTION 'VA33' AND SKIP FIRST SCREEN.
    It would go to Transaction VA33 but would always default to the last Scheduling Agreement accessed manually instead of the one I needed to see via this call.
    When I change the transaction to VA03 it works:
          SET PARAMETER ID 'AUN' FIELD sy-lisel(10).
          CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
    We can not access a Scheduling Agreement from VA03 on-line, but for some reason this call displays the correct S/A, and System Status says it is running transactin VA03. 
    Perhaps it is because we are using a custome Order Type for Scheduling Agreements (YALZ)?
    Best wishes to our SAP friends.

    Hi,
    VA33 is for schedulinng Agreement so use..
    SET PARAMETER ID 'LPN' FIELD sy-lisel(10).
    AUN - Order number
    LPN - Scheduling agreement number
    now it works..
    Regards,
    Sathish Reddy.

Maybe you are looking for

  • How can I set up an SMS group so that all group members can dial a group number and have a text sent out to all members of the group

    How can I set up an SMS group so that all group members can dial a group number and have a text sent out to all members of the group This would be an SMS group similar to an email listserv but running on the SMS network I have seen private individual

  • Ipod Locked, Resoring doesn't help

    My Ipod is locked. Restoring the IPOD did not help and neither did hooking it up to the host computer. I can see the lock in the top left corner of the screen on the ipod itself, but when I detatch it from the computer it goes blank.Furthermore, I ca

  • Export From Multitrack Mode

    With not being able to create CD's from Audition, it would be nice to be able to export audio within ranges directly from the Multitrack Mode. There is a work around in that you can mixdown to a single file, then export. But it would be a few less cl

  • Excel input

    Hi, I am writing in reference to Tim Dexter's articles regarding using Excel as a datasource (here: http://blogs.oracle.com/xmlpublisher/2007/03/14 and here: http://blogs.oracle.com/xmlpublisher/2007/03/13). Is there any recommention you could make a

  • SYSFAIL QUEUE

    Probable cause of having a SYSFAIL queue with the info 'screen output without connection to user'