BDC file doubt

hi friends,
plz tell me wat is the functionality of this code and wat should be the input
1)SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE  text-002.
PARAMETERS: p_ifile LIKE dynpread-fieldname OBLIGATORY,   " Input file
            p_efile LIKE dynpread-fieldname OBLIGATORY.   " Error file
SELECTION-SCREEN END OF BLOCK blk2.
2)DATA : fm_file LIKE ibipparms-path .
3)DATA :  v_file LIKE rlgrap-filename.
4)DATA :  v_efile LIKE rlgrap-filename.
5)i have a doubt
is code SAVE_DOCUMENT is must while uploading from dat file to sap table
thank's*regards
soorya

HI SOORYA,
1)SELECTION-SCREEN BEGIN OF BLOCK blk2 WITH FRAME TITLE text-002.
PARAMETERS: p_ifile LIKE dynpread-fieldname OBLIGATORY, " Input file
p_efile LIKE dynpread-fieldname OBLIGATORY. " Error file
SELECTION-SCREEN END OF BLOCK blk2.
It is a selection screen where u give filepath for the input file and also for the error file.
2)DATA : fm_file LIKE ibipparms-path .
its data transfer parameter for a local file to be uploaded or downloaded
3)DATA : v_file LIKE rlgrap-filename.
& 4)DATA : v_efile LIKE rlgrap-filename.
--Local filename for uploading or downloading
hope this helps,
priya.

