[SOLVED] - get number of keystrokes of multiple documents on CLI

Hi,
Situation:
I have a directory with about 140 soft links to docs from a variety of sources.
Goal:
input a bash command get no. of combined keystrokes from all docs in this directory
What I have done:
Went to the directory, did a "wc -m *" and got some strange readings. Here an example:
22079 001_Bacalhau_Gomes_RM_inglese.doc - but if I enter the document itself I get 2370 characters, not 22079!?
Does wc not work on docs? If not, how can I batch convert these links to txt - is it at all possible?
EDIT:
I converted one doc into a txt file manually and got a more realistic reading:
doc - 2370
txt  - 2404
Last edited by toad (2011-03-01 11:17:00)

Thanks, Mr. Elendig.
Solved this
1. install abiword
2. enter directory
3. abiword --to=text *
4. all done, I can now run wc on the txt files

Similar Messages

  • How to get number of pages in word document

    I am developing an OCR application where I need to get number of pages of word documents. I am currently assuming that each page consists of 46 lines but some how, I am not getting convinced with this logic. Is there any simplest way to get this information?
    Let me tell you that in the OCR system I am converting tiff iamges to .txt file and again reading txt file and counting number of pages based on number of lines.
    regards,
    Ranjan

    The number of pages depends on the font size, length of each line and any page break in between.
    You could just say, one page per 46 lines, it depends on how accurate you must be.
    Why not count the number of pages you scanned?

  • Download Multiple Documents App from Solutions2Share

    Hello, I have downloaded the 'Download Multiple Documents App' from Solutions2Share and installed it on several existing site collections on my SharePoint online office 365 tenant. It works without any problems on all sites on all site collections apart
    from one....which is typically the site I need it to work most on.
    When I try to download multiple documents from a document library from this site I get directed to the download multiple documents page and I see the app trying to download the documents but then get message ''Could not retrieve list:Forbidden''
    This happens with every document library on the site. What is strange , when I do this on a document library on the top level site of the same site collection, i.e the default site that is created when creating a site collection - it works fine.
    I've gone through all the site settings and site features and cannot see what would be causing this! I am the Site Administrator and am in the Site Owner/Members permissions groups for this site. Tried it with different browser too.
    kegan1

    Hi,
    According to your error message, it says that the Download Multiple Documents App has permission issue for the list. You can contact [email protected] or go to knowledge base:
    http://wiki.solutions2share.net/category/products/download-muliple-documents/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Problems with getting the number of hits in the document.

    I need to get the number of hits in the document.
    I use the query template for this porpose as:
    SELECT d.id, score(1)
    FROM document d
    WHERE contains(d.content,'<query>
    <textquery>SEARCHWORD</textquery>
    <score datatype="INTEGER" algorithm="COUNT"/></query>',1)>0
    AND d.id=1
    problems:
    1. If I have some synonyms associated with SEARCHWORD in OracleThesaurus and in case if document contains these synonyms they are not counted.
    2. could you explain the following results returned by query above:
    search query: word1 - numberOfHits=10
    search query: word2 - numberOfHits=8
    search query: word1 OR word2 - numberOfHits=10
    i suppose that numberOhHits=18 for a query: word1 OR word2

    Hi.<br><br>
    1.Synonyms (and generally thesaurus query extensions) cannot automatically uses in queries. You MUST expand you query using SYN function yourself. Query you write just applicable for only KEYWORD search.<br><br>
    2. Ask yourself. I'm not seen your data. ;)<br>
    Rgrds, Yuri.<br><br>
    PS. Just read Oracle Text Reference - you can find many answers here. ;)

  • MY HP MF 1005 PRINTER IS NOT SUPPORTING IN MAVERICKS 10.9 IT GET PAUSED WHEN I PRINT A DOCUMENT PLA SOLVE MY PROBLEM .

    MY HP MF 1005 PRINTER IS NOT SUPPORTING IN MAVERICKS 10.9 IT GET PAUSED WHEN I PRINT A DOCUMENT PLA SOLVE MY PROBLEM .

    Hi Shiba,
    I understand that your printer is not printing picures as expected.  I know you stated that you had tried troubleshooting steps above.  Where you able to take a look at this document?  Are you printing from a mobile device or computer?
    Hope this helps.
    **If you find this helpful or want to say thanks make sure to click the white star under my name to give me Kudos. **

  • How to get FI Doc number for a MM posted document number

    Hi Friends,
    I need info on how to retrieve FI Document number that gets generated for a MM posted document.
    MM Posted document is available in table RBKP-BELNR and FI document number created for this is in table BKPF-BELNR but for a given RBKP-BELNR how to find BKPF-BELNR. I need the relation.
    Any help on this is highly appreciated.
    Thanks,
    Simha

    hi,
    you can get accounting details from  material document in this way.
    DATA: BEGIN OF it_rbkp OCCURS 0,
          belnr LIKE rbkp-belnr,
          bldat LIKE rbkp-bldat,
          xblnr LIKE rbkp-xblnr,
          gjahr LIKE rbkp-gjahr,
          awkey LIKE bkpf-awkey,
          END OF it_rbkp.
    DATA: BEGIN OF it_bkpf_we OCCURS 0,
          belnr LIKE bkpf-belnr,
          awkey LIKE bkpf-awkey,
          END OF it_bkpf_we.
    DATA: BEGIN OF it_mkpf OCCURS 0,
          mblnr LIKE mkpf-mblnr,
          blart LIKE mkpf-blart,
          bldat LIKE mkpf-bldat,
          mjahr LIKE mkpf-mjahr,
          awkey LIKE bkpf-awkey,
          END OF it_mkpf.
      IF NOT it_ekbe[] IS INITIAL.
        SELECT mblnr
               blart
               bldat
               mjahr
               INTO TABLE it_mkpf
               FROM mkpf
               FOR ALL ENTRIES IN it_ekbe
               WHERE mblnr = it_ekbe-belnr
               AND   blart = c_we.
      ENDIF.
      LOOP AT it_mkpf.
        CONCATENATE it_mkpf-mblnr it_mkpf-mjahr INTO it_mkpf-awkey.
        MODIFY it_mkpf TRANSPORTING awkey.
      ENDLOOP.
    IF NOT it_rseg[] IS INITIAL.
        SELECT  belnr
                bldat
                xblnr
                gjahr
                INTO TABLE it_rbkp
                FROM rbkp
                FOR ALL ENTRIES IN it_rseg
                WHERE belnr = it_rseg-belnr.
                  ENDIF.
      LOOP AT it_rbkp.
        CONCATENATE it_rbkp-belnr it_rbkp-gjahr  INTO it_rbkp-awkey.
        MODIFY it_rbkp TRANSPORTING awkey.
      ENDLOOP.
      IF NOT it_mkpf[] IS INITIAL.
        SELECT belnr
               awkey
               INTO TABLE it_bkpf_we
               FROM bkpf
               FOR ALL ENTRIES IN it_mkpf
               WHERE awkey = it_mkpf-awkey.
      ENDIF.

  • How do you apply a master page to multiple documents at the same time?

    How do you apply a master page to multiple documents at the same time?

    Hi friends,
    Thank you for trying to help me out.
    Let me explain it a bit to remove the ambiguity.
    I have 10 documents nested under a book. Each of these documents have 'n' number of pages. I want to apply my custom made master page "First" to the first page of all these 10 documents in one go. The remaining pages of the documents have to be in default "Right" master page format. How will I do it?
    I tried selecting all the documents and importing the formats from another document with the custom made "First" master page. The master page format is getting imported but the first page of all the documents still remain with the default "Right" master page format.
    I think now my question is more clear...

  • How do I scan multiple documents to a single pdf from the ADF on my MX922?

    How do I scan multiple documents to a single pdf from the ADF on my MX922?
    Solved!
    Go to Solution.

    Hi Riceburner1,
    Since you have had difficulty scanning using My Image Garden, you can scan using the IJ Scan Utility program that also comes with the printer.  To do this, please follow these steps:
    1. Place the documents in the ADF or on the platen glass of the printer.
    2. Start the IJ Scan Utility.
        For Windows 8.1:
        1. On your keyboard, press the Windows key.
        2. Start typing IJ SCAN UTILITY. The search window opens as you type. Once the IJ SCAN UTILITY is displayed, please select and open it, then continue with Step 3 below.
        For Windows XP:
        1. Go to your START MENU, then select ALL PROGRAMS, then CANON UTILITIES, then the IJ SCAN UTILITY program.
        2. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears. Please continue with Step 3 below.
    3. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    4. Click the DOCUMENT SCAN option on the left pane of the window. In the Select Source field of the Scan Options section, select DOCUMENT (ADF/PLATEN) to scan items placed directly on the platen glass, DOCUMENT (ADF SIMPLEX) to perform single-sided scanning from the ADF, or DOCUMENT (ADF DUPLEX) to perform double-sided scanning using the ADF. You can then set the item size, resolution, etc. in the Scan Options section as desired.
    5. In the SAVE SETTINGS section of the window, you will select the save format and location of the document you are about to scan.
         a.) In the FILE NAME field, specify the name you would like to give the file. By default the filename will begin with IMG; you can remove IMG and change it to whatever you would like to name the file.  Please note that the filename that you give the document here will be the default filename for all items scanned until you change the file name.  If you leave the file name the same in the field, the scanned item will have a sequential number appended to the end of whatever name you give it.
         b.) In the DATA FORMAT field, use the drop-down arrow to select the desired option. If you are scanning a multipage document, select the PDF (Multiple Pages) option.
         c.) In the SAVE IN field, please navigate to the area where you would like the file to be saved once it is scanned in. By default, the file will be saved in the MY DOCUMENTS folder.
    6.  In the APPLICATION SETTINGS section of the window, please select the DO NOT START ANY APPLICATION option.  
    7. Once all settings have been selected, click the OK button at the bottom of the SETTINGS (DOCUMENT SCAN) window. The IJ Scan Utility main screen appears.
    8. Click the DOCUMENT button. Scanning starts. Click the CANCEL button to cancel scanning if needed.   Once the scan is completed, scanned images are saved in the previously selected folder location specified in the SETTINGS... window.
    Hope this helps!
    This didn't answer your question or issue? Please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • MM02 - Enable options change number, change overview and change documents

    I am with the following problem: I enter the transaction MM02, I enter the material 1000765, I select the view "Classification". Later I access the environment option from the menu bar and options for change number, change overwiew and change documents are disabled.
    How do I enable these options change number, change overview and change documents?
    Regards,
    Sérgio Salomã

    Hi Sergio,
    If we activate the change documents for classification data, then we will be able to see the CHANGE DOCUMENTS for characteristic values through CL20N transaction (CL20N via menu ENVIRONMENT --> Change Documents) or MM02.
    For reference please check SAP Note 65124.
    For enabling change documents for classification data in SPRO --> Cross-Application Components --> Classification System --> Classes --> Maintain Object Types and Class Types.
    In this enter into MARA table entry. Inside that corresponding to the respective CLASS TYPE (say 001) enable the CHANGE DOCS check box in Classifications part (For enabling this please check SAP Note 65124). Then for this CLASS TYPE (say 001) inside the OBJECTS folder, enable the CHANGE DOCS CLASS checkbox also.
    Now in MM02 and in CL20N under menu Environment --> Change Documents you can view all the changes done to that characteristic values.
    Once the change documents is activated, then we can get the change documents details in CDHDR and CDPOS tables. The OBJECTCLAS may be "CLASSIFY". We can also use the "CLLA_CHANGE_DOC_CLASSIFICATION" function module to fetch the data from these tables.
    Hope this helps in solving your issue.
    Thanks and Regards,
    Harish kumar.

  • Printing multiple documents

    Hello FORM experts!
    I have a question here..
    In my program I generate multiple documents and then want to print them all at once with one button click.
    Document info is in a table which is also written into the database table.
    How should this work, should I give my smartform calling function some extra parameters to print them all or should I pass all the info to the smartform and make it print them all there with a loop or sth.?
    I'll explain some more..
    I have a report which then generates special kind of invoices...
    when invoices are generated there's a list of them displayed...
    Now I would like with one button to call out a smartform and print them.
    I want 1 pop-up print screen for all the invoices.
    Right now, I get a pop-up for every single invoice it is printing
    Thank you!

    Hi,
    You can try the following.....Loop at your final internal table and call subroutine printform.In which you will call ur smartform for printing.
    Write the following code....
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME                 = 'ZZSD_INVOICE_TRADE_FORM'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
        IMPORTING
          FM_NAME                  = LV_FM_NAME
    EXCEPTIONS
      NO_FORM                  = 1
      NO_FUNCTION_MODULE       = 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.
      CALL FUNCTION LV_FM_NAME
      EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         = CONTROL
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
        OUTPUT_OPTIONS             = OUTPUT_OPTIONS
        USER_SETTINGS              = ' '
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
      TABLES
        IT_DISPLAY                 = IT_FINAL
    EXCEPTIONS
      FORMATTING_ERROR           = 1
      INTERNAL_ERROR             = 2
      SEND_ERROR                 = 3
      USER_CANCELED              = 4
      OTHERS                     = 5
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CONTROL-PREVIEW           = 'X'.       "Preview the output of Smartform
      CONTROL-NO_DIALOG         = 'X'.       "Don't show Dialog
      OUTPUT_OPTIONS-TDDEST     = PRINTER.   "Spool: Output device
      OUTPUT_OPTIONS-TDNOPRINT  = ' '.       "No printing from print preview
      OUTPUT_OPTIONS-TDCOPIES   = 1.         " number of print copies
      OUTPUT_OPTIONS-TDIMMED    = 'X'.       " Print Immediately (Print Parameters)
      OUTPUT_OPTIONS-TDDELETE   = 'X'.       " delete the request after printing
      OUTPUT_OPTIONS-TDLIFETIME = '5'.       " spool retention period
      OUTPUT_OPTIONS-TDCOVER    = ' '.       " no cover print
    REgards,
    Kashyap

  • Multiple Document using RFBIBLOO

    Hi,
    Any one please confirm is it possible to post multiple documents or records using RFBIBLOO standard program under one file.
    Thanks and Regards,
    Paul.

    hi,
    don't get it.
    you can post all kinds of documents, as you've
    internal number ranges or external ranges with non duplcate document no.
    nice weekend to ALL
    God bless
    A.

  • Maintain number range interval "" for inventory document --help!

    Dear all,
       I running the FM - L_INV_DOC_CREATE for creating the physical inventory doc for WM ( warehose management ) level. But i get this error -> Maintain number range interval "" for inventory document. If i try to create it using the t-code  LI01N,everything goes smoothly. Anybody haf any idea how to solve this? thank you.

    1.Did u go into Number ranges for WM?
    Yes
    2.Did u click on assignment & number ranges not on Number range intervals
    Yes
    3.Di du cahnge it to 02 for all?.
    Yes on first warehouse 111 all changed to 02 and on warehouse G02 just on TR and TO changed to 02
    4.Did u select NR intervals? and give the number range?
    Yes
    5.Did u transport the intervals?
    No, as I am working on DEV practice client. Dont need to transport.
    6.Did assign the number rabges to ur Warehouse?
    I assigned No. 2 to warehouse, not number range, can u ellaborate more on number range assignment.
    I created migo for same material with different storage location and material and accounting documents are created. Even the number ranges are working on another warehouse created by colleague, but its not working on my warehouse and as mentioned earlier this is Dev practice client. No need to transport.

  • Error 'Specify account number' while posting a parked document through FBV0

    Hi,
    I am getting an error 'Specify account number' while posting a parked document through transaction FBV0.
    I am not able to figure it out as to what account number it is referring to. Since the document is parked I assume the GL account used has no problem. Please help.

    Hi,
    Try to change the Account number and then save or post the data. I think Once We Parking the Document it wont allow to post the data without changing.
    Try same scenario in the development its be useful
    Regards,

  • Uploading multiple documents into sharepoint list item with REST in sharepoint 2013 using content editor web part :

    hi ,
    i am trying to upload multiple document files into sharepoint list item. I followed below link for implementaion.
    http://techfindings-prem.blogspot.in/search/label/jquery.multifilejs
    It was working for sharepoint hosted app.
     This complete code is written within content edito web part.
    It was working when i was in root site collection with below change (hard coded the root level url) in code in "UploadFile" function.
    var scriptbase = "http://servername" + "/_layouts/15/";
                console.log(' File size:' + bytes.length);
                $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    But the issue came in picture when i was working with the other site collection instead of root one. The url was like below.
    "http://servername/sites/cpg/". This time i need to be there within "cpg" site collection. 
    Now if i hard code the url as i did above my code gets break here while come to below line
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
    I am getting error when i used below code:
    var scriptbase = "http://servername" + "/_layouts/15/";
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    Please hekp in this case. This complete code is written within content edito web part. 
    Regards:
    Sanjay Joshi

    Hi,
    According to your post, my understanding is that you have an issue about upload multiple documents files into library vai REST API.
    As you have said, you have used the hard code url in your code.
    How about use the _spPageContextInfo.webAbsoluteUrl method to get the url?
    I have used this method to get the url, then use the code in the article you have pasted within a content editor web part to upload the files.
    You can replace the hard code url with the _spPageContextInfo.webAbsoluteUrl method, then check whether it works.
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • Problem in posting multiple documents in FB70 through BDC...

    Hi,
       I am facing a problem while posting multiple documents from a flat file in FB70 thourgh BDC batch input by using session method. However, the session is getting terminated after posting the first document. Please clarify my problem.
    Below is a sample of the data in my flat file -
    Customer,Invoice Date,Posting Date,Amount,G/L Account,Amount in doc. Curr.
    34,03.06.2009,03.06.2009,100,211000,100
    34,03.06.2009,03.06.2009,200,211000,200
    34,03.06.2009,03.06.2009,300,211000,300
    And below is the sample code of my program.
    REPORT ZANI2_BDC_FB70
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    TYPES: BEGIN OF TY_STR_FB70,
             ACCNT(20)      TYPE C,     "Customer
             BLDAT(20)      TYPE C,     "Invoice Date
             BUDAT(20)      TYPE C,     "Posting Date
             WRBTR(20)      TYPE C,     "Basic Data - Amount
             HKONT(20)      TYPE C,     "G/L Account
             ITEM_WRBTR(20) TYPE C,
             "Line Item Amount In Document Currency
           END OF TY_STR_FB70,
          BEGIN OF TY_STR_FILEDATA,
             FIELDS TYPE STRING,
          END OF TY_STR_FILEDATA.
    *   data definition
    *       Batchinputdata of single transaction
    DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE,
    *       messages of call transaction
            MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA: IT_STR_FILEDATA TYPE STANDARD TABLE OF TY_STR_FILEDATA,
          WA_STR_FILEDATA TYPE TY_STR_FILEDATA,
          IT_STR_FB70 TYPE STANDARD TABLE OF TY_STR_FB70,
          WA_STR_FB70 TYPE TY_STR_FB70,
          G_STR_FILENAME TYPE STRING,
          G_FLG_ERROR TYPE I,
          G_INDEX TYPE I,
          G_STR_INDEX TYPE STRING,
          G_STR_FIELDNAME TYPE STRING.
    SELECTION-SCREEN BEGIN OF BLOCK INPUT.
    PARAMETERS: P_FILE TYPE IBIPPARMS-PATH,
                P_SES  TYPE APQI-GROUPID.
    SELECTION-SCREEN END OF BLOCK INPUT.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = 'P_FILE'
        IMPORTING
          FILE_NAME     = P_FILE.
    Continued in the next thread..

    ...Continued from the previous thread.
    PERFORM OPEN_GROUP.
        G_INDEX = 1.  
        LOOP AT IT_STR_FB70 INTO WA_STR_FB70.
           PERFORM BDC_DYNPRO      USING 'SAPMF05A' '1200'.
          PERFORM BDC_FIELD       USING 'RF05A-BUSCS'
                                         'R'.
         "Customer
          PERFORM BDC_FIELD       USING 'INVFO-ACCNT'
                                         WA_STR_FB70-ACCNT.  
          "Invoice Date
          PERFORM BDC_FIELD       USING 'INVFO-BLDAT'
                                        WA_STR_FB70-BLDAT.                               
          "Posting Date
          PERFORM BDC_FIELD       USING 'INVFO-BUDAT'
                                        WA_STR_FB70-BUDAT.                                
         "Basic data - Amount
          PERFORM BDC_FIELD       USING 'INVFO-WRBTR'
                                        WA_STR_FB70-WRBTR.     
          PERFORM BDC_FIELD       USING 'INVFO-WAERS'
                                        'EUR'.
          G_STR_INDEX = G_INDEX.
          IF G_INDEX < 10.
            CONCATENATE '0' G_STR_INDEX INTO G_STR_INDEX.
          ENDIF.
          CONDENSE G_STR_INDEX NO-GAPS.
          CLEAR G_STR_FIELDNAME.
          CONCATENATE  'ACGL_ITEM-WRBTR(' G_STR_INDEX ')' INTO
          G_STR_FIELDNAME.
          PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                        G_STR_FIELDNAME.
                                        "'ACGL_ITEM-WRBTR(01)'.
          "G/L Acct
          CONCATENATE  'ACGL_ITEM-HKONT(' G_STR_INDEX ')' INTO
          G_STR_FIELDNAME.
          PERFORM BDC_FIELD       USING  G_STR_FIELDNAME       
                                         WA_STR_FB70-HKONT.    
            "Amount .
          CONCATENATE  'ACGL_ITEM-WRBTR(' G_STR_INDEX ')' INTO
          G_STR_FIELDNAME.
          PERFORM BDC_FIELD       USING G_STR_FIELDNAME   
                                        WA_STR_FB70-ITEM_WRBTR.
          "PERFORM BDC_DYNPRO      USING 'SAPMF05A' '1200'.
          PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                        '=BU'.
          CLEAR WA_STR_FB70.
        ENDLOOP.
        IF G_FLG_ERROR IS INITIAL.
          PERFORM BDC_TRANSACTION USING 'FB70'.
        ENDIF.
        IF G_FLG_ERROR IS INITIAL.
          PERFORM CLOSE_GROUP.
          MESSAGE 'Session created successfully.' TYPE 'I'.
        ENDIF.
      ENDIF.
    Continued in the next thread..

Maybe you are looking for

  • Oracle Developer Suite 10g on Windows 7

    Hi. Does anyone know if running Oracle Developer Suite 10g (10.1.2.0.2) on Windows 7 is supported?

  • RD Client on Android Remote Resources -

    I'm having an issue with an RDS farm setup. The Android RD Client will not load Work Resources (works on iOS and on PC). It throws a connection error "TLSEndpointException: 6,"  Here are the logs Do not to send this report to untrusted people! This r

  • How to get the HPX files into Final Cut Pro 7?

    Hey. I have a small crisis. Hope someone can help as quickly as possible?! Thank you I'm working on my bachelor project, and has borrowed a Panasonic HPX 170, and will cut in Final Cut Pro 7. Now I have all the files on a hard drive, and they are MFX

  • Assign report category to a report

    Hi All, Please let me know how to assign a report category to a report created in in se38. Thanks

  • Convert Milliseconds to dateformat in JavaScript

    does somebody know, how to convert a Number of Milliseconds (for example 1121622365429) to a date format yyyy mm dd hh mm ss - in JAVASCRIPT (not Java) ... (date-components in seperate Strings) ??? thx for answering