on 02-12-2010 2:46 PM
Hi,
I'm using OCI without SRM and want to map CUST_FIELD1 into a Z field that I added in EBAN.
I added this Z field into structure MEREQ3211 too (for the mapping in LMEGUICJM)
It does'nt work... The command « map » in LMEGUICJM return a subrc of 4.
Mapping in IF_ME_CATALOG_INTERFACE~MAP_CAT_VALUES
ls_fields_map-catalog_field = 'CUST_FIELD1'.
ls_fields_map-item_field = 'zext_matgroup'.
APPEND ls_fields_map TO ex_field_map.
But, If I use an existing field in MAT_CAT_VALUES, like AFNAM, it works...
Mapping in IF_ME_CATALOG_INTERFACE~MAP_CAT_VALUES
ls_fields_map-catalog_field = 'CUST_FIELD1'.
ls_fields_map-item_field = 'AFNAM'.
APPEND ls_fields_map TO ex_field_map.
Strange, do you have an idea?
Edited by: Emanuel Champagne on Feb 12, 2010 3:47 PM
Edited by: Emanuel Champagne on Feb 12, 2010 3:51 PM
I found by myself: The field has to be "authorized" to be updated.
Just add an implicit extension in function MEMFS_BUILD_MAPPING_PO_VIEWS.
ex. :
FORM mereq3211 CHANGING ch_mapping TYPE mepo_t_metafield_mapping.
...
ENHANCEMENT
map 'ZEXT_MATGROUP' mmmfd_cust_01.
ENDENHANCEMENT.
ENDFORM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are using OCI. The fields in the main program (SAPLMEGUI) in MEREQ3211 are displayed. However the fields in TAB Account Assignment do not. This tab is actuall Program subscreen is SAPLMEACCTVI (1100).
Fields: GL account(SAKTO) and Cost Center(COBL-KOSTL). Both already exist in structure MEACCT1100.
METHOD read_from_catalog (inlude LMEGUICJM) Enhancement Point
MAP LS_CAT_ITEM-DATA 'EKGRP' LS_OCI_ITEM-CUST_FIELD1. "This field is populated on screen
MAP LS_CAT_ITEM-DATA 'SAKTO' LS_OCI_ITEM-CUST_FIELD2. "Not Populated
MAP LS_CAT_ITEM-DATA 'KOSTL' LS_OCI_ITEM-CUST_FIELD3. "Not Populated
MODIFY IM_ITEM_TABLE FROM LS_CAT_ITEM INDEX L_TABIX.
Any assistance on mapping these fileds would be greatly appreciated.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.