LSMW Logical file 'CS_BI_BOM_CREATE' is not assigned to physical file

Hi all,
I am creating LSMW tool for BOM by standard batch input program.
In the specify files push button i m getting this error
Logical file 'CS_BI_BOM_CREATE' is not assigned to physical file 'LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv'
Message no. /SAPDMC/LSMW_OBJ_060045
anybody know how to proceed?
If i am going to Tcode - file and setting this one then i require a change request.
Is this the right way to proceed by changing it in "file" tcode.
Tell me all possible options.

Hi,
double click on row Converted data with file 'LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv'
enter in field Logical Path: LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv
enter in field Logical File: LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv
and SAVE
the second option is go in transaction file and create the missing 'LSMW_C_MDM.119_MAT_BOM_001.lsmw.conv'
Regards Vassko!

Similar Messages

  • In LSMW using BAPI Scenario, how to assign the same file to HEADER and ITEM

    Hi,
    i got a problem when we are in ASSIGN FILES step how to assign the same file to both HEADER and ITEM Structures?

    Hi,
    When defining the file in specify files step check the option 'Data for Multiple Source Structures'.
    Hope it helps.
    Thanks,
    Mahesh

  • Using Firefox 3.6.20 and Windows XP Home SP3. Firefox sporatically deletes bookmarks from the bookmarks toolbar. Additionally, when I try to import from a saved HTML file, Firefox does not import the complete file. Results are inconsistent.

    Using Firefox 3.6.20 and Windows XP Home SP3. Firefox sporatically deletes bookmarks from the bookmarks toolbar. Additionally, when I try to import from a saved HTML file, Firefox does not import the complete file. Results are inconsistent.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • The file name is not valid. The file name is a device or contains invalid characters.

    Hi ,
    I am getting below error in SSIS 2008 package when it is run through control-m
    The file name is not valid. The file name is a device or contains invalid characters.
    component "FF_SRC_InboundFidelityInputFile" (1) failed the pre-execute phase and returned error code 0xC020207E.
    although this package is working fine in dev environment from visual studio.
    control-m agent has proper permissions to the folder still it is failing. Please if anyone knows solution for this issue. I am working on this issue since more than a week but reached nowhere. Please help.
    Thanks 
    Paras Gupta

    Hi Paras,
    Based on your description, it is not the VS IDE issue, if it is related to the SSIS, I suggest you post the issue in this forum here:http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlintegrationservices
    , and there you would get better response.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • A file activation error occurred. The physical file name may be incorrect while creating database

    Hi Experts,
       I am trying to create a database in my local system, while creating i am getting error like below can anyone please help me on this.
    Msg 5105, Level 16, State 2, Line 1
    A file activation error occurred. The physical file name ' C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\NewData\Demo_dynamic.mdf' may be incorrect. Diagnose and correct additional errors, and retry the operation.
    Msg 1802, Level 16, State 1, Line 1
    CREATE DATABASE failed. Some file names listed could not be created. Check related errors. 
    Awaiting for the response......!! 
    Niraj Sevalkar

    I have created earlier database in 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA'
    but now i have created one newdata folder and trying to create in it also i have checked the path what have you suggested above and the NewData folder is existed please check below snapshot
    Both folders files and NewData folder which don't have any files 
    Niraj Sevalkar

  • LSMW Direct Input Inspection Plan Not Writing Inspection Char File

    Hello Experts,
       I am using Direct Input Program RCPTRA01 to Load Inspection Plan.
    Created 3 structures - Inpection Plan/Operations/Inspection Characteristics one below the other in that order.
    We have a internal numbering system for assigning Group to Inspection Plan.
    I defined GROUPID column in Maintain Source Fields Inspection Plan/Operations/Inspections characteristics structures and set "Identifying Field Content" as 1.
    When i read data - program is reading inspection plan and operations. But it is not writing Inspection Plan file.
    What am i missing. Spent quite a bit of time trying to figure out what i am missing.
    Any help is appreciated.
    Thanks in advance
    Thanks

    Hi,
    I have exactly followed the same thread.
    1. I have actually maintained 3 files, but when reading it takes only the header file.
    2. When Creating input session I an getting a error,
    No profile with entry tool for task list /  3 in session INSPLAN
    Regards
    Subbu.

  • How do I turn off background ni file activity when not using Labview? files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, nicitdl5.exe

    How do I turn off background ni file activity when not using Labview? I use labview rarely, and I also use my computer for demanding multimedia applications, including multitrack digital audio recording. I need to reduce as much background activity as possible, and taking a look with task manager I see files such as nimxs.exe, nipalsm.exe, nipalsm.exe, nisvcloc.exe, and nicitdl5.exe running even when I haven't used Labview (8 I believe). These files run even after I right click the NI icon on the lower right and turn off the application. I would like the computer to boot up without these files, and for the necessary files to be activated only when I start the program.
    Can this be done or do I have to remove labview from the system to improve performance?
    Thanks

    Hello, those processes are part of running NI services that start when Windows boots.  These processes serve varied purposes and stopping them can have undefined and unknown consiquences for your NI products.  These products run at "normal" priority meaning that they should be preempted by any process running at a higher priority which I would expect your other application to be doing given their time sensitivity.  That being said, in Windows XP (I can't speak for other OSes), you can lower their priorities even greater through task manager (right click the process»set priority) to further remove them from contention for resources.  If you want to prevent them from running you can set the service startup type to "manual" in Control Panel»Administrative Tools»Services.  Right click the process go to Properties and Under the General tab choose Startup Type»Manual.  This will start up the processes only when something directly starts it up.  LabVIEW will start these processes up as it attempts to use them.  When you shut down LabVIEW you will need to manually shut down these processes through task manager.  Again, doing this can cause problems with your NI products on your system and it is not advised.
    Travis M
    LabVIEW R&D
    National Instruments

  • File Name Copy (not text inside the file ) and change the extension of file

    Hi,
    I have a requirement in which I have to copy the file name (not the text inside file ) from one folder/dir to another folder/dir with some another extension.
    Suppose we have file abc.txt of 20kb in a folder ,we need this in another folder with abc.done extension of 0 kb.
    This I need just to trigger a process.
    I have a below code to copy some files from one folder to another but this code copies the complete file not the file name only.Need help.
    package com.sumit.collections;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.nio.channels.FileChannel;
    public class FileMove {
         * @param args
         * @throws IOException
         public static void main(String[] args) throws IOException {
              FileMove fm=new FileMove();
              fm.copyFiles();
         public void copyFiles() throws IOException { 
              File destination=new File("C://soft//test2");
              File srcDir = new File("C://soft//test");
         File[] files = srcDir.listFiles();
         FileChannel in = null;
         FileChannel out = null;
         for (File file : files) { 
         try { 
         in = new FileInputStream(file).getChannel();
         File outFile = new File(destination, file.getName());
         out = new FileOutputStream(outFile).getChannel();
         in.transferTo(0, in.size(), out);
         } finally { 
         if (in != null)
         in.close();
         if (out != null)
         out.close();
    Thanks
    Sumit

    Thanks for all your help.I got the solution.
    package com.sumit.collections;
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    public class DotDoneFile {
         public static void main(String[] args) throws IOException {
              DotDoneFile fm=new DotDoneFile();
              fm.copyFiles1();
         public void copyFiles1() throws IOException { 
              List<String> filnamne = new ArrayList();
              File destDir = new File("C://Barcklays-soft//test2");
              File srcDir = new File("C://Barcklays-soft//test");
              File[] listOfFiles = srcDir.listFiles();
         try{
         for (int i=0;i<listOfFiles.length;i++){
              if (listOfFiles.isFile())
              filnamne.add(listOfFiles[i].getName());
              System.out.println(listOfFiles[i].getName());
              File.createTempFile(listOfFiles[i].getName(), ".done", destDir);
         catch(IOException ioe)
         System.out.println("Exception creating temporary file : " + ioe);

  • File Adapter does not process the same file twice

    SOA: 11.1.1.4 (non-HA).
    I have a file adapter that triggers when a new file gets to a directory; the file is not deleted after the process triggers.
    The process is supposed to call other services via a mediator and if any remote fault happens it should rollback automatically and re-trigger with the same file at the next polling interval.
    I have literally 3 scenarios:
    1). The file gets picked up once, the process fails and the file is never picked up again.
    Msg in log: The file : /xx/xx/xx/abc.xml is being ignored as it has already been processed
    2). If the mediator only routes to one service after the file gets picked up, it works as expect (that is rollback and restart at the next polling interval). If it has more than one sequential routing rule, I see the same error as above.
    3). File does not get picked up EVEN if I "touch" or rename the file.
    Msg in Log:
    File Adapter ProcessName Poller enqueuing file for processing :/xx/xx/xx/abc.xml
    File Adapter ProcessName Ignoring File : abc.xml as it is already enqued for processing.
    I have already checked, there is no permission issue.
    This is what my .jca file looks like:
    <adapter-config name="getFile" adapter="File Adapter" wsdlLocation="getFile.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/FileAdapter" UIincludeWildcard="*"/>
    <endpoint-activation portType="Read_ptt" operation="Read">
    <activation-spec className="oracle.tip.adapter.file.inbound.ScalableFileActivationSpec">
    <property name="DeleteFile" value="false"/>
    <property name="MinimumAge" value="5"/>
    <property name="SingleThreadModel" value="true"/>
    <property name="PhysicalDirectory" value="/xx/xx"/>
    <property name="Recursive" value="false"/>
    <property name="PollingFrequency" value="20"/>
    <property name="IncludeFiles" value=".*"/>
    <property name="UseHeaders" value="true"/>
    <property name="MaxRaiseSize" value="5"/>
    <property name="ListSorter" value="oracle.tip.adapter.file.inbound.listing.TimestampSorterAscending"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    Thanks for looking into it in advance.
    Any help with the error messages will be appreciated.

    You have to use MOVE operation, if there is any remote exception occured, then move the file to someother folder and again move back to the same folder where the file pickup will start.
    In that way you will be use the same file picked up next time when the polling happens.
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    Thanks,
    Vijay

  • [Java 7] Zip file system does not handle nested zip files

    The ZIP FileSystem which is shipped as an extension with Java7 does not support nested ZIP files. I.e., you can open the outer zip file as a FileSystem, but if you try to open an inner zip as a FileSystem, you get this exception:
    java.nio.file.ProviderNotFoundException: Provider not found
         at java.nio.file.FileSystems.newFileSystem(FileSystems.java:403)Since the ZIP FileSystem is an extension, and not a part of the core JDK, I'm posting this here (and on Xueming's blog) in the hope that it will get resolved. It doesn't seem right to report it as a JDK bug.

    872883 wrote:
    The zip file system definitely allows zip entries to be read without extracting them first. And--based on reviewing the ZipFS source code that Oracle has included with the JDK--it doesn't appear to be silently extracting the data to a temporary file.you missed the point of what Peter Lawrey said. in order to create a ZipFS on a zip file, it must be a file in the first place (i.e. have random access). there is no way to do random access on an entry within an existing zip file, therefore in order to create a ZipFS on a nested zip file, you would first have to extract it to a file.

  • Global variable are not assigned to other files

    Hello
    I have defined & assigning some values to Global files in one of the project files, But the same i am not able to read in other files of the same project.
    i have defined as  'extern int  x ' in one file  & also called in other file by defining 'extern int  x'
    let me know if you more info needed
    Hussain

    Hello
    I am trying to implement this in my program .. but assigning the Global variable is not working 
    NOTE: I am using LABWINDOWS CVI 5. (Old version)
    /////***Test 1 contents****///
    extern ViInt32 A= 0;   // Assigning  ‘0’  to Global variables 
    extern ViInt32 B= 0;
    extern ViInt32 C= 0;
    extern ViInt32 D= 0;
    if (revision = =1)
    A=Confirm Popup (“Verifiy”,"Does this unit also have hardware A”);
    ///*** end of Test 1 ***//
    If I am trying the access above global variable to Test 5 or some other test program within same project
    /////***Test 5 contents****///
    If (A)
    printf (“the Hardware mod is REV A”);
    Else
    Printf(“NO Hardware mod find”);
    //*** end of Test 5 ***//
    Now the query is whichever option (YES OR NO) in the confirm POPUP in Test 1. I am getting the output: “NO Hardware mod find”
    The reason is the Global Variable is not passing.  

  • Logic Express 8 will not open Garageband 3 files

    Is this a known issue or user error? I can navigate to the files but they are grayed out and will not open. Any help is greatly appreciated.
    Thanks!

    Thank you so much. Dragging the file to the icon and dropping it there opened the GarageBand file right up. I wasn't able to use the tweak listed in the preferences section (ie: deleting the com.apple file as recommended) since the file doesn't exist in the first place. I wonder if there's a more stable fix on the way?
    And for my peanut gallery comment - would be nice to "save as" a garageband file, too.
    Thanks for your help.

  • I am trying to save a DMS File through File upload UI element to CV01n Transactions....It works fine for .TXT file but other files it is not downloading coorectly and file is getting damaged

    Hi, I am downloading DMS file using following code and the file contents are getting damaged and cannot be retieved back. I am also getting hard time to open a DMS file in seperate browser.
    Can anybody please help me.
      TYPES : BEGIN OF ty_ts_raw_line,
    *                 line TYPE sdokcntbin ,
                line(2550) TYPE x,
               END OF ty_ts_raw_line.
      DATA: ls_documentdata TYPE bapi_doc_draw2,
            lv_doctype TYPE   bapi_doc_aux-doctype,
            lv_docnumber TYPE bapi_doc_aux-docnumber,
            lv_documentpart TYPE bapi_doc_aux-docpart,
            lv_documentversion TYPE bapi_doc_aux-docversion,
            ls_return TYPE bapiret2,
            gt_bapi_doc_files2 TYPE TABLE OF bapi_doc_files2,
            gs_bapi_doc_files2 LIKE LINE OF gt_bapi_doc_files2,
            lo_nd_nd_cost_rate TYPE REF TO if_wd_context_node,
            lt_nd_cost_rate TYPE wd_this->elements_nd_cost_rate,
            ls_nd_cost_rate TYPE wd_this->element_nd_cost_rate,
            lv_string TYPE string,
            lv_temp TYPE string,
            lv_input_file_name TYPE string,
            lv_size TYPE i ,
            lt_bindata TYPE STANDARD TABLE OF ty_ts_raw_line,"  STANDARD TABLE  OF zst_ts_raw_line,
            ls_bindata TYPE  sdokcntbin,
            ls_drao TYPE drao,
            lt_drao TYPE TABLE OF drao,
            lt_files TYPE cvapi_tbl_doc_files,
            ls_files TYPE cvapi_doc_file,
            ls_api_ctrl TYPE cvapi_api_control,
            ls_message TYPE messages,
            lv_dappl TYPE draw-dappl,
            lv_filename TYPE char200,
            lv_filename_draw_filep TYPE draw-filep,
            lv_doc_succ TYPE c,
            lv_tabix TYPE sy-tabix,
            lv_char_tabix(5) TYPE c,
    * get message manager
            lo_api_controller     TYPE REF TO if_wd_controller,
            lo_message_manager    TYPE REF TO if_wd_message_manager,
            lv_text TYPE string,
            lt_tabix TYPE STANDARD TABLE OF sytabix,
            lv_api_ctrl TYPE cvapi_api_control VALUE 'CV01N',
            lv_documentnumber TYPE draw-doknr,
            lt_drat TYPE TABLE OF dms_db_drat,
            ls_drat TYPE dms_db_drat.
      CONSTANTS: lc_cst(3) TYPE c VALUE 'CST',
                 lc_000(3) TYPE c VALUE '000',
                 lc_00(2) TYPE c VALUE '00',
                 lc_zng_test(8) TYPE c VALUE  'ZNG-TEST',
                 lc_desc(11)  TYPE c VALUE 'Cost Rate',
                 lc_test(4)  TYPE c VALUE 'Test',
    *             lc_file_path(31) TYPE c VALUE 'C:\FAKEPATH\COST_RATE_TABLE.TXT',
                 lc_x TYPE c VALUE 'X',
                 lc_blank TYPE c VALUE '',
                 lc_nd(2) TYPE c VALUE '&1'.
      FIELD-SYMBOLS <ls_wd_assist_mt_input> LIKE LINE OF wd_assist->mt_input.
      lo_api_controller ?= wd_this->wd_get_api( ).
      CALL METHOD lo_api_controller->get_message_manager
        RECEIVING
          message_manager = lo_message_manager.
    * navigate from <CONTEXT> to <ND_COST_RATE> via lead selection
      lo_nd_nd_cost_rate = wd_context->get_child_node( name = wd_this->wdctx_nd_cost_rate ).
    * @TODO handle non existant child
      IF lo_nd_nd_cost_rate IS NOT INITIAL.
        lo_nd_nd_cost_rate->get_static_attributes_table( IMPORTING table = lt_nd_cost_rate ).
      ENDIF.
      ls_documentdata-documenttype = lc_cst.
      ls_documentdata-documentnumber = lc_cst.
      ls_documentdata-documentversion = lc_00.
      ls_documentdata-documentpart  = lc_000.
      ls_documentdata-description  = lc_desc.
    *  ls_documentdata-
    *  ls_drat-dktxt = lc_desc.
    *  append ls_drat to lt_drat.
    *  clear ls_drat.
    *  lv_api_ctrl = 'CV01N'.
      LOOP AT lt_nd_cost_rate INTO ls_nd_cost_rate WHERE row_index IS NOT INITIAL.
        lv_tabix = sy-tabix.
    *           CALL FUNCTION 'CVAPI_DOC_CREATE'
    *         EXPORTING
    *           ps_draw              = ls_documentdata " wa_documentfiles
    *           ps_api_control       = lv_api_ctrl
    *         IMPORTING
    *           psx_message          = ls_message
    *           pfx_doknr            = lv_documentnumber.
    **         TABLES
    **           pt_drat_x            = it_drat.
        CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
          EXPORTING
            documentdata    = ls_documentdata
            defaultclass    = 'X'
          IMPORTING
            documenttype    = lv_doctype
            documentnumber  = lv_docnumber
            documentpart    = lv_documentpart
            documentversion = lv_documentversion
            return          = ls_return.
        IF ls_return-type CA 'EA'.
          ROLLBACK WORK.
        ELSE.
          COMMIT WORK.
        ENDIF.
        LOOP AT wd_assist->mt_input ASSIGNING <ls_wd_assist_mt_input> WHERE row_index = ls_nd_cost_rate-row_index.
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer        = <ls_wd_assist_mt_input>-file_data
            IMPORTING
              output_length = lv_size
            TABLES
              binary_tab    = lt_bindata.
          lv_filename_draw_filep = <ls_wd_assist_mt_input>-filename.
          WHILE lv_filename_draw_filep CA '\'.
            SPLIT lv_filename_draw_filep AT '\'
            INTO lv_temp lv_filename_draw_filep.
          ENDWHILE.
          LOOP AT lt_bindata INTO ls_bindata.
            CLEAR ls_drao.
            ls_drao-orblk = ls_bindata-line.
            ls_drao-orln = lv_size.
            ls_drao-dokar = lv_doctype.
            ls_drao-doknr = lv_docnumber.
            ls_drao-dokvr = lv_documentversion.
            ls_drao-doktl = lv_documentpart.
            ls_drao-appnr = '1'.
            APPEND ls_drao TO lt_drao.
            CLEAR ls_drao.
          ENDLOOP.
          CONDENSE lv_input_file_name.
    *      lv_input_file_name = 'Test.txt'.
          CALL FUNCTION 'CV120_DOC_GET_APPL'
            EXPORTING
              pf_file   = lv_filename_draw_filep
            IMPORTING
              pfx_dappl = lv_dappl.
          ls_files-appnr = '1'.
          ls_files-dappl = lv_dappl.
          ls_files-filename = lv_filename_draw_filep.
          ls_files-updateflag = 'I'.
          ls_files-langu = sy-langu.
          ls_files-storage_cat = 'SAP-SYSTEM'.
          ls_files-description = lv_filename_draw_filep..
          APPEND ls_files TO lt_files.
          CLEAR ls_files.
          ls_api_ctrl-tcode = 'CV01N'.
          CALL FUNCTION 'CVAPI_DOC_CHECKIN'
            EXPORTING
              pf_dokar           = lv_doctype
              pf_doknr           = lv_docnumber
              pf_dokvr           = lv_documentversion
              pf_doktl           = lv_documentpart
              ps_api_control     = ls_api_ctrl
              pf_content_provide = 'TBL'
              pf_http_dest       = 'SAPHTTPA'
              pf_ftp_dest        = 'SAPFTPA'
            IMPORTING
              psx_message        = ls_message
            TABLES
              pt_files_x         = lt_files
              pt_content         = lt_drao.
          IF ls_message-msg_type CA 'EA'.
            lv_doc_succ = lc_blank.
          ELSE.
            COMMIT WORK.
            lv_doc_succ = lc_x.
            CLEAR lv_text .
            lv_text = <ls_wd_assist_mt_input>-comments.
          ENDIF.
          CLEAR: ls_api_ctrl,ls_message,lt_files[],lt_drao[].
        ENDLOOP.
        IF lv_doc_succ = lc_x.
          ls_nd_cost_rate-dokar = lv_doctype.
          ls_nd_cost_rate-doknr = lv_docnumber.
          ls_nd_cost_rate-doktl = lv_documentpart.
          ls_nd_cost_rate-dokvr = lv_documentversion.
          ls_nd_cost_rate-comments = lv_text.
          MODIFY lt_nd_cost_rate FROM ls_nd_cost_rate INDEX lv_tabix TRANSPORTING dokar doknr doktl dokvr comments.
        ELSE.
          APPEND lv_tabix TO lt_tabix.
        ENDIF.
        CLEAR ls_nd_cost_rate.
      ENDLOOP.
    I am also having hardtime to show DMS file on browser.

    Hi I've done DMS Creation like below code. Just check it .
          LS_DOC-DOCUMENTTYPE    = LW_DMS_APP-DOCUMENTTYPE.
          LS_DOC-DOCUMENTVERSION = LW_DMS_APP-DOCUMENTVERSION.
          LS_DOC-DOCUMENTPART    = LW_DMS_APP-DOCUMENTPART.
          LS_DOC-STATUSEXTERN    = LW_DMS_APP-STATUSEXTERN.
          LS_DOC-LABORATORY      = '  '.
    CONCATENATE WD_THIS->LW_REQ-BUKRS LS_DMS-REQ_NO LS_DMS-CR_YR INTO LW_OBJKEY SEPARATED BY '\'.
          LW_DRAD-OBJECTKEY = LW_OBJKEY.
          LW_DRAD-OBJECTTYPE = 'ZAPR_REQ'.
          APPEND LW_DRAD TO LT_DRAD.
          LW_DRAT-LANGUAGE = SY-LANGU.
          LW_DRAT-DESCRIPTION = LS_STRIPPEDNAME.
          APPEND LW_DRAT TO LT_DRAT.
          CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
            EXPORTING
              DOCUMENTDATA         = LS_DOC
            IMPORTING
              DOCUMENTTYPE         = LF_DOCTYPE
              DOCUMENTNUMBER       = LF_DOCNUMBER
              DOCUMENTPART         = LF_DOCPART
              DOCUMENTVERSION      = LF_DOCVERSION
              RETURN               = LS_RETURN
            TABLES
              DOCUMENTDESCRIPTIONS = LT_DRAT
              OBJECTLINKS          = LT_DRAD.
    *--------Creating DMS Document Using BAPI-----------------*
          IF LS_RETURN-TYPE NA 'EA'.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                WAIT = 'X'.
          LS_DRAW-DOKAR = LW_DMS_APP-DOCUMENTTYPE.
          LS_DRAW-DOKVR = LW_DMS_APP-DOCUMENTVERSION.
          LS_DRAW-DOKTL = LW_DMS_APP-DOCUMENTPART.
          LS_DRAW-DWNAM = SY-UNAME.
          LS_DRAW-DOKST = LW_DMS_APP-STATUSEXTERN.
          LV_STORAGE_CAT = LW_DMS_APP-STORAGECATEGORY.
          LS_API_CONTROL-TCODE = 'CV01N'.
          IF LF_DOCNUMBER IS NOT INITIAL.
            CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
              EXPORTING
                BUFFER        = LS_DMS_FILE-FILE_CTGRY
              IMPORTING
                OUTPUT_LENGTH = LV_SIZE
              TABLES
                BINARY_TAB    = LT_BINDATA.
            LOOP AT LT_BINDATA INTO LS_BINDATA.
              CLEAR LS_DRAO.
              LS_DRAO-ORBLK = LS_BINDATA-LINE.
              LS_DRAO-ORLN  = LV_SIZE.
              LS_DRAO-DOKAR = LS_DRAW-DOKAR.
              LS_DRAO-DOKNR = LF_DOCNUMBER.
              LS_DRAO-DOKVR = LS_DRAW-DOKVR.
              LS_DRAO-DOKTL = LS_DRAW-DOKTL.
              LS_DRAO-APPNR = '1'.
              APPEND LS_DRAO TO LT_DRAO.
            ENDLOOP.
            CALL FUNCTION 'CV120_DOC_GET_APPL'
              EXPORTING
                PF_FILE   = LS_STRIPPEDNAME
              IMPORTING
                PFX_DAPPL = LS_FILES-DAPPL.
            LS_DRAW-FILEP = LS_STRIPPEDNAME.
            LS_DRAW-DAPPL = LS_FILES-DAPPL.
            LS_FILES-APPNR = '1'.
            LS_FILES-FILENAME = LS_STRIPPEDNAME.
            LS_FILES-UPDATEFLAG = 'I'.
            LS_FILES-LANGU = SY-LANGU.
            LS_FILES-STORAGE_CAT = LW_DMS_APP-STORAGECATEGORY. "'ZDMS_DI'.
            LS_FILES-DESCRIPTION = LS_STRIPPEDNAME.
            APPEND LS_FILES TO LT_FILES.
            CALL FUNCTION 'CVAPI_DOC_CHECKIN'
              EXPORTING
                PF_DOKAR           = LS_DRAW-DOKAR
                PF_DOKNR           = LF_DOCNUMBER
                PF_DOKVR           = LS_DRAW-DOKVR
                PF_DOKTL           = LS_DRAW-DOKTL
                PS_API_CONTROL     = LS_API_CONTROL
                PF_CONTENT_PROVIDE = 'TBL'
              IMPORTING
                PSX_MESSAGE        = LS_MESSAGE
              TABLES
                PT_FILES_X         = LT_FILES
                PT_CONTENT         = LT_DRAO.
            IF NOT LS_MESSAGE-MSG_TYPE CA 'EA' AND
                   LF_DOCNUMBER IS NOT INITIAL.
              CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
           ENDIF.
    Regards,
    Jack.  

  • How to list files that are NOT in a .jar file?

    Is it possible to list files (resources, .gif/.jpg files, etc.) that are NOT included in the jar but are still to be considered part of the application somewhere in the jnlp-file?
    My applications requires lots of icons which I have put into .gif files. So far I kept them in individual files next to the .jar file and that worked fine.
    JWS now seems to support only stuff that is included in (a) .jar-file(s). That in itself woul not be much of a problem, however, when I include my .gif files into the .jar files they seem to get corrupted by the jar-signing process (at least that what's the code says, which can suddenly not handle these images any more).

    My previous seem to have been non-sense. The .gif file were not corrupted, but rather they were not found at all. They actually must NOT be included in the .jar file, or else they are not found. Strange enough, the .properties-file seemingly HAS to be in the .jar file to be found.
    This is something I'll probably never fully understand with java: which file-types it searches where...

  • "File / Add File To Library" Not Working For Particular File

    I believe I chose to delete a podcast. iTunes asked if I wanted to totally delete the file, or to leave it in a 'media file'. I didn't know what this meant so I chose to just leave it in a 'media file'. As expected, the podcast could no longer be seen in the iTunes Library / podcasts.
    Later I performed: "File / Add File To Library" of that same podcast (ie. an .mp3 file). The file does not seem to be anywhere in the Library. I'm wondering if it is not added because it thinks it is in some "media file" which cannot be seen within iTunes? No error message was given saying the file was already there; however, when i attempt to add other podcasts from the same directory on my computer, iTunes has no problem adding other podcasts.
    I've changed the directory to a different location on my harddrive, as well as changed the name of the podcast all to no avail. And spent 4 hours with this and am ready to pull my hair out.
    I think iTunes will not add this file because it thinks it is already there, although from no where in iTunes can i find it (ie. not under 'music', not under 'podcast', etc.).
    Any help would be greatly appreciated!

    "Won't add to library and doesn't give an error message" is usually a sign of minor corruption in the MP3 file. Treat it with a 3rd party tag cleanup program such as MP3val, and then it should be able to be added to your iTunes library.

Maybe you are looking for

  • [SOLVED] XAMPP 1.8.0 + virtual hosts = 403 access forbidden

    Hello, all. I am happy migrant from ubuntu to arch, but have problem, which i can't solve myself. I need to setup xammp for local development. My actions Install last xampp from aur Run lampp Open locahost, there is "xampp welcome page" Open localhos

  • Problem in invoking a servlet from another PC

    hi i am trying to invoke a servlet running on apache tomcat 5.0.28 from another PC, my j2me wireless toolkit is on one PC and it runs a MIDlet that invokes a servlet on another PC, but am getting an exception connectionNotFound.... both the computers

  • Converting small amount of AS2 to AS3

    Hi All, I’m struggling to convert this block of AS2 code into AS3. It is a Netstream video component and I have made the scrubber able to be dragged anywhere inside the player. (Vertical and Horizontal). The scrubber is also coded so that it controls

  • Enterprise services regarding Purchase Orders

    Hello, We want to use following enterprise services: PurchaseOrderCreatedInformation_Out PurchaseOrderChangedInformation_Out The services are sent by activating following events in SWE2: CL_SE_PUR_PO_WF_OUT - CHANGED - WS53800008 CL_SE_PUR_PO_WF_OUT

  • Access Specifiers for a class

    Why we can't declare private or protected for a class as access specifier. Can you give me an example on it.