S555 table flow in SAP

I have a scenario here where the S555( Daily Material Activity) gets updated everyday for a material and plant combination.
This table updates material and plant data for all the sales orders for that day.
Does anyone knows how this table gets updates in SAP .
I did try using Where used list but landed up getting some subroutine pools.Do I need to look in config?
Any light on the above query will be highly appreciated and rewarded.

Hi i got answer to my questions on my own.
Infostructures S500-S999 are user defined info.structures and created through SPRO or MC21 tcode.
Whenever an info.s is created update programs are automatically created when creating update rules.
These programs are RCMXnnnn programs .
for example for S555, program is RCMX0001-RCMX0009.
U can see the key figures and characteristics in MC26 and see the formula and requirements behind each field.
For formulas goto MC1D and requirements MC1B.
I hope this will help everyone.
Note : Whenever u don;t get any clue on some program or table pls goto SAP service marketplace and try to look for note.
This is not to implement note but to get idea .
All infostructures are part of LIS.

Similar Messages

  • Flow between SAP tables

    Dear Friends;
    I just wanna know the flow between SAP Sales And Distribution Tables.
    Please help me out.
    Regards;
    Parag

    Hi,
    <u><b>Link Between SAP SD, MM & FI</b></u>
    1. In SAP you will always get integration with other modules. SD will interact with FI, MM will interact with SD :-
    1a. Looking at MM and SD interaction first, take the scenario of a third party order process. This process uses a purchase order (which is sent to your vendor). Also invoice verification is used further along the process to check that the invoice you send to your customer is the same material and quantity as that which the vendor sends to you (but obviously shipped 
    directly to your customer). 
    1b. Billing is an SD function. But SAP needs to know, when processing a customer's payment, to which GL account the payment has to be processed. For instance payment of a UK based material would be placed in a different GL account to that of a non-UK based material. Furthermore, a UK based customer may have a different GL account to that of an Export customer. This is configured in Account Determination.
    2. ABAPers are there to essential do some bespoke development. Your integration, or interaction, with them would be when specifying the tables, fields, input fields, a simple process explanation, data mapping (if doing an interface from one system to another) etc.
    <b>The link between SD and MM :-</b>
    1. When you create sales order in SD, all the details of the items are copied from Material master of MM.
    2. MRP and availibility check related data is also taken from MM although you control this data in SD also.
    3. While you create inbound/outbound delivery with reference to a sales order,the shipping point determination takes place with the help of the loading group, plant data, shipping conditions etc. This also refers to Material Master.
    4. The material which you are entering in a sales order must be extended to the sales area of your sales order/customer otherwise you cannot transact with this material.
    There are many such links between SD and MM.
    <b>Now the link between SD and FI :-</b>
    1. Whenever you create a delivery with reference to a sales order, goods movement takes place in the bacgground. eg. In case of standard sales order, you create an outbound goods delivery to the customer.
    Here movement 601 takes place. This movement is configured in MM. Also, this movement hits some G/L account in FI. Every such movement of good s hits some G/L account.
    2. The accounts posting in FI is done with reference to the billing documents (invoice, debit note, credit note etc) created in SD. Thus this is a link between SD and FI
    3. Tax determination: In case of a tax determination also, there is a direct link between SD and MM
    <b>SD Integration points with other modules</b>
    SD module is highly integrated with the other modules in SAP.
    Sales Order –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Costing                        -       CO/ MM
    •Tax Determination              -       FI
    •Transfer of Requirements       -       PP/ MM
    Delivery & Goods Issue –
    Integration Points                      Module
    •Availability Check             -       MM
    •Credit Check                   -       FI
    •Reduces stock                  -       MM
    •Reduces Inventory $            -       FI/ CO
    •Requirement Eliminated         -       PP/ MM
    Billing -
    Integration Points                      Module
    •Debit A/R                      -       FI/ CO
    •Credit Revenue                 -       FI/ CO
    •Updates G/ L                   -       FI/ CO
      (Tax, discounts, surcharges, etc.)
    •Milestone Billing              -       PS
    Return Delivery & Credit Memo -
    Integration Points                      Module
    •Increases Inventory            -       MM
    •Updates G/ L                   -       FI
    •Credit Memo                    -       FI
    •Adjustment to A/R              -       FI
    •Reduces Revenue                -       FI
    <b>SD Transaction Code Flow: </b>
    Inquiry / Document type IN
    Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
    Quotation / QT
    Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
    Purchase Order PO
    Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
    Sales Order OR
    Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
    Delivery LF
    Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
    Billing MN
    Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP
    To create a sales order we need purchase order number and custmer number.  Before that, to create a purchase order we need to have material no, vendor no.
    To create vendor tcode is 
    xk01(create), xk02(change) , xk03(display)
    Tables are lfa1.
    To create custmer tcode is xd01, xd02, xd03.
    Table is kna1.
    After creating sales order using this no we can create delivery note tcode is vl01.
    Regards,
    Bhaskar

  • Flow of tables information between sap and java

    How should i pass the table information from sap to java.
    and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
    PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
    1.GET THE TABLE INTO THE JAVA PROGRAM
    2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
    3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
    4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAM

    hi,Kondani
    as JCO offers both Client side and server Side programming.
    you can use JCO to connect SAP ABAP.outbound and inbound.
    1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
    2) example 1 is about client side programming.
    try example 1 first. you can get a table from SAP using BAPI.
    Lots of JCO weblog you can see here
    https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
    Regards

  • Flow of tables informaion between sap and java

    How should i pass the table information from sap to java.
    and how to process the data of a table in the java program. i had seen the examples of JCO. BUT I IS VERY CONFUSING (BCOZ I DON'T KNOW JAVA).
    PLZ IF U DON'T MIND SEND ME CODE SNIPPET TO
    1.GET THE TABLE INTO THE JAVA PROGRAM
    2.PROCESSING THE TABLE INFORMATION IN JAVA PROGRAM
    3.MODIFYING THE TABLE INFORMATION IN JAVA PROGRAM
    4.SENDING BACK THE TABLE TO SAP FROM JAVA PROGRAM

    hi,Kondani
    as JCO offers both Client side and server Side programming.
    you can use JCO to connect SAP ABAP.outbound and inbound.
    1) JCO example 5 is about Server side programming java code. And you can see the data mapping is this example.And you must use sm59 to define the connections in SAP before you start.
    2) example 1 is about client side programming.
    try example 1 first. you can get a table from SAP using BAPI.
    Lots of JCO weblog you can see here
    https://www.sdn.sap.com/sdn/search.sdn?contenttype=url&query=jco&selected=9&content=/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fSDN!2fiViews!2fWCM!2fcom.sap.sdn..wcm.search.search_adv%3Fprttheme%3DCSIN%26QueryString=jco%26SearchPluginName=sdn_weblog%26SelectedCustomProps=resourcetype(value=sdn_weblog)
    Regards

  • Whats the important of "  table-type  " in sap abap?

    hi,
    i am ahmed. abap fresher.
    i want to what use and importance of table-type in sap abap which comes in      
                         datadictionary
                                V               
                        data types
    V----
    V                         V                                 V
    data element       structure                   table type
    i want to know about table type. plz give a brief idea.
    bye.

    hi,
    Transparent Tables
    A transparent table in the dictionary has a one-to-one relationship with a table in the database. Its structure in R/3 Data Dictionary corresponds to a single database table. For each transparent table definition in the dictionary, there is one associated table in the database. The database table has the same name, the same number of fields, and the fields have the same names as the R/3 table definition. When looking at the definition of an R/3 transparent table, it might seem like you are looking at the database table itself.
    Transparent tables are much more common than pooled or cluster tables. They are used to hold application data. Application data is the master data or transaction data used by an application. An example of master data is the table of vendors (called vendor master data), or the table of customers (called customer master data). An example of transaction data is the orders placed by the customers, or the orders sent to the vendors.
    Transparent tables are probably the only type of table you will ever create. Pooled and cluster tables are not usually used to hold application data but instead hold system data, such as system configuration information, or historical and statistical data.
    Both pooled and cluster tables have many-to-one relationships with database tables. Both can appear as many tables in R/3, but they are stored as a single table in the database. The database table has a different name, different number of fields, and different field names than the R/3 table. The difference between the two types lies in the characteristics of the data they hold, and will be explained in the following sections.
    Table Pools and Pooled Tables
    A pooled table in R/3 has a many-to-one relationship with a table in the database (see Figures 3.1 and 3.2). For one table in the database, there are many tables in the R/3 Data Dictionary. The table in the database has a different name than the tables in the DDIC, it has a different number of fields, and the fields have different names as well. Pooled tables are an SAP proprietary construct.
    When you look at a pooled table in R/3, you see a description of a table. However, in the database, it is stored along with other pooled tables in a single table called a table pool. A table pool is a database table with a special structure that enables the data of many R/3 tables to be stored within it. It can only hold pooled tables.
    R/3 uses table pools to hold a large number (tens to thousands) of very small tables (about 10 to 100 rows each). Table pools reduce the amount of database resources needed when many small tables have to be open at the same time. SAP uses them for system data. You might create a table pool if you need to create hundreds of small tables that each hold only a few rows of data. To implement these small tables as pooled tables, you first create the definition of a table pool in R/3 to hold them all. When activated, an associated single table (the table pool) will be created in the database. You can then define pooled tables within R/3 and assign them all to your table pool (see Figure 3.2).
    Pooled tables are primarily used by SAP to hold customizing data.
    When a corporation installs any large system, the system is usually customized in some way to meet the unique needs of the corporation. In R/3, such customization is done via customizing tables. Customizing tables contain codes, field validations, number ranges, and parameters that change the way the R/3 applications behave.
    Some examples of data contained in customizing tables are country codes, region (state or province) codes, reconciliation account numbers, exchange rates, depreciation methods, and pricing conditions. Even screen flows, field validations, and individual field attributes are sometimes table-driven via settings in customizing tables.
    During the initial implementation of the system the data in the customizing tables is set up by a functional analyst. He or she will usually have experience relating to the business area being implemented and extensive training in the configuration of an R/3 system.
    Table Clusters and Cluster Tables
    A cluster table is similar to a pooled table. It has a many-to-one relationship with a table in the database. Many cluster tables are stored in a single table in the database called a table cluster.
    A table cluster is similar to a table pool. It holds many tables within it. The tables it holds are all cluster tables.
    Like pooled tables, cluster tables are another proprietary SAP construct. They are used to hold data from a few (approximately 2 to 10) very large tables. They would be used when these tables have a part of their primary keys in common, and if the data in these tables are all accessed simultaneously. The data is stored logically as shown in Figure 3.3.
    Figure 3.3 : Table clusters store data from several tables based on the primary key fields that they have in common.
    Table clusters contain fewer tables than table pools and, unlike table pools, the primary key of each table within the table cluster begins with the same field or fields. Rows from the cluster tables are combined into a single row in the table cluster. The rows are combined based on the part of the primary key they have in common. Thus, when a row is read from any one of the tables in the cluster, all related rows in all cluster tables are also retrieved, but only a single I/O is needed.
    A cluster is advantageous in the case where data is accessed from multiple tables simultaneously and those tables have at least one of their primary key fields in common. Cluster tables reduce the number of database reads and thereby improve performance.
    For example, as shown in Figure 3.4, the first four primary key fields in cdhdr and cdpos are identical. They become the primary key for the table cluster with the addition of a standard system field pageno to ensure that each row is unique.
    Reward if helpful
    Jagadish

  • What is the Data flow in SAP-BPC NW

    Hi All,
    Could any body explain me how the data is flowing in SAP-BPC NW.
    and what are the steps for Planning
    and what are the steps for Consolidation
    Regards,
    Setty

    Hi,
    1) Attributes describe master data like a customer. The country where the customer resides, the industry etc. describe and classify the customer. Attributes are not just the structure/metadata of the characteristics. They are also the content. The following table should visualize what i mean:
    customer-no. | name
    112 | mcpherson inc.
    113 | donalds inc.
    2) I think, you are asking about the laods from infopackage. We dont have types of infopackage. But we have one thing called Infopackage group, You can create the IPG with the selction of all infopackages in RSA1-Modelling Area to automate those loads automatically. That means it will trigger only those IP's which have been pooled up in that IGP...
    Basically there are three types of loads in Infopackage
    Full Upload: This will bring all the records in the BW irrespective of how many times you load.
    Init Delta: In this you have 2 options: a) Init with data transfer and b) Init without data transfer. Init without data transfer will just setup your delta and when you do the delta load it will bring all the records. Init with data transfer is similar to the full upload. This brings all the records for the first time and will also setup the delta process. Once the Init is done; you have to do delta for all the subsequent loads.
    Delta: This will bring only the changed / modified / added / deleted records from the source to BW.
    Hope it helps..
    Regards
    Lavanya

  • Flow in SAP

    HI,
    I want some material that will show the process flow of modules SD and MM.
    With Transaction Codes and FAQ's
    Thanks
    Jen

    Hi Jen,
    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.
    Common Tables used by SAP MM:
    Below are few important Common Tables used in Materials Management Modules:
    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
    Transaction Codes:
    RFQ to Vendor - ME41
    Raising Quotation - ME47
    Comparison of Price - ME49
    Creation of PO - ME21N
    Goods Receipt - MIGO
    Invoice (Bill PAssing) - MIRO
    Goods Issue - MB1A
    Physical Inventory - MI01( Create doc)
    MI04 (Enter Count)
    MI07 (Post)
    Also please check this links.
    http://www.sapgenie.com/sapfunc/mm.htm
    http://www.sap-basis-abap.com/sapmm.htm
    SD Process Flow:
    The sales documents you create are individual documents but they can also form part of a chain of inter-related documents. For example, you may record a customer’s telephone inquiry in the system. The customer next requests a quotation, which you then create by referring to the inquiry. The customer later places an order on the basis of the quotation and you create a sales order with reference to the quotation. You ship the goods and bill the customer. After delivery of the goods, the customer claims credit for some damaged goods and you create a free-of-charge delivery with reference to the sales order. The entire chain of documents – the inquiry, the quotation, the sales order, the delivery, the invoice, and the subsequent delivery free of charge – creates a document flow or history. The flow of data from one document into another reduces manual activity and makes problem resolution easier. Inquiry and quotation management in the Sales Information System help you to plan and control your sales.
    Transaction Codes:
    Inquiry - VA11/VA12/VA13
    Quotation - VA21/VA22/VA23
    Sales Order - VA01/VA02/VA03
    Delivery - VL01N/VL02N/VL03N
    Billing/Invoicing - VF01/VF02/VF03
    Also please check this links.
    http://www.sapgenie.com/sapfunc/sd.htm
    http://www.sap-basis-abap.com/sapsd.htm
    http://www.sapgenie.com/abap/tables_sd.htm
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Tables flow in SD

    Hi ,
    i am new to ABAP can u send me tables flow in SD.
    Thanks and regards,
    Rajesh

    Dear Rajesh,
              The fallowing tables are used frequently
    SAP SD Tables
    VBAK -
    (SALES DOC HEADER)
    VBAP -
    (SALES DOC ITEM)
    VBFA -
    (SALES DOC FLOW)
    VBUK -
    (SALES DOC HEAD. STATUS)
    VBUP -
    (SALES DOC ITEM STATUS)
    LIKP -
    (DELIV HEAD DATA)
    LIPS -
    (DELIV ITEM DATA)
    VBRK -
    (INV HEADER)
    VBRP -
    (INV ITEM)
    KNA1 --- General Data in Customer Master
    KNB1 --- Customer Master (Company Code Data)
    KNVV --- Customer Master Sales Data
    MARA --- General Material Data
    MARC --- Plant Data for Material
    MVKE --- Sales Data for Material
    I hopr it will help you
    Regards,
    Murali.

  • The billing doc is not showing in the order  documnet flow in SAP CRM 7.0

    Hi CRM Experts,
    Our CRM system has been upgraded from 4.0 to 7.0 recently.
    We have come across with one strange issue; for some orders  which are billed in ECC6.0 are not showing as next document in the CRM order under document flow in SAP GUI. Only preceding document and replicated document are showing in the CRM document flow.
    Appreciate for yor valuable solution at the earliest.
    Best Regards
    Succhi

    I have the same problem!!!   Did anyone solve this???

  • BI 7 : Command to export a table structure of SAP R/3 into a script/text ?

    Hi All.
    Greetings.
    Am New to SAP R/3 system.  And request help.
    We are trying to pull data from SAP R/3 thro Bussiness Objects Data Services into Oracle.
    For now : we create a target oracle table looking at the table structure of SAP R/3 from SE 11.
    In BODS, We then do the query transformation, and use the oracle target table created by us manually.
    This works absolutely fine.
    We would like to know the command by which we could export the table structure of any existing table
    in SAP R/3 into a script / or to text file,
    which we could use to create the same table structure in oracle.
    Rather than manually typing some 200 field names for each tables.
    Can anyone advise on this.
    Thanks
    Indu

    Hello,
    The problem is caused due to the spaces in your directories
    C:\SAP Dumps\Core Release SR1 Export_CD1_51019634/DB/ADA/DBSIZE.XML
    Replace the spaces with underscores and restart the installation from from scratch.
    Cheers
    Bert

  • Help on accessing table available in SAP R/3 System

    Hi All
    A day before I had posted a question regarding the accessing of tables available in SAP R/3 system. 
    I got the following code as reply.  This code is working fine. 
    But in the below example, the QUERY_TABLE IS BSAUTHORS. 
    In my case, the QUERY_TABLE is VBKD(Sales Document Table). 
    When I replace the table name with VBKD in place of BSAUTHORS, I am getting the following error:
    ERROR  BEGIN----
    com.sap.mw.jco.JCO$AbapException: (126) DATA_BUFFER_EXCEEDED: Selected fields do not fit into structure DATA
         at com.sap.mw.jco.JCO$Function.getException(JCO.java:17978)
         at com.sap.mw.jco.JCO$Client.execute(JCO.java:3143)
         at com.insync.JCO.UpdateSalesOrder.main(UpdateSalesOrder.java:34)
    ERROR END----
    Can anyone please give me a solution for this?
    Thanks in Advace,
    Vijay.
    **********************Code**********************
    import com.sap.mw.jco.*;
    public class JcoTest {
    private static JCO.Client theConnection;
    private static IRepository theRepository;
    public static void main(String[] args) {
      createConnection();
      retrieveRepository(); 
      try {
      JCO.Function function = getFunction("RFC_READ_TABLE");
      JCO.ParameterList listParams = function.getImportParameterList();
      listParams.setValue("BSAUTHORS", "QUERY_TABLE");
    //listParams.setValue("VBKD", "QUERY_TABLE"); // ERROR
      theConnection.execute(function);
      JCO.Table tableList = function.getTableParameterList().getTable("DATA");
      if (tableList.getNumRows() > 0) {
       do {
        for (JCO.FieldIterator fI = tableList.fields();
          fI.hasMoreElements();)
          JCO.Field tabField = fI.nextField();
          System.out.println(tabField.getName()
               + ":t" +
               tabField.getString());
         System.out.println("n");
       while (tableList.nextRow() == true);
      catch (Exception ex) {
       ex.printStackTrace();

    I am also facing the same issue when using 4-way CPU for processing RFC_READ_TABLE I get following error (Error: DATA_BUFFER_EXCEEDED: Selected fields do not fit into structure DATA) .
    when I set the NO_DATA=X in RFC_READ_TABLE then returned data object is empty , is this expected behavior  ? if yes then how do we extract data without getting this error .Help is greatly appreciated

  • Hi prloblem while importing the table in to sap system

    hi
    I exported a table from sap and set the values and i am importing same table to sap system
    when I am executing that function i am getting following error at mConnection.execute();
    error
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Illegal access to a string (offset too large)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
    at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1242)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3816)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3261)
    at com.example.Testing.main(Testing.java:46)
    my program
    package com.example;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.Map;
    import com.sap.mw.jco.*;
    import com.sap.mw.jco.JCO.AbapException;
    import com.sap.mw.jco.JCO.Structure;
    import com.sap.mw.jco.JCO.Table;
    import com.sap.mw.jco.support.SapInfo.MyRepository;
    public class Testing {
    @SuppressWarnings("deprecation")
    public static void main(String[] args) {
    JCO.Client mConnection;
    JCO.Repository mRepository;
    JCO.Function function;
    mConnection = JCO.createClient("800", "AGORE", "sap333", "EN","10.25.116.33", "00");
    mConnection.connect();
    mRepository = new JCO.Repository("ARAsoft", mConnection);
    IFunctionTemplate ft = mRepository.getFunctionTemplate("ZBAPI_CREATE_QUOTATION3");
    function = ft.getFunction();
    if (function == null) {
    System.out.println("ZBAPI_CREATE_QUOTATION3" + " not found in SAP.");
    JCO.ParameterList list = function.getTableParameterList();
    JCO.Table ztable = list.getTable("QUOTATION");
    for (int i = 0; i < 3; i++) {
    ztable.appendRow(); //ztable.setValue(value, field name)
    ztable.setValue("6000000012"+ i,"RFQ_NUMBER");
    ztable.setValue("00010"+ i,"ITEM");
    ztable.setValue("0020"+ i,"PRICE");
    list.setValue(ztable,"QUOTATION");
    System.out.println(ztable);
    System.out.println(list);
    function.setTableParameterList(list);
    try
    mConnection.execute(function);
    catch(Exception e)
    e.printStackTrace();
    System.exit(1);
    JCO.Table codes = null;
    try {
    codes = function.getTableParameterList().getTable("QUOTATION");
    System.out.println("Return Values starts HERE:");
    for (int i =0; i < codes.getNumRows(); i++){
    codes.setRow(i);
    System.out.println(codes.getString("MANDT")+ '\t'+
    codes.getValue("RFQ_NUMBER")+ '\t'+
    codes.getString("ITEM")+ '\t'+
    codes.getString("PRICE")); }
    catch (Exception ex) {
    ex.printStackTrace();
    System.exit(2);
    mConnection.disconnect();

    Guys,
    I am able to solve the problem. I think the problem is Language settings difference between Database and OWB repository.

  • What is the best expression to name the planning flow on SAP?

    I am working on my graduating project in this topic: configuring the planning flow on SAP for the different types of industries.
    By planning flow, I am talking about S&OP -> Demand Management -> MRP. But what's the best way to refer to this flow?
    I already thought about:
    "industrial planning" but it's too general and not precise.
    "production planning" but it already refers to the PP module, which deals with other functions than what i am meaning.
    "logistic planning" but it refers mainly to the operational level (ressources, workshop management, scheduling) while my work stops at MRP (tactical level)
    Can you help me to find the best designation?

    OK, I got it now... You are going to love this!
    "Advanced Planner and Optimizer", or in short "APO".
    The abbreviation even has a website shortcut already www.sap.com/apo and there is a whole instant community already there waiting for you.
    What a bargain!  :-)
    Cheers,
    Julius

  • How to create table in the sap script

    Hi,
    How to create a table in the  sap script layout, i Have to use table in the main window with  7 columns. can any one send sample code.
    How to calculate the number of line items which are displaying in the main window, if the number of line items are exceed in the main window then the amount has to be calculate and print as "BALANCE FORWARD" and the next page had to be displayed as "CARRY FORWARD" that amount. if this is the last page not subsequent page the amount had to be calculated the carry forward amount and total amount and print as "TOTAL AMOUNT". i am creating the new layout and the program is the standrad driver program i have to use and i have to use the standard Text elements only, can any one help me on this issue

    hi
    good
    there is no "pattern" option in SAPscript. All you have at your disposal are the following SAPscript commands: BOX, POSITION and SIZE. Not only are these commands both confusing and tedious to implement, they also are limited in what they can achieve. For instance, although you can suppress a box during printout (by making it conditional), there is no simple way to adjust it dynamically instead. Thus, to divide sequential line items, you may wish to use an underline (ULINE) or simply white space.
    thanks
    mrutyun

  • How are attribute and text master data tables linked in SAP R/3?

    Hello,
    how are attribute and text master data tables linked in SAP R/3?
    Most tables with attribute master data like T001 for company codes,
    have a text master data table T001T (add "T" to table name).
    When looking at the content of table T001 via transaction se11,
    the text are automatically joined.
    But for some tables there is no "T"-table (e.g. table TVBUR for sales offices
    has no text table TVBURT), but in se11 you get texts. There is an address
    link in TVBUR, but the Name1, etc. are empty.
    a) Where are the text stored?
    b) How does the system know of the link?
    Hope someone can help!
    Best regards
    Thomas

    Hi Thomas
    The master and text table are not linked by name, of course, if you see the text table, it has the same key fields of master table, only it has the field key spras and the field for description.
    The link beetween the tables is done by foreign key: if you check the text table TVKBT u need to see how the foreign key for field VKBUR is done:
    -> Foreing key with table TVBUR
    -> Foreing key field type -> KEY FIELD FOR A TEXT TABLE
    ->Cardinality-> 1-:CN
    It's very important the attribute sets for Foreing key field type, if it's KEY FIELD FOR A TEXT TABLE, it'll mean the table is a text table: i.e. that mean the master table is a check table for the text table, where the foreign key type is for text table.
    U can find out the text table of master table by SE11: GoTo->Text Table
    U can fined some information in table DD08L.
    Max

Maybe you are looking for

  • ABAP+JAVA - Java-addon does not seem connected

    Hi, I messed around with this new system a month ago and now that I finally got back to it the JAVA part don't seem to be working or the SCS instance is not connected to the Central Instance. The SCS instance seems to be running fine. Some questions:

  • What does Future.cancel(true) do?

    Hi, I have some (a dozen) Callable object which are submitted to the ExecutorService ( talking about jdk5.0 concurrent package), and I want that the threads executing those Callable task last for not so much time: invoking cancel(true) on a Future ob

  • Form Opening while Webutil

    Hi All, When running a form which is attached with webutil.pll, i tried placing the Pll alone in the bin and ran it but it opened with error "when-custom-item-event trigger ora-06508". I had tested this in the sample form provided by ORACLE in OTN i.

  • Armenian fonts installed and show up in Photoshop, but they don't work.

    Hi, I have a Mac OSX 10.6.8 running on Snow Leopard. I have Photoshop CS5. I installed about 10 different Armenian fonts (ttf file extensions) and unzipped them. I double clicked them all and installed them into my Font Book. They appear in Final Cut

  • Does New Flash conflict with Gmail & YouTube ???

    I installed the Master CS 5 Beta today and noticed two puzzling differences in my computer. (Besides requiring over 15 gigabytes of hard drive !) First - The Advanced document attachment features in Gmail and the ability to see progress bars when att