Import table in abap method

Hi,
How can i import table in methods ,in FM i use the tab tables and in method i had the returning tab
but it just for export.
BR
Ricardos

Hi,
In tables parameter use
my_tab LIKE your_db_table_name
or via importing/exporting/changing parameters:
- go to se11, select Data type
- type in new table type in Z_MY_TABLE_TYPE and Create
- select Table type
- Pass description and as Line type type in your DB table name
- activate
- pass this table type to one of FM / method parameter
my_tab TYPE my_new_table_type.
Regards
Marcin

Similar Messages

  • List of Important Tables in ABAP

    Hi,
    Can anyone send me a List of Important Tables in ABAP.
    Thanks & Regards,
    Sai

    Customer related tables with Important fields
    KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
    KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
    KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
    KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
    KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
    KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
    KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
    KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
    KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
    KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
    Vendor related
    LFA1--Vendor Master-General (LIFNR,NAME1,ORT01)
    LFB1--Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
    LFC1--Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
    LFM1—-Pur.Orgn. Related Vendor Data (LIFNR,EKORG)
    Material Related
    MARA--Material Master-General (MATNR,MTART,MATKL)
    MARC--Material Master-Plant data(MATNR,WERKS,EKGRP)
    MARD--Material Master- St.Location Data(MATNR,WERKS,LGORT,LABST)
    MAKT--Material Descriptions(MATNR,MATKL,MAKTX)
    MBEW--Material Valuation Data(MATNR,BWTAR)
    MVKE—-Material Master: Sales related Data(MATNR,VKORG,VTWEG)
    Plant related
    T001W-- Plants (WERKS)
    T001L-- Storage Locations (LGORT)
    Sales related
    VBAK: Sales Document(Header Data) (VBELN)
    VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
    Enquiry, Quotation, Sales Order are differentiated based on Doc.
    Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
    for Quotation 'B' & for Order it is 'C'.)
    LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
    LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
    (LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
    VTTK: Shipment Table (Header Data)(TKNUM)
    VTTP: Shipment Table (Item Data)( TKNUM,TPNUM,VBELN)
    (VTTP-VBELN = LIKP-VBELN)
    VTFA: Shipping Document Flow(TKNUM,VBELV,VBELN)
    VTPA: Shipping Partners data(VBELN,PARVW,KUNNR,PERNR)
    VTTS: Stages in Shipment(TKNUM,TSNUM,TSTYP)
    VTSP: Transport Stage/Shipment Item Allocation(TKNUM,TSNUM,TPNUM)
    VEKP: Handling Unit: Header(Packing)(VENUM,VSTEL)
    VEPO: Handling Unit: Item (Packing)(VENUM,VEPOS,VBELN)
    VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
    VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
    (VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
    Apart from these tables there are lot of other tables which starts with
    ‘V’, but we use the following tables frequently.
    VBUK: All Sales Documents status & Admn. Data(Header)(VBELN,VBTYP)
    VBTYP= ‘C’(Sales Order) VBTYP=’J’(Delivery) VBTYP=’M’(Invoice)
    VBUP: Sales Documents status & Admn. Data(Item)(VBELN,POSNR)
    VBEP: Sales Doc. Schedule Lines Data(VBELN,POSNR,EDATU,WMENG)
    VBKD: To get sales related Business data like Payment terms etc.(VBELN,ZTERM)
    VBFA: sales document flow data(VBELV,VBELN,POSNV,VBTYP)
    VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
    VEDA: Contract Data(VBELN,VPOSN)
    VEDAPO: Contract Data(VBELN,VPOSN)
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Export Table from ABAP Method

    Hello Experts,
    I have created one class which contains a method having one import parameter and one export parameter.Export parameter is of type table, say iTab
    In the code of the method, i called one RFC which has one table parameter. Ex.-
    method get_data.
    call function z_test
        Exporting
             name = 'AAA'
        Tables
             list = iTab.
    endmethod.
    But when I compile the method, it is showing me the error that "iTab is not a internal table, occurs specification is missing".
    Then I Used another internal table instead of iTab. Error was not came, but I am not understanding how to assign this new internal table to export parameter of a method.
    Thanks in Advance,
    Prashant Jagdale

    Hi Keshav,
    I tried using iTab type <Table_Name> in method signature and used
    TABLES
       LIST = ItAB[]
    But no success....Again Error - "iTab is not a internal table, occurs n specification is missing"
    when i declare another internal table inside method using type table of and assigned to list. No error comes but I am not understanding how to pass these values of newly created internal table to method's export parameter.
    Any help??
    Thanks in Advance,
    Prashant

  • Deleting row from table in ABAP webdynpro

    Hi all,
    Can anyone help me regarding deletion of a row from a table in ABAP webdynpro.
    I have written a code like this :
        DATA:
          NODE_STUDINFOSYS                    TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_STUDINFOSYS                    TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_STUDINFOSYS                    TYPE IF_COMPONENTCONTROLLER=>ELEMENT_STUDINFOSYS .
      navigate from <CONTEXT> to <STUDINFOSYS> via lead selection
        NODE_STUDINFOSYS = WD_CONTEXT->GET_CHILD_NODE( NAME = IF_COMPONENTCONTROLLER=>WDCTX_STUDINFOSYS ).
      get element via lead selection
        ELEM_STUDINFOSYS = NODE_STUDINFOSYS->GET_ELEMENT(  ).
    deleting data selected via lead selection
        NODE_STUDINFOSYS->REMOVE_ELEMENT( ELEMENT = ELEM_STUDINFOSYS ).
    *But I am getting an error:*
    Error when processing your request
    What has happened?
    The URL http://hsdnt24s11.hclt.corp.hcl.in:8000/sap/bc/webdynpro/sap/znet310_add_del_sech/ was not called due to an error.
    Note
    The following error text was processed in the system HE6 : The lead selection has not been set. VIEW_ADD_DEL_01
    The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISEELEMENT_NOT_FOUND of program CL_WDR_CONTEXT_NODE===========CP
    Method: PATH_TABLE_GET_ELEMENT2 of program CL_WDR_CONTEXT_NODE===========CP
    Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system HE6 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server hsdnt24s11_HE6_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server hsdnt24s11_HE6_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: SUMANK -l: E -s: HE6 -i: hsdnt24s11_HE6_00 -w: 0 -d: 20081220 -t: 155832 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Can anyone help me???

    Hi Suman,
    this issue seems to be not specific to the FPM. I would like to suggest you to address this problem in the ABAP forum.
    Best regards,
    Thomas

  • Use of export and import in oo abap

    Hello experts,
    We are new to oo abap and using process controlled workflow for BRF.
    There are 3 methods which we are using. /SAPSRM/IF_EX_WF_RESP_RESOLVERGET_AREA_TO_ITEM_MAP, /SAPSRM/IF_WF_AREAGET_RESPONSIBLE_APPROVERS and /SAPSRM/IF_EX_WF_RESP_RESOLVER~GET_APPROVERS_BY_AREA_GUID.
    In a situation we want to use document_id which is created in item_map into get_responsible_approvers method.
    Therefore, we used export and import in these two methods like the following.
    zgc_mock_pdo_guid =  is_document-document_guid. "uncomment later
        export zgc_mock_pdo_guid from zgc_mock_pdo_guid to memory id 'Z_MOCK_PDO_GUID' . "uncomment later
    and
    import zgc_mock_pdo_guid  = zgc_mock_pdo_guid  from  memory id 'Z_MOCK_PDO_GUID' . "uncomment this later
                   CALL METHOD /SAPSRM/CL_WF_APV_FACADE=>RETRIEVE_PROCESS_HISTORY
                     EXPORTING
                       IV_DOCUMENT_GUID = zgc_mock_pdo_guid "ins_guid
                       IV_AGENT_ID      = lv_agent
                       IV_LANGUAGE      = sy-langu
                     IMPORTING
                       ES_PROCESS       = ls_process
    Now we are getting the results as per our requirements. But I want to know whether or not it is supposed to be used in oo abap context or not otherwise I will find another method to do so. Please advise/suggest about the same.
    Thank you.

    Hello Keshav, Suhas.
    Thank you vary much for your reply. I was definitely a great help to understand the concept.
    This ZGC_MOCK_PDO_GUID attribute was already made private. Instead of defining under public section I defined it under attributes tab.
    Thank you for your help though.
    Right now I am trying to explore another way to do so.
    I am trying to get factory instance for tack container using /SAPSRM/IF_CLL_TASKCON_FACTORY interface with method GET_INSTANCE from class /SAPSRM/CL_CH_WD_TASKCONT_FACT.
    Later I am trying to get task container from this interface. Then after I am interested to get SC GUID using GET_BO_GUID method.
    I have been trying to achieve this in following way. But somehow i am getting this GUID empty.
    data :
    temp_task_container_factory type REF TO /SAPSRM/IF_CLL_TASKCON_FACTORY,
    temp_instance type REF TO /SAPSRM/IF_PDO_BO_SC_ADV,
    ins_guid type BBP_GUID, "/SAPSRM/WF_DOCUMENT_GUID,
    ls_process_info TYPE /SAPSRM/S_PDO_WF_PROCESS_INFO,
    temp_handler TYPE REF TO /SAPSRM/IF_PDO_STATIC_META,
    temp_task_container type REF TO /SAPSRM/IF_CLL_TASK_CONTAINER,
    lo_task TYPE REF TO /SAPSRM/IF_CLL_TASKCON_FACTORY.
    CALL METHOD /SAPSRM/CL_CH_WD_TASKCONT_FACT=>GET_INSTANCE
    RECEIVING
    RO_TASK_CONTAINER_FACTORY = temp_task_container_factory "
    CALL METHOD TEMP_TASK_CONTAINER_FACTORY->GET_TASK_CONTAINER
    * EXPORTING
    * IV_TRANS_MODE =
    * IO_MESSAGE_HANDLER =
    * IV_BO_TYPE =
    RECEIVING
    RO_TASK_CONTAINER = temp_task_container
    CALL METHOD TEMP_TASK_CONTAINER->GET_BO_GUID
    RECEIVING
    RV_BO_GUID = ins_guid .
    TRY.
    CALL METHOD /SAPSRM/CL_PDO_FACTORY_SC_ADV=>GET_BUFFERED_INSTANCE
    EXPORTING
    IV_HEADER_GUID = ins_guid
    RECEIVING
    RO_INSTANCE = temp_instance
    ENDTRY.
    CALL METHOD ZCL_WF_APV_FACADE=>RETRIEVE_PROCESS_HISTORY
    EXPORTING
    IV_DOCUMENT_GUID = ins_guid " we are passing ins_guid instead of zGC_MOCK_PDO_GUID this should have area_guid now.
    IV_AGENT_ID = lv_agent
    IV_LANGUAGE = sy-langu
    IMPORTING
    ES_PROCESS = ls_process.
    But the ins_guid ( returned by RV_BO_GUID ) is empty ( The Bold fonted line of code)
    I want to know whether I am doing this instantiation correctly or not or do I have to create class and object here only ?
    Right now I am calling the class, getting get_instance and using its instance temp_task_container_factory i am calling interface /SAPSRM/IF_CLL_TASKCON_FACTORY. Is it correct way? PLease advise. Thank you once again.
    Edited by: abhijitkamatkar on Feb 7, 2012 1:38 PM

  • Field symbol as import parameter in class method ???

    Hi everyone,
    is it possible to pass a field symbol as an import parameter to a method in a class? If yes, how do I define the data type of the import parameter? I'm trying to work with field symbols as the program doesn't know what kind of structure the program parameter p_srcdso has. Coding example would be something like this:
    PARAMETERS: p_srcdso TYPE rsdodsobject DEFAULT '/BIC/AKVI0001'.
    DATA: lr_srcpkg TYPE REF TO data.
    FIELD-SYMBOLS: <fs_table> TYPE ANY TABLE.
    CREATE DATA lr_srcpkg TYPE TABLE OF (p_srcdso).
    ASSIGN lr_srcpkg->* TO <fs_table>.
    SELECT *
    FROM (p_srcdso)
    INTO TABLE <fs_table>.
    CALL METHOD cl_ref->create_somethign
    EXPORTING
        i_source_package = <fs_table>.
    Thanks,
    Alex

    Halo Alexander,
    You can use TYPE REF TO DATA( say the parameter name is i_data) as the importing parameter of the method create_somethign and inside the method you need to dereference it using data reference variable again.
    data: dref type ref to data.
    field-symbols: <fs_table> type table.
    create data dref like i_data.
    assign dref->* to <fs_table>.
    Regards
    Arshad

  • Calling a abap method in a javascript

    Hi all,
    I've been browsing a bit through this forum, but there has no answer been completely covering my problem...
    I would like to call an abap method in the javascript in order to check some values...
    This is what I have done:
    <script language="JavaScript" defer="defer">
        function do_checks(htmlbevent)
            try
                  var doubles = "<%= controller->check_doubles( )%>";
                  if(doubles == true){
                      var Check = confirm("Test??");
                      if(Check == false){
                        htmlbevent.cancelSubmit = true;
            catch(e)
      </script>
    The method has the following code:
    mehod check_doubles. " returning parameter = rv_double of type flag
      rv_double = abap_true.
    endmethod.
    the button is defined like this...
    <htmlb:button
                              id      = "Save"
                              onClick = "save"
                              onClientClick = "do_checks(htmlbevent);"
                              text    = "<%= otr(crm_ic_appl/Save) %>"
                              />
    The funny thing is, that the controller->check_doubles( ). is already processed at load of the page (although there is no on_load used somewhere...
    If I leave out the " if(doubles == true){ } ", the javascript reacts as foreseen..., but when I keep the " if(doubles == true){ } ", the javascript doesn't go through the method anymore...
    Can anybody help me out here???
    Thanks!!
    Micha

    Hi,
    You can call them FM inside the javascript something like below...
    <script language="JavaScript">
    function yourFM()
    <%
       DATA: guid TYPE GUID_32.
       CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_32 = guid.
    %>
    </script>
    <b>To call the class & method:</b>
    <script language="JavaScript">
        function yourFM()
          <% CLASS cl_bsp_login_application DEFINITION LOAD. %>
          var EXIT_URL  = "<%= CL_BSP_LOGIN_APPLICATION=>GET_SESSIONEXIT_URL( page = page ) %>";
      </script>
    But i am not clear what do you want to achieve. I didnt understand what you are trying to do with you code. Could you give more detail?
    <i>* Reward each useful answer</i>
    Raja T
    Message was edited by:
            Raja Thangamani

  • Export and import table data with Java

    I need a library for simple exporting and importing table data.
    The data should be exported to a SQL file with insert statements.
    I just want to tell the library the table name, the connection and where to store the file. The usage should be very simple.
    Are there any small libraries for this? Finished calsses and methods which I can just call?

    I need a library for simple exporting and importing
    table data.
    The data should be exported to a SQL file with insert
    statements.Every database has utilities to export/import data from tables. Take a look at your database manual.

  • FI document flow and important tables

    Hi,
    I am new to FI module, can any one explain me the document folw of FI and some important tables of FI and also any tables in FI have related with SD & MM tables ?.
    Thanks & Regards.
    Mahesh Kumar

    Hi Mahesh,
    http://www.sap-img.com/financial/document-flow-confusion-in-sap-fi.htm
    http://www.erpgenie.com/abap/tables_fi.htm
    http://www.sap-img.com/sap-sd/link-between-sap-sd-mm-and-fi.htm

  • Export field symbol table out of method

    Hi,
    i have a report, that takes any xml and converts it into a table structure. In a method I generate the table structure using method cl_alv_table_create=>create_dynamic_table. Later in the same method I have filled the content of the XML file into a table typed as:  FIELD-SYMBOLS: <outtab> type standard table
    Now I need to export this <outtab> out of my method. Because it is a unspecific field symbol table, I can not do this, by normal exporting.
    In the PAI, where my method is called, I have deffined the table to return into as:
    FIELD-SYMBOLS: <itab_message> type standard table.
    Any help will be greatly appreciated.
    Kind regards
    Mikkel

    Hi,
    Please check this:
    REPORT zmaschl_create_data_dynamic .
    TYPE-POOLS: slis.
    DATA: it_fcat TYPE slis_t_fieldcat_alv,
    is_fcat LIKE LINE OF it_fcat.
    DATA: it_fieldcat TYPE lvc_t_fcat,
    is_fieldcat LIKE LINE OF it_fieldcat.
    DATA: new_table TYPE REF TO data.
    DATA: new_line TYPE REF TO data.
    FIELD-SYMBOLS: <l_table> TYPE ANY TABLE,
    <l_line> TYPE ANY,
    <l_field> TYPE ANY.
    Build fieldcat
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_structure_name = 'SYST'
    CHANGING
    ct_fieldcat = it_fcat[].
    LOOP AT it_fcat INTO is_fcat WHERE NOT reptext_ddic IS initial.
    MOVE-CORRESPONDING is_fcat TO is_fieldcat.
    is_fieldcat-fieldname = is_fcat-fieldname.
    is_fieldcat-ref_field = is_fcat-fieldname.
    is_fieldcat-ref_table = is_fcat-ref_tabname.
    APPEND is_fieldcat TO it_fieldcat.
    ENDLOOP.
    Create a new Table
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
    it_fieldcatalog = it_fieldcat
    IMPORTING
    ep_table = new_table.
    Create a new Line with the same structure of the table.
    ASSIGN new_table->* TO <l_table>.
    CREATE DATA new_line LIKE LINE OF <l_table>.
    ASSIGN new_line->* TO <l_line>.
    Test it...
    DO 30 TIMES.
    ASSIGN COMPONENT 'SUBRC' OF STRUCTURE <l_line> TO <l_field>.
    <l_field> = sy-index.
    INSERT <l_line> INTO TABLE <l_table>.
    ENDDO.
    LOOP AT <l_table> ASSIGNING <l_line>.
    ASSIGN COMPONENT 'SUBRC' OF STRUCTURE <l_line> TO <l_field>.
    WRITE <l_field>.
    ENDLOOP.
    Regards,
    Shiva Kumar

  • Question on using table types in methods

    Hi
       I have a simple question involving passing table types in method
    I want to pass an internal table by reference - to a method and within the method populate the internal table (t1) using a select * into the internal table and then sort t1 by f1 and f2. t1 is an internal table based on a ABAP dictionary table ( at1 )
    Question is : If I use a generic type TABLE declaration , it does not allow sort operation specifically by fields. If I use type at1 as in
    the METHODS M1 exporting t1 type at1statement, syntax error is - t1 is not an internal table.
    How do I achieve the above using the method implementation ?
    Sample code that I try
    CLASS C1 DEFINITION
    PUBLIC SECTION
    METHODS M1 exporting t1 type table
    ENDMETHOD
    ENDCLASS
    CLASS C1 IMPLEMENTATION
    METHOD M1
    select * from at1 into t1.
    sort t1 field f1 f2
    ENDCLASS

    You should define a TABLE TYPE based upon the data dictionary type (at1) either in the data dictionary using SE11 or in the TYPES section of the class.
    Then define the parameter of this new type.
    Cheers
    Graham Robbo

  • Re: join cluster table into transperant table in ABAP Queries

    Hi gurus
    How to join cluster tables into transperant tables in ABAP Queries,
    I want to join KNA1, KNB2, BSEG(cluster table)
    pls explain me
    amk

    Hi
    You can use join for KNA1 and KNB1 which will much faster
    then use for all entries of this itab to get the BSEG to improve the performance
    here you need to do some trial and error method by joining  removing the tables and also for all entries
    regards
    Shiva

  • Important tables in MM and PP

    Hi,
      Hi could any one tell me the MM and PP flow,important tables ,fields,and the linkage between them.
    Regards,
    Charumathi.B

    Hi Charumathi,
    Here is the MM Flow,
    A.)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 under deliveries 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
    MM flow is processing between business organisation and Vendor:
    1...Purchase Requisition --- T.code ---ME51
    2...Source List -
    T.code-----ME41
    3...Request for Quation (RFQ)-T.codeME21N (To Vendor)
    4...Purchase Order -
    T.code -
    ME21N (To Vendor)
    5...Goods Receipt-------T.code....MIGO
    (Tables: MKPF, MSEG)
    6...Invoice Verification----T.code...MIRO
    (Tables: BKPF , BSEG)
    7...Vendor Payment----T.code...FB60 (FI - Account Payable)
    B.) And the Important tables in MM module as as follows
    EINA Purchasing Info Record- General Data
    EINE Purchasing Info Record- Purchasing Organization Data
    MAKT Material Descriptions
    MARA General Material Data
    MARC Plant Data for Material
    MARD Storage Location Data for Material
    MAST Material to BOM Link
    MBEW Material Valuation
    MKPF Header- Material Document
    MSEG Document Segment- Material
    MVER Material Consumption
    MVKE Sales Data for materials
    RKPF Document Header- Reservation
    T023 Mat. groups
    T024 Purchasing Groups
    T156 Movement Type
    T157H Help Texts for Movement Types
    MOFF Lists what views have not been created
    A501 Plant/Material
    EBAN Purchase Requisition
    EBKN Purchase Requisition Account Assignment
    EKAB Release Documentation
    EKBE History per Purchasing Document
    EKET Scheduling Agreement Schedule Lines
    EKKN Account Assignment in Purchasing Document
    EKKO Purchasing Document Header
    EKPO Purchasing Document Item
    IKPF Header- Physical Inventory Document
    ISEG Physical Inventory Document Items
    LFA1 Vendor Master (General section)
    LFB1 Vendor Master (Company Code)
    NRIV Number range intervals
    RESB Reservation/dependent requirements
    T161T Texts for Purchasing Document Types
    C.) and about the fields it depends on transactions
    D.) PP Process Flow
    The PP flow consists of planning and execution as described. 
    Here is the flow of PP in simple language:
    First of all demand is generated for the product to be produced through demand management. It calculated the quantities to produce and the time for the final assembly. 
    The data from demand management is transferred to MRP.   The data from demand mgt can come from Customer Sales Order (firm) or Planned Order (forecast).
    The MRP checks for the availability of material at various stages of BOM. In case material is not available MRP generated planned order and Purchase requisition for production of components in house and procurement from vendor respectively.   
    The planned orders are converted into production order by the planner and the purchase requisition are converted into purchase order by the purchaser.
    Production in charge converts the planned order to production order and carries out the production activities once the order is released for production. Production is carried out as per the operation steps provided in the routing. Work centers are also mentioned with each operation in the routings where these operations are to be carried out. 
    Once the production is completed production confirmation is done and goods movement (delivery created) takes place. 
    Capacity planning is yet another part of PP which planes the capacities for various work centers. MPS is another tool which is used to plan out the master products. If MPS is to be run the inputs are provided from demand management to MPS. And the out put from MPS is then feed into MRP.
    E.) PP Module important Tables
    Demand Management
    PBED          Independent Requirements Data
    PBIM          Independent Requirements by Material
    Repetitive Manufacturing
    SAFK         RS Header Master Data
    S025           LIS -- Run Schedule Quantities
    S026           LIS -- Material Usage
    S028           LIS -- Reporting Point Statistics
    CEZP          Reporting Point Document Logs
    CPZP          Reporting Points - Periodic Totals
    MRP Records
    MDKP        MRP Document Header Data
    MDTB         MRP Table Structure (no data)
    PLSC          Planning Scenario (Long-term Planning)
    MDFD        MRP Firming Dates
    MDVM       Planning File Entries
    S094           LIS -- Stock/Requirements Analysis
    Reservations
    RESB          Reservations/Dependent Requirements
    Planned Orders
    PLAF          Planned Orders
    Discrete Production
    AFKO         Order Header
    AFPO          Order Item Detail
    AFVC          Order Operations Detail
    AFFL           Order Sequence Details
    AFFH          Order PRT Assignment
    AFBP          Order Batch Print Requests
    AFRU          Order Completion Confirmations
    AFFW         Confirmations -- Goods Movements with Errors
    AFRC          Confirmations -- Incorrect Cost Calculations
    AFRD          Confirmations -- Defaults for Collective Confirmation
    AFRH          Confirmations -- Header Info for Confirmation Pool
    AFRV          Confirmation Pool
    AFWI          Confirmations -- Subsequently Posted Goods Movements
    Classification
    KLAH          Class Detail
    CABN          Characteristic Detail
    AUSP          Characteristic Values
    CAWN          Characteristic Values
    CAWNT         Characteristic Value Texts
    KSML          Characteristic Allocation to Class
    KSSK          Material Allocation to Class
    Regards,
    Suresh.S

  • Importing Table

    Hi
    how can i importing a table in the method?
    i try this
        methods: merge_data
                  importing pf_spediumsetz type table zsd_spediumsetz,
    but became a error message.
    thx

    >
    marty anujit wrote:
    >
    methods: merge_data
    >               importing pf_spediumsetz type standard table zsd_spediumsetz,
    >
    this is wrong
    Change the code like this..
    types:  tt_zsd_spediumsetz type standard table of zsd_spediumsetz.
    methods: merge_data
                 importing pf_spediumsetz type tt_zsd_spediumsetz ,

  • JDBC Lookup - Import table data from a different schema in same DB

    Hi XI Experts,
    We are facing an issue while importing a Database table into the external definition in PI 7.1.
    The details are as below:
    I have configured user 'A' in PI communication channel to access the database. But the table that I want to access is present in schema "B". Due to this, I am unable to view the table that I have to import in the list available.
    In other words, I am trying to access a table present in a different schema in the same database. Please note that my user has been given all the required permissions to access different schema. Even then, I am unable to access the table in different schema.
    Kindly provide your valuable suggestions as to how I can import table which is present in another schema but in the same Database.
    Regards,
    Subbu

    If you are using PI 7.1, then you can do JDBC Lookup to import JDBC meta data (table structures from DB). Configure a jdbc receiver communication channel where you specify username and password which has permission to access schema A and Schema B of database. Specify database name in the connection string. Then you might have access to import both schema.
    Please refer these links
    SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups
    How to use JDBC Lookup in PI 7.1 ?

Maybe you are looking for

  • How i can solve this problem purchase form apple store

    Enter your Apple ID and password, then click Billing Info and update your payment information. You will not be able to make purchases until this billing issue has been resolved.

  • What is THE most ideal way to use IMovie?

    Would like to learn how to use this program in the way that it was meant to be used. Am tired of not being able to do the things I imagine doing... so it's time to get real. My first gripe is the beachball thing when turning the application on. If I

  • Nokia E63 new firware update not available

    Hello I see that there is new firmware for e63 however my ovi suite and software updated says thate i have the latest version what is going on? Now i have 200.21.012. What is the difference with version 400? Why some phones firmware start with 200, a

  • How can i HALF_ROUND_UP using DecimalFormat and NumberFormat

    hi currently what i did is public static String formatNumber(double value){         NumberFormat formatter = new DecimalFormat("#.00");         return formatter.format(value);     }1. 12.344 ==> 12.34 2. 12.346 ==> 12.35 3. 12.345 ==> 12.34 But what

  • Flash 10 shuts down laptop

    I installed the Flash Player 10 and have Vista. Using IE, any game or video using Flash shuts down my Dell laptop. I have tried all the fixes in the tech forums I can find and nothing works. I have installed and uninstalled and even considered trying