cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI TO WS

Former Member
0 Kudos

Hi

I want to activate BAPI in SAP ( with SAP JOB )

and send the information to Web Service

what is the best way to implement this Scenario?

will I have problem using RFC Sender ?

thx,Shai

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

here is somethign similar you can do ..

the scenario is a RFC -> SOAP one ..

Ref:

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

Do get back in case you need anymore info.

Former Member
0 Kudos

thx Shabarsh for the quick answer

how can I schudle the BAPIS in the SAP ?

Shabarish_Nair
Active Contributor
0 Kudos

a BAPI can be incorporated in a report and the report can be scheduled !!

former_member192798
Active Contributor
0 Kudos

Hi,

Yes, you can call the BAPI inside a program and schedule the program to get executed in a specific inteval.

For this requirement SAP just added new Job Scheduling Capabilitis of SAP NetWeaver, which greatly enhances the scheduling capabilities, especially in the area of dependencies. You can find more information on http://service.sap.com/job-scheduling .

Regards.

Praveen

Former Member
0 Kudos

this is asynchronous interface

BAPI -> WS

should I have only 1 mapping program in the repository?,dealing ONLY with the response part? will it work?

another question regarding the report

should I add something like

CALL FUNCTION xx IN BACKGROUND TASK

DESTINATION 'XI'

...

COMMIT WORK

this code used dealing with Asynchronous RFC

thx,Shai

Shabarish_Nair
Active Contributor
0 Kudos

Async BAPI -> make a message interface (outbound/aync) with the request message of the BAPI.

<i>CALL FUNCTION xx IN BACKGROUND TASK

DESTINATION 'XI'

...

COMMIT WORK</i> >>>

Yes that code will so the trick !!!

Former Member
0 Kudos

ok

what about the response?

Shabarish_Nair
Active Contributor
0 Kudos

<i>what about the response?</i>

>>>

Is your scenario Sync -> Sync ??

if your scenario is a BAPI(sync ) -> WS (Sync), then all u need is to look into the first two weblogs i mentioned.

can you throw a bit more light on what you need to acheive ? Else in case if you are looking for a Async -> Sync scenario, u might then want to implement the AYNC/SYNC bridge. Say for ex. as in a FILE to RFC scenario.

Eg. /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit