2009 Dec 17 8:39 AM
Dear All,
I am using 'BAPI_INSPOPER_RECORDRESULTS' to record Inspection Lot Char. result in 'SET_UD_AT_SAVE' Method of BADI
Definition 'INSPECTIONLOT_UPDATE' and doing the commit using 'BAPI_TRANSACTION_COMMIT'.
Record the Characteristic's result
CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS'
EXPORTING
INSPLOT = gv_prueflos
INSPOPER = gl_char-INSPOPER
TABLES
CHAR_RESULTS = gt_result.
Commit the Characteristic's result
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = gc_x.
The commit work is happening for:
1. commit work from the buffer
2. commit work to record Inspection Lot Char. result
Please suggest how to commit only Inspection Lot Char. result and not commit work from the buffer.
Kindly suggest any Non-BAPI Function module to record Inspection Lot Char. result.
Thanks and Regards,
Nitin Sethi
Dear All,
I am using 'BAPI_INSPOPER_RECORDRESULTS' to record Inspection Lot Char. result in 'SET_UD_AT_SAVE' Method of BADI
Definition 'INSPECTIONLOT_UPDATE' and doing the commit using 'BAPI_TRANSACTION_COMMIT'.
Record the Characteristic's result
CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS'
EXPORTING
INSPLOT = gv_prueflos
INSPOPER = gl_char-INSPOPER
TABLES
CHAR_RESULTS = gt_result.
Commit the Characteristic's result
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = gc_x.
The commit work is happening for:
1. commit work from the buffer
2. commit work to record Inspection Lot Char. result
Please suggest how to commit only Inspection Lot Char. result and not commit work from the buffer.
Kindly suggest any Non-BAPI Function module to record Inspection Lot Char. result.
Thanks and Regards,
Nitin Sethi
2009 Dec 17 10:45 AM
Hello,
why do you need to COMMIT buffer and insplot separatly?
Ok, if you want to do that, you have to start a parallel task (LUW).
There are several ways to do that.
1. Write a programm, put your insplot-code into it and call it via SUBMIT (and return) from the method.
or
2. Write a function module (RFC) and call it with parameter DESTINATION 'NONE', please check in SM59 that destination NONE is existing.
Regards,
Martin
2009 Dec 17 11:02 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |