on 07-09-2009 4:11 PM
I have a requirement to add Batch Number (0BATCH) into Material (0Material) as an attribute of 0Material. Can you please help me out how i can enhance Material Datasource in ECC and populate the batch number.
Thanks in advance.
Harman
please have a look at the step by step guide -
Hope it helps
Vikash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Follow the steps mentioned in the above thread.
Also Check the below link:
Reg
Pra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Enhance Extraction Structure
2. Implement User Exit in CMOD (EXIT_SAPLRSAP_002)
3. Re-generate DataSource
4. Replicate Datasources in BW
Here's some sample code for the User Exit in CMOD - this gets a custom field off of MARA.
DATA: l_t_mat LIKE biw_mara_s,
l_tabix LIKE sy-tabix.
CASE i_datasource.
WHEN '0MATERIAL_ATTR'.
LOOP AT i_t_data INTO l_s_mat.
l_tabix = sy-tabix.
CLEAR l_t_data-zzcage.
SELECT SINGLE
zzcage
INTO
l_t_date-zzcage
FROM
mara
WHERE
matnr = l_t_mat-matnr.
MODIFY i_t_data FROM l_t_mat INDEX l_tabix.
ENDLOOP.
ENDCASE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.