No batch input data for screen SAPMSSY0 0120

HI All,
I am trying to process an Inbound IDOC via IDOC_INPUT_ORDERS. But when I do this I am getting the following message:
No batch input data for screen SAPMSSY0 0120
And the IDOC goes into error.
When processing the IDOC again via WE19 in foreground, I see a screen which pops up where it states:
<matnr> has Phase out Status, valid from 01.01.2011
the only way to get this screen out of the way is to cancell. But this is not working when I do WE19 in background. Does anybody have an answer on this one?
Best regards,
Guido Koopmann

Hi Raymond,
I checked out your note and see that it's valid for release: SAP_APPL 470 and my version for SAP_APPL is 500 level 19.
The SAP_BASIS version in 640 level 21.
So would be meanig that this note is not valid for me right?
Best regards,
Guido Koopmann

Similar Messages

  • No batch input data for screen SAPMSSY0 0120 when running BDC in background

    Hi Experts,
    I am facing an  issue "No batch input data for screen SAPMSSY0 0120" when running a BDC for VA01 in background.
    The scenario is like we have EDI orders coming into SAP in the form Idocs. These EDI orders are processed by Function module
    IDOC_INPUT_ORDERS. This FM module internally calls VA01 (Call Transaction) to create Sales Orders in SAP.
    Now we have a scenario in which we want a popup screen to come up  & ask for selection of record from list of records displayed on popup screen. In background since we can not show up a screen, we are programatically selecting the record we want & going ahead.
    Now what is happening is during foerground the functionality is working abosultely fine, that is incoming idoc is getting posted successfully in SAP with status of 53. Incase of back ground processing of the same we are getting an error
    No batch input data for screen SAPMSSY0 0120
    I have checked this screen through screen painer(SE51) & i did not find any element on this screen but Element list
    shows one field Syst-Xcode.
    Kindly guide me how to fix the issue so that the same can work as expected in background.
    Regards,
    Chetan.

    Hi Chetan,
    List screens utilize SAPMSSY0/0120. Please check within your ABAP coding if you have any customer exit that tries to issue WRITE statements. If so, either remove them or add logic to not issue them in background (e.g. SY-BATCH = 'X'). Another culprit might be a SUBMIT statement in a user exit, which triggers a report with list output. I'm not completely sure, but I think the screen is also used for some value helps (do you have any coding forcing a value help popup?).
    Hope this helps, harald

  • No batch input data for screen SAPMSSY0 0120 in LB13

    Hi,
    I am trying to post TO in background using transaction LB13.
    I am getting error 'No batch input data for screen SAPMSSY0 0120' when I execute the transaction.
    I found out that this is the problem arising due to not passing data to one of the screen not passed to BDC.
    How should I solve this error?
    Thanks/Regards,
    Abhijit Anandgaonkar.

    Hi
    You pl.run BDC in fore ground, identify the data which is not passing & analyse this with programmer & correct the same.
    REgards
    YMREDDY

  • No batch input data for screen SAPMSSY0 0120 error while running LSMW

    I created Batch Input Recording for custom check register screen. I completed all the necessary steps but when I process the batch input session, my upload fails and gives me the following error:
    No batch input data for screen SAPMSSY0 0120
    I ran the Batch input in foreground to see what data am I missing and found out that one of the screen required a "DOUBLE CLICK" as user input and seems that LSMW is not able to process the "DOUBLE CLICK" (even though Batch Input recording captured the "DOUBLE CLICK") to move forward with the transaction.
    Does anyone one know How can I overcome this issue or any other workaround.
    Thanks Nirankar

    Hi Chetan,
    List screens utilize SAPMSSY0/0120. Please check within your ABAP coding if you have any customer exit that tries to issue WRITE statements. If so, either remove them or add logic to not issue them in background (e.g. SY-BATCH = 'X'). Another culprit might be a SUBMIT statement in a user exit, which triggers a report with list output. I'm not completely sure, but I think the screen is also used for some value helps (do you have any coding forcing a value help popup?).
    Hope this helps, harald

  • COGI Fail in b.ground with msg "No batch input data for screen SAPMSSY0120"

    Hi Experts,
    I have recorded the COGI transaction using SHDB and used in my program.  I have scheduled the program in background and this is always failing with the following error "No batch input data for screen SAPMSSY0 0120".  Please help me in this regard.
    Thanks,
    srinivas.

    Hi Ramya,
    This screen doesn't contain any field.  Also this screen shouldn't come in between of my transaction.  But my program is working fine if I execute online.
    Also I don't know where I need to call that screen. 
    Thanks,
    srinivas.

  • NO BATCH INPUT DATA FOR SCREEN SAPMV50A ERROR FROM BDC

    HI
    I get the following error when my program runs inforeground, using a BDC(VL02N)- 'NO BATCH INPUT DATA FOR SCREEN SAPMV50A SCREEN 1000.'
    i am trying to attach a serial number to the sales order and it seems that the warning message is causing the error. i have recorderd the transaction to death, and as mentioned, when i run in debug mode, it works fine.
    Can anyone tell me how i can overcome\suppress the warning message? i have inserted 2 okcodes before the warning is Issued and that did not help Please see below for an excerpt of the coding:.
      PERFORM bdc_dynpro USING 'SAPLIPW1'      '0200'.
      PERFORM bdc_field  USING 'BDC_CURSOR'    'RIPW0-SERNR(01)'.
      PERFORM bdc_field  USING 'BDC_OKCODE'    '/00'.
      PERFORM bdc_field  USING 'BDC_OKCODE'    '/00'.
      PERFORM bdc_field  USING 'BDC_OKCODE'    '=RWS'.
      PERFORM bdc_field  USING 'RIPW0-SERNR(01)'  itab_chas_data-chas_no     .
    PERFORM bdc_dynpro USING 'SAPMSSY0'      '0120'.
    PERFORM bdc_field  USING 'BDC_OKCODE'    '/00'.
    PERFORM bdc_field  USING 'BDC_OKCODE'    '=ENTE'.
      PERFORM bdc_dynpro USING 'SAPLIPW1'      '0200'.
      PERFORM bdc_field  USING 'BDC_CURSOR'    'RIPW0-SERNR(01)'.
      PERFORM bdc_field  USING 'BDC_OKCODE'    '=RWS'.
    Thanks a Million..

    Hi,
    Try this link.
    No batch input data for screen SAPMP50A 1000
    Thank you,

  • Error Message "No batch input data for screen SAPMF05A 0700" for FV60&FB60

    Dear All,
      I doing a BDC Upload program for Create Vendor Invoice and Park using FV60 ,But i can't upload successfully by Batch Input method and i am gettin the Error Message "No batch input data for screen SAPMF05A 0700'.I tried using FB60 and got the same error message. When i do in the direct method i can able to do it ,But can't park the document successfully and can do it untill sumilate only.
    How to overcome this issue and if you already encounter this kind of problem please advice me.
    Thanks in Advance.
    Deesanth

    Hi,
      Below is my recording.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'INVFO-ACCNT'  gwa_inv_up-lifnr.
        perform bdc_field       using 'INVFO-BLDAT'  gwa_inv_up-bldat.
        perform bdc_field       using 'INVFO-XBLNR'  gwa_inv_up-xblnr.
        perform bdc_field       using 'INVFO-BUDAT'  gwa_inv_up-budat.
        perform bdc_field       using 'INVFO-MONAT'  '9'.
        perform bdc_field       using 'INVFO-BLART'  gwa_inv_up-blart.
        perform bdc_field       using 'INVFO-WRBTR'  gwa_inv_up-dmbtr.
        perform bdc_field       using 'INVFO-WAERS'  gwa_inv_up-waers.
        perform bdc_field       using 'INVFO-XMWST'  gwa_inv_up-xmwst.
        perform bdc_field       using 'INVFO-MWSKZ'  'P0'.
        perform bdc_field       using 'INVFO-SGTXT'  gwa_inv_up-sgtxt.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'BDC_OKCODE'   '=PAYM'.
        perform bdc_field       using 'INVFO-GSBER'  gwa_inv_up-gsber.
        perform bdc_dynpro      using 'SAPMF05A'     '1100'.
        perform bdc_field       using 'BDC_OKCODE'   '=BS'.
        perform bdc_field       using 'INVFO-ZLSCH'  gwa_inv_up-zlsch.
        cnt = 1.
        cnt1 = 1.
        clear gwa_inv_line.
        loop at gt_inv_up  into gwa_inv_line  where indic = 'D'
                                       and count = gwa_inv_up-count.
          if cnt1 gt 1.
            concatenate 'ACGL_ITEM-MARKSP(' cnt ')' into fld.
            perform bdc_field using fld 'X'.
            perform bdc_dynpro using 'SAPMF05A' '1100'.
            perform bdc_field using 'BDC_OKCODE' '=0005'.
          endif.
          concatenate 'ACGL_ITEM-HKONT(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-lifnr.
          concatenate 'ACGL_ITEM-SHKZG(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-shkzg.
          concatenate 'ACGL_ITEM-WRBTR(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-dmbtr.
          concatenate 'ACGL_ITEM-MWSKZ(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-mwskz.
          concatenate 'ACGL_ITEM-SGTXT(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-sgtxt.
          concatenate 'ACGL_ITEM-GSBER(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-gsber.
          concatenate 'ACGL_ITEM-KOSTL(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-kostl.
          concatenate 'ACGL_ITEM-PROJK(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-posid.
          concatenate 'ACGL_ITEM-FISTL(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-fistl.
          concatenate 'ACGL_ITEM-FIPOS(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-fipos.
          concatenate 'ACGL_ITEM-GEBER(' cnt ')' into fld.
          perform bdc_field       using fld gwa_inv_line-geber.
          perform bdc_field       using 'BDC_CURSOR' fld.
          cnt1 = cnt1 + 1.
        endloop.
        perform bdc_dynpro using 'SAPMF05A' '1100'.
        perform bdc_field  using 'BDC_OKCODE' '=BS'.
        perform bdc_dynpro      using 'SAPMSSY0' '0120'.
        perform bdc_field       using 'BDC_OKCODE' '=BP'.
        call transaction 'FB60' using gt_bdcdata mode 'N' pdate 'S'
                                        messages into gt_bdc_messages.
    Thanks,
    Deesanth

  • No batch input data for screen  for VF01

    Hi All,
    Iam trying to to create billing document using  BDC for VF01 with  sales order. For single line item it is working fine and that to in Mode 'A'. But while  creating invoices using multiple sales orders  , Iam getting the following error.
    No batch input data for screen 'SAPMV60A' '0102' . Error  - 0344. 
    Kindly help me as I was strucked here.
    My code .
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0102'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'KOMFK-VBELN(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'KOMFK-VBELN(01)'
                                      gwa_bdc-vbeln.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SICH'.
        REFRESH messtab[].
        CALL TRANSACTION 'VF01' USING bdcdata
                         OPTIONS FROM wa_options
                         MESSAGES INTO messtab.
    Please <removed by moderator> help.
    Thanks ,
    Srikanth.A
    Edited by: Thomas Zloch on Sep 15, 2011 1:47 PM

    Hi Jurgen
      LOOP AT git_bdc INTO gwa_bdc.
       refresh messtab[].
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0102'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'KOMFK-VBELN(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'KOMFK-VBELN(01)'
                                      gwa_bdc-vbeln.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPMV60A' '0104'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'VBRK-FKART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SICH'.
        REFRESH messtab[].
        CALL TRANSACTION 'VF01' USING bdcdata
                         OPTIONS FROM wa_options
                         MESSAGES INTO messtab.
    Error message population....
    REFRESH bdcdata[].
    ENDLOOP.
    Thanks,
    Srikanth.A

  • No batch input data for screen SAPMSSY3 0131 in Sales order IDOC

    I am processing Sales order IDOCS in status 64 using RBDAPP01 .Some of them error out to status 51 with the message -
    No batch input data for screen SAPMSSY3 0131 .
    I know the standard IDOC inbound process tries to simulate the posting in a BDC like process.
    Now, I went to we19 and the screen hangs up in a pop up in the partners tab with partner type 'WE' and my shipto (which is actually filled in the IDOC), missing..upon repeatedly hitting enter, it goes thru and an idoc is posted in status 53. But still unable to get through the root of this issue.
    Any, insight will help.

    Hi,
    I think the pop-up is generated through and user-exit for which recording is missing. This is why your idoc stays in status 64...
    Handle the screen recording in the user exit IDOC_INPUT_ORDERS
    user exit routine
    PERFORM customer_function_dynpro.
    FORM CUSTOMER_FUNCTION_DYNPRO.
      CALL CUSTOMER-FUNCTION '002'
        EXPORTING DXVBAK   = XVBAK
                  DVTCOMAG = VTCOMAG
                  DLAST_DYNPRO = LAST_DYNPRO
                  DXMESCOD = IDOC_CONTRL-MESCOD
        TABLES    DXBDCDATA = BDCDATA
                  DXVBAP    = XVBAP
                  DXVBEP    = XVBEP
                  DYVBEP    = YVBEP
                  DXVBADR   = XVBADR
                  DYVBADR   = YVBADR
                  DXVBPA    = XVBPA
                  DXVBUV    = XVBUV
                  DIDOC_DATA = IDOC_DATA
                  DXKOMV    = XKOMV
                  DXVEKP    = XVEKP
                  DYVEKP    = YVEKP
        EXCEPTIONS
                  USER_ERROR = 01.
    Regards,
    Krishnakumar

  • 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

  • "no batch input data for screen SAPLMR!M 6220  in BDC while holding Invoice

    Hi
         I am facing a problem while uploading Invoice data and to hold the data in miro transaction I am getting the error
         "no batch input data for  screen SAPLMR!M  6220 " . It is for non PO data only I am facing this problem using BDC.
         But for  Po based Invoice  I am getting Invoice number while holding the Invoice. I am  Using SHBDB to record the    
          transaction   details
        Please give me some solution regrading this.
    Samir

    Krish ,
                I am doing it in same transaction MIRO  for both  PO and NON-PO. I am able to generate an Invoice number while holding   the Invoice  For NON-PO taking vendor as invoice Party .While I am recording it in SHDB and trying to use the
    same in my BDC Programe it is throughing this error and also by testing the program which has been generated by the 
    SHDB trnasaction i am getting the same Error . Is there any diferrent trnasaction that is used to hold NON_PO invoice ?
    Where Invoice number will be generated automatically ?

  • No batch input data for screen SAPMSSY3 0131

    Dear All,
    I have developed a report where i need to upload (old and new)incoterms,payment terms,document type  and update in the table ekko with my new values (incoterms,payment terms and document type).
    Problem :For this report i have uploaded the excel sheet and values are getting uploaded into my internal table.but when using bapi_agreement_maintain to update the ekko table ,in return table its showing No batch input data for screen SAPMSSY3 0131.
    Anyone please give the reason/solution to solve the problem.
    Regards,
    Bhavani.

    Hi,
    screen SAPMSSY3 0131 is the debugging screen so if you have any break-points in any of the transactions remove the breakpoint and check.
    Basically this BAPI is calling a transaction to execute a transaction in no dialog mode so if you have break-points in any of those program you will face this issue.
    Regards,
    Himanshu

  • Error: No batch input data for screen SAPMZVKDIALOGDEMO 1000 Help Needed

    Hi Experts!
    I wrote a program for BDC. I am attaching the code herewith. When i am trying to process the session in SM35, i was getting the error: No batch input data for screen SAPMZVKDIALOGDEMO 1000. Can anyone please tell me, what am i doing wrong.
    Thanks.
    REPORT  zvkbdcdemo01.
    DATA: bdc_tab LIKE bdcdata OCCURS 6 WITH HEADER LINE.
    DATA: session LIKE apqi-groupid VALUE 'Session #1'.
    CALL FUNCTION 'BDC_OPEN_GROUP'
      EXPORTING
        client                    = sy-mandt
    *   DEST                      = FILLER8
        group                     = session
    *   HOLDDATE                  = FILLER8
    *   KEEP                      = FILLER1
        user                      = sy-uname
    *   RECORD                    = FILLER1
    *   PROG                      = SY-CPROG
    * IMPORTING
    *   QID                       =
    * EXCEPTIONS
    *   CLIENT_INVALID            = 1
    *   DESTINATION_INVALID       = 2
    *   GROUP_INVALID             = 3
    *   GROUP_IS_LOCKED           = 4
    *   HOLDDATE_INVALID          = 5
    *   INTERNAL_ERROR            = 6
    *   QUEUE_ERROR               = 7
    *   RUNNING                   = 8
    *   SYSTEM_LOCK_ERROR         = 9
    *   USER_INVALID              = 10
    *   OTHERS                    = 11
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    PERFORM fill_bdc_tab.
    CALL FUNCTION 'BDC_INSERT'
      EXPORTING
        tcode                  = 'ZVKTR001'
    *   POST_LOCAL             = NOVBLOCAL
    *   PRINTING               = NOPRINT
    *   SIMUBATCH              = ' '
    *   CTUPARAMS              = ' '
      TABLES
        dynprotab              = bdc_tab
    * EXCEPTIONS
    *   INTERNAL_ERROR         = 1
    *   NOT_OPEN               = 2
    *   QUEUE_ERROR            = 3
    *   TCODE_INVALID          = 4
    *   PRINTING_INVALID       = 5
    *   POSTING_INVALID        = 6
    *   OTHERS                 = 7
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'BDC_CLOSE_GROUP'
    * EXCEPTIONS
    *   NOT_OPEN          = 1
    *   QUEUE_ERROR       = 2
    *   OTHERS            = 3
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    *&      Form  fill_bdc_tab
    *       text
    FORM fill_bdc_tab.
      REFRESH bdc_tab.
      PERFORM populate_bdc_tab USING:
      '1' 'SAPMZVKDIALOGDEMO' '1000',
      ' ' 'SFLIGHT-CARRID' 'LH',
      ' ' 'SFLIGHT-CONNID' '0400',
      ' ' 'SFLIGHT-FLDATE' '07/07/2007',
      ' ' 'SFLIGHT-PRICE' '1982',
      ' ' 'SFLIGHT-CURRENCY' 'EUR',
      ' ' 'SFLIGHT-PLANETYPE' 'A310-300',
      ' ' 'BDC_OKCODE' 'CREA'.
    ENDFORM.                    "fill_bdc_tab
    *&      Form  POPULATE_BDC_TAB
    *       text
    *      -->FLAG       text
    *      -->VAR1       text
    *      -->VAR2       text
    FORM populate_bdc_tab USING flag var1 var2.
      CLEAR bdc_tab.
      IF flag = '1'.
        bdc_tab-program = var1.
        bdc_tab-dynpro = var2.
        bdc_tab-dynbegin = 'X'.
      ELSE.
        bdc_tab-fnam = var1.
        bdc_tab-fval = var2.
      ENDIF.
      APPEND bdc_tab.
    ENDFORM.                    "POPULATE_BDC_TAB

    This normally means that you are trying to insert data on a screen for which a particular field is not available.
    So check screen number, screen fields and report name. In case of screen fields, use F1, F9 (technical information), and check the name of the screen field for batch processing (all the way at th bottom of the pop-up). This can differ from actual name of the screen field.
    If all this is ok, try to create a recording of the transaction with SM37.

  • FBRA: No batch input data for screen SAPMF05A 0700

    Hi Gurus,
    I am processing transaction code FBRA on foreground. The document that i am trying to reset involves a foreign currency transations which revaluated periodically.
    When I try to reset the document it gives me noteice that "exchange rate differences were posted, clearing document will be reversed. do you want to continue?"
    When I press OK, it ask me to enter ther reversal reason "02". Then it gives me an error that "no batch input data for screen SPAMF05A 0700"
    Please help me to solve this.
    Many thanks!
    -JUN-

    Dear JUN,
    All this is telling you is that there is some piece of information that you are not supplying the batch input session. You can analyse the session in SM35 to see what's missing.
    Reward points if it is helpful.
    Thanks and Regards,
    Naveen.

  • BDC - Session Method - No batch input data for screen  SAPMZ_TPSCREEN02 100

    Hi ABAP Experts,
    I have written a Dialog Program For a Screen Which contains 5 fields namely,
    carrid,
    connid,
    fldate,
    price,
    planetype.
    I have written the PAI logic to insert whatever entries entered in the fields, into Database Table SFLIGHT.
    I created a Transaction and Tested whether the entries are succesfully entetered into the Database Table and it works just fine.
    Now i planned to write a BDC program for the above Transaction so that i can upload data to the Database table from a flat file.
    I went to SHDB transaction and created a new recording and transferred the program to generate a source code.
    include bdcrecx1.
    start-of-selection.
    loop at itab.
    perform open_group.
    perform bdc_dynpro      using 'SAPMZ_TPSCREEN02' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CREA'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'SFLIGHT-PLANETYPE'.
    perform bdc_field       using 'SFLIGHT-CARRID'
                                  'AA'.
    perform bdc_field       using 'SFLIGHT-CONNID'
                                  '0017'.
    perform bdc_field       using 'SFLIGHT-FLDATE'
                                  '11/01/2007'.
    perform bdc_field       using 'SFLIGHT-PRICE'
                                  '767'.
    perform bdc_field       using 'SFLIGHT-PLANETYPE'
                                  'A310-200F'.
    perform bdc_transaction using 'Z_TPSCREEN02'.
    perform close_group.
    Then i defined an internal table which contains the same fields as those in my Screen and Transaction.
    I populated the internal table from a flat file using GUI_UPLOAD function module.
    I want to clarify - I got this flat file by using the GUI_DOWNLOAD module and later i uploaded the same file using GUI_UPLOAD.
    I tested whether the internal table is populated or not using LOOP  AT ITAB. WRITE Statements.
    Its working just fine.
    Finally my code look like this.
    report ZVMREC
           no standard page heading line-size 255.
    TABLES: sflight.
    DATA: BEGIN OF itab OCCURS 0,
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    price TYPE sflight-price,
    planetype TYPE sflight-planetype,
          END OF itab.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = 'C:\users\vamc\documents\flightinfo.txt'
        FILETYPE                      = 'ASC'
        HAS_FIELD_SEPARATOR           = 'X'
      tables
        data_tab                      = itab.
    include bdcrecx1.
    start-of-selection.
    loop at itab.
    perform open_group.
    perform bdc_dynpro      using 'SAPMZ_TPSCREEN02' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CREA'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'SFLIGHT-PLANETYPE'.
    perform bdc_field       using 'SFLIGHT-CARRID'
                                  'AA'.
    perform bdc_field       using 'SFLIGHT-CONNID'
                                  '0017'.
    perform bdc_field       using 'SFLIGHT-FLDATE'
                                  '11/01/2007'.
    perform bdc_field       using 'SFLIGHT-PRICE'
                                  '767'.
    perform bdc_field       using 'SFLIGHT-PLANETYPE'
                                  'A310-200F'.
    perform bdc_transaction using 'Z_TPSCREEN02'.
    perform close_group.
    endloop.
    I checked for errors, activated and executed.
    I gave session name and executed, it generated same number of sessions as number of records.
    I went to SM35 and Processed one of the sessions in foreground.
    It brought my screen up with all fields fill up by the fields of first record in the internal table and with
    OK Code popping up.
    I check the OK Code.
    Now the problem has come up, its says
    *No batch input data for screen SAPMZ_TPSCREEN02 1000 *
    My session was now incorrectly processed,
    Please help me to fix this problem.
    I searched so many forums and google it a lot.
    But i didn't find any clue.
    Kindly take your time and have a look at this problem and let me know how can i fix it.
    Thank you very much all.
    Shiv
    Edited by: Sivaram  Naga on Apr 15, 2008 5:57 AM

    I used this code to convert the date format. I'm still getting the short dump.
       DATA: v_yyyy(4) TYPE c,
           v_mm(2) TYPE c,
           v_dd(2) TYPE c,
           v_date(8) TYPE c.
    v_yyyy = itab-fldate(4).
    v_mm = itab-fldate+4(2).
    v_dd = itab-fldate+6(2).
    concatenate v_yyyy v_mm v_dd  into v_date. 
    I'm once again, putting my code.
    report ZVMREC
           no standard page heading line-size 255.
    TABLES: sflight.
    DATA: BEGIN OF itab OCCURS 0,
    carrid LIKE sflight-carrid,
    connid LIKE sflight-connid,
    fldate LIKE sflight-fldate,
    price TYPE sflight-price,
    planetype TYPE sflight-planetype,
          END OF itab.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      = 'C:\users\vamc\documents\flightinfo.txt'
        FILETYPE                      = 'ASC'
        HAS_FIELD_SEPARATOR           = 'X'
      tables
        data_tab                      = itab.
    include bdcrecx1.
    start-of-selection.
    loop at itab.
    DATA: v_yyyy(4) TYPE c,
           v_mm(2) TYPE c,
           v_dd(2) TYPE c,
           v_date(8) TYPE c.
    v_yyyy = itab-fldate(4).
    v_mm = itab-fldate+4(2).
    v_dd = itab-fldate+6(2).
    concatenate v_yyyy v_mm v_dd  into v_date.
    perform open_group.
    perform bdc_dynpro      using 'SAPMZ_TPSCREEN02' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CREA'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'SFLIGHT-PLANETYPE'.
    perform bdc_field       using 'SFLIGHT-CARRID'
                                   ITAB-CARRID.
    perform bdc_field       using 'SFLIGHT-CONNID'
                                   ITAB-CONNID.
    perform bdc_field       using 'SFLIGHT-FLDATE'
                                  V_DATE.
    perform bdc_field       using 'SFLIGHT-PRICE'
                                   ITAB-PRICE.
    perform bdc_field       using 'SFLIGHT-PLANETYPE'
                                  ITAB-PLANETYPE.
    perform bdc_transaction using 'Z_TPSCREEN02'.
    perform close_group.
    endloop.
    Kindly take a look at it and please help me out. I tried very hard. But i dont understand why?
    Thanks
    Shiv
    Edited by: Sivaram  Naga on Apr 15, 2008 5:46 PM

Maybe you are looking for