Extracting current stock from LiveCache using ABAP

Hi,
We are trying to develop a number of reports for displaying calculated key figures from SNP. One of the macros that is used in calculations uses function INITIAL_STOCK(), which apparently reads the current stock level directly from LiveCache. I've found two function modules (/SAPAPO/DM_STOCK_GET and /SAPAPO/DM_STOCK_GET_BY_PEGID) that are somehow used in extracting of stock levels but I have'nt been able to figure out how they should be used, ie. what are the correct parameter values etc. Has anyone else tried to read current stock levels with ABAP?
Cheers,
Ran-Dom

Hi,
Thank you for your answer. However, I was'nt able to extract stock levels with that function. I did not find any documentation about that particular function, so I don't know which parameters are essential in my case. I've tried giving material and location ID:s as parameters, but it does'nt seem to work.
Regards,
Ran-Dom

Similar Messages

  • Extraction of Data from ECC using ABAP Stage in Datastage

    Hi
    We are required to extract the customer master data from GFIMS SAP ECC5.0 system. This extraction involves fetching of data from 5 different tables. To attain this we are using ABAP stage in DATASTAGE.
    For every run the ABAP stage of DataStage generates the ABAP program in DataStage, will place it in the SAP system and extract the data by executing the ABAP program.
    To be able to use this ABAP stage we need to integrate the DataStage with SAP system. We have to send the cofiles and data files to SAP, these files will install a RFC enabled function module and user profile components in SAP.
    They say, there is a security flaw in the function module component and this will lead to exposing of complete SAP system to outside members.
    Please advise me to do alternative Ways.
    Thanks in Advance.

    Hi
    You dont see the data source in R3? When you created the data source using Tcode RSO2 you would have put the data source under some application like SD, MM etc.
    Please check in the respective application for your data source. If still the data source is still not seen, then check whether the data source is active or not.
    Hope it helps.
    Regards
    Sadeesh

  • BW 7.3 ,can we extract delta data from mutiproviders using OHD

    Hi Gurus,
    My requirement is to extract the delta data from multiple infocube (more than one IC) using open hub destination to third party system. We thought of implementing BW 7.3 so that we can extract delta data from multiproviders instead of cubes to open hub destination...
    My question is:
    1.Is that possible to extract delta data from multiproviders using open hub destination.
    2.Is there any limitations?
    3.list of possible known issues from BW7.3 .
    Please suggest your valuble experience..
    Thanks in advance
    Vaish

    Hi Vaish,
    Yes you are right. In 7.3 we can extract data from MultiProviders using DTP.
    This is the new functionality in 7.3
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/304444f7-e02d-2d10-9c97-d5e3ecf09882?QuickLink=index&overridelayout=true
    check the 18th slide in the above PDF
    Regards,
    Venkatesh

  • How to get Cost centers a below a cost center from hierarchy using ABAP

    Hi !!
             I am currently developing a user application wherin i need to give a dropdown help to the users for cost center field.
    How ever I need to give him those cost centers in the help which are lower to the cost center to which he is assigned  .
    For example he is at department level which has cost center '90000' he should get the cost centers of the offices assigned to that department in the hierarchy .Also cost centers of various lower nodes which might have been assigned to these offices and so on so forth .
    How can I get those cost centers which lie lower to a particular cost center in the hierarrchy using ABAP ..as I am in to BSP application and have access using ABAP.
    thanks in advance

    BSPIAN,
    usually there will be a hierarchy table where the cost center hierarchy is stored. see if you can find that table.
    To go about the same , activate the datasource for cost center hierarchy from business content
    Execute the datasource in RSA3
    do a background SQL trace and you will find the necessary table for the same.
    Hope it helps..
    Arun
    Assign points if helpful

  • Read data from SharePoint using ABAP sql command

    We need to read data from a SharePoint site and update the sap object services with the information. There is a lot of information on how to put data into Sharepoint from SAP, but we need to get data from SharePoint and put it into SAP. Is it possible to retrieve data from SharePoint using sql command in ABAP program? If it is possible, what do we need to do to have SAP recognize where to get the SharePoint data?
    Richard Newman

    Hi Newman,
    You can use native sql in your abap code to read data from SharePoint's database. But I would suggest you to generate a SharePoint webservice which can provide you the neccessary data so that you can consume this webservice in ABAP
    (Will be quite faster than native sql).
    Regards,
    Ozcan.

  • How to extract the number from image using java

    Hello every one
    i want to develope a project which can extract the number from image
    that i can use as inter or String or char.
    Is there any API in java which provide this type of facility.
    right now i m using java 5
    thanks in Advance
    Jignesh

    In my project i have a image in that i have a
    co-ordinate (x,y) I am still puzzled as to what you seek. It sounds to me like you have a point (x, y) represented by p. in java it's just p.getX() p.getY()
    i want to convert that cordinate to numeric form,
    i mena i want to use that cordinate in somewhere else
    in project.point.getX() point.getY()
    So need to convert it into numeric form u can called
    it OCR also.OCR is optical character recognition. If I want out and took a picture of the US Declaration of Independence and then wanted the words on the parchement in the picture in text form, then I would run the picture through a software program and it would try to optically recognise what lettering and number were present in the picture. In the end, I would have a text of what is written on the US Declaration of Independence.
    Is that what you want?

  • How to call third party software from Ecc6 using ABAP

    Hi all,
    I need to execute a third party software using abap coding .
    The software converts doc to pdf, the input from ecc6 would be the file path.
    I need to do this using ABAP.
    thanks
    ziv.

    Hi Ziv
    You can use METHOD cl_gui_frontend_services=>execute
      EXPORTING
        application            = <<<.exe file>>>
        operation              = 'OPEN'
    to run .exe files
    Best Regards
    Yossi

  • Reversal stock from unresticted use

    I want a solution for reversal stock from unresticted use

    Dear Cherian,
    Carryout a 102 movement against the process order to reduce the stock from un-restricted stock using MIGO or MB31 and then
    check for the same.
    also I would suggest you to check the SAP Notes # 175842 for the same.
    Check and revert back.
    Regards
    Mangalraj.S
    Edited by: Mangalraj.S on Dec 9, 2009 4:43 PM

  • How to extract word coordinates from PDF using vc++6.0

    In sdk,i just know how to get coordinate from pdf using javascript,and it will be completed use vb.but i dont know how to get the coordinate througt vc++6.0.anyone can help me?
    thank you advance!

    PDEWordFinder is the usual method for getting words and co-ordinates.
    PDFEdit is not usually used, it is not suitable for getting text.
    It is very hard work to make the two worlds work together (e.g. to
    edit text you find).
    Aandi Inston

  • How to fetch published data from portal using ABAP

    Hello,
    I have a file published in the portal (with broadcaster). Now I want to use this file in an ABAP program. I can't call the web address directly because my program can't handle the Portal authentication. So I have two questions:
    - is there any way to call Portal-websites which require authentication from ABAP?
    or
    - how can I directly get access to the file without detour over the Portal (where is the place in file system).
    Thank you very much!
    Martin

    Hello Adrian,
    Thank you very much for your reply.
    > You can publish the report in MHTML format using the
    > BEx Broadcaster to a mapped drive  (completely
    > independent of the portal)  then you could pick this
    > up from your ABAP program if you have access to that
    > share.
    What do you mean with "mapped drive" - <a href="http://http://help.sap.com/saphelp_erp2005vp/helpdata/en/42/e915d951f23ee0e10000000a1553f6/frameset.htm">this</a>? I guess I could choose this drive in broadcaster at "export document in any folder" (don't know exactly English label because my system is in German language...)?
    > I dont really see the value of publishing the report
    > to KM if all you are wanting to do is read this back
    > into your ABAP program.  Why are you wanting to
    > publish the report to the portal in the first place?
    I need to get the image of a BW-chart in ABAP because I want to use it in SAP Interactive Forms by Adobe (I have an ABAP program to fetch my data and create the form). I could create my own chart of the data with the Internet Graphics Service but this would be a lot of work. You can create this charts very easily using the Chart Designer which i.e. is included in the Web Application Designer. If you create a Web Site containing a chart you can access this via browser and you have the chart as an image (created from current data). I tried simply to call this website with ABAP but I can not "log in" and so I have no access to this page. Because of this I had the idea to use the broadcaster to automatically publish this Web Application when my data were updated. If I use MHTML my chart-image is saved separately. This just would work for me. And now I want to get this image as a binary with ABAP.
    I hope you understand my problem.
    Martin

  • Reading .txt file from remote using abap?

    Hi,
    I must read a .txt file from remote server automatically.
    I have path and name of .txt file. Remote system asks username and password.
    In abap is it possible to give username and password for reading .txt from remote server?
    Remote server and sap server are not in same domain.
    How can i do that?
    Thanks.

    Hi Cemil ,
      You can try using the FM RZL_READ_FILE_REMOTE_SH.
    This is an option i found ,  but i have really not tried it out .
    Regadrs
    Arun

  • Accounts Payable Line Item Extraction to BW from SAP using Business Content

    Hi,
    I have to set up the AP Line Item extraction into BW using the Standard Business Content.
    Could someone please gide me through the process for doing it ( Step-by-Step if possible), both from the SAP R/3 side and the BW side.
    Any help deeply appreciated.
    Regards

    goto rsa5 in R/3  -- select 0FI_AP_4 and click install...if you goto RSA6 and see this datasource there then it means it is installed..
    now come to B/W ...goto source system...right click on source system and replicate datasource...
    on the left side you would..modeling...transport organizer etc... goto business content tab...
    goto grouping and it should be set at 'Only necessary objects'.
    click on object type on the left side...and it will see..goto Infocube ...select the one which i mentioned below..select it and drag to the right side..similarly do this for ODS, infosource, UR, TR...and click install you should be set...
    0FIAP_C03 - Infocube
    0FIAP_O03 - ODS
    0FI_AP_4 - Infosource
    update rules
    transfer rules...
    Please assign points if it was helpful

  • Unzip files from FTP using  ABAP

    Hi All,
    I have the a requirement to unzip certain files from ftp and transfer the extracted files to another directory in ftp.
    Searched  (Re: Unzip file;)  in SDN but didnt find the perfect solution
    Appreciate the help.
    Regards
    Siva

    You can use IndexOf function
    see this example
    http://visakhm.blogspot.in/2012/05/package-to-implement-daily-processing.html
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Extract the data from URL using XI

    Hi,
    Please let me know if  you have idea  about this:
    Scenario is:
    1. We are extracting some raw data (strings) from one url(http) using java program ...
    2. After extracting the data , some parsers making the XML files for that.
    Now my question is :
    Will able to add these javacalsses(java program) into XI for trigger the messages from url?
    It means I need to call url through XI and make the xml for that. After getting XML we need to map RFC for process the messages into ZTable.
    I didn't get idea about  how to make call for url through XI. It would be appreciated for sharing your expereince on this..
    Regards...Raj!

    Hi,
    >>>>Will able to add these javacalsses(java program) into XI for trigger the messages from url?
    yes you can do it all in a java proxy
    you just have to invoke a java proxy
    and inside you can put any java code you wish
    then you can use the parser and fill the xml message
    >>>>It means I need to call url through XI and make the xml for that. After getting XML we need to map RFC for process the messages into ZTable.
    then you can map your xml message to an rfc format
    if you have the java classes that access
    the url this will be very easy with a java proxy
    for more:
    https://websmp206.sap-ag.de/~sapdownload/011000358700000877852006E/HowToWorkWithJavaProxies.pdf
    Regards,
    michal

  • How to extract the data from SAP using Msaccess tool ?

    Hi Experts,
    Purpose u2013
    Want to extract the data in a better way rather than using the T.code u2013 SE16
    regards
    Kedar Kulkarni

    Hi,
    Try this...
    Please use the standard ABAP program "RIACCESS".
    Before using the program "RIACCESS", you need to install the PS utilities, which are part of SAPGUI install CD.
    It is available in the "\SAPGUI\PS directory". 
    Then do the followings :
    1. Select transaction code SALE -> Systems in network-> Define RFC Destination. 
    2. You will need two RFC destinations (TCP/IP connections for the front-end workstation). 
         Setup the two RFC destinations PS_ACCESS_1 and PS_ACCESS_2 and you'll have to get them to point to wdpsastr.exe and wdpsatab.exe respectively. 
    3. Then execute RIACCESS and choose PS_ACCESS_1 to generate access tables. 
    The system must also be able to access the RFC-DLL files (librfc2.dll, librfc3.dll, librfc4.dll, librfc5.dll, librfc6.dll, vrfc.dll). 
    Please note that Access only supports tables with up to 255 fields.

Maybe you are looking for

  • HP Laserjet P1006 won't print

    Hi My printer HP Laserjet P1006 had been working fine until today. It shows the message : "You need to install software to use this printer. To install the software, choose Software Update from the Apple menu. If the software for your printer isn't a

  • Mapping changes while upgrading from PI 7.0 to PI 7.31

    Hello Experts, We are upgrading from PI 7.0 EHP 2 to PI 7.31 SP 14 , Dual stack only. While migration, there are some doubts related with mapping, which are not getting cleared even from going through various blogs like: Migration Woes? PI/XI: PI 7.1

  • ITunes sync with cable problem (WiFi sync works OK though)

    When I connect my Iphone 4S to iTunes (win 7 premium 64bit) and sync songs/images, they end up all halfcomplete and glitchy on my iphone. For example: Songs are incomplete and glitchy (begins in the middle of the song when played etc.)               

  • Distributing forms shuts down Standard 9 program

    I am using Adobe Acrobat 9 Standard version 9.5.4, when I get to the distributing of my form the program shuts down.  Any idea what is causing this?

  • Get document from DMS to VB

    Hello, does anyone know how to get the document from DMS to a local drive, while using VB Code (with SAP Connector) or .NET? I tried to use the 'CVAPI_DOC_CHECKIN' but it didn't work. maybe it's the wrong function to use... I've also tried to examine