Skip to Content
author's profile photo Former Member
Former Member

Can i use call transaction in BAPI

Can I use call transaction in a BAPI and create master record.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2005 at 08:01 PM

    Why not? BAPI_VENDOR_CREATE calls transaction XK01. I don't think it's the standard way of doing things though.

    I don't think it buys you anything, so why not stick with BDC or call transaction?

    Rob

    Message was edited by: Rob Burbank

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      There is no reason AS LONG AS this BAPI will not accessed from an external system. BAPIs are intended to accessed by external systems... otherwise, creating a Func Module is just fine.

      I would be cautious with using BDCs. SAP continually changes screens with each upgrade. When you use BDCs, you are TOTALLY dependent on those screen fields. And when an upgrade changes a screen, you have extra work to do to fix your BDC in the new version.

      By using a BAPI or a Func Mod, your impact from an upgrade is greatly reduced.

      Remember to reward points accordingly.

      Message was edited by: John Jakabcsin

      Message was edited by: John Jakabcsin

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2005 at 04:59 PM

    Hello Lakshmi,

    I dont see any reason behind using call transaction in a BAPI. Many be some cases uses both.

    As in my case once, call transaction program developed by me was running for ever for sales order mass maintenance and I had to replace that with a BAPI.

    As John said, there is a more risk in using call transaction compared to BAPI.

    Regards,

    Naren

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2005 at 10:42 PM

    Thanks for the replies but in my case i want to create a customer using BAPi which will be called remotely. I did not find any existing BAPI which suits my requirement. So, I am calling the transaction in my BAPI. If there r any other ways to do it pls. let me know.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      In my (limited) experience, remote enabled FMs are much easier to develop than BAPIs. That's the way I'd go.

      Bear in mind that if, during a future upgrade, SAP makes the transaction unusable via BDC, you won't be able to change your BAPI or FM to use it; you'll have to use their BAPI.

      I presume that neither BAPI_CUSTOMER_CREATEFROMDATA nor BAPI_CUSTOMER_CREATEFROMDATA1 suit your purpose.

      Rob

      Message was edited by: Rob Burbank

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.