In abap report how to get substitute Materials

Hi Friends,
In abap report how to get substitute Materials. Is there any function module or bapi available other than Function 'PRODUCT_SUBSTITUTION'
Will appreciate your suggessions with poits.

Hi anilkumar,
1. u have the position
   u want the Job
2. In hrp1001 table
   OTYPE = 'S' (for position)
   OBJID  = POSITION (AS ABOVE)
   SCLAS = 'C' (for finding job)
<b>   SOBID = XXXXXX (here u will get the JOB)</b>
regards,
amit m.

Similar Messages

  • In ABAP HR how to get job using position

    In ABAP HR how to get job using position (Using Infotype 1001)

    Hi anilkumar,
    1. u have the position
       u want the Job
    2. In hrp1001 table
       OTYPE = 'S' (for position)
       OBJID  = POSITION (AS ABOVE)
       SCLAS = 'C' (for finding job)
    <b>   SOBID = XXXXXX (here u will get the JOB)</b>
    regards,
    amit m.

  • How to get the materials consumption data

    Hi expert,
    My requirement is to show the material ordered, material received,material consumption,material stock against project definition...
    1. I got the materials ordered and material received against PO of that Project definition but they tell to show the materials got
    from another sites for that project definition.
    2. I have the mseg table for all datas for materials consumption and materials got from another sit e. i know only movement types and WBS
    .if i fetch the data from mseg using movement type and WBS means its not working.i dono how to get the materials consumption
    and materials got from another site.
    They seeing an entires in cji3 based on movement type and storage location.so only i tried to fetch data from mseg table using movement type and WBS
    but its not working.
    please tell ur views to get the data .
    Regards,
    Rathish

    hi,
    In MM module, one Tcode named MMBE will show you the material' information...
    However, from your description, PS/MM will be involved.The cluster table MSEG does hold the data of transaction...

  • Interactive Report: how to get value of given row/col cell in selected row

    Hi -- I have an interactive report. Instead of the default behavior of the link going to a single row view, I want it to
    go to a form for editing the row. This means I have to be able to populate the form w/ the correct row's information...
    so need to get the value(s) for the PK column(s) in the selected row of the interactive report, so I can select the row
    from the database.
    How can I do this? I see in the report attributes, Link Column section, I can set Rows Uniquely Identified by, and a Unique
    Column (though there could be more than one in a PK). I imagine I'd want to use the rowid, but I'm not sure how the
    rowid of the selected IR row can be referenced. And at that point, I'm not sure how to get the IR column value for
    that row. (Say I'm on the 8th row and I need the first column... How is the column referenced? By a number, it's name,
    its heading?)
    Or maybe I'm not on the right track at all...
    Ideas?
    Thanks,
    Carol

    Hi Carol,
    What I´m trying to do is: defining a button such as when you click it a pl-sql procedure is called, which needs as an input parameter the id of the row selected in my form. what I need first, then, is to get the id of the selected row. how did you get it?
    Thanks in advance
    Francesco

  • How to get all materials of plant DE20

    Hello Team,
    I want all materials of plant DE20 , Could you please tell me how to get this ?
    Thanks in advanse!
    With Regards,
    Pritee.

    >
    pritee15 wrote:
    > Hello Team,
    >
    > I want all materials of plant DE20 , Could you please tell me how to get this ?
    > Thanks in advanse!
    >
    > With Regards,
    > Pritee.
    In t.code SE16 -->Enter table name - MARC --> Enter Plant --> DE20,Exectue list all materials.
    Edited by: Jeyakanthan A on Sep 6, 2010 12:56 PM

  • Issue in ABAP- HR : How to get executive assistant of Vice President...

    Hi,
    My requirement is: if employee is Vice President i need his/her executive assistant. I saw in HRP1001 table there is one relationship Z81(Custom type)... I am not finding correct logic to get executive assistant.
    Anybody can suggest me how to get his/her position or personnel number(executive assisstant)
    Thanks,
    Maheedhar

    Hi ,
    Issue solved by own. In SAP we dont have specific logic to find VP and above VP level. I confirmed with HR . SO i am writing logic in diff level.
    Thanks,
    Maheedhar

  • MCBZ report how to get total stock qty calculation?

    Dear Guru,
            if i checking one material in Tcode:MMBE having unrestricted stock is 356 & reserved qty is 56. After this when i am executing report MCBZ-- Current stock reqmt list & get Total stock qty is 120 for same material.
    can any one tell me how it is calculated (i.e. Total Stock).
    My requirement is we want to see a report which shows diffrence bewtwwen satfey stock & total stock. so i am using this report, if any othere suggestion then please reply me.
    Best Regards,
    Dev

    Dear,
           You can see in MD04 t-code here u can find safety stock and inventory stock.
    Regards
    Ravi

  • Calling VA01 from Report,how to get the Sales Order  No when Back.

    Hi all,
    I have a requirement of calling va01 from the report and have done that using
    did recording ...&
    call transaction va01 using bdcdata.
    but my problem is when back from that trasaction i have to get the sales order that is created . Is it possible to retrieve that value from va01 .i am unable to get . anyone pls share

    Use the addition MESSAGES INTO itab with call transaction va01 using bdcdata.
    Effect of MESSAGES INTO itab:
    Using this addition, all the messages sent during batch input processing are stored in an internal table itab of the type BDCMSGCOLL from the ABAP Dictionary.
    If the call transaction is successful then retrieve the last message from itab and then in any field among MSGV1,MSGV2,MSGV3,MSGV4 of itab u will get the document no.
    And when doing the call transaction pl. choose update mode as 'S' or 'L'.
    Regards,
    Joy.

  • Report -- How to get Options to show up in Report for a recurring payment

    If you want to help, look at prudenceconservancy.org. The recurring payments I do not get in my report the Donation type. For the non-recurring payments I get the donation type (membership, Eugene Chase Farm , Stone Dock.

    Hi
    Please try table - KONV
    Field Application will be very critical from your report point of view.
    Regards
    Rajesh
    Do reward if useful...

  • ABAP Unite : how to get the generated log

    Hi all,
    I'm looking for a way to get the log of the execution of a program linked abap unit tests.
    Imagine that I'm using se38 transaction, I launch Program >> test >> Unit Test.
    It give me a result screen with the result of defined assert.
    What I need is a way to do my own program that can access to this result in order to export them to a specific extarnal test management tool.
    So, I would like  to know the transaction code of the abap unit transation, the table filled by the log and so on ...
    Thanks  for help,
    Kind Regards
    Morgan

    Hello Morgan,
    there is no API to access ABAP Unit results in release 6.40 und 7.00. You will have to wait for 7.10.
    Sorry
      Klaus
    PS: You may try to access Code Inspector Results meanwhile.

  • BEx Report: How to get Inactive Customers from past 2 years

    Hi Gurus,
    Our requirement is to  develop a BEx report to display inactive customers (Customers who does not have any sales from past 2 years)
    We have a Multi-provider which has Invoice Cubes with all transaction data. the Multi provider does not contain Customer master info object, It Contains only Invoice cubes for Euro and North America.
    Now we need to build a report on top of this Multi provider and achieve the inactive customer logic.
    I request anyone who have worked on this kind of report, please help me with this.
    Please note that we are using BI 7.
    Thanks and Regards,
    Rama.

    Thanks all for you replies,
    Rahul, We have Customer infoobject in the invoice cube, but not the customer master data infoobject itself separately.
    So we have to use the customer infoobject included as part of the invoice cubes.
    there is a similar concept called Slow moving Material.. which can be achieved in a similar way..
    There is an example in Sap help portal on this. Not sure how we can do that for Inactive customers..
    Any more ideas welcome.
    Thanks and appreciate all your efforts to contribute to this..
    Regards,
    Rama.

  • Interactive Report how to get Item Values

    Hi there,
    I have created a workflow which is going through 12 pages. At each page the user needs to choose his variables.
    This could be the y-axes, x-axes, amount, surname ... etc.
    The variables are given to the next page via branch to next page process. Everything works well until I need to create an interactive report out of the choosen variables.
    Lets say I have a variable called :P7_XAXIS with static LOV :
    Amount,Amount;Date,Date;quantity,quantity
    Page 8 is my IR. If I try :
    Select :P7_XAXIS  from mytable This will not work.
    But if I try
    Select Date from mytable This will work. Why? In my workflow there are several variables that can be used in a where condition. This also works. But I need to access the values before the condition and I also need to get a chart out of it.

    Even if I try
    Select (Select :P7_XAXIS from dual)  from mytable this will not work in my IR. Just getting no result.

  • In report how to get total no.of pages

    Hi all,
    i need to display at footer 'Page No.' of 'Total No.of pages'.
    is there any variable for total no.of pages.
    regards.
    cnu

    Hi...
    The code below shows how to display the total number of pages in a report like "Page 1 of 8."  May be this would solve your problem... (Award points if useful)
    Santosh
    REPORT YPAGECOUNT NO STANDARD PAGE HEADING LINE-COUNT 65.
        DATA L_PAGE_COUNT(5) TYPE C.
    TOP-OF-PAGE.
        WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
        ULINE.
    START-OF-SELECTION.
      Real list output takes place here
        DO 300 TIMES.
            WRITE: / 'Line #', SY-LINNO.
        ENDDO.
      Page count will be printed on each page here
        WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
        DO SY-PAGNO TIMES.
            READ LINE 1 OF PAGE SY-INDEX.
            REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
            MODIFY CURRENT LINE.
        ENDDO.

  • Reporting -how to get blank space

    Hi friends,
                    I have a report see this format
                       Cusno Cusname   cus address telephone
                           101    sri               102            45454
                            102   har               ####           ####
    In this report we don’t have data for this (cusno 102( cus addr, telephone)) so we are getting some hash symbols in those places but my requirement is we should get some ‘Blank space’ .
             I want to know for this kind of output is there any settings while during modeling or in repoting level.
    Pls suggest me
    Thanks
    ram

    Hi,
    You Can Remove # in workbook by using macro's.
    You Can use the following Code in VB macro to Eliminate #.
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
    Dim ws As Worksheet
    Set ws = resultArea.Parent
    resultArea.Select
    'Remove '#'
    Selection.Cells.Replace What:="#", Replacement:="", LookAt:=xlWhole, SearchOrder:=xlByRows, MatchCase:=False, MatchByte:=True
    resultArea(1, 1).Select
    End Sub
    Hope it helps.
    Regards,
    -Vijay

  • In an alv report how to get data in next and previous pages.

    in my alv report i require the output such that
    when i will press the next button in the application tool bar the alv report will be displayed for the next inventory document number in the next page. like wise previous
    would anybody please help me out.
    thanks and regards
    papps

    In your servlet you could set the arraylist into the HttpRequest object so that it is visible in the JSP you are forwarding to.
    RegistrationDAO rdao=new RegistrationDAO();
    ArrayList arr1=rdao.getsearchresults(af);
    request.setAttribute("someArrayList",arr1);Then in the JSP you could use JSTL 1.1 and jsp:useBean tag to access the ArrayList like this
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <jsp:useBean id="someArrayList" class="java.util.ArrayList" scope="request"/>
      <c:forEach var="currentRecord" items="${someArrayList}">
        Some property of the AddressForm object: ${currentRecord.propertyName} <br/>
        Another property of the AddessForm object : ${currentRecord.someOtherPropertyName} <br/>
        <hr/> 
      </c:forEach>I guess you are using struts, so instead of JSTL there might be some struts tags that do the same as above JSTL tags. You can research further on that.
    If you can't use struts tags or JSTL tags then you could write it with JSP scriptlets (highly discouraged option).

Maybe you are looking for

  • HFM Web Sever Configuration--Keep Alive and Session Time Out Optimal Config

    We recently implemented an HFM 9.3.1 environment. We are using Windows 2003 Enterprise SP2 servers with IIS6. We have two HFM Web servers connecting to an application cluster with two application servers in the cluster. We were getting some errors wh

  • Using pixelink software development kit with labview

    hi, i am currently using the pixelink camera pl b741 f, however i am facing a problem when i use the "get frame dll" in labview. my program works when in highlight execution mode, however when i run it in normal mode i get the following message: Labv

  • Enter trading partner in "F-90"

    Dear Experts, Am posting a vendor invoice for Main Asset, at the 1st screen i enter pstykey 31 and vendor no. and on the nxt screen the amount, pstykey 70,account number of the main asset (20001 0) and transaction type 100. But it displays a warnin m

  • FTP can access through URL?

    Hello All, My client wants to access the FTP server through URL. Which adapter i need to use FILE or SOAP to send or receive the data. Thanks and Regards, chinna

  • Editing a Web page in External Application

    I am using Macromedia Contribute 3 and trying to edit the HTML code on a page by using the "Edit Page Source in External Application" option under File>Actions. It has worked in the past but now the "Edit Page Source in External Application" is graye