Check table with Plant and material type

xperts,
i m trying to find a check table with fields werks and mtart.

Hi,
NO ,its not possible to get from only one table...
werks  -
T001W
mtart----
t134.
Regards,
Rohan.

Similar Messages

  • Report to transport vendors for a plant and material type

    Hi Guys ..
    Is there any report fwhere is can download all the vendors for a particular Plant and type of material.
    Thanks for your support

    Hello Vivek,
    I have checked these tables but my issue is to get the list of Material numbers in the table along with a field for Class type.
    So this does not happen in these tables.
    However thank you for the tables given
    Regards
    Mahesh

  • For plant 1200, material type Hawa is not defined in Table T134W

    Hi Everyone.
    I am trying to post a goods issue but having an error log.
    For plant 1200, material type Hawa is not defined in Table T134W.
    I checked table T134W (se16) - and material Hawa is assigned to plant 1200.
    However I checked T-code OMS2 and Val.area 1200 is NOT associated with HAWA.
    Is this the reason I am having this PGI error.
    If so - how do I assign Hawa to Val.area 1200

    Hi
    The valuation area is plant that is 1200
    In t code OMS2 choose your material type HAWA and in the left hand side there will be a dialogue box of qty and value updation and if you click that then in the subsequent screen which is opening you need to tell that HAWA at plant 1200 will have vaue and qty updation (need to tick both of them)
    That is the cause for this error
    Regards
    Raja

  • Collect in an internal table with keys plant and material

    Hi ,
    I have an output internal table with material , plant and var quantitites .
    I would like to use Collect statement and sum the quantities but do it by plant and material .
    How do I specify that i want to do it on plant or material ?
    Thanks !

    hi here is an example like urs..
    DATA: BEGIN OF seats,
            carrid TYPE sflight-carrid,
            connid TYPE sflight-connid,
            seatsocc TYPE sflight-seatsocc,
          END OF seats.
    DATA seats_tab LIKE HASHED TABLE OF seats
                   WITH UNIQUE KEY carrid connid.
    SELECT carrid connid seatsocc
           FROM sflight
           INTO seats.
      COLLECT seats INTO seats_tab.
    ENDSELECT.
    check for help..
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/collect.htm
    regards,
    venkat

  • For plant ZKPL, material type FERT is not defined in Table T134W

    Hello Everybody,
    I have created a delivery and trying to PGI it.
    But I see an error saying  -
    "For plant ZKPL, material type FERT is not defined in Table T134W".
    Can someone tell me where am I going wrong please?
    Thanks,
    Sneha.

    Hi
    T code OMS2
    choose your material type FERT and click on to qty and value updation
    In the screen which is subsequently opening select your plant and tick for qty and value updation
    After this log off for about 30 seconds and the relog and put the delivery in change mode VL02 and then do PGI
    This hopefully solve your error
    Regards
    Raja

  • Combination of plant SUNP and material type finished product does not exist

    HI i am  suneel
    my issue is  combination of plant SUNP and material type finished product does not exist  when i posting to material in t.code
    MB!C after entering materiel and qty in the selection screen i pressed enter on that time this massage is happening
    Thanks
    with regards
    suneel

    Hi lakshmi pathi ,
    Sorry for the inconvenience i am new for this sap sd and also this community . Actually  yesterday and today i got lot of solutions  from this community .really i feel very happy with this and i continuous searching for my issues and i got so many solutions. these are also i searched but i dint got any solutions so i posted here .
    sorry for the inconvenience
    any way thanking you for giving valuable suggestion.
    with regards
    suneel

  • Validate plant and material on selection screen with select-options

    Hi all,
    I want to validate plant and material on selection screen. More over I need to validate the combination of that also (i.e plant based materials). Individually I made the validations, but combination I didn’t get it.
    For your information both are select-options, please reply me if you have an idea. The table to get the relationship is KEKO. <b>I have the below code for parameters, but I require code for select options.</b>
    SELECT MATNR WERKS FROM KEKO UP TO 1 ROWS
    INTO (KEKO-MATNR, KEKO-WERKS)
    WHERE MATNR = P_MATNR AND
    WERKS = P_WERKS.
    IF SY-SUBRC <> 0.
    MESSAGE E023 WITH 'COST ESTIMATE NOT FOUND FOR '
    P_MATNR P_WERKS 'COMBINATION'.
    ENDIF.
    ENDSELECT.
    Surely I will reward you.
    Thanks in Advance,
    Raghu.

    Raghu,
    You can't validate on select-options, MARC will have N to 1 relation between Material and plant.
    You can do one thing, keep material as select-option and plant as parameter, now you can validate the materials on plant level.
    Reward if this helps,
    Satish

  • Validate plant and material on selection screen

    Hi all,
    I want to validate plant and material on selection screen. More over I need to validate the combination of that also (i.e plant based materials). Individually I made the validations, but combination I didn’t get it.
    For your information both are select-options, please reply me if you have an idea. The table to get the relationship is KEKO. I have the below code for parameters, but I require code for select options.
    SELECT MATNR WERKS FROM KEKO UP TO 1 ROWS
    INTO (KEKO-MATNR, KEKO-WERKS)
    WHERE MATNR = P_MATNR AND
    WERKS = P_WERKS.
    IF SY-SUBRC <> 0.
    MESSAGE E023 WITH 'COST ESTIMATE NOT FOUND FOR '
    P_MATNR P_WERKS 'COMBINATION'.
    ENDIF.
    ENDSELECT.
    <b>Note: I need to calidate on KEKO only..</b>
    Surely I will reward you.
    Thanks in Advance,
    Raghu.

    Hi rag ,
    The following code will works .... i have practically used in my report.
    Local data declaration
      DATA: l_material TYPE matnr.
    Validation check for material
      IF s_matnr IS NOT INITIAL.
        SELECT matnr          "material
          FROM mara
            UP TO 1 ROWS
          INTO l_material
         WHERE matnr IN s_matnr.
        ENDSELECT.
        IF l_material IS INITIAL .
        Invalid material entered .
          MESSAGE e136.
        ELSEIF s_mawerk IS NOT INITIAL.
          CLEAR l_material .
        Validation check for material exists in plant
          SELECT  matnr        "material
            FROM marc
            UP TO 1 ROWS
            INTO l_material
           WHERE matnr  IN s_matnr
             AND werks IN s_mawerk.
          ENDSELECT.
          IF sy-subrc NE 0 .
          Invalid material entered for the plant.
            MESSAGE e130.
          ENDIF .
        ENDIF.
      ENDIF.

  • Not getting the Link between GEIL and material type: procured  material not

    Hi Friends,
    Some material corresponding to certain G/L Account numbers are not appearing. From Fagll03 I can check the G/L Account number, but how shall be able to get the corresponding table field which holds the material or to check whether that G/L Account number has been properly linked to the material.
    Please suggest what to do. Is this a problem of programming ? or ...
    Thanks,
    Saheli

    Hi Saheli,
    Link b/n GL accounts and Material is in this way.
    Material is created based on material type and material type is connected to Valuation class via Account category reference.
    Now that for each valuation class corresponding GL accounts are defined in customizing.
    you can check the same in Tcode# OBYC.
    To check the posting to Inventory account during GR, select BSX (Inventory posting) and check whether the corresponding valuation class has got the assignment with GL accounts or not.
    Hope this help you out.
    BR,
    Krishna

  • Mandatory fields With reference to Material types

    Dear Gurus,
    I need to make few fields as mandatory with reference to material types while creation of the material master data.
    For example:
    For Semi finished and Finished Schedule margin key is required(mandatory)
    For Raw Materials Schedule margin key is optional.
    Regards,
    Siddharth

    Hi
    find  following step to make field mandatory for material type
    Follow the stpes for making field as optional, required entry
    1 click the tab ,(Which is u want to be Required entry )and get the field name by pressing F1 key and then
    2.Go to T.Code: OMSR and enter that field name and get Selection Group
    once you get selection group and field name
    3 Use t.Code: OMS2 and click your material type and in next screen check Field reference ( you have assigned for material type; example :;For ROH material type the Field reference is ROH
    3. Use T.code:OMS9,, Double Click your Field Reference and select field selection Group , & select round box of Required Entry or optional and save
    check following link you will get clear idea [How to configure the fields required for each Material type ?;
    Regards
    Kailas ugale

  • How to get classification for a given material and material type in MM

    Hello Friends,
    One of my developer colleagues is struggling to find out : how to get classification for a given material and material type in MM?
    He is looking for probable table and table fields to Select from.
    I would appreciate seriously any help in this regard.
    ~Yours Sincerely

    Hi
    Below given the flow and table details for a given class and class type.
    - Table KLAH --> This contains the "Internal class no" [ for the given Class & Class type ]
    - Table KSML --> This contains the " internal character numbers " [ nothing but characteristics attached to the class ] , which can be fetched with the above fetched internal class no
    - Table AUSP --> This table contains the objects ( material ) attached to the internal characters of that class
    - Table CABNT --> This table contains the "Description" for the internal character numbers.
    - award points if this is ok

  • Runtime error in Dynamic internal table with AMOUNT and Quantity Fields..

    Dear friends,
    I am attempting write a dymanic Select Statement (with joins).
    And the sleect query looks like this..
      SELECT (LT_SEL_LIST)
      INTO CORRESPONDING FIELDS OF
      TABLE <DYN_TABLE>
      FROM (LT_FROM_LIST)
      WHERE (LT_WHERE3).
    Here the into table is a dynamically created internal table..
    which is created by ...this
    CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
        EXPORTING
          IT_FIELDCATALOG = IT_OUTPUT2[]
        IMPORTING
          EP_TABLE        = DY_TABLE.
    the it_output2 contains the the fieldcatlog information of dynamically given fields :-
    like:-
           TABNAME
           FIELDNAME
           DATATYPE
           LENG
           INTTYPE
           ROLLNAME
           DECIMALS
           REFTABLE
           REFFIELD
    i mean the internal table is constructed with reference to all the bove metadata.
    Problem:- This query run fine with all the fields Except AMOUNT AND QUANTITY fields....
    When the selection list contain VBAK-NETWR or MSEG-MENGE..It throws a runtime error.
    "The data read during a SLECT access couldnt be inserted into the target field,either conversion is not supported for
    the target field's type or the target field is too short."
    after this I even tried to construct the dynamic table with CFILEDNAME and QFIELDNAME in the Fieldcatalog.
    so now my fieldcatlog looks like this:---
    LOOP AT IT_DD03L..
      IF IT_DD03L-DATATYPE = 'CURR'.
           TABLEFIELD-CFIELDNAME = IT_DD03L-FIELDNAME .
           ENDIF.
       IF IT_FIELDCAT3-DATATYPE = 'QUAN'.
           TABLEFIELD-QFIELDNAME = IT_DD03L-FIELDNAME .
      ENDIF.
           TABLEFIELD-TABNAME     = IT_DD03L-TABNAME.
           TABLEFIELD-FIELDNAME   = IT_DD03L-FIELDNAME.
           TABLEFIELD-DATATYPE    = IT_DD03L-DATATYPE.
           TABLEFIELD-INTLEN      = IT_DD03L-LENG.
           TABLEFIELD-INTTYPE     = IT_DD03L-INTTYPE .
           TABLEFIELD-ROLLNAME    = IT_DD03L-ROLLNAME.
           TABLEFIELD-DECIMALS    = IT_DD03L-DECIMALS.
           TABLEFIELD-REF_TABLE   = IT_DD03L-REFTABLE.
           TABLEFIELD-REF_FIELD   = IT_DD03L-REFFIELD.
    APPEND TABLEFIELD.
    CLEAR TABLEFIELD.
    ENDLOOP.
    Note:- this is a test code so ignore performance issues...
    Please help me with some code ...to avoid the Runtime erorr.
    Thanks,
    jeevan.

    Hi Jeevan,
    Why are moving only few fields from DD03L table to your field catalog? Why don't you use move-corresponding? The following code works for me in ECC6.0.
    data: it_dd03l type table of dd03l initial size 0,
          ls_dd03l type dd03l,
          lt_fldcat TYPE lvc_t_fcat,
          ls_fldcat TYPE lvc_s_fcat,
          ls_where(72) TYPE c,
          lt_where LIKE TABLE OF ls_where,
          lt_fld LIKE TABLE OF ls_where,
          lt_data_dy TYPE REF TO data.
    field-symbols: <ft_data> TYPE STANDARD TABLE.
    select * into table it_dd03l from dd03l
        where tabname = 'VBAK'
          and ( fieldname = 'VBELN' or fieldname = 'NETWR' ).
    check sy-subrc eq 0.
    loop at it_dd03l into ls_dd03l.
      move-corresponding ls_dd03l to ls_fldcat.
      append ls_fldcat to lt_fldcat.
      move ls_dd03l-fieldname to ls_where.
      append ls_where to lt_fld.
      if ls_dd03l-fieldname = 'VBELN'.
        clear ls_where.
        concatenate ls_dd03l-fieldname ' <> ''''' into ls_where.
        append ls_where to lt_where.
      endif.
    endloop.
    check not lt_fldcat is initial.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog           = lt_fldcat
          IMPORTING
            ep_table                  = lt_data_dy
          EXCEPTIONS
            generate_subpool_dir_full = 1
            OTHERS                    = 2.
        IF sy-subrc <> 0.
          RAISE no_configuration_data.
        ENDIF.
        ASSIGN lt_data_dy->*  TO <ft_data>.
    check sy-subrc eq 0.
    select (lt_fld) from VBAK into corresponding fields of table
        <ft_data>
        where (lt_where).
    Thanks
    Bala

  • Restricting issue of goods to cost center with respect to material type

    Dear Users,
    I have a requirement like we want to restrict issue of goods to cost center with respect to material type i.e., we want to issue goods to cost center only through reservation and that too only for specific material types. Is there any standard solution for this, please provide your suggestions.
    Thanks,
    Manoj

    Hi Ajay,
    Thanks for valuable input.
    I also thought in the same line , but user has the following concern on this:
    Assessment Cycle: As per Users, it cannot be used because this will allocate based on allocation basis. But they need, the values that was posted at the time of transaction and as per materials. So it wont be accurate through Assessment cycle,
    OKB9: They have different Cost center for different valuation area for the same GL Account.
    Hence through OKB9 also, we cannot post directly to COPA.
    That's the reason the above option were not adopted.
    My other concern to this is:
    In CKM3, we have two lines under consumption, one for Normal sales PGI and other is Cost Center.
    After doing revaluation of consumption in CKMLCP, we see one line under Cost Center :Revaluation of Consumption Figure"
    My question, where can I see that figure whether in any table or in Cost Center report??
    If that is also available we can try to match those values and post to COPA.
    Let me know your thought on this.
    Thanks and regards
    Kami

  • Internal table with Import and Export

    Hi All,
    Hi all
    Please let me know the use of <b>Internal table with Import and Export parameters and SET/GET parameters</b>, on what type of cases we can use these? Plese give me the syntax with some examples.
    Please give me detailed analysis on the above.
    Regards,
    Prabhu

    Hi Prabhakar,
    There are three types of memories.
    1. ABAP MEMORY
    2. SAP MEMORY
    3. EXTERNAL MEMORY.
    1.we will use EXPORT/ IMPORT TO/ FROM MEMORY-ID when we want to transfer between ABAP memory
    2. we will use GET PARAMETER ID/ SET PARAMETER ID to transfer between SAP MEMORY
    3. we will use EXPORT/IMPORT TO/FROM SHARED BUFFER to transfer between external memory.
    ABAP MEMORY : we can say that two reports in the same session will be in ABAP MEMORY
    SAP MEMORY: TWO DIFFERENT SESSIONS WILL BE IN SAP MEMORY.
    for ex: IF WE CALL TWO DIFFERENT TRANSACTIONS SE38, SE11
    then they both are in SAP MEMORY.
    EXTERNAL MEMORY: TWO different logons will be in EXTERNAL MEMORY.
    <b>Syntax</b>
    To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
    To fill one, use:
    SET PARAMETER ID <pid> FIELD <f>.
    This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
    To read an SPA/GPA parameter, use:
    GET PARAMETER ID <pid> FIELD <f>.
    This statement fills the value stored under the ID <pid> into the variable <f>. If the system does not find a value for <pid> in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0.
    To fill the initial screen of a program using SPA/GPA parameters, you normally only need the SET PARAMETER statement.
    The relevant fields must each be linked to an SPA/GPA parameter.
    On a selection screen, you link fields to parameters using the MEMORY ID addition in the PARAMETERS or SELECT-OPTIONS statement. If you specify an SPA/GPA parameter ID when you declare a parameter or selection option, the corresponding input field is linked to that input field.
    On a screen, you link fields to parameters in the Screen Painter. When you define the field attributes of an input field, you can enter the name of an SPA/GPA parameter in the Parameter ID field in the screen attributes. The SET parameter and GET parameter checkboxes allow you to specify whether the field should be filled from the corresponding SPA/GPA parameter in the PBO event, and whether the SPA/GPA parameter should be filled with the value from the screen in the PAI event.
    When an input field is linked to an SPA/GPA parameter, it is initialized with the current value of the parameter each time the screen is displayed. This is the reason why fields on screens in the R/3 System often already contain values when you call them more than once.
    When you call programs, you can use SPA/GPA parameters with no additional programming overhead if, for example, you need to fill obligatory fields on the initial screen of the called program. The system simply transfers the values from the parameters into the input fields of the called program.
    However, you can control the contents of the parameters from your program by using the SET PARAMETER statement before the actual program call. This technique is particularly useful if you want to skip the initial screen of the called program and that screen contains obligatory fields.
    Reading Data Objects from Memory
    To read data objects from ABAP memory into an ABAP program, use the following statement:
    Syntax
    IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
    This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.
    Saving Data Objects in Memory
    To read data objects from an ABAP program into ABAP memory, use the following statement:
    Syntax
    EXPORT <f1> [FROM <g 1>] <f 2> [FROM <g 2>] ... TO MEMORY ID <key>.
    This statement stores the data objects specified in the list as a cluster in memory. If you do not use the option FROM <f i >, the data object <f i > is saved under its own name. If you use the FROM <g i > option, the data objet <g i > is saved under the name <f i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    Check this link.
    http://www.sap-img.com/abap/difference-between-sap-and-abap-memory.htm
    Thanks,
    Susmitha.
    Reward points for helpful answers.

  • Parameters defined for plant and order type

    Hi.I want to use the t-code CN25 to create network confirmation.
    After I input the Network "E00000530001" and press enter,the sap show a error message like below:
    No parameters defined for plant 1000 order type Z301
    Message no. RU010
    Diagnosis
    There are no completion confirmation parameters defined for the plant and order type that you have specified.
    Procedure
    Contact your system administrator.
    I don't know why?
    Because I have use the t-code opuv , Opjk and opu6 to configure the plant 1000 and order type(Network Type) Z301.
    So I need the experts can give me some useful advice and reference to resolve the problem.
    Regards
    Yoda

    Thanks all.
      I have checked the status of network.It's status was "MANC PRC  REL  SETC".And then run the Transaction Analysis to the Business processes "Confirm order".The result was "Allow" with green colour.
      I also check out hte confirmation parameters set up in the transaction CN25.When I check the "confirmable" checkbox in the Selection tab,I can enter the next form of "Actual data" in CN25.But when I input the Work Center and save,the sap raise an error message box with text "hihi".I don't know what is the meaning of "hihi".The detail of the error like blow:
    hihi
    Message no. 00398
    Diagnosis
    Placeholder for batch input error text, this message is not output.
    hihi
    Regards
    Yoda

Maybe you are looking for

  • My ipad 2 is working on its own, it's going crazy! It's zooming in and out, typing stuff, opening apps...help?!

    I read that this happened to a handful of people on here and most of them just went to apple and apple switched it without a problem. I was just wondering if that would be the same for me since I don't have any warranty and I fixed my ipad before aft

  • Export error from sqlplus 10.2.0.1.0

    I'm trying to export using 10g exp utility into a 9i database but i have problems. my command is: exp userid=system/password file=/backup/my_exp_db.dmp log=/backup/my_exp_db.log full=yThe error is: Export: Release 10.2.0.1.0 - Production on Mar Abr 2

  • FMS on linux (RH) clusters?

    I want to expand service to my cluster of rh (enterprise 5.2) with 2 nodes. Anyone has experiences? or any infos for reading. Thanks.

  • Postioning of Nested IView Pop-up

    I have built a VC composed of multiple nested Iviews.  In one eent, I call a nested i-view popup. How can I ensure a popup will popup in the browser screen so the user can see it right away without having to drag the popup so they can see it and use

  • Any way to download a sites CSS images?

    I occassionally have to download clients sites from various server using HTTP. Typically I use a unix app called wget, however this app doesn't grab images that are specified in CSS documents. I usually have to download each image via my web browser,