Logical file creation for physical inventory

Hi,
How to use MI31/MI34/MI37 t.codes for Physical inventory.
What is mean by logical file.
Regards,
Prabu

Hi
I didnt work on MI34. But SAP help gives below reference: Check with an ABAPer
Short text
Batch input: Enter count with reference to document
Description
This report generates a batch input session (BI session) which, when processed, enters the inventory count results with reference to a physical inventory document.
Before you start the report, make sure that the file entered on the selection screen is stored in the specified directory at operating system level.
The data for the batch input session is imported from an external dataset as a sequential file. The structure of the sequential file is preallocted by the table BISEG. You can display and print this structure via the information system in the data dictionary. Note that the object class Fields is chosen on the request screen of the information system.
Requirements
Entering counting results via a batch input session requires that the corresponding physical inventory document has been created in the system. If you try to enter a counting result for which no physical inventory document exists, an error will occur during the BI session, which will interrupt processing.
Any errors are recorded in the log file for the corresponding BI session.
Before the sequential file is read, you should perform a test run. For this purpose, you have to maintain the corresponding test data in table T159I. For the sequential file data to be read and and for test data in table T159I, please note the following:
The name of the report has to be specified only in table T159I. The name to be specified is RM07II34.
The name of the BI session is optional.
The name of the transaction Enter inventory count to be specified is MI04.
The following data must be entered into the system:
Count date
Fiscal year
Number of physical inventory document
Item in physical inventory document
Quantity of stock counted
Output
The system generates a batch input session which you can process via options System -> Services -> Batch input -> Sessions.
When processing the batch input session for testing purposes, you should set the Display errors only indicator.
When importing the actual productive data, you should always use the Background indicator.
If data expected by the system (required-entry fields) does not exist, an error will occur during the batch input session which will interrupt processing.
An error will also occur during the batch input session if you try to maintain data not expected by the system (fields not ready for input). However, processing will not be interrupted. The system writes a comment in the session log.
Thanks

