CV02n - Batch inpu / call transaction

Hi,
I am unable to run t-code CV02n in background for batch input purposes using LSMW.
Can we do a BDC for CV02n and run it backgroung mode? Is it possible .. Since it is a enjoy transaction.
I have also explored a couple of BAPI's, which does not suite my requirement.
It gives me error as follows when I run it using session method:
Control Framework: Fatal error - GUI cannot be reached
Message no. DC 006
Diagnosis
When the Control Framework is started, the system checks whether the installed GUI supports frontend components such as controls. This check failed; the causes may be as follows:
1.) The program is running in the background
2.) A transaction was called using CALL TRANSACTION ... STARTING IN BACKGROUND TASK.
Procedure
Programs that run in the background cannot address controls on the frontend. In this case, the application must either include a fallback that does not depend on the user interface, or the program or transaction must detect for itself that is running in the background and terminate itself.

CV02N use functions unavailable for batch-input. (actual enjoy transaction)
So don't even try to use it. before going through [Note 368680 - Short dump using CV01N, CV02N in background|https://service.sap.com/sap/support/notes/368680].
Did you  look for a BAPI starting with BAPI_DOCUMENT suited to your needs?
Regards

Similar Messages

  • FB05 Batch Input / Call Transaction - Does not select amount for payment

    Hi,
    When I launch the FBWD transaction (returned bills of exchange), the call transaction for G/L account postings is in error. So the FBWD automatically creates a batch input, but when I tried to launch the batch input, it remains unsuccessful.
    So I launched the BI in foreground, I can see that the first steps of the account postings are OK, but the BI stops when assigning the payment amounts : the BI found the different postings to clear, but it waits to enter the payment amount.
    Manually, I just have to click on 'Accept' or enter the payment amount and click on 'Continue'.
    => Is there anything to do so that there is no payment amount to fill? (there should be something because the FBWD is a standard transaction, so it should work!!)
    Can you help me on this?
    Thx

    Hi.
    Yes the issue has been resolved.
    You just have to configure your master record (FS00) by ticking the box 'relevant to cash flow' (XGKON).
    Hope it will help you.
    Bernard.

  • Error in Batch input : Call Transaction

    Hi Gurus,
    I have written a BDC for tcode "S_ALR_87013620" to send the report output to spool.
    When I recrod from menu Report->Print i get the dialog box to to enter the printer name.
    and then i get a popup box saying "Format is X_65_132" then i press Yes button this pop up.
    This popup box is not getting recorded in BDC, when i execute the report it is failinng.
    Call Transaction is returing sy-subrc eq 1001.
    how can i avoid this popup box.

    hi
    in window <background print parameters> press button <properties> and then
    in next window <spool request attributes> select "general attributes->format"
    here press button <settings> and in next window for field <PAART Format> select
    function <Copy settings>
    now, this popup should not appears....
    regards,darek

  • Batch input / call transaction

    hi,
    happy new year to everybody.
    in the table whcih contains errors messages in call transaction (BDCMSGCOLL).  the message, which has MSGTYP = 'S' and MSGNR = '100', is a message of succes or not?.

    I would like to say yes, which many people will. But I ran a call transaction some time ago and had an issue with using the MSGTYP field.
    Use SE91 using the Message ID to get a description of the actual message.

  • Batch-Input/CALL TRANSACTION FB01: Trading Partner cannot be filled in

    Dear experts,
    I have the following problem with performing an FB01 booking on the basis of
    CALL TRANSACTION USING:
    In the customizing of the FI document type you can mark several fields that
    are supposed to appear when you perform an FB01 posting, among them
    the "Trading partner". But this field only seems to show in Non-BTCI-mode.
    There are SAP Notes treating the phenomenon of the additional COBL-data
    screen being always brought up with all available fields in BTCI mode
    (which is fine for me, since I actually want to fill in some fields there, too),
    but this screen does not contain the trading partner and I can't find any hint
    why fields like BSEG-VBUND (trading partner) apparently cannot be reached
    at all in BTCI-Mode.
    Does anybody know this problem, or better yet: have a solution ?
    Thanks in advance
    Andreas

    Hello Akanksha,
    I suppose you're interested in how you make the fields available/visible
    in the posting transactions ?
    BSEG-VBUND/Trading partner for instance belongs to the
    supposed-to-be-available checkbox-selection in customizing of the
    document type you are going to use for your posting.
    The availability of the additional controlling fields (cost center, order no. etc.)
    depends on the cost accounting being active and on the field status group
    that is chosen for your account.
    In the booking/posting transactions you reach the fields with the button
    "further data".
    Best regards
    Andreas

  • Call transaction in abap server proxy

    Hallo
    We have a problem with one of our server proxys.
    Scenario: SAP - backend system
    The functionality implemented is the creation of a service notification
    (IW51). The creation is made using batch input/call transaction and is
    capsuled in an function module. In case of error by creation, the
    message table will be read and a application error will be raise.
    In the implementation of the proxy class the function module will be called
    and the exceptions will be read and put in the response.
    In case of success by the creation of the notification, everything is working ok.
    In case of error in the call transaction, we will receive a "server
    error" in XI, even if the error is catched and treated. In the trace we can see the error message from the call transaction, even if we do not send these messages in our response anymore.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html> <body> <H1> 500 SAP Internal Server Error </H1> <B> Error message: </B> Counter reading smaller than in previous document 10000009340 ( <B> type of termination: </B> ERROR_MESSAGE_STATE ) <BR /> </body> </html></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 500 with the description Internal Server Error XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Ex: if by call transaction we have at the end 2 messages ( first W and second E) , we will see in the tracing in XI the second message ( so the error one ).
    In the backend system (SAP), under sxmb_moni the message in question has the status : "green flag".
    We used the same way of implemenation for all our interfaces. The only difference is that we are now using a batch and not a bapi or SAP function module for objects creation.
    Has someone any idea? . Any suggestion will be really helpful.
    Thanks.
    Anca

    Hi Udo
    My response has the following structure:
    notification nr
    + 3 fields: message type (E,W,I,S,A)
                message nr
                message text
    In case of error I should receive this filled structure and not a internal service error.
    When I am testing the class in SAP is working very good.
    Proxy Class implementation:
    CALL FUNCTION 'Z_B2_CREATENOTIFICATION1'
      EXPORTING
        P_SERNR              = i_sernr
        P_MATNR              = i_matnr
        P_CDGRP              = i_cdgrp
        P_CODE               = i_code
        P_KUNAG              = i_kunag
        P_DATE               = i_data
        P_COUNT              = i_counter
      P_NTYPE              = 'Z7'
      P_VKORG              = '2730'
      P_VTWEG              = '20'
      P_SPART              = '10'
      P_PARVW              = 'AG'
      P_NAME               =
        P_EMAIL              = i_email
    IMPORTING
       E_QMNUM              = e_qmnum
       e_return             = e_error
      TABLES
        T_SPARES             = t_spares
    EXCEPTIONS
       EQUI_NOT_FOUND       = 1
       ERROR_EMAIL          = 2
       MEAS_POINT           = 3
       ERROR_NOTIF          = 4
       OTHERS               = 5
    output-MT_CREATE_NOTIFICATION1RESPON-returncode = sy-subrc.
    case SY-SUBRC.
    when 1.
    output-MT_CREATE_NOTIFICATION1RESPON-rctxt = 'equi'.
    when 2.
    output-MT_CREATE_NOTIFICATION1RESPON-rctxt = 'error email'.
    when 3.
    output-MT_CREATE_NOTIFICATION1RESPON-rctxt = 'meas point'.
    when 4.
    output-MT_CREATE_NOTIFICATION1RESPON-rctxt = 'notification'.
    when 5.
    data mess type ZB2_EXCHANGE_FAULT_DATA22.
          mess-fault_text = 'others'.
          raise exception type ZB2_CX_FM_CREATE_NOTIFICATION1
                 exporting standard = mess.
    endcase.
    output-MT_CREATE_NOTIFICATION1RESPON-qmnum = e_qmnum.
    data out_return type ZB2_DT_RETURN2.
    IF e_error-type is not initial.
    out_return-type = e_error-type.
    out_return-number = e_error-number.
    out_return-message = e_error-message.
    append out_return to output-MT_CREATE_NOTIFICATION1RESPON-DT_RETURNS.
    endif.
    Regards,
    Anca

  • Is it possible to change user in call transaction ??

    Hi experts,
    There is a custom RFC FM wich makes some call transacion (for example to ME21N) and is invoked from .NET. The user logged in that moment is 'USER1' but the client wants user 'USER2' to appear in standard tables (EKKO...) and in ME23N. It's not possible that the client loggs on with USER2 as he needs the password and we don't like to share it whith them.
    I found this:
    l_Fecha = sy-datum - 1.
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          client   = sy-mandt
          group    = 'maria'
          user     = 'USER2'
          keep     = space
          holddate = l_fecha.
    (code for the batch input)
      CALL TRANSACTION 'ME21N' USING i_bdcdata
                               MODE w_mode  UPDATE 'S'
                               MESSAGES INTO i_messtab.
      CALL FUNCTION 'BDC_CLOSE_GROUP'.
      SUBMIT rsbdcsub
      WITH bis = sy-datum
      WITH fehler = space
      WITH logall = space
      WITH mappe = 'maria'
      WITH von = sy-datum
      WITH z_verarb = 'X'
      EXPORTING LIST TO MEMORY
      AND RETURN.
    But when the PO is created, the user is still USER1.
    Is it possible to change the user at any moment ??
    Thanks in advance !!
    Regards,
    Marí

    Hi
    You are using ME21n which is and  ENJOY transaction.
    To update ENJOY Transactions use BAPIs instead of BDC.
    because ENJOY transactions are built on control framework which use ActiveX controls (like Grid).
    These new transactions should make life for the end user a bit easier, since SAP transactions not always accelerate in design, logic, etc. That's why SAP has introduced these new transactions which in the end, will have the same result. In these socalled 'Enjoy' transactions, SAP started using these 'new' enjoy sap controls like ALV grid, text editor, HTML viewer etc.
    For 'updating' Enjoy transaction (BTW: You are NOT updating the transactions, but rather the purchase order or whatever) you will have to use BAPI's (or FM for that matter) in stead of BDC since Enjoy Controls work with a different framework in which you can not call a certain screen and field. Like in an ALV grid, not every field has it's own screen field name. So you cannot use them in BDC.
    Hope this makes any sense for your question. As BDC is not reliable for your tcode.
    Thanks DP

  • Call transaction command

    i made <b> batch input call transaction</b>, after i get to the new dynpro if i dont give data in obligatory field it not giving me option to get out i need to get out with TASK MANAGER.
    and if i made it in standard with out my BI it giving me out
    why????

    Hi,
    You need to pass the obligatory fields in that case ...
    DATA: text       TYPE c LENGTH 10,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   AND RETURN.
    Best regards,
    Prashant

  • Please tell me the cases when I will use Call transaction/ Batch Session.

    Can you please tell me when I will use Call transaction or  Batch Session in the time of uploading data through BDC.
    Regards,
    Subhasish

    Hi subhasish,
    1. One of the main criteria is
    2. If error handling facility is required, then batch session is the best,
      otherwise if we use call transaction, then error handling code,
      has to be written in the program itself.
    3. Batch session provides lot of facilities to the user.
    regards,
    amit m.

  • Call transaction CV02N - Add original

    Hi all,
    I have a call transaction which adds an original (as template) in CV02N to a document.
    We have customized in transaction DC30 that when you have chosen a template then a client program opens the template file (e. g. word)
    Now I want to call the call transaction within a webservice. How can I avoid that word opens the document. I don't want to change the customizing parameters.
    Can I suppress that word doesn't open the file?
    regards

    Hi Wolfgang,
    Try to check what are the parameters used for opening the document in word. You can find that through debug or someway.. Then try to change the parameter value based on any condition and try using call transaction.
    once you are fine then apply the same for web service.
    all the best.

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

  • Why we use more of Batch Input Session instead of Call Transaction?

    Hi,
    Please tell me why we use more of Batch Input Session instead of Call Transaction??
    Gagan

    Hi Gagan,
    See the Topic: Factors in choosing suitable method of bdc
    in ABAP Programming Forum Section.
    Or Follow the link below
    Re: Factors in choosing suitable method of bdc
    Regards,
    Vijay

  • 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

  • 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

  • Call transaction procedure supports Tcode-  BBPMAININT?

    Hi,
    I am trying to use Call Transaction procedure for updating vendor details and also sending email conformation for vendor registration when they select Portal Vendor check box.
    Question is call transaction procedure will support for transaction - BBPMAININT?
    If not any other solution?
    Please let me know if any one knows about this?
    Thanks

    CV02N use functions unavailable for batch-input. (actual enjoy transaction)
    So don't even try to use it. before going through [Note 368680 - Short dump using CV01N, CV02N in background|https://service.sap.com/sap/support/notes/368680].
    Did you  look for a BAPI starting with BAPI_DOCUMENT suited to your needs?
    Regards

