BAPI or Batch Input Program for FB01

Hi all!
I am trying to post invoice through transaction code FB01, i need a standard BAPI program or Batch Input Program for FB01 (except recording).
thanks.

Hello,
In the 'Specify Files' step,
1. give some short file name (about 20 Characters )
2. In the File option for 'Converted Data' option check the Logical path / logical file entries. Normally it is LSMW ( Logical Path ) and the same File name for logical file. If you do not have a Logical path 'LSMW' create one in Tx. FILE'.
3. Please note that you need authority to save the file on application server ( You can see the files on Appl. Server in Tx. AL11 ).
Let me know how it goes on!
Regds, Murugesh AS
Message was edited by: Murugesh Arcot
Message was edited by: Murugesh Arcot

Similar Messages

  • Standard Batch Input Programs for Profit Center Creation

    Dear all;
    I am in 4.0B version that doesnt have BAPI_PROFITCENTER_CREATE. Writing a BDC for this would be complicated as my data is compiled in a different way.
    Are there any Standard Batch Input Programs for Profit Center Creation ?

    Hi Srivathsan,
    You can make use of  Standard BAPI by LSMW.
    Business Object   BUS1116      Profit Center Group
    Method                CREATE                      Create
    Message Type      PROFITCENTERGROUP_CREATE   
    Basic Type           PROFITCENTERGROUP_CREATE
    Regards,
    Sivaram.

  • Standard batch input program for Routing

    Hi,
    Please inform me if there is any standard batch input program for uploading routing data.
    Regards
    Ramakanth

    Hi
    Pls check RCPTRA00

  • Batch input programs for infotypes

    Hi Experts,
    Can anyone tell me what is the use or how we can use the batch input programs for infotypes maintained in BTCI_PROG field of table T777D.
    Regards,
    Aravind

    I dont think any data is maintained by default in the system for that field.
    Still that field can be used if you want to develop any upload program for the infotype and want to maintain it for future use also, you can always maintain that.
    But if you want to upload data in the infotypes and thinking that this field may help you with any load program..........
    Write one using HR_MAINTAIN_MASTERDATA for that.
    Regards,
    Amit
    Reward all helpful replies.

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

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

  • 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

  • LSMW Standard Batch Input Program

    Hi,
    I have one requirement on creating BOM.
    I have to upload data from legacy system to SAP for T-Code ' CS01'
    I have to use the Standard Batch input Program 'RCSBI010'.
    I have source structure and Target Structure.
    In Source structure i have Header and item data.
    In Header i have 11 fields and in Item i have 23 fields.
    In Target Structure i have upto 130 fields.
    In the Standard program who have 4 structures and each structure have fields.
    So How many  fields i have to map with Standard structure. and in my source structure i dont have the fields like T-code, session name, user name,and xkeep.
    So how to pass these fields (T-code, session name, user name,and xkeep) to the standard structure. and is it necessary to pass these fields to the standard batch input program.
    Advance thanks,
    Kumar A

    Hi,
        Hi,
    Record type 0: one session record (structure BGR00) per session..
    The session header contains general administrative data on the batch input session to be created. All records that follow the header in the sequential file are assigned to the current session, until the next header occurs in the file.
    Record type 1: one session record (structure BICSK) for each BOM
    The BOM header record contains the transaction code (for example, CS01 Create material BOM) and the header data
    Record type 2: one item record (structure BICSP) per item
    All BOM item records are assigned to the preceding BOM header, until the next BOM header or session header occurs in the sequential file
    Record type 3: one sub-item record (structure BICSU) per sub-item
    All BOM sub-item records are assigned to the preceding BOM item, until the next item header, BOM header, or session header occurs in the sequential file
    and x-line which will be used as index while retreiveing
    and the file to be imported should contain values in this format
    BGR00 data will be in first line (0-stype)
    BICSK in second line (1 stype)
    BICSP in 3rd line
    BICSU in 4th line
    e.g:
    0 sessname 800
    1 CS01 123
    2 values req
    3 values req
    Hope this gives u some idea...
    <b>Reward points</b>
    Regards

  • 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 SAPMV60A 0102

    Hi All,
    I keep getting this error whenever I try to create a sales billing document
    No batch input data for screen SAPMV60A 0102
    Message no. 00344
    My billing transaction is meant to create a debit memo request document (created), debit memo (not created) and other accounting documents. In general, this billing was not done.
    Please can someone help me resolve this as it has affected my work progress.

    Hi,
    It  is showing that fields are mandatory to create a document.You ask the abap guy which filed is missing.Go to se51 keep the program name and screen name you can see all the fields and analyse which one is missing.
    Regards,
    Madhu.

  • No batch input data for screen SAPLKEAK 0300

    Hi All ,
    I am getting "No batch input data for screen SAPLKEAK 0300 "  error while Posting a parked document.
    When I checked the Park Document , I saw that Profitability Segment was missing.
    Document is parked using standard FM  "PRELIMINARY_POSTING_FB01" after that BDC is executed to fill Profitability segment.
    Both FM and BDC are written in a custom FM. This FM is scheduled in a Job to run everyday and Park all the available Documents .
    Everything used to work fine for last 2 years but suddenly since last month I am starting getting this error.
    It does not happen for all the documents . And for the document for which it happens, if I try to park and post it again using the same process . It works fine.
    It looks as if something obstruct the normal parking process when SAP job is running but I am not able to find out the reason.
    Any pointers would be appriciated.
    Thanks ,
    Rahul

    Rahul,
    Why don't you try to debug the background program? Use JDBG on the BG job and change the call transaction to display ALL SCREENS or ERROR ONLY and see where the issue is.
    Thanks,
    Vikram.M

  • No batch input data for screen SAPMV13A 0122

    Dear all,
      I 'm using the LSMW with program RV14BTCI to import the SD condition records.  But, i encounter this error during the upload:
      No batch input data for screen SAPMV13A 0122
      Anyone experience this nefore??
    Regards,
    Kit

    That means you missed Mandatory fields , you need to fill them first.
    Identify the mandatory field in that screen.
    KUMNE and KUMZA are mandatory fields.
    you map them or Hardocde to  some value  in the field mapping stage.

  • "No batch input data for screen RKPEP012 1000 " in SM35

    Hi Experts,
      I have BDC program which uploads data through transaction "CJIC- settlement of WBS elements".
    Issue is my BDC program creates sessions in SM35 and user processes this sessions in SM35.And Updation happens fine in SM35 sometimes and sometime it generates error ""No batch input data for screen RKPEP012 1000 ".
      Even i had tried to process this in SM35 expert mode and could see the error sometimes.
    And sometimes updation happens fine without creating any errors, but sometimes it creates this error " No batch input data for screen ".
        Can anyone please explani me why this abnormal behaviour happens in SM35 updation process.
    Thanks,
    Hemanth.

    Hi
    Try to run the session in the foreground mode and check .It may be due to some data condition one more screen may be populating ,so i thing u need to check the data for which the difeerent screen is popup and add a conditional bdc code for it.
    Hope this hint helps.
    Cheers
    Joginder

