on 04-08-2009 8:52 AM
I Use the CLFMAS IDOC to update class data in SAP. I maintain the data in MDM and uses and IDOC CLFMAS to post the new data in SAP. My problem is that "old class data is lost". I have tried to change the MSGFN to different values, but I still get the same problem.
Do anyone have an idea how to solve this?
Regards
John-Kjell
No good answer,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use the customer exit 'EXIT_SAPLCLFM_002' for this requirement.
This customer exit is triggered before saving the Class / Char data for a material in the database during CLFMAS processing.
Sample code:
DATA: wl_allkssk LIKE LINE OF t_allkssk,
wl_allausp LIKE LINE OF t_allausp.
IF i_appl = space.
CLEAR: t_delcl, t_delob.
LOOP AT t_allkssk INTO wl_allkssk WHERE vbkz = 'D'.
CLEAR wl_allkssk-vbkz.
MODIFY t_allkssk FROM wl_allkssk INDEX sy-tabix TRANSPORTING vbkz .
ENDLOOP.
LOOP AT t_allausp INTO wl_allausp WHERE statu = 'L'.
CLEAR wl_allausp-statu.
MODIFY t_allausp FROM wl_allausp INDEX sy-tabix TRANSPORTING statu.
ENDLOOP.
e_active = 'X'.
ENDIF.
Hope this would solve your problem
Regards,
Bhawit
Bhawit,
I want to update multiple characteristic values for an Equipment class type 002. When i process the Idoc it updates the last record of characteristic value but the other char values of the same equipment are not updated. How do i make the IDOC work to update multiple characteristic values for the same equipment?
Thanks
Thanks for your response Abhishek.
I am passing all the characteristic values for an object, it only updates the last char value of that object and skipping the above char values associated to the same object.
If you have used custom logic with in Idoc to successfully load multiple char values, can you guide me with the steps/logic for Equipment Characteristic values update?
I am able to use the LSMW standard direct input to load classification data and it works fine, but it takes many hrs to load 20 million char values. As we know that Idoc's will load faster than any other load method..So trying to get this LSMW CLFMAS work for multiple char values.
Praveen
Edited by: Chikku on Feb 7, 2012 3:01 PM
Hi Statoil,
You can go through the below link,it could be of help to you:
https://www.sdn.sap.com/irj/scn/thread?messageID=5067072#5067072
https://www.sdn.sap.com/irj/scn/thread?messageID=7147819#7147819
Hope It Helped
Thanks & Regards
Simona Pinto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.