Link operation and functional locatio

According to this thread (PM Order - Functional Location and Equipments on Operations) it should be possible to link object list to operations in the Maintenance order.
Does anybody know if this functionality is also possible in 4.6c
regards peter

So that would mean that the field equipment and functional location in the operations tab are useless or am i missing something here? I can not imagine that.
Is there not some customizing enabling the fields? I've checked almost every PM customizing setting, but unfortunately can not find it. Dont want to surrender yet...

Similar Messages

  • Operator and Function

    I am not much clear on "Create Operator" feature. It is interally bind the function.
    So, what is difference b/t Operator and Function? Why we need to create operator becuase we can do same thing with Function.
    Please clarify on same.
    KG
    :- Learn Together, Grow Together -:

    The "Create Operator" feature will allow you to extend the list of built-in relational operators (for example, +, -, /, *, LIKE, AND, OR) with domain specific operators (for example, Contains, Within_Distance, Similar).

  • Enterprise Services, Service Operations and Functional Business Component

    Hi,
    in the Enterprise Service desing guide (see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40c05360-0501-0010-63bd-aedd415b6e05 ) the relations between Enterprise Services and Service Operations are covered.
    I understand that one Enterprise Service consists of one or  more Service Operations. For Example General Ledger Processing ES offers seven Service Operations. (See Solution Composer)
    Functional Business Components offer one or more Enterprise Services and several Service Operations. As mentioned in the Design Guide, an Enterprise Services is dedicated to a certain Functional Business Component. An Enterprise Service could use several Service Operations of  one ore more Functional Business Components.
    When browsing the Solution Composer I couldn't discover any Enterprise Service that uses Service Operations of more than one Functional Component.
    Here's my question: Does anyone know an Enterprise Service  described in the Solution Composer which uses Service Operations of several Functional Business Components? If there aren't any, why?
    Regards,
    Sebastian

    Sebastian,
    I haven't looked through the entire set of preview services, but most of what I have seen is consistent with what you are describing. I think the short answer is the ESA preview system is really a pre-release of the intial ESR which itself is essentially an extension of XI's integration repository. These are basically the finer grained object and interface level services.
    SAP should be releasing some significant content updates to this ESR after NW2004S goes GA later this year. More importantly the next edition of the ESR tied to the BPP release will greatly expand on the scope including containing the more complex service defintions and process models which cut across components that you are looking for.

  • Swf link not working in Firefox, Opera and Internet Explorer but works in Safari

    Hi,
    I'm sorry but Im a real newbie and really need help!!!
    On the homepage of my website I have put a swf file that I linked to another page in my website through the div a href link and it displays great on safari and links, however in other browsers, when i try to click on it, it comes up with the link at the bottom of the browser (where it sometimes says Done), however it doesnt actually link, it jsut stays on the homepage.
    Here is the coding i put in:
    <div id="products2">
              <p>
              <a href="Our_brands/index.html">
                <script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','449','height','449','title','Products','src','Productions/boxes3','quality','high','p luginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=Shockwav eFlash','movie','Productions/boxes3' ); //end AC code
              </script>
                <noscript>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="449" height="449" title="Products">
                  <param name="movie" value="Our_brands/boxesnew.swf" />
                  <param name="quality" value="high" /><param name="SCALE" value="noborder" />
                  <param name="allowScriptAccess" value="always"/>
                  <embed src="Our_brands/boxesnew.swf" width="449" height="449" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" allowScriptAccess="always" scale="noborder"></embed>
                  <br />
                  <br />
                </object>
                </noscript>
              </a>
              </p>
            </div>
    Could someone please tell me where I am going wrong?
    I would REALLY appreciate it.
    Thank you in advance!!

    I'm doing it for a client and they dont want it put up on the server yet, I wish I could put it up bc I have no idea what I'm doing!
    Basically I wanted a swf file from Flash to display a range of products (I have turned all the products into buttons) and then I put coding into all the buttons to on release getURL which work in the swf file, however when I put the swf file into dreamweaver, the buttons worked in hover state, but the action scripting didn't work to link the swf file to another page in the website (the index in Our_brands folder).
    So i decided to make it link to the index.html in Our_brands folder from wrapping the swf box in a div tag and linking the div tag <a href="Our_brands/index.html"> which links it great in Safari but wont link in Firefox, Opera and Internet Explorer.
    Does that make any sense?
    Sorry if it doesn't.
    Thanks for the quick reply as well!!!

  • My web site has a link which automatically configures an email. Doesn't work in Firefox 5.0 but OK in IE 8, Opera and Netscape. v

    My web site is generated by Second Site , author John Cardinal, and contains email links which when selected automatically createsan email which all you need to do is fill in the body and send it. This has worked in the past in Firefox and does work now using IE 8, Opera, and Netscape browsers but does not work when using my Firefox browser neither locally on my computer or in my Internet website. Firefox is my browser of choice. This has worked in the past using Firefox.
    My web site is www.schulteis.com/omnibus/. On the presentation page, on the bottom, where it identifies Genealogist: Site Administrator. Select it and it may work for you. John Cardinal tested it on his local machine and it worked for him. His response to me was,
    "It's very likely that this is some sort of browser configuration error, and it's probably related to using a web-based email client, In
    Firefox, look under Options > Applications and see how the "Mailto" Content type is configured. It should probably say "Use Yahoo Mail" [it does]. I have never configured a browser to use a web-base email client, so I can't help more than that.
    Since this works fine on my computer and on my Internet site when using browsers IE 8, Opera, and Netscape but not Firefox, and I didn't do anything special for any browser to cause it to work, don't know what I could have done wrong for Firefox.
    I am using Yahoo mail.
    Thanks for your help
    Donald
    [email protected]

    I'm also running FF 36.0.4 on a Win 7 machine.  Here is what I see when I "open" the map (from the server - not inside DW):
    The map area stays white with no image even after several minutes.  The cursor does change to a hand when over the area where the map should be and if I click and drag there the cursor switches to the closed hand - so it's acting like the map is there and can be moved - but just no map shows up.
    I'll run it though the validator.  Thanks!

  • Approximate operator and recursive call function in abap

    Dear expert,
    Please give me an example about Approximate operator and recursive call function in abap
    thanks so much

    Hi
    About Approximate operator, you can go to tcode 'ABAPDOCU', searching CO,CN,CA etc...each of them have example there.
    And recursive function,
    Say here is a FM,
    FUNCTION recursive_get_number.
    *import im_num type i.
    *export ex_num type i.
    ex_num = im_num + 1.
    IF ex_num GE 100.
       EXIT.
    ELSE.
       CALL FUNCTION recursive_get_number
            EXPORTING
               im_num = ex_num
            IMPORTING
               ex_num = ex_num.
    ENDIF.
    ENDFUNCTION.
    When you call this function from outside with importing parameter '1',  then will return you 100.
    regards,
    Archer.

  • Iw72 service order + Link b/w operations and PRTs

    Hello Friends,
    So here is my problem. In transctin iw72 ( service order ) there is a tab called "operations". In tab operatinos I can attatch Resourse / tool ( table AFFH ( PRT assignment data for the work order )  and structure AFFHD (Structure of the PRTs in orders). So I can do this all manually, and after pressing save, the PRTs is attatched to the operation. ( pls note I want to attatch a documet as PRTs to the operations)
    Now I want to do this via any FM or BAPI, but unfortunatelly I was not able to find any such bapi, ( I mean, I have find bapi to create the operation, and I also find the bapi to create the document, and now I have to find the bapi which store the PRTs ( in my case document ) to that operation ( or order ).
    In table AFFH, I have reference to the order, but not to the operation, so actually using this table I can attatch the PRTs to one order, but my req is to attatch to the operation.
    So I debug the standard code, to find out how they are doing, but could not find much, any tip how I can make it more simple to find out, what is going on in starndard code.
    Regards,
    Message was edited by:
            Shah H
    Message was edited by:
            Shah H

    hi,
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/frameset.htm
    For debugging tutorial:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/5a/4ed93f130f9215e10000000a155106/frameset.htm
    http://www.sapdevelopment.co.uk/tips/debug/debughome.htm
    http://www.sap-basis-abap.com/sapab002.htm
    System Debugging
    If you set this option, the Debugger is also activated for system programs
    (programs with status S in their program attributes). When you save breakpoints, the System Debugging setting is also saved.
    Update Debugging
    Update function modules do not run in the same user session as the program that is currently running in the ABAP Debugger.
    These function modules are therefore not included in debugging.
    Only if you select the Update Debugging option can you display and debug them after the COMMIT WORK.
    Normal Debugging
    Normal debugging is the one we do it by the normal dynamic break points or by /H or by using stattic break points.
    You can switch to diffferent debuggin modes while processing.
    Regards
    Reshma

  • Link between Oder number, Operations and PRT ?

    Hello,
    I am trying to find the link between Ordeer number (T-code IW32) , its Operations and PRT linked to Operations.
    Can someone shed some light on the links for these in PM tables ?
    Thanks.
    Regards,
    Rajesh.

    Hi,
    Not sure of the table links..
    Use the BAPI BAPI_ALM_ORDER_GET_DETAIL..to get the operations, PRT other details for the service order..
    Thanks
    Naren

  • Avoid procedure or function calls between a SQL operation and an implicit cursor test

    when i analyse this code with code expert

    atpidgeon wrote:
    when i analyse this code with code expert
                            UPDATE P_PM_CONTROL_COUNT
                            SET AVAIL_SEG = AVAIL_SEG -1,
                                ALLOCATION = ALLOCATION -1
                            WHERE PM_UNIT_TYPE_ID = vrectab(1)
                            AND USAGE_DATE = vrectab(2)
                            AND SEGMENT_CODE = vrectab(5)
                            AND ALLOCATION - UNITS_RESERVED > 0;
                            IF sql%rowcount = 0 then --Added block and exception to prevent invetory going negative when placing multi units in same unit type out of service.
                                vErrMsg := 'Could not process your out of service request because your selection for unit '|| vrectab(3) || ' at ' || pvPropertyId || ' for ' || vrectab(2) || ' would cause segment ' || vrectab(5) || ' to be over allocated.';
                                RAISE SegOverAllocated;
                            END IF;
    i get "Avoid procedure or function calls between a SQL operation and an implicit cursor test.",as far has i know
    iff you're doing a sql%rowcount    after an update.. trying to see how many rows were updated...  you dont want procedure or function calls between the update and the sql% line
    correct me if im wrong and how would i fix it?or maybe i shouldnt
    You correct it by NOT executing function calls as part of the UPDATE statement.
    1. Issue the function calls BEFORE the update statement
    2. save the function results into variables
    3. use those variables in the UPDATE statement.
    v_rectab1 := vrectab(1);
    v_rectab2 := vrectab(21);
    v_rectab5 := vrectab(5);
    UPDATE P_PM_CONTROL_COUNT 
                            SET AVAIL_SEG = AVAIL_SEG -1,
                                ALLOCATION = ALLOCATION -1
                            WHERE PM_UNIT_TYPE_ID = v_rectab1
                            AND USAGE_DATE = v_rectab2
                            AND SEGMENT_CODE = v_rectab5
                            AND ALLOCATION - UNITS_RESERVED > 0;

  • Link of Preventive order Operation and package table

    Hi guys
    we are developing the form. there we are collecting the Operations, frequency, Remarks etc for preventive maintenance orders  (from Maint plans). We are taking the printout from IW3D.
    Now the thing is everything i have acheived except frequency. I have collected the operations from VIAUFK_AFVC, WARPL and call no (But no Package no here). Then if iam putting into MHIS table i could get the package no. Again if we are inputting the same into T351X we will get the short text of stratagy frequency.
    My doubt is the order has so many operations , how could we link the which operations and which package..any link table is there..

    Thenna,
    I am really sorry, i am just not able to comprehend what you are referring to. Could you be a little bit more clear? If you are looking to identify the Frequencies/packages  which have caused the operation to be added to the Order, the tables that i have listed out should help you to identify the same Programmatically.
    From the Order you can get the Group and task list number. From PLPO and PLWP , you could get a list of all the operation numbers and the packages at which they are due for the task list number. Using the keys from this table, you could identify the equivalent operation number in the Order(The operation number might not have changed between Task list and Order, if you havent re-numbered them).
    Regards
    Narasimhan

  • Operation and Sub operation link in routing -reg

    Hi,
    In one of our report development we have to seggregate the operation number wise suboperations
    which table and fields we have to use ?
    we have to down load all the operations and sub operations for a given routing from the system and should be able to display for this operation these  are all the sub operations and display their operation timings
    please guide
    regards,
    Madhu Kiran

    Hi,
    If i go to some operation and add one sub operation for it , i am not getting in the tables both operation and sub operation
    i think both are getting stored in the same field
    can some one give some logic of fields connection to fetch the sub operatiosn of an operation ?
    PLPH table has no entries at all in our system
    i try to use PLPO and PLAS
    i require basic logic of flow
    how to get the suboperations of an operation
    pl help
    regards,
    madhu kiran

  • How to Bind a Combo Box so that it retrieves and display content corresponding to the Id in a link table and populates itself with the data in the main table?

    I am developing a desktop application in Wpf using MVVM and Entity Frameworks. I have the following tables:
    1. Party (PartyId, Name)
    2. Case (CaseId, CaseNo)
    3. Petitioner (CaseId, PartyId) ............. Link Table
    I am completely new to .Net and to begin with I download Microsoft's sample application and
    following the pattern I have been successful in creating several tabs. The problem started only when I wanted to implement many-to-many relationship. The sample application has not covered the scenario where there can be a any-to-many relationship. However
    with the help of MSDN forum I came to know about a link table and managed to solve entity framework issues pertaining to many-to-many relationship. Here is the screenshot of my application to show you what I have achieved so far.
    And now the problem I want the forum to address is how to bind a combo box so that it retrieves Party.Name for the corresponding PartyId in the Link Table and also I want to populate it with Party.Name so that
    users can choose one from the dropdown list to add or edit the petitioner.

    Hello Barry,
    Thanks a lot for responding to my query. As I am completely new to .Net and following the pattern of Microsoft's Employee Tracker sample it seems difficult to clearly understand the concept and implement it in a scenario which is different than what is in
    the sample available at the link you supplied.
    To get the idea of the thing here is my code behind of a view vBoxPetitioner:
    <UserControl x:Class="CCIS.View.Case.vBoxPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:v="clr-namespace:CCIS.View.Case"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    d:DesignWidth="300"
    d:DesignHeight="200">
    <UserControl.Resources>
    <DataTemplate DataType="{x:Type vm:vmPetitioner}">
    <v:vPetitioner Margin="0,2,0,0" />
    </DataTemplate>
    </UserControl.Resources>
    <Grid>
    <HeaderedContentControl>
    <HeaderedContentControl.Header>
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
    <TextBlock Margin="2">
    <Hyperlink Command="{Binding Path=AddPetitionerCommand}">Add Petitioner</Hyperlink>
    | <Hyperlink Command="{Binding Path=DeletePetitionerCommand}">Delete</Hyperlink>
    </TextBlock>
    </StackPanel>
    </HeaderedContentControl.Header>
    <ListBox BorderThickness="0" SelectedItem="{Binding Path=CurrentPetitioner, Mode=TwoWay}" ItemsSource="{Binding Path=tblParties}" />
    </HeaderedContentControl>
    </Grid>
    </UserControl>
    This part is working fine as it loads another view that is vPetioner perfectly in the manner I want it to be.
    Here is the code of vmPetitioner, a ViewModel:
    Imports Microsoft.VisualBasic
    Imports System.Collections.ObjectModel
    Imports System
    Imports CCIS.Model.Party
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' ViewModel of an individual Email
    ''' </summary>
    Public Class vmPetitioner
    Inherits vmParty
    ''' <summary>
    ''' The Email object backing this ViewModel
    ''' </summary>
    Private petitioner As tblParty
    ''' <summary>
    ''' Initializes a new instance of the EmailViewModel class.
    ''' </summary>
    ''' <param name="detail">The underlying Email this ViewModel is to be based on</param>
    Public Sub New(ByVal detail As tblParty)
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Me.petitioner = detail
    End Sub
    ''' <summary>
    ''' Gets the underlying Email this ViewModel is based on
    ''' </summary>
    Public Overrides ReadOnly Property Model() As tblParty
    Get
    Return Me.petitioner
    End Get
    End Property
    ''' <summary>
    ''' Gets or sets the actual email address
    ''' </summary>
    Public Property fldPartyId() As String
    Get
    Return Me.petitioner.fldPartyId
    End Get
    Set(ByVal value As String)
    Me.petitioner.fldPartyId = value
    Me.OnPropertyChanged("fldPartyId")
    End Set
    End Property
    End Class
    End Namespace
    And below is the ViewMode vmParty which vmPetitioner Inherits:
    Imports Microsoft.VisualBasic
    Imports System
    Imports System.Collections.Generic
    Imports CCIS.Model.Case
    Imports CCIS.Model.Party
    Imports CCIS.ViewModel.Helpers
    Namespace CCIS.ViewModel.Case
    ''' <summary>
    ''' Common functionality for ViewModels of an individual ContactDetail
    ''' </summary>
    Public MustInherit Class vmParty
    Inherits ViewModelBase
    ''' <summary>
    ''' Gets the underlying ContactDetail this ViewModel is based on
    ''' </summary>
    Public MustOverride ReadOnly Property Model() As tblParty
    '''' <summary>
    '''' Gets the underlying ContactDetail this ViewModel is based on
    '''' </summary>
    'Public MustOverride ReadOnly Property Model() As tblAdvocate
    ''' <summary>
    ''' Gets or sets the name of this department
    ''' </summary>
    Public Property fldName() As String
    Get
    Return Me.Model.fldName
    End Get
    Set(ByVal value As String)
    Me.Model.fldName = value
    Me.OnPropertyChanged("fldName")
    End Set
    End Property
    ''' <summary>
    ''' Constructs a view model to represent the supplied ContactDetail
    ''' </summary>
    ''' <param name="detail">The detail to build a ViewModel for</param>
    ''' <returns>The constructed ViewModel, null if one can't be built</returns>
    Public Shared Function BuildViewModel(ByVal detail As tblParty) As vmParty
    If detail Is Nothing Then
    Throw New ArgumentNullException("detail")
    End If
    Dim e As tblParty = TryCast(detail, tblParty)
    If e IsNot Nothing Then
    Return New vmPetitioner(e)
    End If
    Return Nothing
    End Function
    End Class
    End Namespace
    And final the code behind of the view vPetitioner:
    <UserControl x:Class="CCIS.View.Case.vPetitioner"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:vm="clr-namespace:CCIS.ViewModel.Case"
    mc:Ignorable="d"
    Width="300">
    <UserControl.Resources>
    <ResourceDictionary Source=".\CompactFormStyles.xaml" />
    </UserControl.Resources>
    <Grid>
    <Border Style="{StaticResource DetailBorder}">
    <Grid>
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="Auto" />
    <ColumnDefinition Width="*" />
    </Grid.ColumnDefinitions>
    <TextBlock Grid.Column="0" Text="Petitioner:" />
    <ComboBox Grid.Column="1" Width="240" SelectedValuePath="." SelectedItem="{Binding Path=tblParty}" ItemsSource="{Binding Path=PetitionerLookup}" DisplayMemberPath="fldName" />
    </Grid>
    </Border>
    </Grid>
    </UserControl>
    The problem, presumably, seems to be is that the binding path "PetitionerLookup" of the ItemSource of the Combo box in the view vPetitioner exists in a different ViewModel vmCase which serves as an ObservableCollection for MainViewModel. Therefore,
    what I need to Know is how to route the binding path if it exists in a different ViewModel?
    Sir, I look forward to your early reply bringing a workable solution to the problem I face. 
    Warm Regards,
    Arun

  • Unable to retrieve the operations and entities during service introspection

    Hi,
                      I created one sample flex mobile project using flash builder 4.5, i would like to invoke the web service (wsdl file), which is developed in java and hosted in remote machine server.i want to call a one getEmployeeList method from the webservice.
                          In flash builder i used the menu Data->connect to web service , i gave the url, changed the service name and package name, after that i clicked next button,
    the service introspection dialog appears and after a few seconds, flash builder 4.5 shows the message "Unable to retrieve the operations and entities from the web service" and "There was an error during service interospection".
                       I try to open the url in the browser window i could able to see the wsdl file.so, please help me to solve this issue!
    Thanks & Regards,
    siva
    Message was edited by: siva csc

    same problem also on my xampp installation , it worked perfect with REST service in the previous flex 3 release , is it my apache conf or something related on Flash builder
    this happens when I call my function that connect to mysql do the query and returns the array object
    Err log from Flash Builder 4:
    There was an error during service introspection.
    <br /><b>Warning</b>:  require_once(Zend/Loader/Autoloader.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in <b>C:\xampp\htdocs\MYAPP\bin-debug\gateway.php</b> on line <b>23</b><br /><br /><b>Fatal error</b>:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\xampp\php\pear\;C:/xampp/htdocs/ZendFramework/library') in <b>C:\xampp\htdocs\MYAPP\bin-debug\gateway.php</b> on line <b>23</b><br />
    thanks in advance
    P

  • How to fetch the components operation and workcenter. pp report

    Hi experts,
                 this report is for pp module ,routing details,in our program
    only give the ouput of the header materials operation and workcenter
    but not get into components.
    before we clariy if the materilas is e or x -
    check the plpo operation and crhd workcter
    or else
    if the material is f -
    get the vendor details---- i ll not using this onle
    before  we need to adopt it only e or x only
    TABLES : MAST,MARC,CRHD,PLPO.
    TYPES : BEGIN OF IT_FINAL,
             POSNR LIKE STPOX-POSNR,
             IDNRK LIKE STPOX-IDNRK,
             OJTXP LIKE STPOX-OJTXP,
             MENGE LIKE STPOX-MENGE,
             MEINS LIKE STPOX-MEINS,
             VORNR LIKE PLPO-VORNR,
             ARBID LIKE PLPO-ARBID,
             OBJTY LIKE PLPO-OBJTY,
             LTXA1 LIKE PLPO-LTXA1,
             VGE01 LIKE PLPO-VGE01,
             VGW01 LIKE PLPO-VGW01,
             VGW02 LIKE PLPO-VGW02,
             ARBPL LIKE CRHD-ARBPL,
            LIFNR LIKE EINA-LIFNR,
            INFNR LIKE EINA-INFNR,
             END OF IT_FINAL.
    DATA : BEGIN OF CRHD_IDEL OCCURS 1000,
           OBJID LIKE CRHD-OBJID,
           ARBPL LIKE CRHD-ARBPL,
           END OF CRHD_IDEL.
      DATA: BEGIN OF ISTPO OCCURS 1000.
            INCLUDE STRUCTURE STPOX.
    DATA: END OF ISTPO.
    DATA: BEGIN OF MATCAT OCCURS 1000.
            INCLUDE STRUCTURE CSCMAT.
    DATA: END OF MATCAT.
    DATA : BEGIN OF ITAB OCCURS 0,
               MATNR LIKE MAST-MATNR,
               WERKS LIKE MAST-WERKS,
               END OF ITAB.
    SELECT-OPTIONS : P_MATNR FOR MAST-MATNR.
    PARAMETERS     : P_WERKS TYPE MAST-WERKS.
    DATA : IT_FINAL_IDEL TYPE STANDARD TABLE OF IT_FINAL
               WITH HEADER LINE INITIAL SIZE 100 WITH DEFAULT KEY.
    DATA : IT_CRHD_IDEL LIKE CRHD OCCURS 100 WITH HEADER LINE.
    DATA: IT_STB LIKE ISTPO OCCURS 0 WITH HEADER LINE.
    DATA : IT_MAPL_IDEL LIKE MAPL OCCURS 100 WITH HEADER LINE.
    DATA  :IT_ITAB_IDEL LIKE MARC OCCURS 100 WITH HEADER LINE.
    DATA : IT_PLPO_IDEL LIKE PLPO OCCURS 100 WITH HEADER LINE.
    SELECT MATNR WERKS FROM MAST INTO TABLE ITAB
                       WHERE MATNR  IN P_MATNR AND WERKS = P_WERKS.
    START-OF-SELECTION.
      CLEAR ISTPO. REFRESH ISTPO.
      LOOP AT ITAB.
      CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            CAPID                 = 'PP01'
            MEHRS                 = 'X'
            MMAPS                 = ' '
            MDMPS                 =  ' '
         BREMS                  = 'X'
         DISMM                 = ' '
         LIFNR                 = ' '
         WEBAZ                 = ' '
            DATUV                 = SY-DATUM
            MTNRV                 = ITAB-MATNR
            WERKS                 = P_WERKS
            EMENG                 = '1'
            STKKZ                 = ' '
            FBSTP                 = ' '
            FTREL                 = ' '
          IMPORTING
            TOPMAT                = W_TOPMAT
           DSTST                 = DSTST
          TABLES
            STB                   = ISTPO
            MATCAT                = MATCAT
          EXCEPTIONS
            ALT_NOT_FOUND         = 1
            CALL_INVALID          = 2
            MATERIAL_NOT_FOUND    = 3
            MISSING_AUTHORIZATION = 4
            NO_BOM_FOUND          = 5
            NO_PLANT_DATA         = 6
            NO_SUITABLE_BOM_FOUND = 7
            OTHERS                = 8.
      WRITE: / W_TOPMAT-MATNR UNDER TEXT-H00 COLOR COL_HEADING,
               W_TOPMAT-MAKTX UNDER TEXT-H01 COLOR COL_HEADING.
        SELECT MATNR WERKS OBJID BESKZ FROM MARC INTO CORRESPONDING FIELDS OF TABLE IT_ITAB_IDEL
                    WHERE   MATNR = ITAB-MATNR AND BESKZ = 'X' OR BESKZ = 'E' OR BESKZ = 'F'.
        SELECT MATNR WERKS PLNTY PLNNR LIFNR FROM MAPL INTO CORRESPONDING FIELDS OF TABLE IT_MAPL_IDEL
                                                   WHERE MATNR = ITAB-MATNR AND
                                                         WERKS = 'IN01' .
      SELECT PLNTY PLNNR VORNR  ARBID OBJTY LTXA1 VGE01 VGW01 VGW02 PLIFZ FROM PLPO INTO CORRESPONDING FIELDS OF TABLE IT_PLPO_IDEL
                                                        FOR ALL ENTRIES IN IT_MAPL_IDEL
                                                        WHERE PLNTY = IT_MAPL_IDEL-PLNTY AND
                                                              PLNNR = IT_MAPL_IDEL-PLNNR AND
                                                              WERKS = 'IN01' AND ARBID <> 0.
    LOOP AT ISTPO.
      IT_FINAL_IDEL-POSNR  = ISTPO-POSNR.
      IT_FINAL_IDEL-IDNRK  = ISTPO-IDNRK.
      IT_FINAL_IDEL-OJTXP  = ISTPO-OJTXP.
      IT_FINAL_IDEL-MENGE  = ISTPO-MENGE.
      IT_FINAL_IDEL-MEINS  = ISTPO-MEINS.
    LOOP AT IT_PLPO_IDEL.
    IT_FINAL_IDEL-VORNR = IT_PLPO_IDEL-VORNR.
        IT_FINAL_IDEL-ARBID = IT_PLPO_IDEL-ARBID.
        IT_FINAL_IDEL-OBJTY = IT_PLPO_IDEL-OBJTY.
        IT_FINAL_IDEL-LTXA1 = IT_PLPO_IDEL-LTXA1.
        IT_FINAL_IDEL-VGE01 = IT_PLPO_IDEL-VGE01.
        IT_FINAL_IDEL-VGW01 = IT_PLPO_IDEL-VGW01.
        IT_FINAL_IDEL-VGW02 = IT_PLPO_IDEL-VGW02.
      ENDLOOP.
        READ TABLE IT_CRHD_IDEL WITH KEY OBJID = IT_PLPO_IDEL-ARBID.
        IT_FINAL_IDEL-ARBPL = IT_CRHD_IDEL-ARBPL.
        APPEND IT_FINAL_IDEL.
        CLEAR : IT_FINAL_IDEL,IT_PLPO_IDEL,IT_CRHD_IDEL,ISTPO.
    ENDLOOP.
    WRITE :/6 W_TOPMAT-MATNR, 25 W_TOPMAT-MAKTX.
       LOOP AT IT_FINAL_IDEL.
       WRITE :/ IT_FINAL_IDEL-POSNR,
                IT_FINAL_IDEL-IDNRK,
                IT_FINAL_IDEL-OJTXP,
                IT_FINAL_IDEL-MENGE,
                IT_FINAL_IDEL-MEINS,
                IT_FINAL_IDEL-VORNR,
                IT_FINAL_IDEL-ARBID,
                IT_FINAL_IDEL-OBJTY,
                IT_FINAL_IDEL-LTXA1,
                IT_FINAL_IDEL-VGE01,
                IT_FINAL_IDEL-VGW01,
                IT_FINAL_IDEL-VGW02,
                IT_FINAL_IDEL-ARBPL.
       ENDLOOP.
    REFRESH IT_FINAL_IDEL.
    SKIP.
    ENDLOOP.
    regards
    ds

    u have the plant and component from STPOX....using this goto MARC table and check BESKZ field...

  • HT5654 i tried to update my ipod touch 4th gen and it shutoff and showed a screen that says connect to itunes. So of course i did and i says it found an error restoring ipod what do i do know to restore my ipod back to working and functioning condition?

    I tried to update my ipod touch 4 gen and it automatically shutoff and said connect to itunes on the screen. I did. it says it found an error restoring ipod, what do i do now to resttore my ipod back to working and functioning condition?

    Hi marty292,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
    - Judy

Maybe you are looking for

  • Design view in FB 4.5 not working

    I have multiple projects that when viewed in FB 4, show in design view perfectly. I have custom skinning and it all looks like it should. I moved these projects over to FB 4.5, and they all look terrible. It basically makes the design view unusable.

  • Problems with iCloud shared photos

    Hi all Updated all ios devices to 7. All good it seemed - but tonight took some pics on my 4s and created a shared stream. The person I invited (also on iOS 7) has not had invite and it does not appear on my other devices. Anyone else had anything si

  • Sharing two iPod Touches on one account

    I have a 5th gen Touch, and I gave my 4th gen to my son. The Apple IDs are the same for both. The reason is that I have games I've purchased that he plays, so he doesn't want to lose them if we give him his own account. My question also has to do wit

  • Spatial query using C#

    hi, we're getting some odd behaviour using the Oracle Data Provider for .Net. spatial queries return no data unless the indexes on the queried table are rebuilt, the query returns data when executed using sql*plus. we're coding in C#, the database ve

  • Error in my bean in jdeveloper 11g release 2

    hi i have this method ,am having error method getDBTransaction(). not found what could be the problem,i what this method in my bean protected void calproce(String stmt, Object[] bindVars) { PreparedStatement st; st = null; try { // 1. Create a JDBC P