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

Calling a BOR method

Hi All,

There is a particular method in a BOR object (T-Code SWO1)which needs to be invoked from a report program .

Please tell the method of declaring the same in the program and calling the same in the report program.

Urgently needed ....

Thanks in advance,

Paul.

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 11:26 AM

    Hi,

    Are you calling the BAPI from SAP program. If it so , go to BAPI transaction , under the BOR object , you can find various methods are available. Each method will have a function module attach to it. Call this function module directly in your program.

    Regards,

    M.Saravanan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the answer ...

      but the method which I am referring does not have a BAPI, so no function module attach to it.

      Is there any other way out ?

      Paul

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 11:42 AM

    Hi,

    Tell me, which BOR Object are you using?. What is the functionality you want?

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 03, 2006 at 03:20 PM

    Hi,

    You should include <CNTN01>

    Then you can instantiate the BO by macro swc_create_object passing the business object and the key

    With swc_call_method you can call the method. Just as in SWO1.

    Kind regards, Rob dielemans

    Add comment
    10|10000 characters needed characters exceeded