List of plants

Is there a BAPI available  to get list of plants?

I'm not finding any BAPI yet.  But you can achieve the same using this code.
report zrich_0001.
data: iopt type table of rfc_db_opt with header line.
data: ifld type table of rfc_db_fld with header line.
data: idat type table of tab512 with header line.
ifld-fieldname = 'WERKS'. append ifld.
ifld-fieldname = 'NAME1'. append ifld.
call function 'RFC_READ_TABLE'
  exporting
    query_table                = 'T001W'
    delimiter                  = ','
*   NO_DATA                    = ' '
*   ROWSKIPS                   = 0
*   ROWCOUNT                   = 0
  tables
    options                    = iopt
    fields                     = ifld
    data                       = idat
exceptions
   table_not_available        = 1
   table_without_data         = 2
   option_not_valid           = 3
   field_not_valid            = 4
   not_authorized             = 5
   data_buffer_exceeded       = 6
   others                     = 7.
loop at idat.
  write:/ idat.
endloop.
Regards,
Rich Heilman

Similar Messages

  • I need to map my garden.  I need to draw it to scale and locate plants ties to a list of plants.

    I need to map my garden.  I need to draw it to scale and locate plants that ties to a list of plant names.

    A quick google search for gardening apps gave a surprisingly large number of hits. I saw at least three distinct garden planner apps (from $2 to $10) without half trying. These are mostly for iOS - iPad and/or iPhone - though there may be equivalents for Mac OS.
    I suggest you hit the app store and start doing some searches. I suspect you'll find something appealing fairly quickly.

  • Purchase Order: Material not listed in plant

    Hi all,
    While i am creating PO in 4.7 version it throws the following error :
    Material 100-100 is not listed in plant 1000(error 1) for the specified delivery
    date (or procurement period). One of the following errors occurred
    during the listing check:
    error 01: The material is generally not listed for the plant.
    I have cheked the period and it has been set for the current month, any suggestions are welcomed from the experts. My problem only does in a specific plant, the same material with other plant runs OK. If I do a returns order the problem doesn't appear.
    Thank you!!

    Hi,
    Check if material is created for the following views, purchasing and Plant/storage data, accounting 1.
    If not then you have to extend the views for this material through MM50 or MM01.
    And after doing so try to run the process
    Thanks & Regards,
    Kiran

  • Missing Part list for Plant to Plant Purchase order

    Hi,
          I need the following requirement in CO24,
          In CO24 its shows the missing parts for Sales order, similarly we want the missing parts list for Plant to Plant Purchase order in the same report. Also the report,
    1.It  should not consider the Planned order for a sales order.
    2.It should not consider the planned order which can be convert into purchase requisition.
    3.The procurement type should be "E" or "X".
    Kindly guide me is there any standard layout changes in available or any development we have to do.
    Thanks
    Muthamil Murugan.G

    Hi Purushothaman,
    If you have the following settings in OPJK:
    Plant                 XXXX
    Order Type       XXXX
    Availability Check    2
    [X]Status Check
    [X]Check material availability when saving order (may not need)
    Checking Rule        PP PP checking rule
    Component Check Type    ATP check
    Release material     2  Release permitted despite missing parts
    Then in COHV you try to mass release the order with the following parameter:
    List: Order Header
    Selection: Your selection criteria
    Mass processing:
    Function: Release
    Max. No.of Processes 99
    Save Log: Always
    Release control order: Collective Order Release
    Then after the order is released, you can find the missing part list of that order in CO03 menu path:
    Goto->Missing Parts->Missing parts list
    Hope it helps.
    Regards,
    Rachel

  • Material listing by plant wise

    Hi Kings,
                  I want to do material listing by plant wise where can i do customization for this this or i have to do any master data mantainance .
    please help me out very argent
    thanks,

    hi,
    U can try this
    Ur requirement can fulfilled by using combination of fields in condition table  of Listing/exclusion
    menu path:
    Spro-> img>SD-> basic function -
    > listing/exclusion->Maintain condition tables for listing/exclusion--> table 003
    This table u have to assign to the access sequence. Then this access sequence u assign it to the condition type which is maintainesd in the <b>Procedures for maintaining listing/exclusion</b>
    Now try with VB01, then listing/ exclusion for the customer happens at plant
    hope this helps u
    regards,
    Arun prasad

  • TCode to see List of Plant + MRP Areas + MRP Type

    Hi,
    Can anyone tell whether any TCode exists which gives List of Plant + MRP Areas + MRP Type for the List of Material Number Input.
    For eg:  MM60 will give list of materials with Plant and its MRP Type.
    But it wont give detailes of other MRP Areas under which the Material is maintained.
    Regards,
    Prathap

    Hi,
    MC47 will give the list only if some requirement is loaded for the material.
    Vishal - Table serves the purpose but i need Tcode only.
    Does anyone has idea on other possible TCodes.???
    Regards,
    Prathap

  • Missing part list in plant maintenance ( CO 24)

    Hi SAP experts,
    Is it possible to use the transaction CO24 ( missing part list)  for plant maintenance orders? If yes, what are prerequesites & configurations needed for it?
    Regards

    Hi,
    I think CO24 can be used for Maintenance Orders too.... as there is no order category field mentioned in the selection screen.
    Try for one the PM order and check ... currently I don't have any PM order other wise I would have checked and let you know....
    Hope thsi will help you.
    regards
    radhak mk

  • Report to generate the list of plants and there addresses

    Hi,
    I have a list of plants uner a particular compnay code.Can I generate a report to that shows all the plants and their addresses?
    Regards,
    Saurav

    HI,
    Please discuss with your technical team to develop a report.
    Regards
    Ram

  • How to find the list of plants that a user has access to

    Hi,
    Can any one help me pull all the plants that a user has authorization for?
    Is there any fucntion module that gives this list or any table from where i can pull this?
    Please let me know.
    Regards,
    Kumar.

    Looks like this FM is only giving the list of all users who has got authorization to a specific autho object say M_EINF_WRK (plant).
    But my requirement is; i will pass my user id and it should give me all the plants that i have access to.
    Please suggest.
    Regards,
    Kumar.

  • Service contract list for plant

    Hi
    How to query from a table for the Service contracts created for a particular plant.
    I tried EKKO table , but could not get for a particular plant.
    Can anyone guide me how to get the list.
    Thanks in advance
    Gururaj

    Hi,
    u have to join the table ekko and ekpo.
    in ekpo u will get the field EBELN. u have to filter the EBELN for contract with the following value.
    PSTYP (ITEM CATEGORY) = 9(SERVICE)
    KNTTP (ACCOUNT ASSIGNMENT CATEGORY) = K(COST CENTER)
    and from EKKO table u have to take the field
    BSTYP (PURCHASING DOCUMENT CATEGORY) = K (CONTRACT)
    u will get the list of service contract.
    regards
    jash

  • Contracts list by Plant

    Hi
    How could I list the Contracts avilable in a particular plant.
    Example: ME1L I could list all the Info records avilable for the plant.
    As such which Tcode could support for listing all the contracts for the plant.
    Thanks in Advance
    Regards
    RG

    hi frnd..
    there are various reports Such As ME80rn, ME80FN, ME2K, ME3K....
    put your plant and select Purchasing doc. cat. as "K" and execute ther report...
    Amit P Hiran
    njoy SAP....
    Njoy lyf...

  • Task list-Planning plant change

    Hi
    How to change the<b> <b>Planning plant</b> in the task list</b> ?
    Thanks
    Seenu

    hi seenu
    i think it is not possible to change the planning plant once you have assigned for maintenance plan, try to delete all the assignment of the task list and try ( iam not sure)
    regards
    thyagarajan

  • Delivery Due list need plants

    Hi all,
       In Delivery due list Vl10A,  i need to show the plant in the due list.  Problem is multiple plants are assigned to the same shipping point.  Currently, the list is showing shipping point and a plant.  For example, Shipping point S100 with 2 plants P100 and P200 will show S100 and P100.  I like to add another line to show S100 and P200 in the due list.  
    Any suggestions as to where i can make the changes ?   I see that the vepvg is only for shippping point with no plant.
    CT_POSTAB does have plant but it comes from vepvg.
    thanks
    Joyce

    Hi Please check this link .
    delivery due list!
    Apart from there is one tab called user role . Many atime thing are controlled from here as well so please check the role .
    Hope this help

  • Task list in Plant Maintenance

    Hello,
    is it possible to have a task list defaulted by order type in PM? I can create a task list in IA07 but I want to default this when creating a maintenance order via IW31.
    Thanks for your help!!

    Hi
    Why do you wants it to be defaulted for all the Orders for an order type.I suppose in your structuring or otherwise you will have different types of equipments and same task list might not be applicable for all.
    Further why dont you use the option of Direct Entry from the menu while creating the Order.In this case you have the flexibility also.
    I suppose there are no other standard ways than to use the User exit mentioned.
    Regards,
    Manish

  • How to list a material in a plant for the specified delivery date

    Hi experts,
    I am quite new in the area .I have now a problem with PO.
    At the item level of my PO, the plant will not be extracted automatically. Is this normal?
    And after I entered the plant manually and the error message shows up:
    ""the material xx not listed in plant".
    To be more specific, "Material xxx is not listed in plant xxx for the specified delivery date".
    I have checked the material master data and found this material has been extended for this plant.
    How can I fix this problem?
    Best regards,
    Fan
    Edited by: Fan Mou on Aug 27, 2009 3:18 PM

    Hi,
    At the item level of my PO, the plant will not be extracted automatically. Is this normal?
    Yes this is normal, however you can set a plant to be proposed by the system. To do this in the purchase order, click the button Personal setting, which you can find at the top right hand side. The system will open a personal settings window. In the default values tab, under PO item tab, you can enter the default plant value and other data. Save the data. Then whenever you create a new purchase order, the system will populate these default values.
    ""the material xx not listed in plant"
    Check whether the material master -purchasing view has been activated or not.
    Regards,

Maybe you are looking for

  • Is itunes store down? Keep getting an error message which says that the network connection timed out.

    About 3 hours ago I downloaded some stuff off itunes. However in the last hour I cant seem to sign in or buy anything off itunes and I keep getting an error message that says that the network connection timed out and I should check the connection and

  • Using Spaces

    I'm trying to use spaces, and although I've set it up with apps in each window, it seems that the only way I can switch between windows is if I click on the app in the dock, then it goes to the window or if I click on the spaces icon in the top menu

  • Does Java 5 accept non-ascii chars as identifiers?

    I am surprised to find out that Java 5.0 accept non-ascii chars as identifiers. Is it true that Java 5 really accept non-ascii chars? Thanks.

  • Xfce4 Edit The Window Buttons Panel Menu?

    Hi, new Arch Linux user here. I dabbed a little in Ubuntu and stuff before but finally took the plunge and wiped my WIndows partitions and started running solely Linux a few days ago. There's still a few things I haven't been able to work out (figure

  • Multi Core Support for AMD 1100T

    I've read through the lists, and I suppose my answer is going to be "it depends", but as you can see from the attached two pics, it looks like Audition is only using 1 of my 6 physical cores.  Every time I look, there's really only one core doing muc