How can i relate the input parameters to table MARD

Hi,
I have inputs as material number , sales organization , distribution chanel and plant , using this i have query the table MARD . in MARD table material number and plant is available , how can i relate sales organization and distribution chanel to query the table, please help.
Regards,
Ratheesh

Hi,
Try tabel MVKE, that contains sales data, table MARD is SLoc specific data for material.
http://www.erpgenie.com/abap/tables_mm.htm
Regards,
Csaba

Similar Messages

  • How can i pass the Input value to the sql file in the korn shell ??

    Hi,
    How can i pass the Input value to the sql file in the korn shell ??
    I have to pass the 4 different values to the sql file and each time i pass the value it has to generate the txt file for that value like wise it has to generate the 4 files at each run.
    can any one help me out.
    Raja

    Can you please more elaberate., perhaps you should more elaberate.
    sqlplus is a program. you start it from the korn shell. when it's finished, processing control returns to the korn shell. the korn shell and sqlplus do not communicate back and forth.
    so "spool the output from .sql file to some txt file from k shell, while passing the input parameters to the sql file from korn shell" makes no sense.

  • How can we change the input field on a view stop showing zeros

    Hello,
           To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change?
    Edited by: sap_learner on Mar 25, 2010 5:44 PM
    Edited by: sap_learner on Mar 25, 2010 5:49 PM
    Edited by: sap_learner on Mar 25, 2010 5:55 PM

    hello Manas Dua,
                           Thanks for your help. I am able to resolve my problem.
    My code will help  the future comers to resolve this kind of issues.
    *The code is applied to method WDDOINIT of the default view.
      DATA lo_nd_terms_input    TYPE REF TO if_wd_context_node.
      DATA lo_nd_terms_input_i TYPE REF TO if_wd_context_node_info.
      DATA lv_zeros             TYPE wdy_attribute_format_prop.
      lv_zeros-null_as_blank = 'X'.
      lo_nd_terms_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
      lo_nd_terms_input_i = lo_nd_terms_input->get_node_info( ).
      lo_nd_terms_input_i->set_attribute_format_props(
        EXPORTING
          name              = `ENTER THE ATTRIBUTE NAME`
          format_properties = lv_zeros     ).
    Edited by: sap_learner on Mar 26, 2010 5:02 PM

  • In Function  'MD_STOCK_REQUIREMENTS_LIST_API', how can i relate the order?

    In Function  'MD_STOCK_REQUIREMENTS_LIST_API'
    we will get the material requirment order No. and their sub soure order No.
    Fox example
    if i find a PR, then i will also see 2 PRs as it's sub source.
    But how can i relate the orders from function 'MD_STOCK_REQUIREMENTS_LIST_API'?
    TKS a million~~

    Hi,
    Can you please explain your need with a clear example, from your initial posting it is not quite clear what you're trying to link.
    Regards,
    Vivek

  • How can i convert the data from mutiple-table to the other database(MSSQL)?

    Dears,
    How can i convert the data from mutiple-table to the other database such as MS-SQL?
    I have a third party system based on MS-SQL 2000.
    Now we want to make a integration between SAP R/3(Oracle) and SQL server.
    When my user releases the purchase order in R/3, the application we coded will convert the releated data to the temp database on the SQL server.
    But i don't know which tools will help me reach the purpose.  BAPI, LSMW, IDoc... ???
    Would anybody tell me which way is better and how to do?
    Thanks a lot!
    Kevin Wang

    Hello Kevin,
    The question to use which method depend on your detail requirements. If you use BAPI, you need to find which Bapi can provide the data you want. Bapi normally use as a function called by external system. So you need to develop an external program like VB/Java to call this Bapi and move it to SQL. LSMW is use when you want to upload data from an external system to SAP. So it does not serve your requirement. Idoc can be use to export data to an external system. Again like Bapi, you need to find what Idoc can provide the data you want. However, it does not any programming from the external system. If I were you, based on your requirements, I think writing an Abap program that read the data you want and download it to NT/SQL server will be faster and easier.

  • How can I change the OWNER of a table?

    How can I change the OWNER of a table entr2009mm ?
    Resp. the OWNER of all TABLES whose tablename match the pattern *2009* ?
    Peter

    Hello,
    There're different posiibilities, Export/Import can do it.
    But, if it's not a too large Table, you can use CTAS (from a user with DBA privilege for instance).
    Create Table <schema_target>.<table_name> as select * from <shema_source>.<table_name>;Then, you have to recreate the dependent objects (Index, ...) and drop the Source Table.
    If you have a set of Tables, it's better to use Export/Import.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Feb 9, 2010 8:20 PM

  • How can I find the currency field of table KOMU

    I need to select data from table KOMU, including field wrbtr. in 'Currency/Quantity Fields' tab, it's defined to use bkpf-waers.
    but how can i find the corresponding record in bkpf? could anyone tell me the relation between these two table?
    or is there another way to get the currency field?
    thank you!

    Hi,
    In that case, please retrieve the currency & store it in variable. Pass the variables to the Function Module.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
         EXPORTING
              date             = syst-datum
              foreign_amount   = for_amount
              foreign_currency = L_cur1
              local_currency   =  l_cur2
         IMPORTING
              local_amount     = loc_ammount
         EXCEPTIONS
              no_rate_found    = 1
              overflow         = 2
              no_factors_found = 3
              no_spread_found  = 4
              derived_2_times  = 5.
    [Code]
    Best regards,
    Prashant
    [code]

  • How can I know the size of DB Table

    Hi, Guys,
    1. How can I know the size of the DB Table in terms of kb
    2. If I delete some records from the Table, does the actual size of the Table remains  same or will it be reduced.
    3. If size remains same after deletion, how to reduce the size ( i.e. occupied space).
    thanks
    Mahesh

    Hi
    1. How can I know the size of the DB Table in terms of kb
    There is no precise method/tcode/program to know the Table size of a tables.
    Just based on the record size of a table(say for example 2kb), and if 200 records are there then, we roughly assume that it occupied 400 kb.
    All the tables are stored in Table spaces.
    2. If I delete some records from the Table, does the actual size of the Table remains same or will it be reduced.
    Time being it remains same. it won't get reduced immediately
    during some next DB reorganisation it gets reorganised by reducing it.
    3. If size remains same after deletion, how to reduce the size ( i.e. occupied space).
    during next DB reorganisation it gets reorganised by reducing it.
    Reward points if useful
    Regards
    Anji

  • How can we delete the invoice from hub table

    Document No 90048130
    Invoice No 9000112482
    Amount 31,009.17
    Currency EURO
    here the document having billing documents . how can i delete the invoice document . here billing documents we can cancell it using the t code vf11 .but how can we delete the invoice .can u please help on this .
    Thanks in advace .
    Raj

    Here is the SAP help on this topic.  I guess that answers your question.
    When you cancel a billing document, you are actually creating a cancellation document. The cancellation document copies data from the billing document and transfers an offsetting entry to the accounting department.
    Features
    The cancellation document causes the reference document for the billing document (e.g. the delivery) to be reopened so that a correct billing document can be created.
    You can also cancel individual items. In the billing document, goto: Edit - Cancel item This function is not possible for:
    rebate agreements
    transactions involving credit cards
    documents that have not yet been forwarded to Financial Accounting

  • How can i make the input/output field to a multiple lines in ModulePool...

    hi all...
    can any one please let me know, is there any possibility thru Module Pool program where i can make the input/output field to a multiple lines...
    say, when we drag & drop the input/output field on the screen - it'll come with single line display. so, how to make the same field to multiple lines field.
    rather i can say my question like, how to increase the height of the input/output field.
    Desired Functionality:
    • The user wants to display a long text.
    • now the input/output field should not display the record as a single line, now the field has to display the text in multiple lines (something like wrap option in ms excel).
    hope u got my question...
    please help me in this regards...

    hi Rengith, i'm not using Text Field, i'm using Inpu/Output Field to display the long text.
    If u mean text field as input/output field then can u let me know the process for this, how to do the same thru module pool program...
    Edited by: murashali on Mar 18, 2008 1:36 PM

  • When recording in punch mode- how can i hear the input prior to punch point

    When in logic 7- i was able to set a punch point (formerly auto-drop) -- and have a client sing/rap/play to the track-- and before and during the actual selected area for the punch--you could hear the current input as well as the old track.
    Now-- when i do the same i logic 9--- i can't hear what my client is doing prior to the punch point-- and neither can they. it only plays the audio track that already exists and only allows us to hear the input once the punch point happens.
    Is there a setting somewhere where i can change this?
    thank you

    You should turn off "Auto input monitoring". I only have L8 and there you find it under Options->audio->Auto Input monitoring. Would guess that its in the same place in L9
    Morten

  • How can I change the input key language between different languages ?

    the language can't be changed when i press ctrl+alt

    The default keys to rotate the layout is a key combination (Ctrl+Shift or Alt+Shift) that can easily be used in Firefox to activate a menu item.
    It is better to disable the key sequence to rotate layouts (Alt+Shift or Ctr+Shift) to avoid an unintentional switch and instead assign a specific key (Alt/Ctrl + Shift + number) to switch to the keyboard layout.
    Control Panel > Regional and Language Options > Keyboards and Languages > Change keyboards > Advanced key settings > Change key sequence
    http://support.microsoft.com/kb/258824 - How to change your keyboard layout
    You can also use the Language bar on the Windows Taskbar.<br />
    You can make the Language bar visible via the right-click context menu of the Taskbar: Toolbars > Language Bar.
    * http://windows.microsoft.com/en-US/windows7/The-Language-bar-overview The Language bar (overview)

  • How can I relate the fields a table column to the headers of the columns in another table?

    Here is my problem:
    I have a table where the first column is a list of types of characteristics and I want to compare that column with a table which has some columns, each one with a type of charasteristic.
    It's like relating a column to a file (the header file).
    PD: My level is beginner.

    Well I don´t want the space on both sides of the input text to be that big either so that doesn´t solve the problem.

  • How can i format the input in a prompt?

    I am using the "Prompt User for Input" funtion to enter in data.  I need the user to enter in a time and I don't see anyway of formatting the control box in the prompt.  When I use a regular numerical control, I can set the input format to time.  Is there anyway to do this in the prompt?  I know that I could use a sepearte box for hours, minutes, and seconds, but that would require a lot of extra error checking and wouldn't be as neat. 

    Why don't you try doing what you got as an answer for the same question here. If you don't understand something, reply to the origianl thread and don't start a new one.

  • How can I select the next item in table view?

    Hey,
    I'd like to select the next item ,but I have no idea about this ?do you have any suggestion?
    eg:
    the second item is being selected now,I need to select the third one in my code ,how can I implement this function?

    private IntegerProperty index = new SimpleIntegerProperty();
        public final double getIndex() {
            return index.get();
        public final void setIndex(Integer value) {
            index.set(value);
        public IntegerProperty indexProperty() {
            return index;
        }Get the selected item:
    table.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {
                @Override
                public void changed(ObservableValue observable, Object oldvalue, Object newValue) {
                    Person selectedPerson = (Person) newValue;
                    setIndex(data.indexOf(newValue));
            });Select the next index:
    table.getSelectionModel().select(index.get() +1  );

Maybe you are looking for

  • Inspection lot creation based on "right" inspection plan version

    I manage inspection plan ( inspection lot origin 01 ) with Change number; in this way I have differents inspection plan version based on date. When I do a Good Entry based on purchase order , I need that system creates inspection lot version based on

  • Netweaver Error

    Hi All When iam installing the netweaver with abap system iam getting some problem with Database id please read it and tell me the solution i tried in some ways could you please give me the solution.iam posting that error what i got in installation.

  • How should I find my Screen Saver's preferences?

    I'm writing a screen saver that basically draws stuff the user types into a box. I have not completed it yet, because I have not been able to locate where the screen saver preferences are located. Here's the code that takes care of the preferences: /

  • VERTEX RFC server not available

    Hi we are using vertex on crm 6. we have ocnfigured vertex and when i m creating order, im getting error VERTEX RFC server not available.. in crmd_order tcode how to debug the vertex RFC calls? where can this error be raised. how to debug?? is there

  • EIGRP over trunks

    Hi I need to form an EIGRP neighbor relationship between 2 x 3750 switches but they have 2 x 2960 layer 2 switches sitting in between them. The layout is as follows. 3750---------------2960---------------2960--------------------3750 How would this be