cancel
Showing results for 
Search instead for 
Did you mean: 

BPM - problem with async/sync

Former Member
0 Kudos

Hi,

I have created one BPM async/sync with properties below.

RFC (async) -> BAPI(sync) -> JDBC(async)

My RFC start the process, (next step) BPM execute BAPI and response one list of companies, in next step, JDBC insert or update the companies in SQL Server.

RFC

ZPI_SYNC_DATABASE

BAPI

ZSD_GET_COMPANY - the bapi only have EXPORTING in your definition.

JDBC

MI_EAI_SD_COMPANY.

When i execute the process, not occurs errors, but in BPE Message appears the GREEN FLAG (in outbound status) with hit "Message scheduled on outbound side", sometime appears in Status one GREEN FLAG with hit "Scheduled".

If i delete Receive of BAP (step), the BPM execute full, and not occurs the problem above.

Then i think the problem is in BAPI(step), but i dont know what can to do.

Can everyone help me?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Is the "Create New Transaction"check box checked for the synchronous step and the step before the synchronous step?

Sometimes, this also effects the calls in BPM.

Hope this helps.

Sumant.

Former Member
0 Kudos

Yeap,

Is "New Transaction" checked in Send BAPI and Send JDBC, but the problem still occur.

See you other example:

I have createad one new scenario.

IDOC -> JDBC

IDOC

ZCLIENTE.ZCLIENTE01 interface.

JDBC

MI_EAI_SD_JDBC

MAPPING between IDOC and JDBC

Senders and Receivers configured;

I execute IDOC and one pass for mapping, no problem.

But the not launch JDBC Adapter.

I see in Message Monitoring and there arent errors, but hava one GREEN FLAG in STATUS with hit "scheduled"

The same error but now without BPM.

Former Member
0 Kudos

I already solved the problem

former_member193376
Active Contributor
0 Kudos

Hi,

According to the scenario you have explained, your BPM should have the following steps.

1) Receive Step ( Async) - To receive the RFC

2) Send Step (Sync) - To send the BAPI and get the response back

3) Send Step(Async) - To send data to the JDBC system.

Correct me if I have understood the scenario differently. Why should you use a Receive Step for BAPI since it is synchronous? A Send Sync step should do. Please elaborate in case I am not addressing your issue here.

Thanks,

Saiyog

Former Member
0 Kudos

Hi Saiyog

You are correct,

I writed wrong in post, i really use Send to BAPI, but always occurs the problem from first post.

Can you help me?