Can anybody send a report  in sd n mm module

hi gurus
can anyone suggest me
can anybody send a report  in sd n mm module
and for which purpose we have to generate that program..
thank you
regards
kals.

hi this is to display the plant details for a given material.
report ztest .
tables:mara,marc.
types:begin of ty_mara,
         matnr like mara-matnr,
         meins like mara-meins,
         mtart like mara-mtart,
         mbrsh like mara-mbrsh,
         pstat like mara-pstat,
         end of ty_mara.
types:begin of ty_marc,
         werks like marc-werks,
        pstat like marc-pstat,
        end of ty_werks.
data:it_mara type standard table of ty_mara with header line,
       it_marc type standard table of ty_marc with header line.
selection-screen begin of block b1 with frame title text-001.
select-options:s_matnr for mara-matnr.
selection-screen end of block b1.
start-of-selection.
select matnr
          meins
          mtart
         mbrsh
         pstat
         from mara
into table it_mara
where matnr in s_matnr.
if not it_mara[] is initial.
select werks
          pstat
from marc
into table it_marc
for all entries in it_mara
where matnr = it_mara-matnr.
endif.
if sy-subrc = 0.
loop at it_mara.
read table it_marc with key pstat = it_mara-pstat.
write:/ it_mara-matnr,it_mara-meins,it_mara-mtart,it_mara-pstat,it_mara-mbrsh,it_marc-werks,it_marc-pstat.
endloop.
endif.
regards,
venkat.

Similar Messages

  • Can anybody send or explain me about GEM (Global Employee Management) Urge

    Hi,
    Can anybody send the document or explain me about GEM (Global Employee Management),
    It is bit urgent.
    Thanks in advance
    swamy
    7045000187

    Lol!
    I didn't see post until now...Not sure if you received the response yet...
    MGE is a subset or submodule of CE.
    CE concept is more align with and more import if you use SAP Payroll and Time. CE is concurrent employment where a person holds more than one position at a time in the same country.
    MGE is management global employee. Where a person move from one position to another during a duration to do an assignment. Upon completing the assignment, the person could localize there or return home.
    PNP and PNPCE. PNP is being discontinued and is replaced by PNPCE. The main difference between the two is PNPCE support the PERSON ID concept. Which is the unique identifier for an employee. It would be best to use PNPCE with MGE as you need that PERSON ID in the HR Report Category.
    Kevin T. Nguyen-Tu
    www.saphelpbykevin.com

  • Can anybody send me the interview point of Questions on OO ABAP?.

    Can anybody send me the interview point of Questions on OO ABAP?.

    Hello Satish
    ABAP-OO is by no means different from other object-oriented languages. Thus, you can take a book like the one for the <b>Java certification exam</b>. Having read and understood this book you are well prepared for any interview question.
    Regards
      Uwe

  • Can anybody send ALE/IDOC sample steps fot MATMAS?

    Hi friends,
    Can anybody send ALE/IDOC sample steps fot MATMAS?

    Steps for IDOC.
    Communication Settings will take care by basis.
    Communication settings.
    1.     BD 54     Create Logical system. (To get logical system FM
    OWN_LOGICAL_SYSTEM_GET)
    2.     SCC4     Assign logical system to client      
    3.     SM 59    Create RFC Destination.
    4.     WE 21    Create port.
    Partner setting.
    5.     WE 20    Create Outbound partner profile.
           (Creating outbound partner profile message type with MATMAS and IDOC type with MATMAS01-05 )
    6.     BD 64     Create Distribution model. (It will act as a BAG to carry the list of receiver details for all message type.)
    7. Run BD10 for outbound and BD11 for Inbound.

  • Can anybody send me CRM tables and their relationship? It is very urgent.

    Can anybody send me CRM tables and their relationship? It is very urgent.
    and all the function modules availble in CRM.
    Jayalakshminarayana Kilaru

    Hello Vikas,
    Can you please send CRM tables to [email protected]
    thanks in advance

  • Can anybody send the function module to read inspection characteristics ?

    Hi friends
    can anybody send the function module to read inspection characteristics ?
    (rate routings).
    thanks in advance

    Hi,
    Use the BAPI,
    <b>BAPI_INSPCHAR_GETRESULT</b> to get the deatils.
    also look at this BAPI <b>BAPI_INSPOPER_GETCHAR</b>
    Regards
    Sudheer
    Message was edited by:
            Sudheer Junnuthula

  • Can anybody send me the interview point of Questions on BADIs?.

    Can anybody send me the interview point of Questions on BADIs?.

    Check this out:
    www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
    Re: BADI OR USER EXIT.........
    www.bwexpertonline.com/archive//Volume_01_(2003)/Issue_08_(September)/V1I8A5.cfm?
    Reward if helps
    Vivek

  • Can anybody send me ebook of java for scjp

    hi
    i m new to java ,want to become scjp.
    can anybody send me ebook of java for scjp .
    my id is "[email protected]"
    waiting for replay
    thanks

    no, we're not going to send you copyrighted material belonging to others.
    You're asking people to commit a crime on your behalf, that's criminal behaviour that can get you in prison.

  • Hi Can anybody send termination api script pls

    Hi
    Can anybody send termination api code
    Regards
    Samarpan

    what is mean by termination??
    is the employee termination from HRMS or anything else..

  • Can Anybody Send Me The Latest Testking Pdf Of  1z0-033 (Performance Tuning

    Hello,
    Can Anybody Send Me The Latest Testking Pdf Of 1z0-033 (Performance Tuning
    my email address is asiforacle [email protected]
    Regards,
    Asif Iqbal
    Software Engineer. ( Karachi, Pakistan ).

    The answer is surely NO but what I would like to ask for the sake of curiosity , why did you ask about Performance Tuning questions over Sql /Plsql forum , not on Database General Forum? Not that you should go there now and ask, just curious.
    Tell you what, read the free book(yup free). Here it is,
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96533.pdf
    You won't need anything else to read, not even that testking stuff too.
    HTH
    Aman....

  • Can anybody send me abap in 21 days by sams

    Can anybody send me abap in 21 days by sams . my email id is [email protected], its a bit urgent

    Hi,
    You can use these links...
    ABAP in 21 days
    http://www.is-edu.hcmuns.edu.vn/WebLib/Books/Database/0-672-31217-4/index.htm
    http://cma.zdnet.com/book/abap/ch03/ch03.htm
    Regards,
    Padmam.

  • Can anybody send the certifications questions

    Hi Experts,
    Can anybody send the ABAP certification questions.
    U can send to my mail id [email protected]
    Thanks in advance.
    Satish Kumar.

    Hi,
    certification ..
    /message/213564#213564 [original link is broken]
    /message/514469#514469 [original link is broken]
    /message/1315746#1315746 [original link is broken]
    /message/1736299#1736299 [original link is broken]
    /message/1736299#1736299 [original link is broken]
    /message/257122#257122 [original link is broken]
    /message/130164#130164 [original link is broken]
    This is link from SAP about ABAP certification
    http://www50.sap.com/useducation/certification/curriculum.asp?rid=351
    http://www.sapteched.com/india/confactivities/certexam.htm
    http://www50.sap.com/useducation/certification/curriculum.asp?rid=351
    There is a pdf called ABAP certification.
    http://www.esnips.com/web/SAP-ABAP?
    You can try www.sapdoamin.com
    They provide Certification simulation questions which are very useful and a must try site.
    Some links which might help
    /message/213564#213564 [original link is broken]
    /message/514469#514469 [original link is broken]
    /message/1315746#1315746 [original link is broken]
    /message/1736299#1736299 [original link is broken]
    /message/1736299#1736299 [original link is broken]
    /message/257122#257122 [original link is broken]
    /message/130164#130164 [original link is broken]
    reward points if useful
    regards,
    Anji

  • Can anybody send a sample app on JSF

    can anybody send a sample app on JSF

    Four examples come with JSF RI. MyFaces also has an example that shows how MyFaces components work. Also, look at http://www.jsftutorials.net/jsf-development-guide/examples-and-tutorials.html
    Sergey : http://jsfTutorials.net

  • Can anybody explain me creating Generic Datasource using Function module?

    Hi,
    can anybody explain me creating Generic Datasource using Function module?
    Thax in advance,
    Ravi.

    Generic Extraction via Function Module
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    1. Create s structure with the fields that you need from the 4 tables . Activate.
    2. Goto SE 80 Select The Function Group , Copy , Select the Function module
    " RSAX_BIW_GET_DATA_SIMPLE " and Give a New name starting With
    Y or Z .
    3. SE37 ->Your Function module name -> Change , In table tab give your structure
    name by deleting the associated type given in " E_T_DATA " .
    4. Now select source code and Do the coding . Give Data source name in Coding .
    In your case you have to take data from more that 1 table .
    5. Activate the Function Group .
    6. In RSO2 Create the Data source , Give the Function Module Name , And Save.
    7. RSA3 -> Give data source name and Check for the Records .
    Creation of custom datasource. (Using function module)
    <b>is an example</b>
    1.Create a function group .
    2. Structure ZTEST123
    ZMATNR MATNR CHAR 18 0 Material Number
    ZMTART MTART CHAR 4 0 Material type
    ZMBRSH MBRSH CHAR 1 0 Industry sector
    ZMATKL MATKL CHAR 9 0 Material group
    ZBISMT BISMT CHAR 18 0 Old material number
    ZMAKTX MAKTX CHAR 40 0 Material description
    3. Create function module (i.e. ZTEST….) .
    FM - YMARA_DATA_TRNS
    FUNCTION YMARA_DATA_TRNS.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
    *" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *" TABLES
    *" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *" E_T_DATA STRUCTURE ZTEST123 OPTIONAL
    *" EXCEPTIONS
    *" NO_MORE_DATA
    *" ERROR_PASSED_TO_MESS_HANDLER
    data : ZTEST123 type ZTEST123 occurs 0 with header line.
    Maximum number of lines for DB table
    STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    S_COUNTER_DATAPAKID LIKE SY-TABIX.
    DATA: begin of t_mara occurs 0,
    ZMATNR type MATNR,
    ZMTART type MTART,
    ZMBRSH type MBRSH,
    ZMATKL type MATKL,
    ZBISMT type BISMT,
    end of t_mara.
    DATA: begin of t_makt occurs 0,
    ZMATNR type MATNR,
    ZMAKTX type MAKTX,
    end of t_makt.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
    IF I_INITFLAG = SBIWA_C_FLAG_ON.
    Check DataSource validity
    CASE I_DSOURCE.
    WHEN 'ZZMARA_DATA'.
    WHEN OTHERS.
    IF 1 = 2. MESSAGE E009(R3). ENDIF.
    this is a typical log call. Please write every error message like this
    LOG_WRITE 'E' "message type
    'R3' "message class
    '009' "message number
    I_DSOURCE "message variable 1
    ' '. "message variable 2
    RAISE ERROR_PASSED_TO_MESS_HANDLER.
    ENDCASE.
    Fill parameter buffer for data extraction calls
    S_S_IF-REQUNR = I_REQUNR.
    S_S_IF-DSOURCE = I_DSOURCE.
    S_S_IF-MAXSIZE = I_MAXSIZE.
    ELSE. "Initialization mode or data extraction ?
    Data transfer: First Call OPEN CURSOR + FETCH
    Following Calls FETCH only
    First data package -> OPEN CURSOR
    IF S_COUNTER_DATAPAKID = 0.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
    select MATNR
    MTART
    MBRSH
    MATKL
    BISMT
    from mara up to 10 rows
    into table t_mara.
    if not t_mara[] is initial.
    select MATNR
    maktx
    from makt
    into table t_makt
    for all entries in t_mara
    where matnr = t_mara-zmatnr.
    endif.
    loop at t_mara.
    read table t_makt with key zmatnr = t_mara-zmatnr.
    ZTEST123-zmatnr = t_mara-zmatnr.
    ZTEST123-ZMTART = t_mara-ZMTART.
    ZTEST123-ZBISMT = t_mara-ZBISMT.
    ZTEST123-ZMBRSH = t_mara-ZMBRSH.
    ZTEST123-ZMATKL = t_mara-ZMATKL.
    ZTEST123-zmaktx = t_makt-zmaktx.
    append ZTEST123.
    clear ZTEST123.
    endloop.
    clear E_T_DATA.
    refresh E_T_DATA.
    E_T_DATA[] = ZTEST123[].
    ENDIF.
    S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
    ENDIF. "Initialization mode or data extractio
    ENDFUNCTION.
    3. Create the data source using transaction (RSO2).
    4. If structure exists for the table parameter of your function module then ok else create a structure for the table parameter ‘E_T_DATA’.
    5. Test the datasource in R/3 using transaction RSA3.
    6. Transfer the data source to BW –System and replicate it in the BW-System.

  • How can I send scheduled reports to group of users?

    Hi,
    I want to schedule some reports and send the results to a group of users, which use InfoView. I know that there is an option in the scheduler to send scheduler results to the business objects inbox. By deselecting "standard settings" I can send them to the inboxes of all members of the group.
    The problem is, that I have lots of user groups and lost of reports to schedule. Therefore I want to use the web service consumer SDK to configure the scheduler. The SDK allows to configure the business objects inbox as destination, however it seems to lack the functionality to use any other inbox than the one of the logged in user.
    So my questions are:
    - Have I overseen a way to send scheduled reports to multiple inboxes using the web service consumer SDK?
    - As an alternative, is it possible to configure an inbox so it is shown as additional inbox in the InfoView of a user group? Something like a "shared group inbox"?
    - As an alternative, is it possible to have a shared group folder and send the scheduled report there?
    Thanks for any help
    Joern

    Hi Jorn,
    I don't know SDK so can't answer that part.
    Regarding the other questions:
    - As an alternative, is it possible to configure an inbox so it is shown as additional inbox in the InfoView of a user group? Something like a "shared group inbox"?
    The answer is no. The Inboxes are associated to one account and you need to be logged in with that account to access it.
    - As an alternative, is it possible to have a shared group folder and send the scheduled report there?
    Outside of BO yes. You can schedule reports to a shared folder on your network. But not in BO. You can only create an instance where the original report is saved.
    Another thing that might help you, would be to have a look at publications. You can schedule several reports at the same time and send them to different groups. It will save a lot of time compared to doing it for each report.
    Regards,
    Philippe

Maybe you are looking for

  • Get all vertices from a geometry of multiple polygons

    I tried to use sdo_util.GetVertices to retrieve all the vertices from a geometry column. Some of the geometries of gType 2007 that contains more than one element. The getVertices function seems to give back the vertices of the first element only. How

  • HP Pavilion DV6 6120SE Recovery Disk

    My name is Kanti Bhushan. I am from India and I purchased my HP Laptop from Dubai It's details are: Model no.     : dv6-6120se Serial no.     :  [edited by Moderator] Product no.  : QF456EA#ABV Pre-installed OS :Windows 7 home premium 64-bit PROBLEM 

  • PI does not combine .wsdl file with .xsd files.

    Hi, I imported .wsdl file with necessary .xsd files in PI system (7.1). PI does not find fields in .wsdl already necessary .xsd files imported with .wsdl file. Is there anyone to help me to solve problem with test it in PI system. I send .wsdl file a

  • Trying to install the new version 6.0 i'm asked to turn off firefox--but it's not turned on so, help?

    I've been trying to install 6.0...i run it, and do the installation, but at a certain point it will go no further, with a notice: turn off firefox...but i've never turned it on...can't locate it...suggestions?

  • Is there any BC DataSource to extract Asset Transaction list

    My client is looking for a report to show the detailed list of FA transactions. I checked the DataSources, there is one 0FI_AA_11, Transactions, however, it looks like that is accumulated values to the period level, and my client requires a detailed