2006 Oct 24 8:31 AM
Hi All,
I am using FM OIGI_LOADING_CREATE to create a load confirmation. This is succesfully working as expected.
Once this is successful, i update the shipment details using FM OIGI_CHANGE_SHIPMENT_RFC.
Now the requirement is that if the shipment update fails i need to reverse/rollback the load confirmation.
Any pointers how to do this will be awarded.
Regards,
Sandeep
Hi All,
I am using FM OIGI_LOADING_CREATE to create a load confirmation. This is succesfully working as expected.
Once this is successful, i update the shipment details using FM OIGI_CHANGE_SHIPMENT_RFC.
Now the requirement is that if the shipment update fails i need to reverse/rollback the load confirmation.
Any pointers how to do this will be awarded.
Regards,
Sandeep
2006 Oct 24 8:46 AM
hi may b this would give u some help.
All subroutines called with PERFORM ... ON COMMIT are processed in the LUW concluded by the COMMIT WORK command. All V1 update requests specified in CALL FUNCTION ... IN UPDATE TASK are also executed in one LUW. When all V1 update requests have been successfully concluded, the V2 update requests (update with start delayed ) are processed, each in one LUW. Parallel to this, the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK are each executed in one LUW per destination.
COMMIT WORK commands processed within CALL DIALOG processing do all of the following:
- A database commit on all database connections (see above),
- Close all open database cursors on all database connections
- Reset the time slice counter
- Call the function modules registered in CALL DIALOG processing using CALL FUNCTION IN BACKGROUND TASK
However, subroutines and function modules called with PERFORM ... ON COMMIT or CALL FUNCTION ... IN UPDATE TASK in CALL DIALOG processing are not executed in the calling transaction until a COMMIT WORK occurs.
regards,
santhosh
2007 Jan 31 11:39 AM
Hello Sandeep,
I am using the OIGI_LOADING_CREATE funtion, but it's unclear what parameters are to be filled to make the function confirm a load. Can this function be used to update a load? I have made an ALV-list where I can modify the load volume. but when I use this function to update, it creates another load line in the tables... I would appreciate any input...
regards Ballo
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |