BAPI or Module Function to retrieve PO attachment

Hi,
i want to retrieve and display the PO attachment list and PO attachment . I can retrieve all PO Informations(PO Header, , Item ,...), via table EKKO and EKPO but i couldn't retrieve and display PO attachment.
The attachment is created via the ME22.
Thanx

duplicate of
BAPI or Module Function to retrieve PO attachment

Similar Messages

  • BAPI creation versus function module creation...

    Hi,
    I know the difference between BAPI and simple function  module. I have also created custom function module.
    But I have not worked on creation of Custom BAPIs.
    Is there a much differece in creation of function module and BAPI?
    If there is please throw some light on main differences or stepwise differences when I create BAPI versus function module ?
    Thanks.
    Regards,
    Tushar.

    Hai Tushar
    what is BAPI?
    BAPI stands for Business API(Application Program Interface).
    I have answered this question before..
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    Please check out this thread..
    Re: bapi
    Also refer to the following links..
    www.sappoint.com/abap/bapiintro.pdf
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    Java Connector(JCO) can call not only BAPI's but also the function modules which are remotely enabled..
    BAPI's as i said earlier are remotely enabled function modules..
    Hence, JCO can call also BAPI's(n not only BAPI's as u mentioned).
    Thanks & regards
    Sreeni

  • I need to know thelist of bapi's and function modules used for transaction

    I need to know thelist of bapi's and function modules used for transaction in order to use these FM or BAPI in reading some fields of equipment master and functional loocation.Can any one suggest me some methods...or do i need to write  a report for the same.

    Steps to find the BAPI/function modules used in a transaction
    1) Find the package of the transaction thro' SE93.
    For example the package for the transaction VA03 is VA
    2) Go to Se80, key-in the package (say VA)
    3) You can see the function modules under the folder finction group and
    you can see the BAPI's under the folder Business Engineering-> Business Objects-> double click on the released methods of the Business Objects

  • To know thelist of bapi's and function modules used for transaction IH10

    I need to know thelist of bapi's and function modules used for transaction in order to use these FM or BAPI in reading some fields of equipment master and functional loocation.Can any one suggest me some methods...or do i need to write a report for the same.

    hi,
    provide report name (here: RIEQUI20)
    goto se38 - utilities - cross reference - function modules
    or use report RPR_ABAP_SOURCE_SCAN
    with search string call function
    A.
    Message was edited by:
            Andreas Mann

  • How to Create Customer by BAPI or by Function Module

    Hi all,
    I am new to this forum...
    Please can anyone tell me how to Create Customer by BAPI or by Function Module.....?
    I have tried many of the function modules posted in the threads.. but it couldn't help me out...

    > The only official solution is batchinput and idoc (CREMAS).
    Note that when an IDoc exists, it is often possible to call the function module that is just behind it (see WE57 transaction). SAP would not support that direct call, but if you need to contact SAP support about an issue, you can create the IDoc manually and there's no reason that this issue doesn't arise.
    The only difference with the IDocs is that you don't have any IDoc stored in the database, and even no log in database (so you won't be able to see anything in WE02, etc.).
    Note that it is important to know if this function module does a database commit or not: you can look at the BDFG transaction (I assume there's no BAPI related as it is the initial assumption of my post) to see if IDoc packet processing is allowed or not: if packet processing is allowed, there's no database commit in the function module, otherwise there's one.

  • How to retrieve an Attachment in eRecruitment?

    I am trying to create a program that will retrieve an Attachment (resume) that a candidate has uploaded into the eRecruitment system.  Infotype HRP5134 has a pointer to the attachment, but where is the attachment stored?  Is there a method, function module or BAPI that can retrieve the attachment?  Is it stored as an URL?  These are some of the BAPI's and classes I have looked at:
    BAPI_ERC_READ_ATTACHMENTS,
    class CL_HRRCF_CANDIDATE_PC_ATTACH,
    class CL_HRRCF_ATTACH_NEWATTACH_V,
    class CL_HRRCF_ATT_DOVR_A,
    class CL_HRRCF_ATT_DOVR_M,
    class CL_HRRCF_ATTACH_ATTACHLIST_V,
    class CL_HRRCF_ATTACH_M.
    These are in the PAOC_RCF_UI package.

    OS X, 10.8.5
    iMac Model No. A1418

  • ABAP Unit for Function Module(Function Group)

    Hi, Gurus:
    Can we use ABAP Unit to test Function Module(Function Group).
    If can, give me a simple example. how to create methods. Thanks.
    Regards,

    I'm a little unclear about your question, Yunfa.
    Do you want to single-test a SE37 function-module? This can be easily done, just hit the F8 button, and it takes you to a single-test environment.
    Do you want to test an FM using an ABAP-program? This too is easy to do. To code the FM-call, there's a button called Pattern, in the standard SE38 screen, where you can put in your FM name, and it inserts the relevant code in your program.
    Note that if you're testing BAPIs using the single-test environment, the actual document posting will not happen, because that requires a BAPI_COMMIT_WORK call. So, the way to test BAPIs which post documents would be to write an SE38 program, which also calls the commit-bapi.
    Hope this answers your question!

  • Function to retrieve all days of the previous month.

    Hi,
    Yes, it's a monthly report i've been given the task to achieve.
    So, all I need is all days of previous month (even if there is no data for this day)
    I've been instructed to use the following code, but it does not return any value:
    DECLARE
       CURSOR CUR_LAST_DAY IS
          SELECT TO_CHAR (LAST_DAY (ADD_MONTHS (SYSDATE, -1) ), 'DD')
            FROM DUAL;
       VVA_LAST_DAY   VARCHAR2 (2);
       VNU_JOUR       NUMBER       := 0;
    BEGIN
       OPEN CUR_LAST_DAY;
       FETCH CUR_LAST_DAY
        INTO VVA_LAST_DAY;
       CLOSE CUR_LAST_DAY;
       WHILE VNU_JOUR <= TO_NUMBER (VVA_LAST_DAY) - 1
       LOOP
          VNU_JOUR := VNU_JOUR + 1;
       END LOOP;
    END;
    --CLOSE CUR_LAST_DAY
    --DEALLOCATE CUR_LAST_DAY-----
    On the other end, i've developped this code:
    SELECT TO_CHAR(SYSDATE,'dd')
    FROM DUAL
    WHERE TO_CHAR(SYSDATE,'dd') >= to_char(to_date(to_char(ADD_MONTHS(SYSDATE, -1),'yyyy-mm')||'-01'),'yyyy-mm-dd')
    AND TO_CHAR(SYSDATE,'dd') < to_char(LAST_DAY(to_date(to_date(to_char(ADD_MONTHS(SYSDATE, -1),'yyyy-mm')||'-01'),'yyyy-mm-dd')));Which is returning a null value. :(
    Regards

    Hello,
    You want to retrieve complete days of last month from one query...so here it is..
    SELECT
    TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY') COMP_DATE,
    TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'DD') ONLY_DD,
    TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'MM') ONLY_MM,
    TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'YY') ONLY_YY
    FROM DUAL
    CONNECT BY LEVEL <= TO_NUMBER(TO_CHAR(LAST_DAY(ADD_MONTHS(SYSDATE,-1)),'DD'))I am not at database machine so therefore not tested.
    But one thing keep in mind that this forum only for reports there is separate forum for sql and pl/sql.
    Function to retrieve all days of the previous month.
    -Ammad
    Edited by: Ammad Ahmed on Apr 22, 2010 10:53 PM
    Spelling Mistake

  • Problem to print Purchase Order created in RFC module function

    Hi
    I created a specific RFC function module for using in a BSP application. In this specific function module, I have created a Purchase Order (PO) thanks to the standard module "BAPI_PO_CREATE". The PO is well created but I don't manage to print immediately this PO but the spool is queued. Whereas using SE37, the PO is well created and printed.
    But the customer wants to find the PO immediately in the printer
    Do you know a simply way to solve my problem? I have the feeling that something is lost using RFC module function and the standard module function.
    Thank a lot of for your reply
    Regards
    Francois

    The issue may be because, its used in BSP application.
    may be you need to implement whats explained in this weblog.
    /people/thomas.jung3/blog/2005/08/23/bsp-server-side-printing-for-tableviews
    Regards
    Raja

  • BAPI/ Functoin Module/ Standard Load porgram for T-code QS41 and IW61

    Hi,
    Dose anybody know BAPI/ Functoin Module/ Standard Load porgram for loading
    Catalog code (QS41) and Historical work order (IW61) in Plant maintenance module.
    Regards
    Sanjay

    Hi Sanjay,
                      There is a 2 BAPI's for loading Catalogs
    1)  BAPI_QPGR_REPLICATE - to create Code group
    2)  BAPI_QPGR_SAVEREPLICA - to create Codes
    Thanks,
    Shobha

  • Using modulation function in GarageBand '08

    I am creating a software instrument track using the Caribbean Steel Drum from one of the Apple Jam Packs. I am not using an external keyboard, I'm just doing it within GarageBand.
    When playing steel drums, you either hit the note singly with one stick, or you hold it by "rolling" the note like a drum roll. I have been frustrated for months because sometimes when I enter a note to be held (say, a 1/2 or whole note), it will roll when entered- but when I play it back, it won't. I have finally discovered in some documentation that the way to roll a note is by using the modulation function. However, nowhere do I see instructions on how to use it. What I want to do is go back and use that function to make the appropriate notes roll (usually not very many).
    Can I do this? If so, how EXACTLY? Is there a better way? Does '09 do it any better?

    Solved, despite Apple not being able to help me. To use modulation on the score, shift to advanced mode, select modulation and... wait for it... hold down the command key and click in the field at the beginning of the note- which you won't see in the field, but in the "piano roll" at the top of the window. Command-click again at the end. Drag the first dot to 100%, drag the 2nd one to 0%. Command-click on the lines that form to shape the modulation any way you want.

  • PS Module: Function to Copy Standard Network

    Hi,
    Anybody knows of a function where I can copy values of a standard network in Project Systems module?

    I'm not a ABAPer but I'll suggest you to debug the program SAPLCOKO and look at the functional modules (Function groups) that are involved.
    Mentioned program belongs to Transaction CN41 -Create Network where you can create a network copying a standard network.
    Hope this helps!
    Regards
    Sreenivas
    Pls close the post if satisfied.

  • Retrieve GOS Attachment

    Hi All,
    I am developing a program to retrieve the GOS attachment from PO attachment and send to the vendor through email. Kindly advise me to resolve this problem because I have no idea how to retrieve the attachment from the GOS table.
    Many thanks and best regards,
    Ting Wei Hong

    Hi,
    There is a class CL_GOS_MANAGER. Use that.
    See here for an example:
    data: o_gos type ref to cl_gos_manager.
      data: o_att type ref to cl_gos_attachments.
      data: ls_borident type borident.
      ls_borident-objkey = gs_data-vgbel.
      ls_borident-objtype = zcl_word=>co_busobject_worddocument.
      free o_gos.
      create object o_gos
        exporting
          ip_no_commit = space.
      call method o_gos->start_service_direct
        exporting
          ip_service       = 'VIEW_ATTA'
          is_object        = ls_borident
        exceptions
          no_object        = 1
          object_invalid   = 2
          execution_failed = 3
          others           = 4.
      if sy-subrc <> 0.
        message 'Geen bijlagen aanwezig. Toolbox wordt getoond' type 'S'.
        o_gos->display_toolbox( is_object = ls_borident ).
      else.
        message 'Bijlagen aangepast' type 'S'.
      endif.

  • How to retrieve/display attachment from PM Notifications???

    Hi,
    We use PM notifications and want to be able to provide a web search facility of notifications and indicate if a notification has attachments stored against it, if so then the user has the option to display the attachments in a new browser session.
    How do I locate the attachments for a particular notification?
    How do I retrieve the attachment for displaying in a browser?
    Appreciate any help on this,
    Kurt

    Lanka,
    IP_RWMOD is not a valid import field.
    Thereare these other 2 import fields:
    IP_NO_COMMIT
    IP_POPUP
    I left them blank and the FM still worked, so not sure if I need to enter anything here.
    Anyhow FM works perfect within SAP...but as I mentioned I need it for a standard web application.
    <b>Will the "Service: Attachement list" dialog work outside SAP??</b> I have my doubts about it as it would be the perfect solution, ie. too good to be true when it comes to integrating with SAP.
    If my hunch is right then back to square one, how else can I retrieve these attachments and have the ability to view each of the attachments in a web browser.
    Regards,
    Kurt

  • Disabled property: enable two Application Module functions

    I am using jdeveloper 11.1.1.5 and problem I am facing is:
    I want to call two different Application Module functions on one button click. Button is existing on .jspx. For that purpose I have to use Disabled property of button to enable the Application Module functions. Please tell me how to enable both of the functions by using the Disabled property of button.
    Thanks,
    Regards
    Muddasar Amin

    Hi Ashwin,
    Is this the problem only with Application module methods? Can you try with managed bean methods?
    Also, do you have this commandButton enclosed within <af:form>/<af:subform> ?
    Regards,
    Ansh

Maybe you are looking for

  • Can't create folders anymore

    I can't create new folders on 2 of my volumes anymore. I am using OSX Leopard 10.5.2 on an iMAC. The blue New Folder icon in Finder is greyed out and the disk icon is showing a little lock, so the volume seems to be locked for some reason. I still ca

  • Using SVN under OS X.5 Leopard

    Hi there! We run a Mac Pro with OS X Server for collaboration services. We need to use SVN. As this service is not directly accessible from Server Admin, but is always running because it's used as a backend for Wikis and blogs, *is there any way to u

  • Abt  Like, Phase-In and Phase-Out profiles

    Hi,     Can some1 explain me what is<b> Like, Phase-In and Phase-Out profiles</b>? What is it's good for? Thanks in advance. Best Regards, Siva.

  • Audio Gain and Normalize - different in CS4 to CS3 - problem

    Before in CS3, if an audio clip was peaking into the red I'd just right click, select Audio Gain, then click Normalize and then OK - the audio would be normalized and no more peaking into the red. Now in CS4, the right click Audio Gain brings up 4 op

  • How to use bitmap index

    when we will use bitmap index in oracle?