Maybe you are looking for

  • After host crash - cluster no longer working correctly in SCVMM 2012

    Hi one of our nodes in our cluster crashed. It came back. All the VMs on this host were running on other hosts so failover worked fine BUT for 2 VMs. One of those 2 VMs is - according to VMM - running on the crashed host. The other VM is - according

  • N97 music player doesn't display my music

    Hi all, I have a problem since yesterday regarding the music player application on my N97. Namely, it will not display any of my music - it displays "no songs" for whatever section (Artists, Albums, etc.). Of course, I checked the file system and all

  • Printing a PDF or should I say can't print a PDF

    I can print on my HP CP1025 NW from Word, Excel, etc., via cable or wireless, but when I try to print a mailing label from USPS I get an error message saying that I get a "filter failed" message.  If I am "wired" to the printer the information looks

  • JTextArea wordwrap according to the window size

    Hi All, I have a problem with JTextArea. I am constructing my UI as explained below: 1. Panel with GridBagLayout. 2. This panel have a grid of component. Each row will have a text area as a description and a text field to enter the value [ Text Area

  • UCCX limit duration of calls in Queue

    Hi, How can I redirect a call to another queue after it stays in the first queue for X amount of time? This is to say to limit the duration of a call in the first queue to X amount and then once it reaches that target, it will be redirected to anothe