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

Similar Messages

  • I AM NOT ABLE TO RECIVE DOCUMENTS IN MY EMAIL, if some one sends me a word document I am not able to see it

    I AM NOT ABLE TO RECIVE DOCUMENTS IN MY EMAIL, if some one sends me a word document I am not able to see it

    Do you have MS Office installed? If not, you need to either:
    1) buy a compatible copy of MS Office†, or
    2) get one of the free, open-source Office-compatible packages like LibreOffice.
    We possibly can offer further enlightenment if you tell us more about tyour iMac. Do "About this Mac" from the Apple menu and post what the resulting window says about your Mac OS version and the processor type.
    †-- NOTE: The pre-2006 Macs this forum serves can use no higher version of MS Office that Office 2008. Office 2008 requires a 500mHz G4 processor, any G5 processor, or Intel processor, and a minimum Mac OS of 10.4.9

  • Need more battery life., pls some one give me the tricks.

    Ios7 worst battery life compare to ios 6.pls give me the battery saving tips

    It's amazing what a simple Google search can accomplish
    http://lmgtfy.com/?q=IOS+7+BATTERY+SAVING

  • 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.

  • Sccm 2007 Hardware inventory report

    Dear Exprt,
    How do i ensure SCCM client has seccessfully send H/W inventory report to MP with out any issue and when.
    i have look the (InventoryAgent.log) and it did writen (Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint) but nothing update on server.
    [email protected]

    Use this blog post to find out where HW stops working.
    http://be.enhansoft.com/post/2013/07/25/Troubleshooting-Inventory-Flow.aspx
    Yes it is written for CM12 but it is still the same process as CM07.
    http://www.enhansoft.com/

  • 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

  • Can any one send me some documents on ALE / IDOC

    Hi,
    Can any one send me some documents or ppt's on ALE / IDOC's.
    My mail id is : [email protected]
    Warm Regards
    Madhuri

    Hi
    Pls find some more documents.
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    ALE/ IDOC/ XML
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
    Regards
    Chandrasekar

  • Report Scripts - Please Can Some One Help Me

    Hello Gurus,
    Is it possible to display 2 members of the same dimension in adjacent columns using Report Scripts? if not what is the best available option?
    Consider this Sample Outline
    +Product
    +-Cofee
    +---Cafined
    +-------1100
    +-------1200
    +---Decafined
    +-------1300
    +-------1400
    +-Soda
    +---Coke
    +-------1500
    The format of the desired report is
    ======= Jan Feb Mar
    1100 Cofee 8 8 8
    1200 Cofee 8 8 8
    1300 Cofee 7 7 7
    1400 Cofee 7 7 7
    1500 Soda 6 6 6
    ================
    Please Can some one help me in this regard!
    Thanks In Advance

    If I remember correctly when I wanted to do something similar I imported the report with the level 0 members into SQL Server and then joined on a mapping table (was a parent/child table in our case) to get the other column. In our situation we already had the mapping table readily available because this is where the dimension was built from!

  • How to send more than one parameter from FORM to REPORT?

    Dear all,
    i can send one parameter from FORM to REPORT. but when i send more than one parameter it gives error: frm 41214 unable to run report.
    here is the code i think the error is in the following line of procedure:
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_date_from='||v_date_from||'p_date_to='||v_date_to);
    where to place the parameters and is there any space is required?
    Thanks
    Muhammad Nadeem

    Dear Saeed Iqbal,
    thanks for you reply.
    dear i am using Form 10g run_product is not supported in this version.
    i am using RUN_REPORT_OBJECT.
    PROCEDURE rep_gl_ledger IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    v_date_from date;
    v_date_to date;
    v_detail_id_from varchar2(100);
    v_detail_id_to varchar2(100);
    v_voucher_type varchar2(100);
    --req_no char(17);
    BEGIN
    v_date_from :=      :ledger_para.p_date_from;
    v_date_to :=      :ledger_para.p_date_to;
    v_detail_id_from :=      :ledger_para.p_detail_id_from;
    v_detail_id_to :=      :ledger_para.p_detail_id_to;
    v_voucher_type :=      :ledger_para.p_voucher_type;
    repid := find_report_object('gl_ledger');
    --repid := find_report_object('REPORT80');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_online_FRHome');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_date_from='||v_date_from||'p_date_to='||v_date_to);
    --SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /* Display report in the browser */
    WEB.SHOW_DOCUMENT('http://'||:GLOBAL.G_IP||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?','_blank');
    ELSE
         message('Error when running report');
    END IF;
    END;
    Regards:
    Muhammad Nadeem

  • I am using iphone5 and when sending sms within 160 characters i am getting 2 sms counts deduction & i hear the message send sound twice. what is wrong here. can some one please help me here???

    i am using iphone5 and when sending sms within 160 characters i am getting 2 sms counts deduction & i hear the message send sound twice. what is wrong here. can some one please help me here???
    APPLE need to do something here!!!!!!1

    Hi...
    Thanks for your repaly .
    and i am not bale to post a question in developer forum i tried hard but i didnt get .Can you plz explain me how to post a question in developer forum this is very helpfull for me.Because i never did this thing.

  • So I bought a phone off some one and it happened to be reported lost and I need the previous owners icloud to unlock it. what can I do?

    so i bought an iphone 4s off some one and it happened to be reported lost and i need the old owners icloud info to unlock it. what can i do?

    almightyrollin wrote:
    ive contacted the old owner he isnt willing to do it because he said its my problem and he cant trust me. is there any other way like taking it to the apple store?
    As you've already been told...NO.

  • HT201232 itunes will not recognise my device iphone 5s, pls can some one help???

    itunes will not recognise my device iphone 5s, pls can some one help???

    Hello Tantoh,
    Welcome to the Apple Support Communities!
    I understand that your iPhone is not being recognized by iTunes when you connect it. To help resolve this situation, please read over and work through the steps outlined in the attached article. 
    If you don't see your connected device in iTunes for Mac - Apple Support
    Have a great day,
    Joe

  • HT3702 when I finish putting my card details in, I press next and then it says an error occurred!(above the different type of cards) some one pls help

    when I finish putting my card details in, I press next and then it says an error occurred!(above the different type of cards) some one pls help!

    when I finish putting my card details in, I press next and then it says an error occurred!(above the different type of cards) some one pls help!

  • Can any one send Oracle 9i OCP Material pls

    can any one send me Oracle 9i OCP Material or the address where i can get this material

    Use the tables
    MARA,MARC,MARD,MVKE,MBEW and create a report
    you can join all tables with a single select using MATNR field and write the report
    Go thru this Thread,U ll get an idea
    Material master details report
    Reward points if useful.

  • One Sender system (sync) and two receivers system(Sync) . Pls help

    Hello All,
    For one Sender system (sync) and two receivers system(Sync)
    as I am using BPM for it.
    CRM sender system (RFC)
    DM (RFC) and ERP Receiver systems (RFC)
    Pls let me know
    In Receive there is only two mode
    1. Async
    2. Open S/A bridge
    So do i need to choose Async mode for sender RFC.
    Pls tell me the BPM flow steps for my scenario
    Regards

    Use Open S/A bridge
    The scenario could be done wihtout bpm. Ur requirement is not clear but here could be the steps. Steps.
    Receive
    Sync send
    Sync send
    Async send
    Regards,
    Prateek

Maybe you are looking for

  • Report Layout issue

    Dear Sapgurus, while taking the report for GL using T code fbl3n , format by default is coming as custom and not SAP standard format, how to correct the default setting to SAP Standard. Please tell me what is the procedure. Regards MY

  • How to generate report output in csv file and send it to user email inbox

    Hi All, We have requiremnt to generate the csv file from the report (Bex query)automatically and need to send that file automatically to user email address every week. It should be done automatically and one more thing the file name should contain th

  • Browser quality vs timeline

    hello i have a sony handycam that shoots fantastic AVCHD footage my mac recognizes the device, i log and transfer, all is still well however when i drag the first clip into the timeline i get some kind of message about matching rates that i can't qui

  • CFOBJECT/class accessing issues

    Hello, Recently I have upgraded from CFMX 7.0 to CF 9.0 and having problems or issues accessing a class file output where I am getting a "blank" value. It is same code which is working with CF 7.0. I have registered the class file in CF 9.0 and re-st

  • Cannot display page header from layout builder

    Hi: I am somewhat new to BI Publisher. I am using BI Publisher 10.1.3.4.1. I have changed the config file and set the parameter for the Online Template Builder to "true". The layout builder does display properly. If I add a Page Header or a Text item