Similar Messages

  • BDC/LSMW Doubt!

    Hi Friends!
    1)    Could u pls tell me when to use BDC & When to use LSMW I am a technical Person i want to load data using LSMW Then when to do that? apart from doent need programming effort.
    2) My Second Doubt is From LSMW, Suppose i am doing lsmw in development system can i transport the lSMW to Production & upload data to prod server just like BDC
    or
    I ve to do lSMW in production System to upload data in prod server
    Since I am saving i am nor getting development class & transport req, that why.
    Could u pls help me to solve my issue.
    Thanks
    Rahul.

    <b>BDC</b> is for loading <b>master data</b> and <b>LSMW</b> for <b>transaction data</b>
    BDC
    BDC is basically for customized applications.
    In bdc we have to give mapping concept explicitly.
    It basically uses recording.
    BDC is used by technical consultants , who do coding.
    Coding can be done flexibly to customize applications.
    LSMW
    In lsmw mapping is take care by sap.
    lsmw is basically for standard sap application.
    LSMW offers different techniques for migrating data say : Direct input , Batch input recording , BAPI , IDOC
    LSMW is basically designed for Functional consultants who do no coding .
    Coding cannot be done flexibily as BDC.
    <b>Yes</b> you can <b>transport</b> in <b>LSMW</b>! There is an <b>import export option</b> in <b>extras</b> of <b>LSMW initial screen</b>.
    refer
    for LSMW:
    www.sap-img.com/sap-data-migration.htm
    www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    www.erpgenie.com/sap/saptech/lsmw.htm
    help.sap.com/bp_blv1500/BL_US/html/dataconv_lsmw.htm
    help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/content.htm
    For BDC:
    http://myweb.dal.ca/hchinni/sap/bdc_home.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • I have include file doubt

    Hi Everybody,
    I have a doubt for include file.
    Here is the doubt,
    <!-#include file="test.html"->
    What is the working functionality the above code.
    Please tell me, if any one know the answer

    what include you are talking about
    [Include Directive|http://java.sun.com/products/jsp/tags/11/syntaxref11.fm6.html]
    or
    [<jsp:include>|http://java.sun.com/products/jsp/tags/11/syntaxref1112.html]

  • BDC Releated Doubts

    Dear All ,
    I have few doubts regarding BDC
    1) What are the parameters to be considered while selection the method of BDC ie session method or Call Transaction .
    2) suppose I running BDC  in background And i have 100 records.Assume my 41 , 47 record contains some junk data . what will happenn to other data after 47th record.

    Hi Raghu,
    You can decide based on the data volume that your BDC is processing. If data volume is high go for session else call transaction will do.The call transaction updates will be instantaneous where as session needs to be processed explictly after creation.
    http://www.sappoint.com/abap/bdcconcept.pdf
    you can do it both manually and by using program RSBDCSUB.
    With Regards,
    Manikandan Rajendran

  • EAR file doubt

    Dear all,
    I am following the "How to Create Modules for the J2EE Adapter Engine (NW7[1].0)_0_.pdf" how to guide and I have a doubt regarding the statement "Make sure that the libraries of the adapter module API are not inside the
    generated EAR file, or delete them using WinZip."
    What does exactly mean? In my case I have developed a EJB to manage PDF attachment files and after the"build application archive" step I open it with the winzip i see the content as follows:
    AdapterModule.jar
    aii_af_cci.jar
    aii_af_cpa.jar
    aii_af_mp.jar
    aii_af_ms_api.jar
    aii_af_ms_spi.jar
    aii_af_svc.jar
    aii_msg_runtime.jar
    META-INF (Folder)
    I am keeping the folder and the AdapterModule.jar, the rest of the .jar files are being deleted.
    Is this correct? Do i have to keep any other file?
    I was told that the pacth ( the libraries ) were installed so it seems reasonable to do this.
    Any comment and help would be more than welcome
    Thank you for your time, Sergio

    Hairong,
    Check this [link|http://help.sap.com/saphelp_nw04/helpdata/en/a3/782240da03e569e10000000a155106/content.htm] and OSS note 696084 for more info.
    Chintan

  • Problem with BDC- file transfer

    I am able to open the file but the Contents of a file are not read.

    Hi,
    I think you are looking for BDC Problem, Its wrong forum to dicuss about it.
    Refer - this could help you
    How to upload  excel file
    data set problem bdc
    Thanks
    swarup

  • IDOC to FILE doubt

    hi,
    I am doing IDOC to FILE scenario.
    and I have imported MATMAS.MATMAS05 to IR
    and Mapped the following fields to the target  message type
    MaterialNumber
    MaterialType
    IndustrySector
    MaterialGroup
    OrderUnit
    NameWhoChanged
    Please explain me the following
    1.
    I want to know from where the data (from IDOC's segment ? / from Master data table ? / from message type?)  will be transferred to Target File.
    I need flow of data like when we activate the change list in ID. After that what happens in R3 part and XI part ?
    I know IDOC is a data container. It contains segment and segment contain field. Field will have data. Then Idoc is a class and Idoc type is an instance  and message type has what type of data is transferred in the IDOC type.
    2.
    Can I give value to some of the fields of MATMAS05 at XSD level, if yes how ?
    Thanks
    srinivas

    HI,
    Go thru this help to understand IDOc processing in IDOC adapter:
    http://help.sap.com/saphelp_nw70/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm
    <i>
    I want to know from where the data (from IDOC's segment ? / from Master data table ? / from message type?) will be transferred to Target File.</i>
    >>>Idoc will be generated in the SAP system on some activities like Material Master creation etc, i.e data is sent from IDOC segment and corresponding fileds in the IDOC segment,
    <i>Can I give value to some of the fields of MATMAS05 at XSD level, if yes how ?</i>
    >>You can map any fields from the IDOC segment into Target Structure. probably not understood your question rite
    Rgds,
    Moorthy

  • Mapping IDoc to File Doubt

    Hello!!
    I have send the IDoc CHRMAS.CHRMAS04 from my R/3 to another system via file adapter.
    My problem is I have to pass several fields of the idoc to a complex structure on the XML with the structure:
    <ITEM>
       <FIELDNAME>Weight</FIELDNAME>
       <FIELDVALUE>17.0 </FIELDVALUE>  
    </ITEM>
    <ITEM>
       <FIELDNAME>Colour</FIELDNAME>
       <FIELDVALUE>Blue</FIELDVALUE>  
    </ITEM>
    Somebody knows how to map for each segement of the IDoc an ITEM substructure?
    I hope will be clear enough.
    Thanks and regards,
    Manuel.

    And in which way is this workflow related?
    Regards,
    Martin

  • Bundling in jar file doubt

    my application uses the some image file and properties file i want to bundle all the required files into single jar file and while double click it should lonch
    how can i acchive this

    You're getting on my nerves, buddy. Most of your questions could be answeed by a little research.
    ClassLoader.getResource
    ClassLoader.getResourceAsStream
    Exectualble JARs
    If you now ask me to elaborate, I'll report you for abuse.

  • Pasword file    doubt

    Hi
    OS - RH linux , DB - 11g
    I have one database that have password file . its working fine .
    I want to create new database by create database (Manually) statement . In this process creation of password file is mention on oracle web site .
    Is it required ?
    I don't create password file for new DB which password file that is use ?
    If i create password file both database use separate password file or not ?
    please guide me
    Thanks

    I want to create new database by create database (Manually) statement . In this process creation of password file is mention on oracle web site .Is it required ?
    Not required, you can connect with OS authentication (sqlplus "/as sysdba") if you know the username and password of the OS who owns oracle binaries.
    I don't create password file for new DB which password file that is use ?It will not use any password file; you won't be able to connect to the database as sysdba privileges other than OS authentication
    If i create password file both database use separate password file or not ?Both will have two diffrent password file seperated with your SID.
    Regards
    Nishant Santhan

  • FLAT FILE DOUBT

    HAI
    YSUSTAB1 IS MY DDIC-TABLE.
    IN THIS TABLE
    NAME  IS A *FIELD NAME * ,CHARACTER TYPE  ,LENGTH 20
    ROLLNO   FIELD NAME, INTEGER TYPE,  LENGTH 10
    ARE THE FIELDS .
    I HAVE TO CREATE THE FLAT FILE. .PLZ TELL HOW TO CREATE FLAT FILE.
    AND WHAT ARE THE PARAMETERS MANDATORY IN THE GUI_UPLOAD FUNCTION.
    AND PLZ GIVE THE SIMPLE PROGRAM FOR MY PRESCRIPTION WITH FLAT FILE.
    REGARDS
    SURENDER

    Hi,
    You can create a flat file of your own with the fields separated by tab/comma/space delimiters.  You can even prepare a flat file in a excel sheet.
      CALL FUNCTION 'GUI_UPLOAD'
         EXPORTING
             FILENAME                     = FILE_NAME
             FILETYPE                      = 'ASC'
             HAS_FIELD_SEPARATOR           = 'X'
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
         TABLES
              DATA_TAB                      = I_XK01
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
      IF SY-SUBRC  <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    In this function module
    EXPORTING
      FILENAME,
      FILETYPE,
      HAS_FIELD_SEPARATOR,
    TABLES
      DATA_TAB
    these values have to be provided ie mandatory.  Exceptions, depending on your requirement you can make use of the available exceptions.
    Reward points if useful.
    Regards,
    chandrasekhar

  • Restore Backup control file doubt ?

    when restoring backup control file why we need to set the DBID first?
    Thankx..

    When using a recovery catalog and attempting to restore a lost control file, you encounter an error if there are other databases are registered in the recovery catalog with the same name as your target database. To resolve this error, you must uniquely identify the database by DBID for the restore operation. This requires determining the correct DBID for your database, and then using the SET DBID command to identify the target database before the RESTORE CONTROLFILE.

  • BDC File UPLOAD

    Hi all,
    i used gui_upload to upload the file .But when i try to upload with header line it is reaing that header line including the data.what i have to do to read only data.
    please suggest.
    Thanks,
    Hari.

    Hello hari,
    what u can do is  upload all tzhe contents of the file into itab.
    then use
    <b>READ TABLE ITAB INDEX 1.</b>
    this will get the first line of the file.
    Regards,
    Vasanth

  • BDC of multiple line item

    Dear All,
    I am writing BDC for F-28
    Where  wanted to add multiple line items in screen 0731 for the field rfo5a-sel01
    It's urgent
    Regards
    Shashikant

    Hi,
    You can use the program RFBIBL00 to upload the FI documents.
    Sample BDC
    File Format : Below listed fields must be filled when you wnat to post new document. Program will recognize new document by itab-newdoc = 'X'.
    NEWDOC , "New Doc
    BLDAT(10) , "Doc Date
    BUDAT(10) , "Posting Date
    BLART(2) , "Document Type
    XBLNR LIKE BKPF-XBLNR , "Refrence
    BKTXT LIKE BKPF-BKTXT , "Doc Header Text
    You need one serverfile. After sucessfully run of program you have to run the progrma RFBIBL00. Pass data transfer type = 'B'.
    Regards,
    Naimesh.
    PS: Reward points, if it is useful..!
    REPORT ZTEST_NP .
    Tables
    TABLES: BSEG ,
    BGR00,
    BBKPF,
    BBSEG,
    t001.
    Internal Tables
    DATA: BEGIN OF ITAB OCCURS 0 ,
    NEWDOC , "New Doc
    BLDAT(10) , "Doc Date
    BUDAT(10) , "Posting Date
    BLART(2) , "Document Type
    XBLNR LIKE BKPF-XBLNR , "Refrence
    BKTXT LIKE BKPF-BKTXT , "Doc Header Text
    BSCHL(2) , "Posting Key
    HKONT(10) , "Account
    UMSKZ(1), "Sp GL ind
    ZLSCH(1) , "Payment Method
    ZLSPR(1) , "Payment Block
    WRBTR(16), "Amount without sign
    KOSTL(10), "Cost center
    GSBER(4) , "Business Area
    ZUONR LIKE BSEG-ZUONR , "Assignment
    AUFNR LIKE BSEG-AUFNR , "Order
    PERNR(8) , "Personal Number
    SGTXT LIKE BSEG-SGTXT, "Line Item Text
    END OF ITAB .
    DATA: ITAB1 LIKE ITAB OCCURS 0 WITH HEADER LINE.
    DATA: I_BBKPF LIKE BBKPF OCCURS 0 WITH HEADER LINE.
    DATA: I_BBSEG LIKE BBSEG OCCURS 0 WITH HEADER LINE.
    DATA: I_BWITH LIKE BWITH OCCURS 0 WITH HEADER LINE.
    Data Declaration
    DATA: C_NODATA(1) TYPE C VALUE '/',
    W_CNT TYPE I.
    FIELD-SYMBOLS <F>.
    SELECTION-SCREEN: BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-T01.
    PARAMETER: P_BUKRS LIKE BKPF-BUKRS OBLIGATORY,
    PSESSION(12) OBLIGATORY DEFAULT 'Auto_FI',
    P_SFILE LIKE RLGRAP-FILENAME OBLIGATORY ,
    P_LFILE LIKE RLGRAP-FILENAME OBLIGATORY .
    SELECTION-SCREEN: END OF BLOCK BLK1.
    At Selection Screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_LFILE.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    FILE_NAME = P_LFILE.
    Start Of Selection
    START-OF-SELECTION .
    OPEN DATASET P_SFILE FOR OUTPUT IN TEXT MODE .
    PERFORM INIT_BGR00 USING C_NODATA.
    PERFORM INIT_IBKPF USING C_NODATA.
    PERFORM INIT_IBSEG USING C_NODATA.
    PERFORM UPLOAD .
    PERFORM SET_DATA.
    *& Form INIT_BGR00
    FORM INIT_BGR00 USING NODATA .
    CLEAR BGR00.
    BGR00-STYPE = '0'.
    BGR00-GROUP = PSESSION.
    BGR00-MANDT = SY-MANDT .
    BGR00-USNAM = SY-UNAME .
    bgr00-start = datum .
    BGR00-XKEEP = 'X'.
    BGR00-NODATA = NODATA.
    TRANSFER BGR00 TO P_SFILE.
    ENDFORM. " INIT_BGR00
    *& Form INIT_IBKPF
    FORM INIT_IBKPF USING NODATA .
    Initialize data fields with NODATA:
    W_CNT = 0.
    DO.
    ADD 1 TO W_CNT.
    ASSIGN COMPONENT W_CNT OF STRUCTURE I_BBKPF TO <F>.
    IF SY-SUBRC NE 0.
    EXIT.
    ENDIF.
    MOVE NODATA TO <F>.
    ENDDO.
    ENDFORM.
    *& Form INIT_IBSEG
    FORM INIT_IBSEG USING NODATA.
    Initialize data fields with NODATA:
    W_CNT = 0.
    DO.
    ADD 1 TO W_CNT.
    ASSIGN COMPONENT W_CNT OF STRUCTURE I_BBSEG TO <F>.
    IF SY-SUBRC NE 0.
    EXIT.
    ENDIF.
    MOVE NODATA TO <F>.
    ENDDO.
    ENDFORM.
    *& Form INIT_BBKPF
    FORM INIT_BBKPF.
    MOVE I_BBKPF TO BBKPF.
    BBKPF-STYPE = '1'.
    ENDFORM. " INIT_BBKPF
    *& Form INIT_BBSEG
    FORM INIT_BBSEG.
    MOVE I_BBSEG TO BBSEG.
    BBSEG-STYPE = '2'.
    BBSEG-TBNAM = 'BBSEG'.
    ENDFORM. " INIT_BBSEG
    *& Form UPLOAD
    FORM UPLOAD.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    FILENAME = P_LFILE
    FILETYPE = 'DAT'
    TABLES
    DATA_TAB = ITAB
    EXCEPTIONS
    CONVERSION_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_READ_ERROR = 3
    INVALID_TABLE_WIDTH = 4
    INVALID_TYPE = 5
    NO_BATCH = 6
    UNKNOWN_ERROR = 7
    OTHERS = 8.
    IF SY-SUBRC NE 0 .
    MESSAGE S001(01) WITH 'The File Could not be Uploaded..!' .
    LEAVE LIST-PROCESSING .
    ELSE.
    DELETE ITAB INDEX 1 .
    ENDIF .
    LOOP AT ITAB .
    DO .
    REPLACE '.' WITH '' INTO ITAB-BLDAT .
    IF SY-SUBRC NE 0 .
    CONDENSE ITAB-BLDAT NO-GAPS .
    EXIT .
    ENDIF .
    ENDDO .
    DO .
    REPLACE '.' WITH '' INTO ITAB-BUDAT .
    IF SY-SUBRC NE 0 .
    CONDENSE ITAB-BUDAT NO-GAPS .
    EXIT .
    ENDIF .
    ENDDO .
    MODIFY ITAB .
    ENDLOOP .
    ENDFORM. " UPLOAD
    *& Form SET_DATA
    FORM SET_DATA.
    DATA: L_DOCCNT TYPE I,
    L_LNCNT TYPE I .
    SELECT SINGLE * FROM T001
    WHERE BUKRS = P_BUKRS.
    LOOP AT ITAB .
    IF ITAB-NEWDOC = 'X' OR ITAB-NEWDOC = 'x' .
    CLEAR : L_LNCNT .
    L_DOCCNT = L_DOCCNT + 1.
    PERFORM INIT_BBKPF .
    BBKPF-TCODE = 'FB01'.
    BBKPF-BUKRS = P_BUKRS.
    WRITE : ITAB-BLDAT DD/MM/YY TO BBKPF-BLDAT.
    WRITE : ITAB-BUDAT DD/MM/YY TO BBKPF-BUDAT.
    BBKPF-BLART = ITAB-BLART .
    BBKPF-WAERS = T001-WAERS.
    BBKPF-BKTXT = ITAB-BKTXT .
    BBKPF-XBLNR = ITAB-XBLNR .
    TRANSFER BBKPF TO P_SFILE.
    ENDIF .
    L_LNCNT = L_LNCNT + 1 .
    IF L_LNCNT GT 990 .
    MESSAGE S001(01) WITH 'Number of Records Exceed 990 Line Items'
    'Program cannot be executed' .
    LEAVE LIST-PROCESSING .
    ENDIF .
    PERFORM INIT_BBSEG .
    BBSEG-NEWKO = ITAB-HKONT .
    BBSEG-NEWBS = ITAB-BSCHL .
    BBSEG-WRBTR = ITAB-WRBTR .
    IF NOT ITAB-KOSTL IS INITIAL .
    BBSEG-KOSTL = ITAB-KOSTL .
    ELSE .
    IF NOT ITAB-GSBER IS INITIAL .
    BBSEG-GSBER = ITAB-GSBER .
    ENDIF .
    ENDIF .
    BBSEG-ZUONR = ITAB-ZUONR.
    BBSEG-SGTXT = ITAB-SGTXT .
    IF NOT ITAB-AUFNR IS INITIAL .
    BBSEG-AUFNR = ITAB-AUFNR .
    ENDIF .
    IF NOT ITAB-UMSKZ IS INITIAL .
    BBSEG-NEWUM = ITAB-UMSKZ .
    ENDIF .
    IF ITAB-BSCHL = '29' OR ITAB-BSCHL = '39' OR ITAB-BSCHL = '09' .
    BBSEG-ZFBDT = BBKPF-BLDAT .
    ENDIF .
    IF NOT ITAB-ZLSCH IS INITIAL .
    BBSEG-ZLSCH = ITAB-ZLSCH .
    ENDIF .
    IF NOT ITAB-PERNR IS INITIAL .
    BBSEG-PERNR = ITAB-PERNR .
    ENDIF .
    IF NOT ITAB-ZLSPR IS INITIAL .
    BBSEG-ZLSPR = ITAB-ZLSPR .
    ENDIF .
    TRANSFER BBSEG TO P_SFILE.
    ENDLOOP .
    IF L_DOCCNT NE 0 .
    WRITE :/ P_SFILE , 'has been created' .
    WRITE :/ L_DOCCNT , 'DOCUMENTS UPLOADED' .
    ELSE .
    WRITE :/'INPUT FILE CONTAINS NO DATA' .
    ENDIF .
    CLOSE DATASET P_SFILE .
    ENDFORM. " SET_DATA
    Reward points if Useful
    Regards
    Gokul

  • BDC won't work in Table Control...

    Hi Guys,
    Again, i am stuck in the bdc problem. I am trying to bdc into a table control. I have two items to put into the table control via BDC. The TCODE that i need to bdc is PAKG.
    <b>Previously</b>,<i> some of you have given me many advise on this but i just couldn't solve it. Here i am attaching my code for everyone to help me.</i>
    Below is the code that i wrote:
    DATA: I(2)        TYPE N.
    I = 1.
    LOOP AT TUPLOAD.
    IF SY-TABIX > 1.
      CLEAR PARA.
      PARA = 'Q0221-BETRG'.
      CONCATENATE PARA '(' I ')' INTO PARA.
      PERFORM BDC_FIELD USING PARA          TUPLOAD-AMOUNT.
      PERFORM BDC_FIELD USING 'BDC_SUBSCR' 
                              'SUBSCREEN_TC2000'.
      PERFORM BDC_FIELD USING 'BDC_CURSOR'  PARA.
      CLEAR PARA.
      PARA = 'Q0221-LGART'.
      CONCATENATE PARA '(' I ')' INTO PARA.
      PERFORM BDC_FIELD USING PARA          TUPLOAD-WAGT.
      CLEAR PARA.
      PARA = 'Q0221-TAXAU'.
      CONCATENATE PARA '(' I ')' INTO PARA.
      PERFORM BDC_FIELD USING PARA          TUPLOAD-TAXA.
      PERFORM BDC_FIELD USING 'BDC_OKCODE'  '=INSL'.
      I = I + 1.
      ENDIF.
    ENDDLOOP.
    thanks.
    William

    The PAKG has a sample BDC file.
    This mentions how to code for multiple lines.
    I am copying it here:
    PerNr        ChkDt          I     OCRe     TaxA     Business No.        RsAr     QcTx                 WagT     Hours         Amount
    07070707     31.12.1999     0              BC                                                         MC00                   2000
                                                                                                          /320                   40
                                                                                                          /322                   50
    07070707     31.12.1999     1              BC                                                         MC00                   2200
                                                                                                          /320                   44
                                                                                                          /322                   55
    Hope this helps,
    Bhanu

Maybe you are looking for

  • JAAS in Web Applications

    Hi, I am new to JAAS and was implementing the Tomcat JAAS realm in web application,I am stuck with the invocation of life cycle methods flow like,login(),handle(),commit(),abort() and logout(). Please help me. In the server.xml,JAAS realm is set. In

  • Pop-up in a report with selection screen

    Hi all, I need to display a pop-up as an input component for a report as it is executed. The controlling area has to entered inthe pop-up.The pop-up is same as the one in Transaction code CO99. How do i do this for report? Its not a module pool devel

  • The string version of a scanner.nextInt

    is it possible to use a scanner.nextInt for string's? I want to filter out a lettercode input : 23 54 64 34 23 VV If this is the input, than i want my program to know that there is a VV in it. Hopefully you understand what I mean.

  • Bug with automatic email retrieval (don't want to ...

    Please tell me where to report bug? When I set automatic email retrieval on my N71 after retrieving email phone stay connected and don't want to disconnect automatically so i need go to inbox and set disconnect.  Its a stupid way of automatic retriev

  • [svn:bz-trunk] 20753: * Fixed non UTF8 compliant char in EndpointPushNotifier.java

    Revision: 20753 Revision: 20753 Author:   [email protected] Date:     2011-03-10 02:40:52 -0800 (Thu, 10 Mar 2011) Log Message: Fixed non UTF8 compliant char in EndpointPushNotifier.java Added tomcat7 support to the maven build of blazeds opt (to sup