Maybe you are looking for

  • Application works in emulator but not on real device

    Hi Everyone, I have been trying to build this application and avail users to download it from a WAP page. Now, initially for testing purpose I managed to transfer it on my mobile device which is a Sony Ericsson Z800 using a data cable. The applicatio

  • 808 camera guide / tips / tricks

    Does anyone know where they is a good internet site explaining exactly how to use the 808's camera and all its features? Its probably me being stupid but i cant seem to get great photos from my 808, infact id say my N8 takes better photos if you have

  • Mass generation of profiles of customize role in sap

    Dear All, I am unable to generate mass profile for customize roles in SUPC.After pressing Generate button its showing "Choose at least One role".

  • Photos can't open library from network share

    Hi all, I have a Mac Mini connected to a promise R4 storage that I use for network sharing. My iPhotos Library was stored on it and I was able to open it from my iMac and my Macbook Pro with iPhoto over the network. I've upgraded my Mac Mini to 10.10

  • I suppose a stupid question

    Hello: I have downloaded DSEE.6.3.1.Solaris-Sparc-full.tar and netbeans-6.1-ml-javaee-solaris-sparc.sh and com-sun-idm-ide_8.1.0.20080630.nbm. I have very very confused. I have installed the DS (directory server) and DE (directory editor). I can acce