Similar Messages

  • Transaction code for mass creation of physical Inventory document

    what is the transaction code for mass creation of physical Inventory document.

    MI31 is the transaction to create hundreds of physical inventory documents for annual inventory at a time.
    MICN can create several documents at a time for cycle count.
    Just look in the menu of phyiscal inventory into the knot Sessions, there are even more e.g. for counting of own stock a customer and vendor location, for vendor stock at own location etc.

  • Assign Logical file name for the physical file path through Program

    Hi all,
    I am having a physical file which is getting generated dynamically. It is having the date and time stamp in its name which is added at runtime.
    Now I need to assign a logical file name for the physical file path through the program.
    Is there any FM or any other method to assign the same.
    Gaurav

    I think it is not possible. becuase the date & time added at runtime. so if you check the table  PATH you can find filename and their definitions

  • API for Physical Inventory Tag Count

    Hi , Please let me know if any Public API available for updating the physical Inventory tag count ? We have requirement like update of physical counts of Inventory tags, the idea is the counts  are stored  in flat file is in same column format of Physical Inventory Tag count form in Inventory , here just we need to update the counts. let me know any public API avaialble

    According to the oracle knowledgebase, there is no Public API.  But there is an enhancement request that you might want to add your company to.
    Bug 3611131 : INTERFACE/API FOR PHYSICAL INVENTORY ADJUSTMENTS / TAGS

  • Logical File creation in Logical path

    Hi all,
    I am after an info, how to create different logical file name in the same physical path.
    Suppose I have physical path: X/claims/interface/outbound which is assigned to logical path LP
    Now under this path I want to store some logical file say 1, 2, and 3
    What would be the naming convention? & how to do it?
    Any help would be highly appreciated.
    Regards,
    Kironmoy Banerjee.

    Hi,
    Use FM u2018FILE_GET_NAMEu2019 to assign the physical file name using a logical file name.
    Remember you need to create u2018logical file nameu2019 using transaction u2013 FILE.
    R/3 applications run on various platforms with various file systems. Hence we use platform-independent logical file names in our application programs.
    Function module u2018FILE_GET_NAMEu2019 converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.
    For this conversion to work for different platforms, the definition of a logical file name must include a logical file path, which in turn is converted to different physical file paths, depending on the particular platform. The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.
    Example
    logical file name: MONTHLY_SALES_FILE
    physical file name: VALUES<PARAM_1>
    logical path: SALES_DATA_PATH
    physical path (UNIX): /usr/<SYSID>/<FILENAME>
    physical path (Windows): C:\SALES\<FILENAME>.
    Santosh
    Edited by: Santhosh Nagaraj on Sep 30, 2009 2:45 PM

  • Information about file Id, Logical file name and Physical file name

    Hi All,
    I am testing one program. Selection screen has 3 parameters, File Id, Logical File Name and Physical file name. In Physical File name, i am giving complete file name with path. But it is giving error. Please tell me, what is File id and what all information i need to enter for logical file name and physical file name.
    Thanks
    Puneet Aggarwal

    hi,
    try using this for filename.
    parameters : p_file like rlgrap-filename.
    Thanks,
    Gaurav

  • Logical file names and Physical file names

    Hi Guys...
         Can you let me know what is the difference between Logical file names and Physical file names?
    Regards,
    Rohit

    Using Logical Files in ABAP Programs http://help.sap.com/saphelp_nw04/helpdata/en/9f/db95e635c111d1829f0000e829fbfe/content.htm
    Creating and Defining Logical Filenames
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3df8358411d1829f0000e829fbfe/content.htm

  • Authorization Control for Physical Inventory Transactions

    Hello,
    Can we control the authorization for Physical Inventory Transactions especially MI01, MI02, Mi04, MI07, MI08, MI31 etc. at Storage Location level instead of Plant Level.
    If it's not possible at Sloc level does anyone knows the user exit/code we can use enable the authorization check at Storage Location level.
    Regards,

    hi,
    yes u can do it.
    check
    M_MSEG_LGO     Goods Movements: Storage Location
    mvt type 701/702

  • Get Logical file name from Physical file name

    Hi everybody,
    Please how can i get Logical file name from Physical file name ?
    Thanks & Regards
    Hassan

    Hi,
    What i want is to get Logical file name from Physical file name, and not the opposite (get Physical file name from Logical file name).
    Thanks & Regards,
    Hassan

  • XML log: Error during temp file creation for LOB Objects

    Hi All,
    I got this exception in the concurrent log file:
    [122010_100220171][][EXCEPTION] !!Error during temp file creation for LOB Objects
    [122010_100220172][][EXCEPTION] java.io.FileNotFoundException: null/xdo-dt-lob-1292864540169.tmp (No such file or directory (errno:2))
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
         at oracle.apps.xdo.dataengine.LOBList.initLOB(LOBList.java:39)
         at oracle.apps.xdo.dataengine.LOBList.<init>(LOBList.java:30)
         at oracle.apps.xdo.dataengine.XMLPGEN.updateMetaData(XMLPGEN.java:1051)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:511)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1121)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1144)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:558)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    I have this query defined in my data template:
    <![CDATA[
    SELECT lt.long_text inv_comment
    FROM apps.fnd_attached_docs_form_vl ad,
    apps.fnd_documents_long_text lt
    WHERE ad.media_id = lt.media_id
    AND ad.category_description = 'Draft Invoice Comments'
    AND ad.pk1_value = :project_id
    AND ad.pk2_value = :draft_invoice_num
    ]]>
    Issue: The inv_comment is not printing on the PDF output.
    I had the temp directory defined under the Admin tab.
    I'm guessing if it's the LONG datatype of the long_text field that's causing the issue.
    Anybody knows how this can be fixed? any help or advice is appreciated.
    Thanks.
    SW
    Edited by: user12152845 on Dec 20, 2010 11:48 AM

    Hi All,
    I got this exception in the concurrent log file:
    [122010_100220171][][EXCEPTION] !!Error during temp file creation for LOB Objects
    [122010_100220172][][EXCEPTION] java.io.FileNotFoundException: null/xdo-dt-lob-1292864540169.tmp (No such file or directory (errno:2))
         at java.io.RandomAccessFile.open(Native Method)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
         at java.io.RandomAccessFile.<init>(RandomAccessFile.java:98)
         at oracle.apps.xdo.dataengine.LOBList.initLOB(LOBList.java:39)
         at oracle.apps.xdo.dataengine.LOBList.<init>(LOBList.java:30)
         at oracle.apps.xdo.dataengine.XMLPGEN.updateMetaData(XMLPGEN.java:1051)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:511)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1121)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroup(XMLPGEN.java:1144)
         at oracle.apps.xdo.dataengine.XMLPGEN.processSQLDataSource(XMLPGEN.java:558)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeData(XMLPGEN.java:445)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:308)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    I have this query defined in my data template:
    <![CDATA[
    SELECT lt.long_text inv_comment
    FROM apps.fnd_attached_docs_form_vl ad,
    apps.fnd_documents_long_text lt
    WHERE ad.media_id = lt.media_id
    AND ad.category_description = 'Draft Invoice Comments'
    AND ad.pk1_value = :project_id
    AND ad.pk2_value = :draft_invoice_num
    ]]>
    Issue: The inv_comment is not printing on the PDF output.
    I had the temp directory defined under the Admin tab.
    I'm guessing if it's the LONG datatype of the long_text field that's causing the issue.
    Anybody knows how this can be fixed? any help or advice is appreciated.
    Thanks.
    SW
    Edited by: user12152845 on Dec 20, 2010 11:48 AM

  • Smart form for physical inventory doc

    Dear Experts,
    Is there any standard smart form for physical inventory doc? In SAP, the standard sapscript is INVENT, but this form is in sapscript, can I develop using smart forms? how to link the smart form to the print program?

    The transaction MI21 prints inventory using a SAPscript through INVENT.

  • Logical path creation for an InfoSpoke

    Hi,
    I have an InfoSpoke for which I need to create a Logical Path. All I know is it involves some commands in MSDOS may be. Could anyone please let me know the procedure for the same?
    Thanks.

    Hi Bobs,
             Go to File trnx -> drill down the Logical File Path Definition -> Clcik on  "Create a logical file path" in middle of the screen  ->
    Then it will prompt for details of logical path you want to create
    EX: you can specify in the same lines as give below
    Logical path        ZXXXXXXXXXX                  
    Name                 Description of ZXXXXXXXXX
    Syntax group      UNIX     Unix compatible
    Physical path     /ABC/XYZ/<FILENAME>
    ZXXXXXXXXX is the logical path you want to create
    /ABC/XYZ/<FILENAME> -> /ABC/XYZ/ is the physical path in your server where your files will stored. dont forget to give filename within <> as shown above.
    Just save after that
    Regards
    Sunil

  • Difference between logical file path and physical file path

    Hi,
    Can anyone tell me why logical file path is required and why physical file path is required? What exactly is the difference bet them?
    Thanks in advance.
    Regards,
    PS.

    Hi,
    The function module FILE_GET_NAME convert a logical path into its corresponding physical path.
    The advantage of using logical pathes within your applications is obivous:
    If you need to change the physical path you just adjust it within transaction FILE yet no changes are required to your application.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/25/ab3a57df3b11d189fc0000e829fbbd/frameset.htm
    The file names that you use in ABAP statements for processing files are physical names. This means that they must be syntactically correct filenames for the operating system under which your R/3 System is running. Once you have created a file from an ABAP program with a particular name and path, you can find the same file using the same name and path at operating system level.
    Since the naming conventions for files and paths differ from operating system to operating system, ABAP programs are only portable from one operating system to another if you use the tools described below.
    To make programs portable, the R/3 System has a concept of logical filenames and paths. These are linked to physical files and paths. The links are created in special tables, which you can maintain according to your own requirements. In an ABAP program, you can then use the function module FILE_GET_NAME to generate a physical filename from a logical one.
    Maintaining platform-independent filenames is part of Customizing. For a full description, choose Tools ® Business Engineer ® Customizing, followed by
    Implement. projects ® SAP Reference IMG. On the next screen, choose Basis Components System Administration ® Platform-independent File Names.
    For a more detailed description of the function module FILE_GET_NAME, enter its name on the initial screen of the Function Builder and choose Goto Documentation. On the next screen, choose Function module doc.
    Another way of maintaining platform-independent filenames is to use the Transaction FILE. The following sections provide an overview of the transaction.
    To create a logical filename, choose Logical filename definition, client-independent from the Navigation group box in Transaction FILE, then choose New entries. You define logical filenames
    You can either define a logical filename and link it to a logical path (as displayed here), or you can enter the full physical filename in the Physical file field. In the latter case, the logical filename is only valid for one operating system. The rules for entering the complete physical filename are the same as for the definition of the physical path for the logical file. To display further information and a list of reserved words, choose Help.
    If you link a logical path to a logical file, the logical file is valid for all syntax groups that have been maintained for that logical path. The filename specified under Physical file replaces the reserved word  in the physical paths that are assigned to the logical path. To make the name independent of the operating system, use names that begin with a letter, contain up to 8 letters, and do not contain special characters.
    Save your changes.
    regards,
    Omkar.

  • Logical File names for OHS

    Hi all,
    I wanted to create the files names dynamically
    I know we can use transaction file and define a logical name with variables and assign value sto the variables to get the physical name.
    my requirement is to fetch different values for the variables as well. for example : let ssay I have to create two data files using a process chain . both should have same time stamp at the end of the file.
    I 'm planning to store this timestamp in a table. so during run time I want FILEname1_timestamp and Filename2_timestamp.
    wher etimestamp is the same value for both files. but the prefix is different.
    please let me know a optimum way to create this in BI7.0

    I store this as a variable in PARAMVALUE table and us ethis in the logical file name of the File in transaction FILE.

  • Table and field name for Physical Inventory

    Hi Experts,
    As i have to put radio buttons with 2 blocks in a report for Phys. Inventory. Please tel me the following fields:-
    Block1.   Table name and field ( flag field) that shows physical inventory completed & not completed. (so many indicator fields but i want exaact one) or any other way to no PI done or not.
    Block 2.  Table name and Field( flag field ) for Physical Inv. Still to be executed , Physical Inv. Still to be Closed, Phy Inv. Executed, Phy Inv. Active Again.
    Regards
    Nikhil

    <b>go to se80
    click on repository information system  
    expand ABAP Dictionary
    expand fields
    double click on table fields</b>
    on the right side of the screen type the description of the field you want to know and execute to know the field name and the table where it is used.
    <i>follow the above steps to search by yourself rather than posting each time</i>
    regards,
    srinivas
    <b>*reward for useful answers*</b>

