on 01-29-2009 9:47 AM
Hi Gurus,
We are doing a program to delete MDM catalog records using ABAP API.
Since we are to retrieve records in the Catalog Items table, do we have to copy all the fields in the Catalog Items table for the creation of a DDIC structure?
Since the Catalog Items table involves lookup fields would like to ask the corresponding data type of the following in ABAP API:
1. Lookup PDF
2. Lookup Image (Multi-valued).
Would appreciate your inputs.
Regards,
Kezia
Hi,
Please refer the below link it has a sample code for deleting the record and may be useful to you
http://help.sap.com/saphelp_mdm550/helpdata/en/47/5fd3f7cbd75518e10000000a421138/frameset.htm
Class Method Implementation -> Creating, Retrieving, Updating, Deleting simple Data in Records -> Source Code
Regards,
Jitesh Talreja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitesh,
Thanks for that link.
We're also looking to that link as reference.
Since it is a requirement to create a DDIC structure for the API that will store the records from the MDM table, just want to confirm if it is a requirement to replicate all fields in the table (e.g. Catalog Items), which will be used in the API. Or we can just create the fields that will be needed on the structure?
Hi,
Check the sample code
APPEND 2 TO lt_rec_del.
delete record with internal ID=2 on table 'Products'
CALL METHOD lr_api->mo_core_service->delete
EXPORTING
iv_object_type_code = 'Products'
it_internal_ids = lt_rec_del.
From
http://help.sap.com/saphelp_mdm550/helpdata/en/44/93aa6e31381053e10000000a422035/frameset.htm
Interface and Methods -> Interface_IF_MDM_CORE_SERVICES -> Method IF_MDM_CORE_SERVICES -> DELETE.
Regards,
Jitesh Talreja
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.