Inventory Report Problem

Hi all,
There is problem in inventory report.
When i run as report as on date (31.12.2008) total is coming correct its matching with R/3.
But if i add stock of all the material then its not matching.
eg..
Material        qty    val
m01              10     100
e01               20     200
total            50      700
my total is matching with R/3. but if add stock of material then it is showing as 30 while total is showing 50 which exactly same as R/3. now when i changed the date range (01.01.2008 to 31.12.2008) it shows me follwoing result...
Material        qty    val
m01              10     100
e01               20     200
f01               [20]   [400]
total            50      700
I am not able to understand why its showing result like this ??? So i have to ask my users to run this report large date range ... which is not logical .. .inventory report should be as on date...
Regards,
Viren.

Hi,
Create a new Calculated Key-Figure For Value with Exception Aggregation as 'Total' and Reference Characteristic as 'Quantity'.
Please allot points if you find it useful.
Thanks and Regards,
Kuntal.

Similar Messages

  • Prime Infrastructure 2.2- problems: Wired Detailed Device Inventory report not running / Cisco 5500 WLCs no listed in subgroup

    New installation of Prime Infrastructure 2.2.0 (PI-VA-2.2.0.0.158.ova)
    installed fixes/software/device packs:
    PI 2.2.1 Poodle Fix (installed)
    PI 2.2.1 Maintenance Release (installed,ncs stopped,rebooted)
    Prime Infrastrucutre 2.2 Device Pack 3 (installed,ncs stopped,rebooted)
    Licences installed (ncs stopped,rebooted)
    Added all devices via Bulk Import (Inventory>Device Management>Network Devices)
    Problem 1:
    The Cisco 5500 WLCs are not listed in Inventory>Device Management>Network Devices (see screen shot) but listed under "All Devices"!
    The Cisco 4400 WLCs and the 8500 WLCs are listed within their subgroup.
    Devices are in "Managed State"
    Problem 2: fixed! (Browser issue)
    Problem 3:
    Unable to run "Wired Detailed Device Inventory" report because I get the error message: Failed to run report: Unable to retrieve data for: Chassis Information (if Chassis Information is selected, if System Information is selected I get the error message with ...retrieve data for:System Information)
    All devices do have an "Admin Status = Managed" and the Last Inventory Collections Status = Completed.
    Has anyone the same issues or a tip for me?
    Another topic, the "User Defined Fileds" are not exported when with running a "Device Export" (Inventory > Device Management > Network Devices). ;-(
    BR
    Bastian

    Hallo Bastian,
    I think you still have browser issue, Using IE is still the best with Prime.
    I have exactly same prime 2.2 and installed fixes/software/device packs.
    I have no problem I can see all views. I use now IE 11, with Chrome 42.0.2311.90 and firefox 37.01 I have problems too with lots of views. You have not tell what browser + version you have.
    Since you have same prime 2.2 as me. I have other problems, can you check yours?
    Can you see a functional CLI template page at Configuration > Templates > Features & Technologies:
    https://supportforums.cisco.com/discussion/12481691/can-cisco-prime-22-still-do-simple-ad-hoc-deployment-job-cli-over-all-switches
    Do you have SNMP Connectivity Failed while Verify Credentials  has no errors all green and checked. 
    https://supportforums.cisco.com/discussion/12494786/snmp-request-exceeds-internal-data-buffer-512-bytes-prime-22-asa-5545

  • Inventory Report-Replacement path for Base UOM to Case and Standrad Cost

    Hi, We have a Scenario as below:
    Question1:
    We have a multiprovider contains 4 infocubes and 2 Master Data objects
    a.Demand
    b.Inventory
    c.Sales Orders
    d.In Transit
    Master Data objects
    a. Material (contains Base UOM to Case as Key Figure Attribute and also Base UOM as an attribute)
    b. Material Location (Contains material as an attribute and also Standard Cost as a Key Figure attribute)
    At the report level two formula variables are defined with replacement path for showing the Base UOM to Case and Standard Cost in columns.
    We have 4 reports on this multiprovider. There is a dialy sales report which gives the following details
    Material, Location, MRP Controller, CalDay, Base UOM, Actual Sales(AS), Dependent Demand(DD), Consumption Qyt(CQ), Base to Case UOM, Standard Cost
    In this report for all the records the Base to UOM and Standard Cost column is coming with values which is nothing but the replacement path on the material master key figure attribute. Though this report is on the multiprovider all the major keyfigures (AS, DD and CQ) are coming from a single cube( this is an observation from myside).
    We have another report which is the Inventory Report with the following details:
    Material, Location, MRP Controllder, Calday, Base UOM,      Unrestricted Inventory(UI), committed Inventory(CI), Back Order Qty(BOQ), In Transit by Sh/Rec(ITS), In Transit Pipeline(ITP), On Order Qty (OOQ), Current Inventory Position (CIP), Quality Inspection Stock(QIS), Block Stock(BS), Base to Case UOM, Standard Cost
    Now in this report for all the records the Base to Case UOM and standrad cost is not showing up. Is there anything which needs to be done in order to get the Base to Case UOM and standard cost for all the records.
    Question2:
    When Non-Cumulative and Cumulative key figures are combined at the multi provider and also at the report level, will there be any problem?
    Regards
    Vijay

    Hi,
    I think you can proceed with virtual characteristics for this.In the code you can truncate the time and you can display on the date:
    Regards
    Prasad

  • -ve values in inventory report

    Hi Experts,
    I have inventory report, this report shows total stock, in this report some materials are showing '-ve' values,but in cube total issue stock and total received stock both are same, that means this inventory report should show '0' value.
    for example: in cube total issues stock: 13.60, total received stock: 13.60. That means total stock is = 0 (13.60-13.60), but in report it is showing -13.60.
    I am not understanding what is the problem,
    Pl help to do this,
    good answer will be appriciated.
    thanks in advance,
    Venkat

    Hi Venkat,
    The calculation's of Inventory total stock is not as simple as we understand them. To calculate total stock it consider different Movement type's, reversal entries, blocked stock etc. as well into consideration.
    There is no -ve stock and there can be no as well, but still u r getting that (i also got that ) then this is how u can analyze at various points where exactly the problem is.
    1. Try to run some standard report for total stock (based on inventory Cube 0IC_C03 i guess this is u usign probably). Check the stock value for 1 or two particular Material and cross check the stock of same material in your R/3 system through some tr MMBE.
    2. If standard report gives u rite result then probably some logic problem in ur report.
    3. Apart from that the main problem of this situation is data loading issue.
    Please follow proper inventory data loading steps. If not done step by step u will end up with wrong data.
    Hope these steps will help you out in tracking the situation.
    Thanks
    Dipika Tyagi

  • EoS/EoL hardware report problem on LMS 3.2 RME 4.3.1

    Hi,
    Trying to run EoS/EoL RME reports for the first time and having problems. I have applied latest patch for CSCte717641 and this seems to have made things a little better. Originally the hardware report simply failed, but now it seems to run, but never finish. To avoid any download problems, I have manually downloaded both the EOX_SOFTWARE.ZIP and the PSIRT_EOX_OFFLINE.txt, which I have placed into the "NMSRoot\rme\jobs\inventory\reports\EOX_PSIRT\local_xml" folder. The PSIRT file has been un-compressed and put in as .txt and the EOX file has been left as a .zip. Now the report starts running, I can see it creating a temp folder in the above folder and it seems to place two files in there eos_card and eos_device, but then it appears to delete the temp folder and the job just sits at running?
    Any advice would be appreciated

    This is from the time I ran the report.
    [ Fri Feb 18 12:03:15 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,383,InventoryReportsAction Getting request params : ReportNAme: EoS/EoL Hardware ReportApp Name : null
    [ Fri Feb 18 12:03:15 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,392,Action of Filter is null
    [ Fri Feb 18 12:03:15 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,911,Generate report Request from UI
    [ Fri Feb 18 12:03:17 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.ui.action.InventoryReportsAction,perform,1320,Update user given cisco.com credentails
    [ Fri Feb 18 12:03:17 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.util.IRJobUtil,persistJob,201,new folder created for storing the job
    [ Fri Feb 18 12:03:18 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,45,called getCrtList to get list of Inventory Custom Templates
    [ Fri Feb 18 12:03:18 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,51,Connection is not null
    [ Fri Feb 18 12:03:18 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,70,Number of templates returning: 2
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,,246,
    Starting the JOB 3972
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1506,
    Getting the job details from persisted Job
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1528,
    Job Details : EoS/EoL Hardware Report
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1530,
    Job is custom report : false
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1532,
    Job runtype : Immediate
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1534,
    Job date : 18-2-11 12:10
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1536,
    Job description : test99
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1538,
    Job E mail id :
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1540,
    Job publish location :
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1542,
    Job template id : 0
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1544,
    Job job id : 3972
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,populateJobData,1562,
    All the report properties read successfully from the job.
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,61,sun.misc.Launcher$AppClassLoader@92e78c
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,203,
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,294,
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,314,
    Valid License.
    Proceeding with job execution.
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,334,
    Running Report job 3972 instance id 0
    [ Fri Feb 18 12:03:19 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,354,inside devsel flow
    [ Fri Feb 18 12:03:27 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,558,normal3
    [ Fri Feb 18 12:03:28 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,600,successfully got predeployed devices
    [ Fri Feb 18 12:03:28 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,runReport,606,submitted.length3
    [ Fri Feb 18 12:03:29 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,generateReportData,1633,************before set device in gen rep data**********
    [ Fri Feb 18 12:03:29 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.inventory.reports.job.JobExecutor,generateReportData,1639,************after set device in gen rep data*******
    DEBUG,2011-02-18 12:03:32,250,Datagenerator class name is class com.cisco.nm.rmeng.inventory.reports.datagenerators.EOS_EOL_RDG
    DEBUG,2011-02-18 12:03:32,250,Datagenerator class instance is [email protected]107304
    [ Fri Feb 18 12:03:33 GMT 2011 ],INFO ,[main],com.cisco.nm.rmeng.util.db.DatabaseConnectionPool,getConnection,113,Inside ICSDatabaseConnection, MAX_COUNT =5
    [ Fri Feb 18 12:12:40 GMT 2011 ],ERROR,[main],com.cisco.nm.rmeng.inventory.reports.util.LocalXMLParser,getFileName,545,Here *****eox_card.xml
    [ Fri Feb 18 12:12:44 GMT 2011 ],ERROR,[main],com.cisco.nm.rmeng.inventory.reports.util.LocalXMLParser,getFileName,545,Here *****eox_device.xml
    NOTE:
    I can see both files in the NMSRoot\CSCOpx\files\rme\jobs\inventory\reports\EOX_PSIRT path, but not in the local_xml directory?
    Then nothing for an hour and then the following that I don't think id related?
    [ Fri Feb 18 13:18:58 GMT 2011 ],INFO ,[TP-Processor3],com.cisco.nm.rmeng.inventory.reports.ui.action.IRJobsAction,getArchiveId,387,Entering the method
    [ Fri Feb 18 13:18:59 GMT 2011 ],INFO ,[TP-Processor3],com.cisco.nm.rmeng.inventory.reports.datagenerators.SystemReports,goForPDFReport,308,Device Limit is = 750
    [ Fri Feb 18 13:18:59 GMT 2011 ],INFO ,[TP-Processor3],com.cisco.nm.rmeng.inventory.reports.datagenerators.SystemReports,goForPDFReport,309,Device Limit for Device Statistics Report is = 750
    INFO ,2011-02-18 13:18:59,281,export device list from request [Lcom.cisco.nm.rmeng.util.datastructures.DeviceID;@1db810a
    [ Fri Feb 18 14:16:17 GMT 2011 ],INFO ,[TP-Processor5],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,61,WebappClassLoader
    delegate: false
    repositories:
    /WEB-INF/classes/
    ----------> Parent Classloader:
    org.apache.catalina.loader.StandardClassLoader@1a06e38
    [ Fri Feb 18 14:16:17 GMT 2011 ],INFO ,[TP-Processor5],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,126,INFO: Resource Limit from License file=10000
    [ Fri Feb 18 14:16:17 GMT 2011 ],INFO ,[TP-Processor5],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,203,
    [ Fri Feb 18 14:20:00 GMT 2011 ],INFO ,[TP-Processor16],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,61,WebappClassLoader
    delegate: false
    repositories:
    /WEB-INF/classes/
    ----------> Parent Classloader:
    org.apache.catalina.loader.StandardClassLoader@1a06e38
    [ Fri Feb 18 14:20:00 GMT 2011 ],INFO ,[TP-Processor16],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,126,INFO: Resource Limit from License file=10000
    [ Fri Feb 18 14:20:00 GMT 2011 ],INFO ,[TP-Processor16],com.cisco.nm.rmeng.common.VerifyRMELicense,validate,203,
    [ Fri Feb 18 14:23:03 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,45,called getCrtList to get list of Inventory Custom Templates
    [ Fri Feb 18 14:23:04 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,51,Connection is not null
    [ Fri Feb 18 14:23:04 GMT 2011 ],INFO ,[TP-Processor9],com.cisco.nm.rmeng.inventory.reports.custom.IRCrtmImpl,getCrtList,70,Number of templates returning: 2
    at that point I cancelled the job as it had been running for two hours for 5 devices.

  • Inventory Reporting

    I'm running zfd 3.2 sp3. When i run software inventory reports in console
    one, the reports list executables by their product names as opposed to the
    executable name. For example, winword.exe is listed as msoffice 2003.
    Msaccess.exe is also listed as msoffice 2003. Is there a way that I can
    have the software inventory reports list just the exe's as opposed to the
    product names? The custom scan editor requires that you know the file
    names and sizes. This is difficult considering all of the iterations of
    msoffice (office 2k, office 2k pro, etc). Any assistance on this would be
    greatly appreciated.
    AJ

    Jacksona,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Prime Inventory Report - AP CDP fails

    Hi,
    The CDP information fails for some of my accesspoint in Inventory Report (report type "AP"). The AP:s switch neighboor won't show up, but you CAN see the cdp neighbor when looking at the ap in monitor mode in prime.
    I have tried rebooting AP, enable/disable CDP on both switch and AP, but problem still remains.
    Prime 1.3
    WLC 5508, 7.0.235.0 (awaiting upgrade).
    Someone have a solution?

    Kindly find the link in which all the Updating device inventory informations are given.
    http://www.cisco.com/en/US/docs/net_mgmt/prime/infrastructure/1.2/user/guide/update_dev_inventory.html

  • Inventory Report in C1

    When starting a Inventory report in C1 I get this error:
    ZENworks Reporting encountered an error because of Crystal Reports. For more
    information, see the ZENworks error message online documentation at
    http://www.novell.com/documentation
    The Zen7 documentation give 2 reason vor this:
    1. wrong/old MDAC (I have win XP SP2)
    2. wrong snap-ins (I have install C1 on my PC und only copy the zen 7
    snap-ins on it)
    So I think there is an other problem.
    Please help.
    Thanks

    Christian,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Inventory reports are not giving output while executing in rsrt

    Hi,
    I am running inventory reports in RSRT. But for every report when i run, a debugger comes and its not showing any output. And the break-point in it is a standard one. so atleast standard reports must execute, but they are not giving me any output.
    Please tell me what can i do to resolve the error.
    Roma

    Hi Roma,
    Just press F8 key and keep executing report .
    Usually Bex Show this when either there is some problem with Report or Some variables you have  used in query  or you have not sufficient memory .
    Run the report and you will definately get some ides.
    key F6 to go to next line of execution
    key F8 to go to next breakpoint .
    Regards,
    Jaya Tiwari

  • Analyse zenworks inventory reports

    Hello,
    We want to use the zenworks inventory to check whick user is installing
    "illegal software" on his pc.
    This by running a software inventory report and comparing the results of
    this inventory.
    This software inventory report give us a very large listing of exe files and
    versions, for example querying all software of Microsoft Incorporated gives
    us 33 pages of different programs.It is nearly inpossible to interpret this
    listings.
    Is there a way to bundle this information of are there programs who can do
    it ?
    Thanks,
    Bearelle Jacques

    Jacques,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Pls some one send me mm inventory report

    hi all,'
                pls some one send me mm inventory report.
                      i m facing problem in mm  report.
    regards
    vikas saini.

    Hai.
    check the examople codes.
    MM Process flow
    The typical procurement cycle for a service or material consists of the following phases:
    1. Determination of Requirements
    Materials requirements are identified either in the user departments or via materials planning and control. (This can cover both MRP proper and the demand-based approach to inventory control. The regular checking of stock levels of materials defined by master records, use of the order-point method, and forecasting on the basis of past usage are important aspects of the latter.) You can enter purchase requisitions yourself, or they can be generated automatically by the materials planning and control system.
    2. Source Determination
    The Purchasing component helps you identify potential sources of supply based on past orders and existing longer-term purchase agreements. This speeds the process of creating requests for quotation (RFQs), which can be sent to vendors electronically via SAP EDI, if desired.
    3.Vendor Selection and Comparison of Quotations
    The system is capable of simulating pricing scenarios, allowing you to compare a number of different quotations. Rejection letters can be sent automatically.
    4. Purchase Order Processing
    The Purchasing system adopts information from the requisition and the quotation to help you create a purchase order. As with purchase requisitions, you can generate Pos yourself or have the system generate them automatically. Vendor scheduling agreements and contracts (in the SAP System, types of longer-term purchase agreement) are also supported.
    5. Purchase Order Follow-Up
    The system checks the reminder periods you have specified and - if necessary - automatically prints reminders or expediters at the predefined intervals. It also provides you with an up-to-date status of all purchase requisitions, quotations, and purchase orders.
    6. Goods Receiving and Inventory Management
    Goods Receiving personnel can confirm the receipt of goods simply by entering the Po number. By specifying permissible tolerances, buyers can limit over- and underdeliveries of ordered goods.
    7. Invoice Verification
    The system supports the checking and matching of invoices. The accounts payable clerk is notified of quantity and price variances because the system has access to PO and goods receipt data. This speeds the process of auditing and clearing invoices for payment.
    example code.
    REPORT ZMMBDC1_1 NO STANDARD PAGE HEADING MESSAGE-ID ZT.
          Declaration of internal tables
    internal table for selecting data from flat file
    DATA : BEGIN OF IT_DATA OCCURS 0,
             MBRSH,                    " Industry sector
             MTART(4),                 " Material type
             KZSEL,                    " Checkbox
             MAKTX(40),                " Material description
             MEINS(3),                 " Base unit of measure
             MATKL(9),                 " Material group
             BISMT(18),                " Old material number
           END OF IT_DATA.
    internal table for bdcdata
    DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    internal table to handle messages
    DATA : IT_MESSAGES LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    Variables &  Flag declaration
    variables declaration
    DATA : V_MESG(50).
    flag declaration
    DATA : FG_BDC,
           FG_FLAG1 TYPE I.
    selection screen
    SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
    parameter
    PARAMETERS : P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK BLK1.
    initialization
    INITIALIZATION.
    peform to initialize parameter
      PERFORM INIT_PARM.
    start of selection
    start-of-selection.
    perform to upload it_data
      PERFORM UP_LOAD_IT_DATA.
    perform transfer data
      PERFORM TRANSFER_DATA.
    end of selection
    END-OF-SELECTION.
    *&      Form  INIT_PARM
    Initializing parameter
    FORM INIT_PARM.
    P_FILE = 'C:\'.
    ENDFORM.                    " INIT_PARM
    *&      Form  UP_LOAD_IT_DATA
    Transfering data from file to internal table
    FORM UP_LOAD_IT_DATA.
      CALL FUNCTION 'WS_UPLOAD'
          EXPORTING
               FILENAME                = P_FILE
               FILETYPE                = 'ASC'
           TABLES
                DATA_TAB                = IT_DATA
           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
                GUI_REFUSE_FILETRANSFER = 8
                OTHERS                  = 9.
        IF SY-SUBRC = 2 .
           FG_FLAG1 = 1.
           MESSAGE I001.
        ENDIF.
    ENDFORM.                    " UP_LOAD_IT_DATA
    *&      Form  TRANSFER_DATA
       Processing the data
    FORM TRANSFER_DATA.
    FG_BDC = 'N'.
    LOOP AT IT_DATA.
    perform to fill it_bdcdata.
    PERFORM FILL_IT_BDCDATA.
    CALL TRANSACTION 'MM01' USING IT_BDCDATA MODE 'N' UPDATE 'S'
                                       MESSAGES INTO IT_MESSAGES.
       IF SY-SUBRC <> 0.
         FG_FLAG1 = 1.
    if error occurs in transaction mode run bdc session for that data
         PERFORM BDC_PROCESS.
       ENDIF.
    Handles error messages
          PERFORM ERROR_MESSAGES.
         CLEAR : IT_BDCDATA,IT_DATA,IT_MESSAGES.
         REFRESH : IT_BDCDATA,IT_MESSAGES.
    ENDLOOP.
    IF FG_FLAG1 = 0.
       MESSAGE I003.
    ENDIF.
    IF FG_BDC = 'O'.
    close bdc if it is open
       PERFORM CLOSE_BDC.
    ENDIF.
    ENDFORM.                    " TRANSFER_DATA
    *&      Form  FILL_IT_BDCDATA
    Filling Bdcdata structure with it_data
    Some fields have been commented for future updations
    FORM FILL_IT_BDCDATA.
    PERFORM BDC_DYNPRO USING : 'SAPLMGMM' '0060'.
    PERFORM BDC_FIELD  USING : 'BDC_OKCODE' '/00',
                             : 'BDC_CURSOR' 'RMMG1_REF-MATNR',
                             : 'RMMG1-MBRSH' IT_DATA-MBRSH,
                             : 'RMMG1-MTART' IT_DATA-MTART.
    PERFORM BDC_DYNPRO USING : 'SAPLMGMM' '0070'.
    PERFORM BDC_FIELD  USING : 'BDC_OKCODE' '=RESA'.
    PERFORM BDC_DYNPRO USING : 'SAPLMGMM' '0070'.
    PERFORM BDC_FIELD  USING : 'BDC_OKCODE' '=ENTR',
                             : 'MSICHTAUSW-KZSEL(01)' IT_DATA-KZSEL.
    PERFORM BDC_DYNPRO USING : 'SAPLMGMM' '4000'.
    PERFORM BDC_FIELD  USING : 'BDC_OKCODE' '=BU',
                             : 'BDC_SUBSCR' 'SAPLMGMM' & '  2000TABFRA1',
                             : 'BDC_SUBSCR' 'SAPLMGD1' & '  1002SUB1',
                             : 'BDC_CURSOR' 'MAKT-MAKTX',
                             : 'MAKT-MAKTX' IT_DATA-MAKTX,
                             : 'BDC_SUBSCR' 'SAPLMGD1' & '  2001SUB2',
                             : 'MARA-MEINS' IT_DATA-MEINS,
                             : 'MARA-MATKL' IT_DATA-MATKL,
                             : 'MARA-BISMT' IT_DATA-BISMT,
                             : 'BDC_OKCODE' '=BU'.
    *perform bdc_field       using 'MARA-EXTWG'  ''.
    *perform bdc_field       using 'MARA-LABOR' ''.
    *perform bdc_field       using 'MARA-KOSCH' ''.
    *perform bdc_field       using 'MARA-MSTAE' ''.
    *perform bdc_field       using 'MARA-MSTDE' ''.
    *perform bdc_field       using 'BDC_SUBSCR' 'SAPLMGD1' & '  2561SUB3'.
    *perform bdc_field       using 'MARA-BEGRU' ''.
    *perform bdc_field       using 'BDC_SUBSCR' 'SAPLMGD1' & '  2007SUB4'.
    *perform bdc_field       using 'MARA-NTGEW' ''.
    *perform bdc_field       using 'MARA-BRGEW' ''.
    *perform bdc_field       using 'MARA-GEWEI' ''.
    *perform bdc_field       using 'MARA-VOLUM' ''.
    *perform bdc_field       using 'MARA-VOLEH' ''.
    *PERFORM BDC_FIELD       USING 'MARA-GROES' ''.
    *perform bdc_field       using 'MARA-EAN11' ''.
    *perform bdc_field       using 'MARA-NUMTP' ''.
    *PERFORM BDC_FIELD       USING 'BDC_SUBSCR' 'SAPLMGD1' & '  2005SUB5'.
    *perform bdc_field       using 'BDC_SUBSCR' 'SAPLMGD1' & '  2011SUB6'.
    *perform bdc_field       using 'MARA-MAGRV' ''.
    ENDFORM.                    " FILL_IT_BDCDATA
    *&      Form  BDC_DYNPRO
    Filling the it_bdcdata table with program name & screen number
    FORM BDC_DYNPRO USING    PROGRAM LIKE BDCDATA-PROGRAM
                             DYNPRO LIKE BDCDATA-DYNPRO.
      IT_BDCDATA-PROGRAM = PROGRAM.
      IT_BDCDATA-DYNPRO = DYNPRO.
      IT_BDCDATA-DYNBEGIN = 'X'.
      APPEND IT_BDCDATA.
      CLEAR IT_BDCDATA.
    ENDFORM.                    " BDC_DYNPRO
    *&      Form  BDC_FIELD
      Filling it_bdcdata with field name and field value
    FORM BDC_FIELD USING FNAM LIKE BDCDATA-FNAM
                         FVAL.
      IT_BDCDATA-FNAM = FNAM.
      IT_BDCDATA-FVAL = FVAL.
      APPEND IT_BDCDATA.
      CLEAR IT_BDCDATA.
    ENDFORM.                    " BDC_FIELD
    *&      Form  ERROR_MESSAGES
    Displaying error messages
    FORM ERROR_MESSAGES.
        CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
                 ID        = SY-MSGID
                 LANG      = '-D'
            IMPORTING
                 MSG       = V_MESG
            EXCEPTIONS
                 NOT_FOUND = 1
                 OTHERS    = 2.
      LOOP AT IT_MESSAGES WHERE MSGTYP = 'E'.
        WRITE : / 'Message :'(I06) ,V_MESG.
        CLEAR IT_MESSAGES.
      ENDLOOP.
    ENDFORM.                    " ERROR_MESSAGES
    *&      Form  BDC_PROCESS
    Open bdc session if call transaction fails
    FORM BDC_PROCESS.
      IF FG_BDC = 'N'.
    open bdc session
       PERFORM OPEN_BDC.
       FG_BDC = 'O'.
      ENDIF.
      IF FG_BDC = 'O'.
    insert data into bdc session
        PERFORM INSERT_BDC.
      ENDIF.
    ENDFORM.                    " BDC_PROCESS
    *&      Form  OPEN_BDC
      Calling function module to open bdc session
    FORM OPEN_BDC.
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          CLIENT              = SY-MANDT
          GROUP               = 'SMM1'
          KEEP                = 'X'
          USER                = SY-UNAME
        EXCEPTIONS
          CLIENT_INVALID      = 1
          DESTINATION_INVALID = 2
          GROUP_INVALID       = 3
          GROUP_IS_LOCKED     = 4
          HOLDDATE_INVALID    = 5
          INTERNAL_ERROR      = 6
          QUEUE_ERROR         = 7
          RUNNING             = 8
          SYSTEM_LOCK_ERROR   = 9
          USER_INVALID        = 10
         OTHERS              = 11.
    ENDFORM.                    " OPEN_BDC
    *&      Form  INSERT_BDC
      Insert it_bdcdata into bdc by calling function module bdc_insert
    FORM INSERT_BDC.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          TCODE            = 'MM01'
        TABLES
          DYNPROTAB        =  IT_BDCDATA
        EXCEPTIONS
          INTERNAL_ERROR   = 1
          NOT_OPEN         = 2
          QUEUE_ERROR      = 3
          TCODE_INVALID    = 4
          PRINTING_INVALID = 5
          POSTING_INVALID  = 6
          OTHERS           = 7.
    ENDFORM.                    " INSERT_BDC
    *&      Form  CLOSE_BDC
    Closing bdc session
    FORM CLOSE_BDC.
      CALL FUNCTION 'BDC_CLOSE_GROUP'
         EXCEPTIONS
           NOT_OPEN    = 1
           QUEUE_ERROR = 2
           OTHERS      = 3.
    ENDFORM.                    " CLOSE_BDC
    example code.
    report ZMMBDCP_MATERIAL_PRICE
           no standard page heading
           line-size 255.
                         Includes
    include zbdcrecx1.
                         Tables
    TABLES : MARA.
                       Internal Tables
    *--Internal Table To hold Material Price data from flat file.
    Data: begin of it_mat_price occurs 0,
           key(4),
           f1(10),   " date
           f2(4),    " Company Code
           f3(4),    " Plant
           f4(18),   " material
           f5(15),   " Price
          end of it_mat_price.
    *--Internal Table To hold Material Price header Data .
    data : begin of it_header occurs 0,
             key(4),
             f1(10),
             f2(4),
             f3(4),
           end of it_header.
    *--Internal Table To hold Material Price details data .
    data : begin of it_details occurs 0,
            key(4),
            f4(18),
            f5(15),
           end of it_details.
                          Variables
    data : v_sno(2),              " Serial Number
           v_rows type i,         " Number of Rows
           v_fname(40).           " To store Field Name
                          Start of Selection
    start-of-selection.
    clear    it_mat_price.
    refresh  it_mat_price.
    clear    it_header.
    refresh  it_header.
    clear    it_details.
    refresh  it_details.
    WRITE : / 'Upload Material Price Change from ',
                P_FNAME, ' on ', SY-DATUM.
    *--To Upload Material Price Data from Flat file.
    CALL FUNCTION 'UPLOAD'
          EXPORTING
               FILENAME                =
                            'C:\WINDOWS\Desktop\mat_price_change.txt'
               FILETYPE                = 'DAT'
          TABLES
               DATA_TAB                = it_mat_price
          EXCEPTIONS
               CONVERSION_ERROR        = 1
               INVALID_TABLE_WIDTH     = 2
               INVALID_TYPE            = 3
               NO_BATCH                = 4
               UNKNOWN_ERROR           = 5
               GUI_REFUSE_FILETRANSFER = 6
               OTHERS                  = 7.
        OPEN DATASET P_FNAME FOR INPUT IN TEXT MODE.
      IF SY-SUBRC NE 0.
        WRITE : / 'File could not be opened. Please check file name.'.
        STOP.
      ENDIF.
      CLEAR : it_mat_price[], it_mat_price.
      DO.
        READ DATASET P_FNAME INTO V_STR.
        IF SY-SUBRC NE 0.
          EXIT.
        ENDIF.
    write v_str.
    translate v_str using '#/'.
        SPLIT V_STR AT ',' INTO  it_mat_price-key
                                 it_mat_price-F1   it_mat_price-F2
                                 it_mat_price-F3  it_mat_price-F4
                                 it_mat_price-F5.
        APPEND it_mat_price.
        CLEAR it_mat_price.
      ENDDO.
      IF it_mat_price[] IS INITIAL.
        WRITE : / 'No data found to upload'.
        STOP.
      ENDIF.
    *--Separating Header & Details Records
      loop at it_mat_price.
        At new key.
          read table it_mat_price index sy-tabix.
          move-corresponding it_mat_price to it_header.  " Header
          append it_header.
          clear it_header.
        endat.
          move-corresponding it_mat_price to it_details.   " Details
          append it_details.
          clear it_details.
      endloop.
    *--Perform to open Session
      perform open_group.
    *--To get Number of rows for Table Control
      v_rows = sy-srows - 13.
    *--Looping on Header record
      loop at it_header.
        perform bdc_dynpro      using 'SAPRCKM_MR21' '0201'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'MR21HEAD-WERKS'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=ENTR'.
        perform bdc_field       using 'MR21HEAD-BUDAT'
                                       it_header-f1.
        perform bdc_field       using 'MR21HEAD-BUKRS'
                                       it_header-f2.
        perform bdc_field       using 'MR21HEAD-WERKS'
                                       it_header-f3.
        perform bdc_field       using 'MR21HEAD-SCREEN_VARIANT'
                                      'MR21_LAGERMATERIAL_0250'.
        v_sno = 0.
    *--Looping On detials record.
        loop at it_details where key eq it_header-key.
          SELECT SINGLE MATNR INTO IT_DETAILS-F4
                 FROM MARA
                 WHERE BISMT EQ IT_DETAILS-F4.
          if v_sno le v_rows.
            v_sno = v_sno + 1.
          endif.
          perform bdc_dynpro      using 'SAPRCKM_MR21' '0201'.
          perform bdc_field       using 'BDC_OKCODE'
                                          '=ENTR'.
          clear v_fname.
          CONCATENATE 'CKI_MR21_0250-MATNR(' V_SNO ')' INTO V_FNAME.
          perform bdc_field       using v_fname
                                        it_details-f4.
          clear v_fname.
          CONCATENATE 'CKI_MR21_0250-NEWVALPR(' V_SNO ')' INTO V_FNAME.
          perform bdc_field       using v_fname
                                        it_details-f5.
        endloop.
        perform bdc_dynpro      using 'SAPRCKM_MR21' '0201'.
        perform bdc_field       using 'BDC_OKCODE'
                                      '=SAVE'.
        perform bdc_field       using 'BDC_CURSOR'
                                      'MR21HEAD-SCREEN_VARIANT'.
        perform bdc_field       using 'MR21HEAD-SCREEN_VARIANT'
                                      'MR21_LAGERMATERIAL_BWKEY_0250'.
    *--Call Transaction to upadate New price
        perform bdc_transaction using 'MR21'.
      endloop.
      perform close_group.
    regards.
    sowjanya.b

  • Report problem directly in iTunes has been disabled?

    I had understood that it was possible to report a problem on a purchase directly from within iTunes, by going to my account, history then selcting the ourchase that had the problem.
    However the "Report a Problem"link now just boots me off to the Apple website, the previous button to describe the problem and submit no longer appears.
    Does anyone know if this has been disabled?
    I am having season pass problems on an iPad and it seems there is no solution - Apple - it just doesn't work anymore
    Worminger2

    Interestingly clicking on Report a problem in iTunes sends me off to a web page with the URL:
    "http://www.apple.com/uk/support/itunes/store/seasonpass/"
    but this immediately redirects to:
    "http://www.apple.com/uk/support/itunes/#video_purchases"
    which is actually just the opening page of the iTunes support page in the apple webpages, ie totally useless.
    I am guessing they are overwhelmed by reported problems and are just opting out of having to deal with them. Reminds me of the dear old days of Microsoft hiding from problems.
    Worminger2

  • Report problem link opens up word (pc)

    When I click on report problem link in purchase history for an app, all it brings up word. Don't have email receipt yet and itunes support is useless. it's like trying to find a needle in a haystack.

    Click the "contact support" link toward the lower-left of that page and follow the instructions.
    Regards.

  • Report problem of purchase that not make from me

    Report problem of purchase that not make by me

    You can contact iTunes support via this page (these are user-to-user forums) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • INVENTORY REPORT for customer but not consignment company owned

    HI Everyone,
    I am working on creating an inventory report and sending it out to a customer.
    We have a customer who needs to see their inventory we are going to ship. we are making materials for them on an MTS scenario based on a forecast... So the customer before placing a PO should be able to look at the inventory levels we make for them. on a daily basis.... No what I am trying to is execute a program that sends out an inventory report (the programs I am using are( RSMIPROACT and ROEMPROACT)... I try to fill in the fields and save as a variant and we run it as a background job every morning and we send out an idoc to the customer...
    The above process is a scenario that still needs to be worked on...
    THe customer should be able to look at only his stock and not any other stock....
    Now can we use a display of listing/exclusion function to send out the material stock report.... we need to send the total inv as well as the mat numbers... can we acheive it with the listing/exclusion funtion..
    Or is there a program that pulls all the data from the tables which store the customer material info record where we maintain all the materials for a customer...
    If there i a better way through which this can eb done please suggest me... thank you..
    Once again the above stock is not consignent stock... we are manufacturinng based on the forecasts and we need the customer t be able to look at the stock on a daily basis.... Please help...

    There is no report / funtionality is SAP to acheive this. Custom program is the only solution. Your logic looks ok, where there is a CMIR maintained, you may pick the total stock from table MARD put into a format/layout and transfer via idoc to the customer.
    Thanks & regards
    AHP.

Maybe you are looking for

  • Can we return a Array of varchar2 from a function ?

    Hello, i have a sql query that returns some rows. I want to define that query inside a function and want to retrieve the results in an array .Finally i want to retrieve those values in array in my .NET runtime . How can i achieve this ?

  • Intradoc.data.DataException: !csDbFailedToGetNonEmtpyTableList,(null),SIL_OCS

    hello all, I am using UCM. When i am starting UCM server i am getting this error.Do you hve any idea about this????????????????? how to resolve.yesterday i run some clean up sql after that i start getting this error. please suggest???

  • Not shown the latest backup time

    I install itunes on my new computer and sync my apple devices. For some reason after I back up my devices at the summary tab  it was not written when was the latest backup. I can find it on the preferences but not in the summary tab. I am not sure if

  • Change color multi-row highlite tabular form

    I would like specific instructions on a quick way to change the highlite color when the multi-row check box is chosen on a tabular form. Thanks, Sabrina

  • Icons(apps) appearing large

    Icons (APPS) appearing LARGE now and cannot scroll correctly.  i know its an easy fix, just cannot seem to find it...HELP!!!