on 05-19-2009 7:27 AM
Hi,
I'm developing some modules(the direct query program) on NetWeaver Mobile 7.1.
The direct query program I am working on is selecting MBO node table data from device request.
What I want to know is how to recognize mapping information between device name and MBO of SWCV.
I have to get the mapping table.
In other words, I want to know mapping table between 'Device ID(or Device name)' and 'assigned DM SWCVs.' (or the function module to find the mapping information.)
For example If I send request from some device, I need to find linked MBO of specific SWCV for selecting data. following table:
-
Device Name (or Device ID) || DM SWCV ID (or DMSWCV name) || MBO ID || MBO Trans .... etc
-
DEVICE_01......................|| ZSP_SWCV_SD, 1.0 of com ..........|| 37298374 .........||... ...
DEVICE_02......................|| ZTEST_SWCV, 1.0 of com .............|| 33S30P30. .......|| ... ...
DEVICE_TEST..................|| ZSP_SWCV_SD, 1.0 of com ..........|| ............. ..........||... ...
-
I tried to find mapping tables, and I found some tables.
...1) MMW_MBO_SWCV
...2) SMMW_SCV
...3) SMMW_DEVMBOMAPER:
But I think '3)' is a log table.
And '1) and 2)' are not enough information.
Until now I haven't find mapping table or function module and so on.
If I solve that issue. I can select specific data with imported parameters from device and response XML code I made out of selected data.
Does anyone know
what is the table which have those fields... (not a log table)?
or what is the function module which found that information?
or How do I find the table?
Please reply to me.
Best regards,
Liah Cha
Use following steps to find out the table name.
1. Search for DM_SWCV attribute in SMMW_RMM_ATTR table with following criteria
RMM_ID = 'EB5C714339AA644CE10000000A15539D'.
ACTIVE = 'X'
ATTRIBUTE_NAME = 'DM_SWCV'
DELETED = 0.
Copy the ATTRIBUTE_ID column value.
2. Use SMGF_GENOBJ_GET function module to retrieve the table name.
I_GUID should be the value retrieved in previous step.
I_GENKEY = 'GEN_RMM_ATTR_TABLE'.
Output parameter C_TMGN_OBJREG contains the table name. NAME column of the output parameter table contains the table name.
You can use this table to get the device id - DM SWCV mapping.
Here RECEIVER_ID is the device id.
V1 is the SWCV guid.
Regards,
Siva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the following steps to find out the specific values.
1. Use CL_RECEIVER_STORE_FACTORY=>GET_RECEIVER_STORE method to get the RMM object.
Parameters should be RMM = 'EB5C714339AA644CE10000000A15539D'
RMM_NAME = 'RMM_NAME'.
2. RECEIVER_STORE parameter holds the RMM object.
3. Now execute "IF_RECEIVER_STORE~GET_DEVICE_ATTRIBUTE_VALUE" method to get any device attribute value.
Parameters should be
ID = Device id.
ATTRIBUTE_NAME = RMM attribute name (Eg: DM_SWCV for SWCV's assigned). You can find device attributes from SDOE_RMM01 transaction.
GROUP_NAME = Custom group name (This should be filled only the attributes which are part of custome groups. For standard device attributes this should be blank).
Return parameter VALUE will contain the values assigned to the device.
Regards,
Siva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.