Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to do remote availability check?

Former Member
0 Kudos
171

Hi,

I have two different SAP instances , I want that availability check for the material should be done in the second system when Sales order is created in the first system.

How can i do this?

Regards,

Chamandeep

3 REPLIES 3

Former Member
0 Kudos
69

Hi Chamandeep,

First create a Remote-enabled FM in the second system to do a check for the material availability.

This FM could possibly return a flag = 'Yes' if the Material is found.

Then call the Remote Function Module from a Sales Order User Exit which is called when the user clicks on Save in VA01.

Anybody knows what happens if the remote Function call fails ? Can this be captured by sy-subrc ?

Regards,

Urmila

andreas_mann3
Active Contributor
0 Kudos
69

Hi,

what is with fm R3_SD_AVAILABILITY_CHECK ?

regards Andreas

Former Member
0 Kudos
69

Hi,

Try BAPI_MATERIAL_AVAILABILITY.

Cheers