Maybe you are looking for

  • How to connect a SATA Drive in a G4 MDD Desktop Mac?

    Due to much more needed harddisk space for music production on my G4 1.25 GHz Dual PC, I ordered and just received a SATA 500 GB internal Harddiskdrive. Under "About This Mac" in the System Profiler I get a list of all my internally already connected

  • ALV user Tracking Report

    Hi experts, can any body tell me how can i make a ABAP  ALV Report which give number of user login in into the system for how long time with all details based on the user specified date,username,tcode  and time on selection screen for example - .user

  • Why do I get this error message /opt/firefox/run-mozilla.sh: 399: /opt/firefox/firefox-bin: not found

    kubuntu 10.04 firefox 10.0.2 I downloaded and installed firefox 10.0.2 but when I... 1. click the desktop icon nothing happens. 2. use terminal mode and type firefox I get the following error message: /opt/firefox/run-mozilla.sh: 399: /opt/firefox/fi

  • Synchro does not work between Ipad, Iphone and Mac

    Good evening, I have an IMAC, iPhone 5s and an Ipad all with the last IOS version and synchro does not work at all. My iCloud address is not with iCloud but with hotmail. I dod not get any suitable answer from the retailers in Budapest. Does anybody

  • Lion 10.7 & Adobe Reader 9.4.5 scrolling issue

    I have a 2010 iMac i5 quad core w/ 8gb ram and 2011 macbook pro i7 quad core w/ 8gb ram .  After upgrading to Lion 10.7 the scrolling in adobe reader has become choppy and slow. On my previous OS it scrolled and moved smooth as glass.  I have checked