2007 Sep 28 6:55 AM
Hi,
I have recieved the list of BAPIs that can be used to update the table CATSDB.
MAP2E_CATSDB_EXT_TO_BAPICATS2
MAP2E_CATSDB_EXT_TO_BAPICATS7
MAP2I_BAPICATS1_TO_CATS_EXT
MAP2I_BAPICATS3_TO_CATS_EXT
MAP2I_BAPICATS4_TO_CATS_EXT
MAP2I_BAPICATS7_TO_CATS_EXT
MAP2I_BAPIPAREX_TO_CATS_EXT
MAP2E_CATSW_TO_BAPICATS5
MAP2E_CATSW_TO_BAPICATS7
No Bapi is updating the table when i enter few inputs and execute the same in SE37.
Can anyone help me...???
Basically i want to update the existing records in CATSDB table....
Regards
Pavan
2007 Nov 02 1:38 PM
First read current values from CATSDB or fill new in CATSDB, then move-corresponding to CATSDB_EXT structrure.
Then map to bapi structure fields with <b>MAP2E_CATSDB_EXT_TO_BAPICATS2</b>
For new records move-corresponding BAPICATS2 to BAPICATS1. (Beware the VORNR field is ACTIVITY in all structures except BAPICATS2 where it is AVTIVITY...)
then call (in order) appending return table parameter
<b>BAPI_CATIMESHEETMGR_DELETE</b> for records to delete
<b>BAPI_CATIMESHEETMGR_CHANGE</b> for records to update
<b>BAPI_CATIMESHEETMGR_INSERT</b> for records to insert
Analyse table RETURN (structure bapiret2) are there errors (-type 'E', 'A')
If error found : <b>BAPI_TRANSACTION_ROLLBACK</b>
Else : <b>BAPI_TRANSACTION_COMMIT</b>
Regards
First read current values from CATSDB or fill new in CATSDB, then move-corresponding to CATSDB_EXT structrure.
Then map to bapi structure fields with <b>MAP2E_CATSDB_EXT_TO_BAPICATS2</b>
For new records move-corresponding BAPICATS2 to BAPICATS1. (Beware the VORNR field is ACTIVITY in all structures except BAPICATS2 where it is AVTIVITY...)
then call (in order) appending return table parameter
<b>BAPI_CATIMESHEETMGR_DELETE</b> for records to delete
<b>BAPI_CATIMESHEETMGR_CHANGE</b> for records to update
<b>BAPI_CATIMESHEETMGR_INSERT</b> for records to insert
Analyse table RETURN (structure bapiret2) are there errors (-type 'E', 'A')
If error found : <b>BAPI_TRANSACTION_ROLLBACK</b>
Else : <b>BAPI_TRANSACTION_COMMIT</b>
Regards
2007 Sep 28 7:06 AM
2007 Sep 28 7:06 AM
Try these
BIW_CATS_CUSTOMER_EXIT
BIW_CHECK_CATS_DATA
BIW_CHECK_CATS_DATA2
BIW_DELTA_CHECK_SELOPT
BIW_DELTA_CHECK_SELOPT2
CATS_APPROVAL0
CATS_BIW_DELTA
CATS_BIW_TIMESTAMP_DELTA
CATS_BUILD_CATSD
CATS_CHECK_CONSISTENCY_AT_SAVE
CATS_DISPLAY_ALV_LIST
CATS_DISPLAY_TARGET_DOCUMENTS
CATS_DISPLAY_TARGET_DOCUMENTS0
CATS_READ_ARCHIVED_DATA
CATS_READ_INTERFACE_ACCOUNTING
CATS_READ_INTERFACE_LOGISTICS
CATS_READ_TIMESHEET_DATA
CATS_SAVE_INTERFACE
CATS_SHOW_LIST
CATS_TRANSFORM_FREE_RECORDS
EXIT_SAPLTSBW_001
READ_INTERFACE_CPR
Reward point if helpful.
2007 Nov 02 1:38 PM
First read current values from CATSDB or fill new in CATSDB, then move-corresponding to CATSDB_EXT structrure.
Then map to bapi structure fields with <b>MAP2E_CATSDB_EXT_TO_BAPICATS2</b>
For new records move-corresponding BAPICATS2 to BAPICATS1. (Beware the VORNR field is ACTIVITY in all structures except BAPICATS2 where it is AVTIVITY...)
then call (in order) appending return table parameter
<b>BAPI_CATIMESHEETMGR_DELETE</b> for records to delete
<b>BAPI_CATIMESHEETMGR_CHANGE</b> for records to update
<b>BAPI_CATIMESHEETMGR_INSERT</b> for records to insert
Analyse table RETURN (structure bapiret2) are there errors (-type 'E', 'A')
If error found : <b>BAPI_TRANSACTION_ROLLBACK</b>
Else : <b>BAPI_TRANSACTION_COMMIT</b>
Regards
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |