BAPI to read R/3 messages

Hi,
Are there any standard bapis to read r/3 messages (internal/customer) from abap code?
Thanks
Paul

Hi Eugeny,
I have used the SAP Connector Framework to connect to R/3, get data from a BAPI and then display the data in a HTMLB tableview.
Have a look at the link below to get information about how to connect to a BAPI from a Java iview.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/using sap adapter for connector framework
Cheers
Richard

Similar Messages

  • BAPI to read and change schedule lines in APO

    Hello experts,
    We want to firm schedule lines inside the firm zone of the APO procurement scheduling agreements with a daily job. For this we are trying to use BAPI BAPI_POSRVAPS_GETLIST3 and BAPI_POSRVAPS_SAVEMULTI3. The getlist one does not return schedule lines, it returns purchase orders and purchase requisitions. Are these the right bapis to read and change schedule lines in APO? or is there anyother one we can use?
    Thanks and regards,
    Ergul

    Hi,
             You can use the below code to read the schedule lines.
    Checking a session exists
        CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
          IMPORTING
            ev_simsession = gv_sims
            es_gen_params = gv_params.
    If not create a new session and read it
        IF gv_sims IS INITIAL.
          CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_CREATE'
            IMPORTING
              ev_simsession = gv_sims.
          CALL FUNCTION '/SAPAPO/RRP_SIMSESSION_GET'
            IMPORTING
              ev_simsession = gv_sims
              es_gen_params = gv_params.
          g_cre_chk = 'X'.
        ENDIF.
    CALL FUNCTION '/SAPAPO/CMDS_TPSRC_GET'
        EXPORTING
          iv_ebeln                       = p_l_t_acknh_ebeln
          iv_ebelp                       = p_l_t_acknh_ebelp
        TABLES
          et_tpsrc_all                   = lt_tpsrc
        EXCEPTIONS
          matid_not_found                = 1
          locfrom_not_found              = 2
          locto_not_found                = 3
          scheduling_agreement_not_found = 4
          error_selecting_schedagreement = 5
          OTHERS                         = 6.
      IF sy-subrc = 0.
    reading the scheduling agreement records
        READ TABLE lt_tpsrc INTO ls_tpsrc INDEX 1.
        CALL FUNCTION '/SAPAPO/PWB_BZQID_GET_ORDER'
          EXPORTING
            iv_simid               = '000'
            iv_bzqid               = ls_tpsrc-bzqid
          IMPORTING
            ev_ordid               = lv_iordid
          EXCEPTIONS
            lc_connect_failed      = 1
            no_elements            = 2
            unit_conversion_failed = 3
            OTHERS                 = 4.
        IF sy-subrc = 0.
          CALL FUNCTION '/SAPAPO/PWB_GET_RELATED_ORDERS'
            EXPORTING
              iv_ordid             = lv_iordid
              iv_order_type     = '16'
              iv_simid            = '000'
            IMPORTING
              ev_ordid          = lv_eordid
            EXCEPTIONS
              order_not_found   = 1
              lc_connect_failed = 2
              no_elements       = 3
              OTHERS            = 4.
          IF sy-subrc = 0.
            APPEND lv_eordid TO lt_ordid.
            CALL FUNCTION '/SAPAPO/DM_PO_READ'
              EXPORTING
                iv_simsession     = gv_sims
                is_gen_params     = gv_params
                it_ordid          = lt_ordid
              IMPORTING
                et_schedule       = p_lt_sched
              EXCEPTIONS
                lc_connect_failed = 1
                lc_com_error      = 2
                lc_appl_error     = 3
                OTHERS            = 4.
          ENDIF.
        ENDIF.
      ENDIF.
    Use '/SAPAPO/CMDS_SNP_MM_ORD_MODIFY' function module to change the schedule lines (Pass '16' to iv_order_type parameter).
    Let me know if u have any issues.
    Regards,
    Siva.

  • I have a  macbook, an ipad, and an iphone with the Mail app on all three synced through icloud, but when I read and delete emails on my phone, the inbox on my ipad is not update, so I have to go through and mark as read or delete messages again. How can I

    I have a  macbook, an ipad, and an iphone with the Mail app on all three synced through icloud, but when I read and delete emails on my phone, the inbox on my ipad is not update, so I have to go through and mark as read or delete messages again. How can I sync my iphone and ipad? (it seems like each is synced only to my laptop, so don't synchronize until I go home and use my laptop.

    POP: yahoo, aol, comcast/time warnder/road runner
    Imap: google, hotmail, and more including icloud.
    If you want to use multiple devices - move to imap, I would even say "exchange", but Google does not support free exchange anymore, since January of that year. So Ironically  Icloud or Hotmail would be my choices right now.
    To find out more about what happens to you, search on Google "difference between pop and imap"

  • I have my Dad's apple ID etc, but he has an iphone and i have an Ipod Touch then on IMessage i can read all the messages he recieves and sends and he can read all the messages i send and recieve how do i stop this?

    Hi
    I have my Dad's apple ID etc, but he has an iphone and i have an Ipod Touch then on IMessage i can read all the messages he recieves and sends and he can read all the messages i send and recieve how do i stop this? But i still want to send messages to him.
    Thank You

    . You do not need a seperate Apple ID. One one device you just need to go to Settings>Messages and add another/different Messaging email address and delete the common Apple ID address. Also see:
    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime

  • Illustrator CC PDF opens in Reader with error message

    When I save an Illustrator file as a PDF, Adobe Reader users get an error message when opening the file – "An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem." Why is this happening?

    My apologies. We should have been more specific with our question.
    We should have asked this:
    Has anyone else seen this message in Acrobat Reader when opening PDFs
    created in Illustrator CC since the most current update (v.17.1.0)?  If so,
    would you be so kind as to reply with any general or specific information,
    or even thoughts, as to what might be causing it in this newest version of
    Illustrator?
    The error message reads:
    "An error exists on this page. Acrobat may not display the page correctly.
    Please contact the person who created the PDF document to correct the
    problem."  (Oddly, the message says "Acrobat," even though the application
    it appears in is Reader.)
    The message appears to Adobe Reader users (current version v.11.0.06,
    running in Mavericks); and started appearing after we updated Illustrator.
    The file content (except for one minor type revision), the PDF settings, the
    Adobe Reader users (clients), etc., haven't changed since before then. There
    were no issues with PDFs created in the past from the same file, but when we
    created new PDFs, our clients received the error message upon opening them.
    The files do open, and seem to be fine otherwise; but the recurring message
    does annoy our clients, and erodes our credibility as digital designers.
    We have tried several strategies to resolve this problem saving the PDFs
    with different settings; altering the file format of the linked image files;
    embedding the images files; outlining the type; using alternative typefaces;
    expanding appearances of objects; etc. anything we could think of to
    simplify the file or remove an offending file component all to no avail.
    We even opened the PDFs in Acrobat XI Pro CC (v. 11.0.06) and resaved with
    new file names, and were still met with the same difficulty.
    Other details: sRGB color profile in AI file and images; 3 - 11 x 8.5" art
    boards; PNG-24 images; PDF settings used: Illustrator Default, PDF/X-4:2008,
    Smallest File Size, High-Quality Print, plus a few custom settings from
    printers and developers
    So . . . We were hoping that if anyone had encountered this same message,
    they might have a clue as to what it relates. Any insight would allow us to
    troubleshoot further with that information in mind.
    Many thanks in advance.

  • Acrobat read-only error message

    http://forums.adobe.com/message/4117896
    Hello I am following on from a previously reported issue.
    We have a client who are using Adobe Acrobat 9 and have .PDF's saved in a Share Folder. Is the creator of the document but is still faced with the read only prompt when trying to save the document after making an edit (e.g rotating). Upgrading to Adobe Acrobat 9 isn't an option.
    Folder permissions in both Share and NTFS is okay.
    User's profile has full control of the folder it is being saved in. I've also ensured the reading pane is Windows Explorer is off when they're opening it.
    Have run a repair on Adobe Acrobat 9 and tried with other documents with the same result.
    Saving locally does not have the same issue.
    Please advise a solution for using .PDF for Adobe Acrobat 9 in a Share Folder environment.
    Server is SBS2008 and user's PC is Windows 7 Professional.
    Eagerly await a fix.

    I am having the same issue. Acrobat X was working fine for me for months, then out of the blue, it starts having this problem TODAY! (There must be something about the month of November when people have this problem with Acrobat! )
    Each time I open a PDF file in Acrobat and make an edit, (such as highlighting text or adding a link to a web page), I cannot save the file by the same name. I get the "read only" error message:
    "The document could not be saved. The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder."
    I installed the latest updates for Acrobat after this problem occurred, but the "read only" error message persists. In a previous thread, one person suggested turning off Acrobat's Protected Mode by going to Edit/Preferences/General and unchecking the Enable Protected Mode At Startup. I do not see this option in Acrobat X.
    The only work-around I've found is to save the PDF file with a temporary name, then after making the edits in Acrobat, save the file as the original name that you wanted the file to be in the first place.
    I'd rather not have to mess with work-arounds. I just want to make this problem go away. Any help or suggestions would be appreciated!
    regards,
    ChristyGTWE

  • Hello, I have an iPad Mini WiFi Cellular white 16Gb and I puted my sim inside it but, I cant read the text message that I recieve in the Sim. What can i do? And I can't put the sim in a cellphone coz it doesn't recognize it. Please help me! Thank you.

    Hello, I have an iPad Mini WiFi Cellular white 16Gb and I puted my sim inside it but, I cant read the text message that I recieve in the Sim. What can i do? And I can't put the sim in a cellphone coz it doesn't recognize it. Please help me! Thank you.

    iPads do not do SMS.

  • Read only error message when trying to save updates in Acrobat 10.6.3

    Hello
    Hopefully I'm missing something obvious here but when I try to edit a PDF in Acrobat 10.6.3 I receive a read only error message, I have been using 'Save As' and tweaking the name each time but this seems to be a clumsy way to go about a simple save.
    I am on a network and have read a previous thread that explained Adobe can sometimes be flakey on networks for saving PDFs.
    Any suggestion gratefully received.

    You may be stuck with copying the files locally and editing and then copying back to the network drive. I am not good with networks, but have noticed posts about network problems over the years -- often focused on specific networks. The solution is typically to deal with the PDFs locally and then copy to the network. In creating PDFs, it seems that some of the results had to do with the TMP folder usage, but I have no clue why.
    As far as AA 10.6.3, you must have a cloud version or something. The latest AA is 10.1.7.

  • How to read the error message like clipping positive or -ve in Tektronix oscillioscope 3012B

    During acquiring the Sine wave or triangular wave from TDS3012B, if the amplitude or Max or min is clipping, how do you read the error?  I used *ESR?, first time when I ran the error query program, it gave me Error message saying it is clipping, after that If I run again,the error query , It would not give me the error message, I couldn't reproduce it, eventhough but On the screen if I measure, Amp, min and Max it says that it is clipping positive or -ve. I was wondering how to read the error message while aquiring the data?  If any one could help me that would be of great help.. Thanks

    Usually, reading the error status register clears it. I'm not familiar with this particular model of scope but you may have to initiate a new acquisition in order for the scope to generate a new error. Another possiblity is that a new error will be generated when the vertical scale changes. Unless someone posts with an answer, I'd say that your best bet to get an answer is to contact Tektronix technical support.

  • Why won't siri read back my messages before asking me to send?

    Why won't siri read back my messages before asking me to send?

    go to settings>general>siri >toggle it off and then on
    then try
    if problem continues
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears. DONT CONNECT YOUR DEVICE TO A COMPUTER.

  • Not able to Read All the Message in the Topic

    Hi Al,
    i am new to JMS. I have implemented publish-subscribe model. Topic as a destination.
    I want to read all the message available for particular topic. is there any way to get this?..
    like in the Queue, QueueBorrower used to read all available messages in the queue.
    Thanks
    Raj

    It depends on what you mean by "what messages are available on the topic".
    if you want to know what messages would be delivered to a new consumer on the topic, then you can simply create a consumer yourself. Each messages on a topic is delivered to all subscribers, so by creating a consumer yourself you won't be interfering with the delivery of messages to other consumers. (That's not possible with queues which is why the queue browser is provided).
    If you want to know what messages are "persisted in the topic" then there's not really such a concept. Messages sent to a topic are only persisted in individual durable subscriptions created for individual clients. If there are no durable subscriptions when messages are not persisted. The JMS APi doesn't provide a way to browse the messages saved in an individual durable subscription. It could, but it doesn't.
    Nigel

  • Could not read any NLS message catalogue! while applying patch

    Hey,
    I am posting on behalf of someone.
    We are trying to install an Oracle patch (the patch p3948480_9206_AIX64-5L) on AIX 5.3.
    We get the error Message:
    ERROR: Could not read any NLS message catalogue!
    I have checked the Paths and install additional language packs to match the install of another machine we have the Oracle path installed on which hasnt helped.
    the NLSPATH leads to directories which are correct.
    Is it critical that the LANG environment variable be "C" ?
    Thanks in advance
    Derek

    Oracle Universal Installer needs some files in the directory where the runInstaller (UNIX) or setup.exe (Windows) is running. So, when you invoke runInstaller (UNIX) or setup.exe (Windows), you should invoke it from the directory where this command is present, or you must specify the complete path.
    ~ Madrid.

  • Could not read any NLS message catalogue (10gR2/Centos4 kernel 2.6.9-34.EL)

    Hello,
    I'm trying to install Oracle 10gR2 on CentOS4 (kernel 2.6.9-34.EL).
    I followed the pre-installation tasks the best I could, but when I try to launch runInstaller from the location where I uncompressed the setup files, I am getting error "Could not read any NLS message catalogue!"
    I'm new to both Oracle and Linux, so I don't really know which direction this is complaining about.
    Any pointer would be appreciated ;)
    Thanks in advance for your support

    Oracle Universal Installer needs some files in the directory where the runInstaller (UNIX) or setup.exe (Windows) is running. So, when you invoke runInstaller (UNIX) or setup.exe (Windows), you should invoke it from the directory where this command is present, or you must specify the complete path.
    ~ Madrid.

  • Siri stopped reading me my messages in iOS 8 on my 4S

    I upgraded to iOS 8 on my iPhone 4S. Now Siri won't read me my messages at all. I've gone through the Apple troubleshooting guide and it is still not working. Any suggestions on how to fix this?

    Hello Nilesh.d,
    Thanks for using Apple Support Communities.
    To learn more about Personal Hotspot and how to enable the feature please see the link below.
    Personal Hotspot
    Take care,
    Alex H.

  • Why does Siri not read my text messages to me?

    Why does my Siri not read my text messages to me?

    If your phone is locked with a passcode and you ask siri to read any new text message, Siri tells you to unlock it first, which you do by entering the passcode and the moment you do that Siri says 'OK' and starts reading your message without you doing anything else.
    However if you have not set the passcode in your phone and if your phone is locked (which means you have yet not done 'slide to unlock') and you ask siri to read the message then you will hear nothing..there will be silence ..and then 'siri will ask you to reply or read it again'. If you want to hear the message then first slide to unlock your phone and then ask siri to read for any new text messages and you will start hearing your message.
    Let me know if this does not work.
    Cheers

Maybe you are looking for