2006 Aug 08 6:26 AM
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
2006 Aug 08 6:31 AM
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.