Application Development and Automation 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: 
Read only

create GR anf IR through External System

Former Member
0 Likes
424

Hi,

I a trying to create GR adn IR based on PO number through some external system by calling the respective BAPI's. Once i execute the BALI from the external system i am able to see the G ad IR number created. But unablt to see the creation of GR and IR in SApsystem. Even I am calling the TRANSACTION_COMMIT bapi also after calling the GR and IR create BAPI's.

Could anyone let me know the problem in this,

Regards,

Ramesh

Hi,

I a trying to create GR adn IR based on PO number through some external system by calling the respective BAPI's. Once i execute the BALI from the external system i am able to see the G ad IR number created. But unablt to see the creation of GR and IR in SApsystem. Even I am calling the TRANSACTION_COMMIT bapi also after calling the GR and IR create BAPI's.

Could anyone let me know the problem in this,

Regards,

Ramesh

1 REPLY 1
Read only

Former Member
0 Likes
388

Hi !

You have to do the following:

- create an Z... Function-Module with the same interface

as the BAPI_GOODSMVT_CREATE

- Mark it as remote callable !!

- within the Z... function call the

BAPI_GOODSMVT_CREATE with the parameters

given to your Z... Function

- After errorhandling do a COMMIT WORK within your

Z... Function

- CALL the Z... Function remote

-> That will work !

The BAPI will do nothing wihout a COMMIT WORK in the same LUW !!

Regards

Rainer

Some points would be nice if that helped.